GNOME Bugzilla – Bug 625690
Crash when opening a file
Last modified: 2018-06-29 22:42:20 UTC
Gnucash SVN compiled 2010-07-30 with --enable-debug crashes when opening one of my files. The file contains personal info. but I'm wiling to mail it to a developer to help debugging. The bug occurs either after successfully opening another file, or opening the offending file at startup. Gnucash 2.2.9 from ubuntu lucid opens the file successfully, and with no warnings that I can see. Here's the backtrace: (gdb) run Starting program: /usr/local/bin/gnucash --nofile [Thread debugging using libthread_db enabled] This is a development version. It may or may not work. Report bugs and other problems to gnucash-devel@gnucash.org. You can also lookup and file bug reports at http://bugzilla.gnome.org The last stable version was GnuCash 2.2.9 The next stable version will be GnuCash 2.4 [New Thread 0x7fffd822a710 (LWP 3641)] Found Finance::Quote version 1.17 Program received signal SIGSEGV, Segmentation fault. 0x00007ffff29dd167 in SWIG_MangledTypeQueryModule (start=0x0, end=0x0, name=0x7ffff2a32717 "_p_gnc_commodity") at ../../src/swig-runtime.h:540 540 if (iter->size) { (gdb) bt
+ Trace 223058
It's crashing because SWIG_Guile_getmodule in swig-runtime.h is returning NULL. Please set a breakpoint there, then step through it to see why.
My backtrace is quite different with latest svn, but symptoms (and trigger are the same).
+ Trace 223644
Ok, since it seemed report related, I cleared my .gnucash directory. Problem disapeared (although I didn't have any custom reports). Marking FIXED, since it's unlikely anyone will find the underlyig cause.
*** Bug 637755 has been marked as a duplicate of this bug. ***
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=625690. Please update any external references or bookmarks.