Subject: pkg/21522: gnucash dies on startup
To: None <gnats-bugs@gnats.netbsd.org>
From: None <perry@piermont.com>
List: netbsd-bugs
Date: 05/10/2003 11:25:46
>Number: 21522
>Category: pkg
>Synopsis: gnucash dies on startup
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat May 10 15:26:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Perry E. Metzger
>Release: NetBSD 1.6R
>Organization:
Perry E. Metzger perry@piermont.com
--
"Ask not what your country can force other people to do for you..."
>Environment:
System: NetBSD alchemist 1.6R NetBSD 1.6R (ALCHEMIST) #1: Sat May 3 15:39:18 EDT 2003 perry@alchemist:/usr/src/sys/arch/i386/compile/ALCHEMIST i386
Architecture: i386
Machine: i386
>Description:
Gnucash dies on startup. This may be caused by the bad
dlopen/sa threads interaction.
See the following transcript for what happens when you run gnucash the
first time after building it from pkgsrc. Note that gnucash is a
massive guile wrapper, thus the debugging of the guile coredump.
Script started on Sat May 10 11:17:58 2003
perry@alchemist$ gnucash
Abort trap (core dumped)
perry@alchemist$ gdb guile guile.core
GNU gdb 5.0nb1
Copyright 2000 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 "i386--netbsdelf"...(no debugging symbols found)...
Core was generated by `guile'.
Program terminated with signal 6, Abort trap.
Reading symbols from /usr/libexec/ld.elf_so...(no debugging symbols found)...
done.
Loaded symbols for /usr/libexec/ld.elf_so
Reading symbols from /usr/pkg/guile/1.4/lib/libguile.so.10...
(no debugging symbols found)...done.
Loaded symbols for /usr/pkg/guile/1.4/lib/libguile.so.10
Reading symbols from /usr/pkg/lib/libltdl.so.3...
(no debugging symbols found)...done.
Loaded symbols for /usr/pkg/lib/libltdl.so.3
Reading symbols from /usr/lib/libm387.so.0...(no debugging symbols found)...
done.
Loaded symbols for /usr/lib/libm387.so.0
Reading symbols from /usr/lib/libm.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libm.so.0
Reading symbols from /usr/lib/libc.so.12...Deprecated bfd_read called at /usr/src/gnu/dist/toolchain/gdb/dbxread.c line 2638 in elfstab_build_psymtabs
Deprecated bfd_read called at /usr/src/gnu/dist/toolchain/gdb/dbxread.c line 976 in fill_symbuf
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libc.so.12
Reading symbols from /usr/pkg/lib/libgw-wct.so.0...done.
Loaded symbols for /usr/pkg/lib/libgw-wct.so.0
Reading symbols from /usr/pkg/lib/libgwrap-wct.so.1...done.
Loaded symbols for /usr/pkg/lib/libgwrap-wct.so.1
Reading symbols from /usr/lib/libintl.so.0...done.
Loaded symbols for /usr/lib/libintl.so.0
Reading symbols from /usr/pkg/lib/libgw-standard.so.0...done.
Loaded symbols for /usr/pkg/lib/libgw-standard.so.0
---Type <return> to continue, or q <return> to quit---
Reading symbols from /usr/pkg/lib/libgw-gnc.so.0...done.
Loaded symbols for /usr/pkg/lib/libgw-gnc.so.0
Reading symbols from /usr/pkg/lib/libgwrap-glib.so.1...done.
Loaded symbols for /usr/pkg/lib/libgwrap-glib.so.1
Reading symbols from /usr/pkg/lib/libglib.so.13...done.
Loaded symbols for /usr/pkg/lib/libglib.so.13
Reading symbols from /usr/pkg/lib/libgncgnome.so.0...done.
Loaded symbols for /usr/pkg/lib/libgncgnome.so.0
Reading symbols from /usr/pkg/lib/libpopt.so.0...done.
Loaded symbols for /usr/pkg/lib/libpopt.so.0
Reading symbols from /usr/pkg/lib/gnucash/libgncmod-engine.so.0...done.
Loaded symbols for /usr/pkg/lib/gnucash/libgncmod-engine.so.0
Reading symbols from /usr/pkg/lib/gnucash/libgncmod-app-file.so.0...done.
Loaded symbols for /usr/pkg/lib/gnucash/libgncmod-app-file.so.0
Reading symbols from /usr/pkg/lib/gnucash/libgncmod-backend-file.so.0...done.
Loaded symbols for /usr/pkg/lib/gnucash/libgncmod-backend-file.so.0
Reading symbols from /usr/pkg/lib/gnucash/libgncmod-report-system.so.0...done.
Loaded symbols for /usr/pkg/lib/gnucash/libgncmod-report-system.so.0
Reading symbols from /usr/pkg/lib/gnucash/libgncmod-report-gnome.so.0...done.
Loaded symbols for /usr/pkg/lib/gnucash/libgncmod-report-gnome.so.0
Reading symbols from /usr/pkg/lib/gnucash/libgncmod-ledger-core.so.0...done.
Loaded symbols for /usr/pkg/lib/gnucash/libgncmod-ledger-core.so.0
Reading symbols from /usr/pkg/lib/gnucash/libgncmod-gnome-search.so.0...done.
Loaded symbols for /usr/pkg/lib/gnucash/libgncmod-gnome-search.so.0
Reading symbols from /usr/pkg/lib/libgnomeui.so.46...done.
Loaded symbols for /usr/pkg/lib/libgnomeui.so.46
Reading symbols from /usr/pkg/lib/libart_lgpl.so.4...done.
Loaded symbols for /usr/pkg/lib/libart_lgpl.so.4
Reading symbols from /usr/pkg/lib/libgdk_imlib.so.10...done.
Loaded symbols for /usr/pkg/lib/libgdk_imlib.so.10
Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
Loaded symbols for /usr/X11R6/lib/libSM.so.6
Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
Loaded symbols for /usr/X11R6/lib/libICE.so.6
Reading symbols from /usr/pkg/lib/libgtk.so.12...done.
Loaded symbols for /usr/pkg/lib/libgtk.so.12
Reading symbols from /usr/pkg/lib/libgdk.so.12...done.
Loaded symbols for /usr/pkg/lib/libgdk.so.12
Reading symbols from /usr/pkg/lib/libgmodule.so.13...done.
Loaded symbols for /usr/pkg/lib/libgmodule.so.13
Reading symbols from /usr/X11R6/lib/libXi.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXi.so.6
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
---Type <return> to continue, or q <return> to quit---
Reading symbols from /usr/pkg/lib/libgnome.so.36...done.
Loaded symbols for /usr/pkg/lib/libgnome.so.36
Reading symbols from /usr/pkg/lib/libgnomesupport.so.0...done.
Loaded symbols for /usr/pkg/lib/libgnomesupport.so.0
Reading symbols from /usr/pkg/lib/libesd.so.2...done.
Loaded symbols for /usr/pkg/lib/libesd.so.2
Reading symbols from /usr/lib/libossaudio.so.0...done.
Loaded symbols for /usr/lib/libossaudio.so.0
Reading symbols from /usr/pkg/lib/libaudiofile.so.0...done.
Loaded symbols for /usr/pkg/lib/libaudiofile.so.0
Reading symbols from /usr/pkg/lib/gnucash/libgw-engine.so.0...done.
Loaded symbols for /usr/pkg/lib/gnucash/libgw-engine.so.0
Reading symbols from /usr/pkg/lib/gnucash/libgw-kvp.so.0...done.
Loaded symbols for /usr/pkg/lib/gnucash/libgw-kvp.so.0
Reading symbols from /usr/pkg/lib/libgncmodule.so.0...done.
Loaded symbols for /usr/pkg/lib/libgncmodule.so.0
Reading symbols from /usr/pkg/lib/gnucash/libgncmod-gnome-utils.so.0...done.
Loaded symbols for /usr/pkg/lib/gnucash/libgncmod-gnome-utils.so.0
Reading symbols from /usr/pkg/lib/libgnc-app-file-gnome.so.0...done.
Loaded symbols for /usr/pkg/lib/libgnc-app-file-gnome.so.0
Reading symbols from /usr/pkg/lib/gnucash/libgncmod-app-utils.so.0...done.
Loaded symbols for /usr/pkg/lib/gnucash/libgncmod-app-utils.so.0
Reading symbols from /usr/pkg/lib/libxml.so.9...done.
Loaded symbols for /usr/pkg/lib/libxml.so.9
Reading symbols from /usr/lib/libz.so.0...done.
Loaded symbols for /usr/lib/libz.so.0
Reading symbols from /usr/pkg/lib/libglade.so.4...done.
Loaded symbols for /usr/pkg/lib/libglade.so.4
Reading symbols from /usr/pkg/lib/libgnomeprint.so.16...done.
Loaded symbols for /usr/pkg/lib/libgnomeprint.so.16
Reading symbols from /usr/pkg/lib/libgdk_pixbuf.so.2...done.
Loaded symbols for /usr/pkg/lib/libgdk_pixbuf.so.2
Reading symbols from /usr/X11R6/lib/libfreetype.so.9...done.
Loaded symbols for /usr/X11R6/lib/libfreetype.so.9
Reading symbols from /usr/pkg/lib/gnucash/libgncmod-register-core.so.0...done.
Loaded symbols for /usr/pkg/lib/gnucash/libgncmod-register-core.so.0
Reading symbols from /usr/pkg/lib/gnucash/libgncmod-register-gnome.so.0...done.
Loaded symbols for /usr/pkg/lib/gnucash/libgncmod-register-gnome.so.0
Reading symbols from /usr/pkg/lib/libgtkhtml-1.1.so.3...done.
Loaded symbols for /usr/pkg/lib/libgtkhtml-1.1.so.3
Reading symbols from /usr/pkg/lib/libgal.so.22...done.
Loaded symbols for /usr/pkg/lib/libgal.so.22
Reading symbols from /usr/pkg/lib/libglade-gnome.so.4...done.
Loaded symbols for /usr/pkg/lib/libglade-gnome.so.4
Reading symbols from /usr/pkg/lib/libgnomecanvaspixbuf.so.1...done.
Loaded symbols for /usr/pkg/lib/libgnomecanvaspixbuf.so.1
---Type <return> to continue, or q <return> to quit---
Reading symbols from /usr/pkg/lib/libiconv.so.3...done.
Loaded symbols for /usr/pkg/lib/libiconv.so.3
Reading symbols from /usr/pkg/lib/libgconf-gtk-1.so.1...done.
Loaded symbols for /usr/pkg/lib/libgconf-gtk-1.so.1
Reading symbols from /usr/pkg/lib/libgconf-1.so.1...done.
Loaded symbols for /usr/pkg/lib/libgconf-1.so.1
Reading symbols from /usr/pkg/lib/liboaf.so.0...done.
Loaded symbols for /usr/pkg/lib/liboaf.so.0
Reading symbols from /usr/pkg/lib/libORBitCosNaming.so.5...done.
Loaded symbols for /usr/pkg/lib/libORBitCosNaming.so.5
Reading symbols from /usr/pkg/lib/libORBit.so.5...done.
Loaded symbols for /usr/pkg/lib/libORBit.so.5
Reading symbols from /usr/pkg/lib/libIIOP.so.5...done.
Loaded symbols for /usr/pkg/lib/libIIOP.so.5
Reading symbols from /usr/lib/libwrap.so.0...done.
Loaded symbols for /usr/lib/libwrap.so.0
Reading symbols from /usr/pkg/lib/libORBitutil.so.5...done.
Loaded symbols for /usr/pkg/lib/libORBitutil.so.5
Reading symbols from /usr/pkg/lib/libcore-utils.so.0...done.
Loaded symbols for /usr/pkg/lib/libcore-utils.so.0
Reading symbols from /usr/pkg/lib/gnucash/libgncmod-calculation.so.0...done.
Loaded symbols for /usr/pkg/lib/gnucash/libgncmod-calculation.so.0
Reading symbols from /usr/pkg/lib/gnucash/libgncmod-network-utils.so.0...done.
Loaded symbols for /usr/pkg/lib/gnucash/libgncmod-network-utils.so.0
Reading symbols from /usr/pkg/lib/libguppitank.so.16...done.
Loaded symbols for /usr/pkg/lib/libguppitank.so.16
Reading symbols from /usr/pkg/lib/libguppi.so.16...done.
Loaded symbols for /usr/pkg/lib/libguppi.so.16
Reading symbols from /usr/pkg/lib/libzvt.so.4...done.
Loaded symbols for /usr/pkg/lib/libzvt.so.4
Reading symbols from /usr/lib/libutil.so.7...done.
Loaded symbols for /usr/lib/libutil.so.7
Reading symbols from /usr/pkg/lib/libbonobo.so.2...done.
Loaded symbols for /usr/pkg/lib/libbonobo.so.2
Reading symbols from /usr/pkg/lib/libbonobox.so.2...done.
Loaded symbols for /usr/pkg/lib/libbonobox.so.2
Reading symbols from /usr/pkg/lib/libbonobo-print.so.2...done.
Loaded symbols for /usr/pkg/lib/libbonobo-print.so.2
Reading symbols from /usr/pkg/lib/libtiff.so.3...done.
Loaded symbols for /usr/pkg/lib/libtiff.so.3
Reading symbols from /usr/pkg/lib/libjpeg.so.62...done.
Loaded symbols for /usr/pkg/lib/libjpeg.so.62
Reading symbols from /usr/pkg/lib/libpng.so.3...done.
Loaded symbols for /usr/pkg/lib/libpng.so.3
Reading symbols from /usr/lib/libpthread.so.0...done.
Loaded symbols for /usr/lib/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
Reading symbols from /usr/pkg/lib/libghttp.so.1...done.
Loaded symbols for /usr/pkg/lib/libghttp.so.1
#0 0x48105817 in kill () from /usr/lib/libc.so.12
(gdb) where
#0 0x48105817 in kill () from /usr/lib/libc.so.12
#1 0x48107972 in __libc_mutex_unlock () from /usr/lib/libc.so.12
#2 0x481773da in free () from /usr/lib/libc.so.12
#3 0x480cdcf0 in find_module () from /usr/pkg/lib/libltdl.so.3
#4 0x480cea6b in lt_dlopen () from /usr/pkg/lib/libltdl.so.3
#5 0x480cedd5 in lt_dlopenext () from /usr/pkg/lib/libltdl.so.3
#6 0x480741ba in sysdep_dynl_link ()
from /usr/pkg/guile/1.4/lib/libguile.so.10
#7 0x48074366 in scm_dynamic_link ()
from /usr/pkg/guile/1.4/lib/libguile.so.10
#8 0x4807af5e in scm_ceval () from /usr/pkg/guile/1.4/lib/libguile.so.10
#9 0x4807acd1 in scm_ceval () from /usr/pkg/guile/1.4/lib/libguile.so.10
#10 0x4807c75d in scm_eval_3 () from /usr/pkg/guile/1.4/lib/libguile.so.10
#11 0x4807c815 in scm_eval_x () from /usr/pkg/guile/1.4/lib/libguile.so.10
#12 0x4808d029 in load () from /usr/pkg/guile/1.4/lib/libguile.so.10
#13 0x4807494c in scm_internal_dynamic_wind ()
from /usr/pkg/guile/1.4/lib/libguile.so.10
#14 0x4808d135 in scm_primitive_load ()
from /usr/pkg/guile/1.4/lib/libguile.so.10
#15 0x4807af5e in scm_ceval () from /usr/pkg/guile/1.4/lib/libguile.so.10
#16 0x4807bdda in scm_apply () from /usr/pkg/guile/1.4/lib/libguile.so.10
#17 0x48074830 in scm_dynamic_wind ()
from /usr/pkg/guile/1.4/lib/libguile.so.10
---Type <return> to continue, or q <return> to quit---
#18 0x4807b53d in scm_ceval () from /usr/pkg/guile/1.4/lib/libguile.so.10
#19 0x48078bd1 in scm_ceval () from /usr/pkg/guile/1.4/lib/libguile.so.10
#20 0x4807bdda in scm_apply () from /usr/pkg/guile/1.4/lib/libguile.so.10
#21 0x48074830 in scm_dynamic_wind ()
from /usr/pkg/guile/1.4/lib/libguile.so.10
#22 0x4807b53d in scm_ceval () from /usr/pkg/guile/1.4/lib/libguile.so.10
#23 0x48078bd1 in scm_ceval () from /usr/pkg/guile/1.4/lib/libguile.so.10
#24 0x48079481 in scm_ceval () from /usr/pkg/guile/1.4/lib/libguile.so.10
#25 0x48078bd1 in scm_ceval () from /usr/pkg/guile/1.4/lib/libguile.so.10
#26 0x480793d1 in scm_ceval () from /usr/pkg/guile/1.4/lib/libguile.so.10
#27 0x480793d1 in scm_ceval () from /usr/pkg/guile/1.4/lib/libguile.so.10
#28 0x4807bdda in scm_apply () from /usr/pkg/guile/1.4/lib/libguile.so.10
#29 0x4807c1ff in scm_for_each () from /usr/pkg/guile/1.4/lib/libguile.so.10
#30 0x4807af5e in scm_ceval () from /usr/pkg/guile/1.4/lib/libguile.so.10
#31 0x4807c75d in scm_eval_3 () from /usr/pkg/guile/1.4/lib/libguile.so.10
#32 0x4807c815 in scm_eval_x () from /usr/pkg/guile/1.4/lib/libguile.so.10
#33 0x4808d029 in load () from /usr/pkg/guile/1.4/lib/libguile.so.10
#34 0x4807494c in scm_internal_dynamic_wind ()
from /usr/pkg/guile/1.4/lib/libguile.so.10
#35 0x4808d135 in scm_primitive_load ()
from /usr/pkg/guile/1.4/lib/libguile.so.10
#36 0x4807af5e in scm_ceval () from /usr/pkg/guile/1.4/lib/libguile.so.10
#37 0x4807bdda in scm_apply () from /usr/pkg/guile/1.4/lib/libguile.so.10
---Type <return> to continue, or q <return> to quit---
#38 0x48074830 in scm_dynamic_wind ()
from /usr/pkg/guile/1.4/lib/libguile.so.10
#39 0x4807b53d in scm_ceval () from /usr/pkg/guile/1.4/lib/libguile.so.10
#40 0x48078bd1 in scm_ceval () from /usr/pkg/guile/1.4/lib/libguile.so.10
#41 0x4807bdda in scm_apply () from /usr/pkg/guile/1.4/lib/libguile.so.10
#42 0x48074830 in scm_dynamic_wind ()
from /usr/pkg/guile/1.4/lib/libguile.so.10
#43 0x4807b53d in scm_ceval () from /usr/pkg/guile/1.4/lib/libguile.so.10
#44 0x48078bd1 in scm_ceval () from /usr/pkg/guile/1.4/lib/libguile.so.10
#45 0x48079481 in scm_ceval () from /usr/pkg/guile/1.4/lib/libguile.so.10
#46 0x48078bd1 in scm_ceval () from /usr/pkg/guile/1.4/lib/libguile.so.10
#47 0x480793d1 in scm_ceval () from /usr/pkg/guile/1.4/lib/libguile.so.10
#48 0x480793d1 in scm_ceval () from /usr/pkg/guile/1.4/lib/libguile.so.10
#49 0x4807bdda in scm_apply () from /usr/pkg/guile/1.4/lib/libguile.so.10
#50 0x4807c1ff in scm_for_each () from /usr/pkg/guile/1.4/lib/libguile.so.10
#51 0x4807af5e in scm_ceval () from /usr/pkg/guile/1.4/lib/libguile.so.10
#52 0x4807c75d in scm_eval_3 () from /usr/pkg/guile/1.4/lib/libguile.so.10
#53 0x4807c815 in scm_eval_x () from /usr/pkg/guile/1.4/lib/libguile.so.10
#54 0x4808d029 in load () from /usr/pkg/guile/1.4/lib/libguile.so.10
#55 0x4807494c in scm_internal_dynamic_wind ()
from /usr/pkg/guile/1.4/lib/libguile.so.10
#56 0x4808d135 in scm_primitive_load ()
from /usr/pkg/guile/1.4/lib/libguile.so.10
---Type <return> to continue, or q <return> to quit---
#57 0x4807af5e in scm_ceval () from /usr/pkg/guile/1.4/lib/libguile.so.10
#58 0x4807c75d in scm_eval_3 () from /usr/pkg/guile/1.4/lib/libguile.so.10
#59 0x48073a66 in scm_start_stack () from /usr/pkg/guile/1.4/lib/libguile.so.10
#60 0x48073b0e in scm_m_start_stack ()
from /usr/pkg/guile/1.4/lib/libguile.so.10
#61 0x4807bbc1 in scm_apply () from /usr/pkg/guile/1.4/lib/libguile.so.10
#62 0x4807a2c4 in scm_ceval () from /usr/pkg/guile/1.4/lib/libguile.so.10
#63 0x4807bdda in scm_apply () from /usr/pkg/guile/1.4/lib/libguile.so.10
#64 0x48074830 in scm_dynamic_wind ()
from /usr/pkg/guile/1.4/lib/libguile.so.10
#65 0x4807b53d in scm_ceval () from /usr/pkg/guile/1.4/lib/libguile.so.10
#66 0x48078bd1 in scm_ceval () from /usr/pkg/guile/1.4/lib/libguile.so.10
#67 0x4807c75d in scm_eval_3 () from /usr/pkg/guile/1.4/lib/libguile.so.10
#68 0x4807c815 in scm_eval_x () from /usr/pkg/guile/1.4/lib/libguile.so.10
#69 0x480a1d35 in scm_shell () from /usr/pkg/guile/1.4/lib/libguile.so.10
#70 0x8048dec in dladdr ()
#71 0x4808ab18 in invoke_main_func ()
from /usr/pkg/guile/1.4/lib/libguile.so.10
#72 0x480acb8e in scm_internal_lazy_catch ()
from /usr/pkg/guile/1.4/lib/libguile.so.10
#73 0x4808aac6 in scm_boot_guile_1 ()
from /usr/pkg/guile/1.4/lib/libguile.so.10
#74 0x4808a7dc in scm_boot_guile () from /usr/pkg/guile/1.4/lib/libguile.so.10
---Type <return> to continue, or q <return> to quit---
#75 0x8048e1c in main ()
#76 0x8048a94 in ___start ()
(gdb) perry@alchemist$
Script done on Sat May 10 11:20:47 2003
>How-To-Repeat:
make gnucash from pkgsrc, type "gnucash", run the debugger as above.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: