MOTHBALLED-graphviz
MOTHBALLED-graphviz copied to clipboard
dot.exe crash
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?
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 [email protected] 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 [email protected] 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 <[email protected] mailto:[email protected]> 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 https://github.com/ellson/graphviz/issues/1249#issuecomment-309626330, or mute the thread https://github.com/notifications/unsubscribe-auth/ABatMGMCBs5XLegcnMdYeiAa2ZBMqloQks5sFy2FgaJpZM4N-QhX.
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.
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 [email protected] 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 https://github.com/ellson/graphviz/issues/1249#issuecomment-309834292, or mute the thread https://github.com/notifications/unsubscribe-auth/ACtWz4j_Kwik7rbP413R2uXhMa_t0EaKks5sGASogaJpZM4N-QhX.
Crash log data: http://storage5.static.itmages.ru/i/17/0621/h_1498031117_8517100_e9d602fabc.png http://storage6.static.itmages.ru/i/17/0621/h_1498031129_8563125_1823486205.png https://drive.google.com/open?id=0B_05wItrOvX_RFliR0ItMkZaNEU
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! Thanks for your reply. I didn't expect a newer version exists. It doesn't present on main web-site. Thanks for it. It doesn't crash but gives corrupted output svg-file. When I open it in Internet Explorer it looks like empty file. When I open it in Notepad++ it looks like some values contains text when numbers expected: http://storage5.static.itmages.ru/i/17/0621/h_1498045385_7520963_30cced4fd0.png
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. Let me know if this solves you issues.
Thanks a lot for your feedback! I will wait for a stable version.