Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002280graphvizDotpublic2013-05-08 14:232013-06-11 13:13
ReporterMorlok8k 
Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Summary0002280: node fontsize / fontname segmentation fault
Descriptionon significantly large and complex files (see attached file), when defining the text size and font of nodes, the font name must be defined before the font size.
Steps To Reproduce
command:
dot -Tpng Clannad_VN_Flowchart_fails.dot -o Clannad_VN_Flowchart_fails.png

DOT code:
    //node [fontname="Arial", fontsize=10]; //this line works
    node [fontsize=10, fontname="Arial"]; //this line fails
Additional InformationThe problem doesn't exist in Graphviz 2.26 (tested 64bit Ubuntu).
This happens in 32bit Windows and 64bit Ubuntu.

2.31 also gives this error before crashing: (it does not appear when fontname is before fontsize)
libpath/.\shortest.c:324: triangulation failed
libpath/.\shortest.c:192: source point not in any triangle
Error: in routesplines, Pshortestpath failed
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENT
VERSIONgraphviz-2.31.20130501 (and graphviz-2.30.1)
Attached Filesdot file icon Clannad_VN_Flowchart_fails.dot [^] (99,891 bytes) 2013-05-08 14:23
dot file icon Clannad_VN_Flowchart.dot.dot [^] (131,712 bytes) 2013-05-11 21:21

- Relationships

-  Notes
User avatar (0000339)
Morlok8k (reporter)
2013-05-11 21:19
edited on: 2013-05-11 21:22

Hmmm... well the node fontsize and fontname only fixed it in windows.

I still get a segmentation fault in Ubuntu - using the ppa, and the 2.30-1 manual install.

I even tried going back to 2.26, running my .dot file through dot to output a .dot file:
dot -v -Tdot ./dot_files/Clannad_VN_Flowchart.dot -O
(this hardcodes all the positions, and sizes, etc.)

and then running the resulting Clannad_VN_Flowchart.dot.dot file in 2.31.
still gets a segmentation fault!

edit: uploaded "Clannad_VN_Flowchart.dot.dot"

User avatar (0000358)
Morlok8k (reporter)
2013-06-11 13:13

Still an issue:
dot - graphviz version 2.31.20130611.0446 (20130611.0446)
(Ubuntu 64bit 13.04)

dmesg output:
[148543.660805] traps: dot[20235] general protection ip:7f1d4bfb5f41 sp:7fff060037d0 error:0 in libgvc.so.6.0.0[7f1d4bf61000+86000]
[148550.676593] dot[20254]: segfault at fffffff5 ip 00007f474bffdf38 sp 00007fff46f2f1c0 error 4 in libgvc.so.6.0.0[7f474bfa9000+86000]
[148553.360573] dot[20275]: segfault at ffffffef ip 00007f48909adf38 sp 00007fffea33aba0 error 4 in libgvc.so.6.0.0[7f4890959000+86000]

from this i see that the issue is with the libgvc inside the "libgraphviz4" package, as this is where libgvc is. (it conflicts with Ubuntu's official version of "libgvc")

- Issue History
Date Modified Username Field Change
2013-05-08 14:23 Morlok8k New Issue
2013-05-08 14:23 Morlok8k File Added: Clannad_VN_Flowchart_fails.dot
2013-05-11 21:19 Morlok8k Note Added: 0000339
2013-05-11 21:21 Morlok8k File Added: Clannad_VN_Flowchart.dot.dot
2013-05-11 21:22 Morlok8k Note Edited: 0000339 View Revisions
2013-06-11 13:13 Morlok8k Note Added: 0000358


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