Skip to content
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

Open
helperman opened this issue Jun 19, 2017 · 9 comments
Open

dot.exe crash #1249

helperman opened this issue Jun 19, 2017 · 9 comments

Comments

@helperman
Copy link

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?

@magneticnorth
Copy link
Collaborator

magneticnorth commented Jun 20, 2017 via email

@graphviz
Copy link
Collaborator

graphviz commented Jun 20, 2017 via email

@helperman
Copy link
Author

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.

@magneticnorth
Copy link
Collaborator

magneticnorth commented Jun 20, 2017 via email

@ErwinJanssen
Copy link
Contributor

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.

@helperman
Copy link
Author

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

@ErwinJanssen
Copy link
Contributor

ErwinJanssen commented Jul 6, 2017

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.

ellson added a commit that referenced this issue Jul 6, 2017
@helperman
Copy link
Author

Thanks a lot for your feedback!
I will wait for a stable version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants