Number: 1310
Title: dot SIGABRT-ed on NetBSD-4
Submitter: Aleksey Cheusov
Date: Sun Mar 9 11:12:33 2008
Subsys: Dot
Version: 2.16.1
System: x86-Other-NetBSD-4
Severity: critical
NetBSD 4.0_STABLE NetBSD 4.0_STABLE (GENERIC) #2: Tue Dec 25 17:42:38 EET 2007 i386

installation phase failed with dot abort like the following

Making install in gdk_pixbuf
cd ../.. && /usr/bin/make  am--refresh
 cd ../.. && /bin/sh ./config.status plugin/gdk_pixbuf/Makefile depfiles
config.status: creating plugin/gdk_pixbuf/Makefile
config.status: executing depfiles commands
test -z "/usr/pkg/lib/graphviz" || /usr/pkg/bin/gmkdir -p "/usr/pkg/lib/graphviz"
cd .. && /usr/bin/make  am--refresh
 cd .. && /bin/sh ./config.status plugin/Makefile
config.status: creating plugin/Makefile
Making install in cmd
Making install in dot
cd ../.. && /usr/bin/make  am--refresh
 cd ../.. && /bin/sh ./config.status cmd/dot/Makefile depfiles
config.status: creating cmd/dot/Makefile
config.status: executing depfiles commands
test -z "/usr/pkg/bin" || /usr/pkg/bin/gmkdir -p "/usr/pkg/bin"
  /bin/sh ../../libtool --mode=install /usr/bin/install -c -s -o root -g wheel -m 555 'dot' '/usr/pkg/bin/dot'
/usr/bin/install -c -o root -g wheel -m 555 -s .libs/dot /usr/pkg/bin/dot
/usr/bin/make  install-exec-hook
(cd /usr/pkg/bin; for i in neato twopi fdp circo; do rm -f $i; ln -s dot $i; done;)
if test "x" = "x"; then if test -x /usr/pkg/bin/dot; then if test -x /sbin/ldconfig; then /sbin/ldconfig 2>/dev/null; fi; /usr/pkg/bin/dot -c; else /usr/pkg/bin/dot_static -c; fi; fi
[1]   Abort trap (core dumped) /usr/pkg/bin/dot -c
*** Error code 134

Backtrace: #0 0xbba5722f in kill () from /usr/lib/ #1 0xbba59283 in __libc_mutex_unlock () from /usr/lib/ #2 0xbbaf2f77 in free () from /usr/lib/ #3 0xbbb2c22d in try_dlopen () from /usr/pkg/lib/ #4 0xbbb2cca8 in lt_dlopen () from /usr/pkg/lib/ #5 0xbbb9c95b in gvplugin_library_load () from /usr/pkg/lib/ #6 0xbbb9d482 in gvconfig () from /usr/pkg/lib/ #7 0xbbba83ab in dotneato_args_initialize () from /usr/pkg/lib/ #8 0xbbba12f8 in gvParseArgs () from /usr/pkg/lib/ #9 0x08048ac8 in ?? () #10 0x0804b200 in ?? () #11 0x00000002 in ?? () #12 0xbfbfcc18 in ?? () #13 0x08048aaa in ?? () #14 0xbfbfcc18 in ?? () #15 0xbfbfcba4 in ?? () #16 0xbbad3337 in atexit () from /usr/lib/ #17 0x08048904 in ?? () #18 0x080486fd in _init () #19 0x08048867 in ?? ()

[ellson] This is during the step where "dot -c" attempts to load all available plugins in /usr/pkg/lib/graphviz/ and record the working ones into /usr/pkg/lib/graphviz/config.

Perhaps there is something in that directory that is inciting the crash (although dot is supposed to be robust to bad plugins at this stage). Could you try "rm -r /usr/pkg/lib/graphviz" and reinstalling?

[ellson] This looks like either a packaging problem, or a libltdl problem, specific to NetBSD.

Are you the packager?

It doesn't look like a permissions problem, but can you check that when "dot -c" is run in "make instll" that it has sufficient permissions to write to /usr/pkg/lib/graphviz/config

Is libltdl up to date?

Do you have a mixed x86_64 , i386 environment ?

After the failure, can you send me the result of "ls -l /usr/pkg/lib/graphviz/* /usr/pkg/lib/libgvc*" Also: "ldd /usr/pkg/lib/"
Owner: *
Status: *