Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001805graphvizDotpublic2010-01-27 13:532011-04-28 04:03
ReporterSeth Koehler 
Assigned ToArif Bilgin 
PrioritynormalSeverityminorReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformOSx86-Windows-VistaOS Version
Summary0001805: Long URLs crash dot
Description



I'm trying to make an interactive SVG file where clicking on an entry
pulls open a new window and writes a table of summary statistics about
the node. I've been doing this with javascript and just a big
document.write command. However, when the URL string exceeds a certain
length (0002348:0000500 chars), then dot will crash when attempting to generate
the SVG (using just standard "dot -Tsvg -Kdot" command). Reducing the
length of the URL string fixes the issue. Unfortunately, I've tried to
think of other ways to write a new window on the fly, but it would be
really beneficial to keep everything in the single DOT file somehow.
I did try putting the same string in the SVG output and there was no
length problems there.
Steps To Reproduce

digraph APPLICATION {
  a [URL="javascript:w=window.open('','','location=1,status=1,scrollbars=1,width=400,height=400');w.moveTo(100,100);w.document.write('<html><body>

Ok, this is a really long URL link, which isn't horribly likely unless you're doing some pretty crazy stuff, but it really should work, as it does when I insert it directly into the SVG file. The following is just basic filler to get to the required string length to cause dot to crash. If the length is shorter, everything works fine.

</body></html>');"];
}
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID1868
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENT*
VERSION     2.26 (20091210.2329)
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:03 user1 New Issue
2011-04-28 04:03 user1 Assigned To => Arif Bilgin


MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker