I did send a bug-buddy report. From gnome-terminal gottlieb@ajglap ~ $ gnucash 73fa912f-e9aa-dc64-0125fcd7-7013796f is dumped gottlieb@ajglap ~ $ I looked at the crash details before sending in the bug bunny report and the comments in session-errors were not related to gnucash as far as I could see. I somewhat suspect libpcre since I recently emerged it and have seen error reports in b.g.o. I do have the unicode use flag and I reemerged libpcre, goffice, and gnucash. No change. I then installed goffice and gnucash on another machine (eva) and copied over my .gnucash directory and the main database file (for me ~/share/financial/gnucash/checking.gnucash) I started gnucash on eva and did an open of the database file. It worked so it can't be my database or ~/.gnucash Reproducible: Always Steps to Reproduce: 1.Be on my laptop either as me or root 2.Open gnome-terminal 3.type gnucash Actual Results: Immediate crash and bug buddy Expected Results: gnucash opens I have tried it with essentially nothing else running emerge --info results follow
I get a "gnucash Segmentation fault" as well but it is not cause by libpcre as I downgraded it and still the same problem. The strange part it that Gnucash is working OK on my backup system but not on my main server. #Joseph
As I've mentioned to you on Gentoo mailing list; I recompile / downgraded "libpcre" - didn't help; next I downgraded "guile-1.8.2" to "guile-1.6.8" (followed by revdep-rebild) so two packages were rebuild: dev-libs/g-wrap app-office/gnucash Now, Gnucash is starting normally no more "segmentation errors" But I'm not sure if this is the solution since on my Gentoo backup Gnucash is working OK with guile-1.8.2 #Joseph
Have you tried running revdep-rebuild (from the gentoolkit package) first?
(In reply to comment #0) > emerge --info results follow Nowhere to be seen, plus also attach a backtrace if revdep-rebuild doesn't fix you. http://www.gentoo.org/proj/en/qa/backtraces.xml
I have the same problem after upgrading thew following packages: dev-libs/libpcre-7.6 -> dev-libs/libpcre-7.6-r1 app-text/docbook-xsl-stylesheets-1.70.1 -> app-text/docbook-xsl-stylesheets-1.73.2 sys-devel/libtool-1.5.26 -> sys-devel/libtool-1.5.26 These caused rebuilding dev-scheme/guile-1.8.2 After that gnucash crashes at startup and i think its a gnucash/guile issue as gdb back trace looks like this: (gdb) bt #0 0xb6a8503b in gw_wct_create () from /usr/lib/libgwrap-guile-runtime.so.0 #1 0xb54e9406 in gw_initialize_wrapset_standard () from /usr/lib/libgw-guile-standard.so.0 #2 0xb54e9683 in gw_init_wrapset_standard () from /usr/lib/libgw-guile-standard.so.0 #3 0xb6a587cc in scm_dynamic_call () from /usr/lib/libguile.so.17 #4 0xb69da66a in ?? () from /usr/lib/libguile.so.17 #5 0xb570fe00 in ?? () #6 0xb570fd20 in ?? () #7 0xbfa6fb08 in ?? () #8 0xb6a1661f in scm_flush_ws () from /usr/lib/libguile.so.17 #9 0xb69dbffa in scm_primitive_eval_x () from /usr/lib/libguile.so.17 #10 0xb69f8789 in scm_primitive_load () from /usr/lib/libguile.so.17 #11 0xb69da60d in ?? () from /usr/lib/libguile.so.17 #12 0xb57101c0 in ?? () #13 0xb5503520 in ?? () #14 0xb5873260 in ?? () #15 0xb68ec175 in pthread_getspecific () from /lib/libpthread.so.0 #16 0xb69d90e3 in scm_call_0 () from /usr/lib/libguile.so.17 #17 0xb69c94d3 in scm_dynamic_wind () from /usr/lib/libguile.so.17 #18 0xb69d999c in ?? () from /usr/lib/libguile.so.17 #19 0xb5503560 in ?? () #20 0xb55035a8 in ?? () #21 0xb5503550 in ?? () #22 0xbfa6fd28 in ?? () #23 0xb66bd6f9 in free () from /lib/libc.so.6 #24 0xb69d9849 in ?? () from /usr/lib/libguile.so.17 #25 0xb58829e8 in ?? () #26 0xb55035c8 in ?? () #27 0xb55037a8 in ?? () #28 0x00000000 in ?? ()
The following combination should work: =dev-scheme/guile-1.8.2 =dev-libs/g-wrap-1.9.6-r3 =dev-scheme/slib-3.1.1-r1 Install in this order again. Then reemerge gnucash and report back.
Yes, you are right libgwrap-guile-runtime.so.0!!!! Building the abovementioned packages and gnucash afterwards fixed the seg-fault. Thank you very much.
Did you (Allan and Joseph) install guile in the last 42 hours? There was a change in package.use which might have caused the segfault (<http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/base/package.use?r1=1.11&r2=1.12>). If guile changes the threads useflag, gnucash needs to be reinstalled.
(In reply to comment #8) > Did you (Allan and Joseph) install guile in the last 42 hours? Yes, I did. My portage log says -rw-r--r-- 1 root 229K Feb 16 09:12 dev-scheme:guile-1.8.2:20080216-141100.log > There was a change in package.use which might have caused the segfault > (<http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/base/package.use?r1=1.11&r2=1.12>). > If guile changes the threads useflag, gnucash needs to be reinstalled.
(In reply to comment #6) > The following combination should work: > =dev-scheme/guile-1.8.2 > =dev-libs/g-wrap-1.9.6-r3 > =dev-scheme/slib-3.1.1-r1 > > Install in this order again. Then reemerge gnucash and report back. > Bingo! Thank you all for your help.
(In reply to comment #6) > The following combination should work: > =dev-scheme/guile-1.8.2 > =dev-libs/g-wrap-1.9.6-r3 > =dev-scheme/slib-3.1.1-r1 > > Install in this order again. Then reemerge gnucash and report back. > It works, thank you. I saw gnucash ./configure said the following. configure: WARNING: Unable to find the g-wrap standard module, a.k.a. guile-g-wrap. You won't be able to run GnuCash without it!
FYI: gnucash-bin shows some useful messages when it crashes. :)
As pointed out in comment 8 I think this was caused by the profile change.