Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000811graphvizDotpublic2005-02-02 17:292011-04-28 04:03
ReporterJean Utke 
Assigned Toerg 
PlatformOSx86-Linux-Suse 8.2OS Version
Summary0000811: SEGV in dot compiled from source package v. 2.2 on Suse 8.2

I tried ot compile my own graphviz binaries to see if I can get upright edge
labels for a graph that has been put in landscape with rotate=90. (the older
binary only version of dot rotated the labels as too which is a problem for me).
I configured/made/installed it with
 ./configure --prefix=/sandbox/graphviz-2.2_inst
 make install

which goes through without a problem but any invocation of the newly created
dot binary
/sandbox/graphviz-2.2_inst/bin/dot -v -Tps
yields a SEGV in:
_dpi = GD_drawing(g)->dpi;
(gdb) print g->u.drawing
$8 = (layout_t *) 0x0
hence the SEGV. One frame up I find the invocation to initDPI
possibly prevented by the ENABLE_CODEGENS
void graph_init(graph_t * g)

I tried compiling the whole thing after configuring with
./configure --prefix=/sandbox/graphviz-2.2_inst --disable-codegens

hoping this would prevent the problem but with this configuration I get a
compiler error:

 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../dotneato/gvrender -I../../pathplan -I../../graph -I../../cdt -I../../gd -I/sandbox/graphviz-2.2_inst/include -g -Wall -MT diagen.lo -MD -MP -MF .deps/diagen.Tpo -c diagen.c -fPIC -DPIC -o .libs/diagen.o
diagen.c: In function `dia_begin_job':
diagen.c:241: error: `Output_file' undeclared (first use in this function)
diagen.c:241: error: (Each undeclared identifier is reported only once
diagen.c:241: error: for each function it appears in.)
diagen.c: In function `dia_ellipse':
diagen.c:555: error: `Obj' undeclared (first use in this function)
diagen.c: In function `dia_polygon':
diagen.c:849: error: `Obj' undeclared (first use in this function)
diagen.c: At top level:
diagen.c:946: error: parse error before "DIA_CodeGen"

You may consider this a build problem but I didn't find any hint on how to
resolve it.
Steps To Reproduce

digraph flattened {
HEX838ec08[shape="circle" label=""];
HEX838ec38[shape="circle" label=""];
HEX838ec38->HEX838ec08 [label="1"];
Additional Information

[ellson] It sounds like you are looking for rankdir="LR" rather that rotate.

The distributed binaries are configured with: --with-mylibgd
since graphviz not quite compatible with the regular gd distributions yet.
Don't disable the codegens. They are the only backend that works so far.

Does configure find freetype and fontconfig OK?

Do you have any mods in the code?

[erg] Same as bug 625
TagsNo tags attached.
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