-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dot.exe crash #1249
Comments
Probably the process ran out of memory and crashed.
We've found many libraries are not robust to such challenges and may fail.
… On Jun 19, 2017, at 9:51 AM, helperman ***@***.***> wrote:
I run such a command:
"C:\Program Files (x86)\Graphviz2.38\bin\dot.exe" -Tsvg -O -Kdot "C:\input.graphviz"
Here is contents of a graphviz-file:
https://drive.google.com/open?id=0B_05wItrOvX_bFJkcHl0bTdqWGs
Result is crash:
http://storage5.static.itmages.ru/i/17/0619/h_1497880059_1190823_4cfe7b5fb0.png
Yes, it is a very big and it contains lots of lines.
But I can't do anything. I need it.
I need to use svg-format as the most powerfull output.
It crashes.
Why?
What can I do to fix it?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Works for me. The rss is only 250m, too. The graph is not that big, but still
kind of large for dot.
$ gc input.graphviz
10254 14048 %1 (input.graphviz)
$
for example from dot -v
network simplex: 14974 nodes 19649 edges
We need a stack trace to see what went wrong.
Here’s what I get locally (just a MacBook with 8G of memory).
$ time -l dot -Tpdf -Gsize="6,6" input.graphviz -o t.pdf
36.83 real 35.91 user 0.37 sys
252178432 maximum resident set size
0 average shared memory size
0 average unshared data size
0 average unshared stack size
61540 page reclaims
467 page faults
0 swaps
0 block input operations
1 block output operations
0 messages sent
0 messages received
0 signals received
28 voluntary context switches
22905 involuntary context switches
$
… On Jun 19, 2017, at 10:25 PM, Stephen North ***@***.***> wrote:
Probably the process ran out of memory and crashed.
We've found many libraries are not robust to such challenges and may fail.
> On Jun 19, 2017, at 9:51 AM, helperman ***@***.*** ***@***.***>> wrote:
>
> I run such a command:
> "C:\Program Files (x86)\Graphviz2.38\bin\dot.exe" -Tsvg -O -Kdot "C:\input.graphviz"
>
> Here is contents of a graphviz-file:
> https://drive.google.com/open?id=0B_05wItrOvX_bFJkcHl0bTdqWGs
>
> Result is crash:
> http://storage5.static.itmages.ru/i/17/0619/h_1497880059_1190823_4cfe7b5fb0.png
>
> Yes, it is a very big and it contains lots of lines.
> But I can't do anything. I need it.
> I need to use svg-format as the most powerfull output.
> It crashes.
> Why?
> What can I do to fix it?
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub, or mute the thread.
>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#1249 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ABatMGMCBs5XLegcnMdYeiAa2ZBMqloQks5sFy2FgaJpZM4N-QhX>.
|
Thanks for your reply! |
Sure - I have no direct knowledge of the Windows build.
You might be better off renting an AWS Linux node for a few minutes!
Or try to contact one of the Windows experts here.
… On Jun 20, 2017, at 1:43 PM, helperman ***@***.***> wrote:
Thanks for your reply!
Memory should be enough.
Looks like we have different test environments so you have no issue.
My OS is Windows 7 and you have Mac OS installed.
I tried many times and get the same result.
I'll try to collect stack trace for you tomorrow.
Hope it helps.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#1249 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ACtWz4j_Kwik7rbP413R2uXhMa_t0EaKks5sGASogaJpZM4N-QhX>.
|
You are using a very old version of Graphviz, you could try installing the most recent version of Graphviz with the installer that is currently being developed. Disclaimer: it's still in development, so not everything is included or polished. SVG output is included. You can download it from Appveyor, our Continuous Integration for Windows. Choose of the CMake Release builds (32bit or 64bit) and go to the Artifacts. Here is a link to the most recent 64bit installer. |
Hello, Erwin! Here is an output: https://drive.google.com/open?id=0B_05wItrOvX_ajNta0tOaEpSWUE |
I found the cause of the issue and submitted a PR with the fix. When it is accepted, you can download a fresh development installer from the Graphviz Appveyor. If you can't wait, you can also get it from my personal Appveyor. |
Thanks a lot for your feedback! |
I run such a command:
"C:\Program Files (x86)\Graphviz2.38\bin\dot.exe" -Tsvg -O -Kdot "C:\input.graphviz"
Here is contents of a graphviz-file:
https://drive.google.com/open?id=0B_05wItrOvX_bFJkcHl0bTdqWGs
Result is crash:
http://storage5.static.itmages.ru/i/17/0619/h_1497880059_1190823_4cfe7b5fb0.png
Yes, it is a very big and it contains lots of lines.
But I can't do anything. I need it.
I need to use svg-format as the most powerfull output.
It crashes.
Why?
What can I do to fix it?
The text was updated successfully, but these errors were encountered: