Number: 797
Title: dot_static -Kneato crashes on PPC OS X
Submitter: Ryan Schmidt
Date: Mon Sep 26 06:53:11 2005
Subsys: Dot
Version: 2.7.20050925.0430
System: PowerPC-OSX-10.4.2
Severity: major
Problem:
This works fine:


$ echo 'digraph G { a }' | /tmp/graphviz-build/bin/dot -Kneato

This doesn't:


$ echo 'digraph G { a }' | /tmp/graphviz-build/bin/dot_static -Kneato
Error: libag error -- aginit() was not called
Bus error

At this point, Crash Reporter comes up and shows more info, like this:


Thread 0 Crashed:
0   libgraph.2.dylib               	0x0067308c agidnode + 32 (icplusplus.c:28)
1   libgraph.2.dylib               	0x006731d0 agINSnode + 48 (icplusplus.c:28)
2   libgraph.2.dylib               	0x0066ef34 aginsert + 104 (icplusplus.c:28)
3   libpack.2.dylib                	0x001f8e74 insertFn + 44 (icplusplus.c:28)
4   libpack.2.dylib                	0x001f8c20 dfs + 72 (icplusplus.c:28)
5   libpack.2.dylib                	0x001f9134 pccomps + 684 (icplusplus.c:28)
6   ...plugin_neato_layout.2.dylib 	0x007a6eb8 neato_layout + 364 (icplusplus.c:28)
7   dot_static                     	0x000a4028 gvLayoutJobs + 164 (crt.c:355)
8   dot_static                     	0x000031f8 main + 368 (crt.c:355)
9   dot_static                     	0x000026a0 _start + 344 (crt.c:272)
10  dot_static                     	0x00002544 start + 60

Comments: I confirmed that the problem also exists with Graphviz 2.6 built on PPC OS X, and that the problem does not exist with Graphviz 2.6 built on x86 Gentoo Linux.
Owner: *
Status: *