Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000868graphvizDotpublic2005-04-12 15:372011-04-28 04:03
ReporterMatt selsky 
Assigned Toerg 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSSparc-Solaris-9OS Version
Summary0000868: Segfault creating png with dot
Description



I configured graphviz as follows:
<CD>
$ ./configure \
    --prefix=/opt/graphviz-2.2 \
    --with-jpegincludedir=/opt/local/include \
    --with-jpeglibdir=/opt/local/lib \
    --without-tclsh \
    --without-wish
</CD>



I'm using the system's gd 2.0.33 library (with jpeg and png support).



<CD>
$ /opt/graphviz-2.2/bin/dot -Tpng 086d2c68fa34031ace61dad0e51dc9a4.dot > 086d2c68fa34031ace61dad0e51dc9a4.png
Segmentation Fault (core dumped)



$ gdb /opt/graphviz-2.2/bin/dot core
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.9"...
Core was generated by `/opt/graphviz-2.2/bin/dot -Tpng 086d2c68fa34031ace61dad0e51dc9a4.dot'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /opt/graphviz-2.2/lib/graphviz/libcommon.so.0...done.
Loaded symbols for /opt/graphviz-2.2/lib/graphviz/libcommon.so.0
Reading symbols from /opt/graphviz-2.2/lib/graphviz/libgvrender.so.0...done.
Loaded symbols for /opt/graphviz-2.2/lib/graphviz/libgvrender.so.0
Reading symbols from /opt/gd-2.0.33/lib/libgd.so.2...done.
Loaded symbols for /opt/gd-2.0.33/lib/libgd.so.2
Reading symbols from /opt/local/lib/libjpeg.so.62...done.
Loaded symbols for /opt/local/lib/libjpeg.so.62
Reading symbols from /opt/local/lib/libpng12.so.0...done.
Loaded symbols for /opt/local/lib/libpng12.so.0
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /opt/graphviz-2.2/lib/graphviz/libdotgen.so.0...done.
Loaded symbols for /opt/graphviz-2.2/lib/graphviz/libdotgen.so.0
Reading symbols from /opt/graphviz-2.2/lib/graphviz/libpathplan.so.0...done.
Loaded symbols for /opt/graphviz-2.2/lib/graphviz/libpathplan.so.0
Reading symbols from /usr/lib/libm.so.1...done.
Loaded symbols for /usr/lib/libm.so.1
Reading symbols from /opt/graphviz-2.2/lib/graphviz/libgraph.so.0...done.
Loaded symbols for /opt/graphviz-2.2/lib/graphviz/libgraph.so.0
Reading symbols from /opt/graphviz-2.2/lib/graphviz/libcdt.so.0...done.
Loaded symbols for /opt/graphviz-2.2/lib/graphviz/libcdt.so.0
Reading symbols from /usr/lib/libc.so.1...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/lib/libdl.so.1...done.
Loaded symbols for /usr/lib/libdl.so.1
Reading symbols from /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1...done.
Loaded symbols for /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1
#0 0xff3383fc in initDPI (g=0x25f40) at fontmetrics.c:134
134 _dpi = GD_drawing(g)->dpi;
(gdb) bt
#0 0xff3383fc in initDPI (g=0x25f40) at fontmetrics.c:134
0000001 0xff342578 in graph_init (g=0x25f40) at input.c:342
0000002 0xff1b8d8c in dot_init_graph (g=0x25f40) at dotinit.c:206
0000003 0xff1b8dbc in dot_layout (g=0x25f40) at dotinit.c:213
0000004 0x00010990 in main (argc=155456, argv=0x25f40) at dot.c:70
</CD>
Steps To Reproduce

digraph TypeGraph {
graph [bgcolor=skyblue3 ]
node [URL="javascript:nodeClick(\N);" label="\N" shape=box style=filled fontsize=10 fontcolor=black fillcolor=skyblue1 ]
edge [URL="javascript:edgeClick(\H,\T);" label=remove color=black fontcolor=white dir=back fontsize=8 ]
18 -> 1
1 -> 2
1 -> 3
18 -> 5
5 -> 6
5 -> 7
5 -> 8
5 -> 9
5 -> 10
5 -> 11
4 -> 12 [label="" URL="" length=".5" color="skyblue3"]
12 -> 13 [label="" URL="" length=".5" color="skyblue3"]
13 -> 14 [label="" URL="" length=".5" color="skyblue3"]
15 -> 16 [label="" URL="" length=".5" color="skyblue3"]
16 -> 17 [label="" URL="" length=".5" color="skyblue3"]
17 -> 19 [label="" URL="" length=".5" color="skyblue3"]
1 [label="acad_all" tooltip="Academic"]
2 [label="acad_conf" tooltip="Academic: Conference"]
3 [label="acad_lect" tooltip="Academic: Lecture"]
4 [label="alum_all" tooltip="Alumni"]
5 [label="arts_all" tooltip="Arts"]
6 [label="arts_dance" tooltip="Arts: Dance"]
7 [label="arts_exhibits" tooltip="Arts: Exhibitions"]
8 [label="arts_films" tooltip="Arts: Film"]
9 [label="arts_music" tooltip="Arts: Music"]
10 [label="arts_read" tooltip="Arts: Reading/Talk"]
11 [label="arts_theater" tooltip="Arts: Theater"]
12 [label="athletics_all" tooltip="Athletics"]
13 [label="community_all" tooltip="Community"]
14 [label="cultural_all" tooltip="Cultural"]
15 [label="med_all" tooltip="Medical Center"]
16 [label="other" tooltip="Other"]
17 [label="religious_all" tooltip="Religious"]
18 [label="cu_featured" tooltip="CU Event Calendar Featured Event"]
19 [label="ei_students" tooltip="Earth Institute: Student Event"]
20 [label="tester" tooltip="tester"]
}
Additional Information

[erg] Same as bug 625.
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID682
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENTFixed (4 Feb 2005)
VERSION     2.2
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 => erg


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