On Wed, Aug 27, 2008 at 10:36:15PM +0200, Micha Lenk wrote: > Athanasius wrote: > >> If this does not succeed in producing debugging output: I'm running out > >> of ideas for now... :-/ > > > > I'd hazard a guess it's more to do with one of the libraries, but have > > no idea which of the many might be the root of the problem. Did this > > newer version of gnucash start pulling in/using some library it didn't > > before? > > Yes, Gnucash 2.2.6 added support for AqBanking and hence additionally > pulls in at least libaqbanking and libgwenhywfar. > > The message "Libgcrypt version mismatch" is for sure generated by > libgwenhywfar. But I see no reason at all why the gcry_check_version() > called by libgwenhywfar fails (we've checked versions earlier without a > single suspicious evidence). Maybe a backtrace helps to enlighten the > situation by displaying the actual values handed over to > gcry_check_version().... > > Can you provide a backtrace by running Gnucash in gdb as described here? > http://svn.gnucash.org/trac/browser/gnucash/tags/2.2.6/HACKING#L84 > Once Gnucash crashed you need to type "bt" at the gdb prompt to get the > actual backtrace.
Unfortunately everything seems to be compiled without debug symbols. Again, I had to 'hack' /usr/bin/gnucash to actually run: exec gdb gnucash-bin "$@" Then: 21:42:50 0$ gnucash GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu"... (no debugging symbols found) (gdb) catch fork Catchpoint 1 (fork) (gdb) set follow-fork-mode child (gdb) run Starting program: /usr/bin/gnucash-bin (no debugging symbols found) (no debugging symbols found) ... much more of this (no debugging symbols found) (no debugging symbols found) gnc.bin-Message: main: binreloc relocation support was disabled at configure time. [New Thread 0xb67c7700 (LWP 20112)] 3:2008/08/27 21-43-11:gwen(20112):cryptkey.c: 37: Libgcrypt version mismatch Could not initialize Gwenhywfar, aborting Program received signal SIGABRT, Aborted. [Switching to Thread 0xb67c7700 (LWP 20112)] 0xffffe424 in __kernel_vsyscall () (gdb) bt #0 0xffffe424 in __kernel_vsyscall () #1 0xb6b8c640 in raise () from /lib/i686/cmov/libc.so.6 #2 0xb6b8e018 in abort () from /lib/i686/cmov/libc.so.6 #3 0xb669a280 in ?? () from /usr/lib/libgwenhywfar.so.47 #4 0xb66e7198 in ?? () from /usr/lib/libgwenhywfar.so.47 #5 0x00000001 in ?? () #6 0x0000002a in ?? () #7 0xb6cb8580 in ?? () from /lib/i686/cmov/libc.so.6 #8 0xb669a239 in ?? () from /usr/lib/libgwenhywfar.so.47 #9 0xb66efad4 in ?? () from /usr/lib/libgwenhywfar.so.47 #10 0xbff751b8 in ?? () #11 0xb66d356d in ?? () from /usr/lib/libgwenhywfar.so.47 #12 0xb66efad4 in ?? () from /usr/lib/libgwenhywfar.so.47 #13 0x086558e8 in ?? () #14 0xbff751c8 in ?? () #15 0xb662db98 in _init () from /usr/lib/libgwenhywfar.so.47 Backtrace stopped: previous frame inner to this frame (corrupt stack?) (gdb) > As a last resort and cheap workaround you can avoid the loading of the > AqBanking module entirely by renaming the file libgncmod-aqbanking.so > (in directory /usr/lib/gnucash/gnucash/) to something like > libgncmod-aqbanking.so.broken. This way you might at least get Gnucash > working again. To prevent future updates re-installing this file again I > suggest to use dpkg-divert (as root) which makes this move known to Dpkg > (future updates will then install this file to the renamed location): > > dpkg-divert --rename \ > --divert /usr/lib/gnucash/gnucash/libgncmod-aqbanking.so.broken \ > --add /usr/lib/gnucash/gnucash/libgncmod-aqbanking.so That does indeed work to get me up and running again. I'll forgo the divert, as that way I'll keep trying any new version to see if things are still broken. Thanks! -- - Athanasius = Athanasius(at)miggy.org / http://www.miggy.org/ Finger athan(at)fysh.org for PGP key "And it's me who is my enemy. Me who beats me up. Me who makes the monsters. Me who strips my confidence." Paula Cole - ME -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]