GNOME Bugzilla – Bug 645518
GnuCash crashes immediately after splash screen
Last modified: 2018-06-29 22:55:40 UTC
System details: Ubuntu release 10.04 (Lucid) Kernel Linux 2.6.32-30-generic Gnome 2.30.2 GnuCash 2.4.4 built from r20418M on 2011-03-15 (2.4.4-1~getdeb1~lucid) Problem: I have two GnuCash files for personal finances and business finances. After upgrading to version 2.4.4 when opening the business finance file GnuCash crashes immediately after the splash screen loads user data. Reopening the file gives the File Locked dialog. After "Open Anyway" GnuCash crashes immediately. Contents of gnucash.trace: * 08:03:20 WARN <gnc.backend.dbi> [gnc_module_init_backend_dbi()] No DBD drivers found Situation: At this point I am unable to file my tax return because I cannot access the business financial data. That file does have Tax Report options set up. The personal finance file does not and appears to be working correctly. What additional information can I provide to research the problem? If a solution is not going to be available soon, how do I revert to a previous version?
Is it possible to provide a stack trace? http://wiki.gnucash.org/wiki/Stacktrace That would help a lot.
Created attachment 184232 [details] Terminal log with --debug and --extra
Created attachment 184233 [details] /tmp/gnucash.trace with --debug and --extra
1) Ran gnucash from terminal with options --debug and --extra. Terminal log (GnuCash.txt) and trace file (gnucash.trace.txt) attached. 2) Installed gnucash-dbg from GetDeb.net. Terminal log (Gdb_GnuCash.txt) attached.
Created attachment 184234 [details] gdb terminal log
In the last "gdb terminal log", please after this printed lines, enter the command "backtrace" at the "gdb>" prompt. This should give some more information which is the most helpful here. Thanks!
Created attachment 184247 [details] backtrace
Thanks for the verbose backtrace, this should be sufficient to fix it. @Alex: Seems like this double-free crash shows up in an area last edited by you. Do you have some idea what to do here? Thanks!
*** Bug 645800 has been marked as a duplicate of this bug. ***
As per Alex' request I reverted r20378 in r20496, which should hopefully fix this crasher. Can someone build from SVN and confirm this data file doesn't crash anymore?
The build server will perform a weekly build for the 2.4 branch on the night from Sunday on Monday. So this night a version of GnuCash from the 2.4 branch will be built that will contain the fix. Hence instead of building yourself to test if this bug is solved, you could try and install that build as of tomorrow. You should find it in http://code.gnucash.org/builds/win32/2.4/ sometime tomorrow.
*** Bug 644952 has been marked as a duplicate of this bug. ***
I'd be glad to test this out but I run Ubuntu Linux, not Windows
There will be a 2.4.5 release shortly, maybe next weekend (April 3rd), which should have this fixed.
Any way of testing sooner? I'm on a deadline to submit my income tax report by April 15th and I need the numbers from GnuCash to do it.
For linux, we don't run automated builds. So your options to get a GnuCash version containing this fix, are : - building gnucash yourself (http://wiki.gnucash.org/wiki/Building). This may or may not be an option for you, depending on how comfortable you are building packages yourself - find someone that can build you an updated package for Ubuntu from the 2.4 branch. I can't do this for you unfortunatly as I don't run Ubuntu - wait for the 2.4.5 release which should be only a couple of days away I'm sorry I can't help more than that.
Attempted to build GnuCash for Ubuntu 10.4 as described. configure is unable to locate package webkit-1.0. Located webkit-1.0 and tried to used PKG_CONFIG_PATH to point to it but no success. Log file of configure and locate follows. Suggestion?
Created attachment 184645 [details] Log of configure and locate
Created attachment 184646 [details] Log of configure and locate (both this time)
(*sigh*) Do we really need to discuss with you how to build from SVN yourself, just because you cannot (or want not) wait until the weekend, so that we have a new release? I mean, this bug entry is about the bug. Not about building gnucash from SVN. (end *sigh*) You need to checkout the 2.4 branch from SVN, not trunk. Did you use that one? svn checkout http://svn.gnucash.org/repo/gnucash/branches/2.4 gnucash-2.4 Then, the instructions from http://wiki.gnucash.org/wiki/Building should work without modifications. (For trunk, this is not always the case, because that one also contains the experimental development work.)
As per Alex' request I reverted r20378 in r20496, which should hopefully fix this crasher. This is fixed in release 2.4.5. Can someone confirm this data file doesn't crash anymore?
(*sigh*) As I stated in my original message I was working with a deadline to file my income taxes. My purpose in building GnuCash myself was to verify that the problem would be fixed in time. Obviously you did not have data files available to you that would consistently reproduce the problem. Stating which version of the source to use would have saved a lot of time and effort on both our parts. As it turns out release 2.4.5 was not available before the deadline. (end *sigh*) Yes, the build from the 2.4 branch from SVN resolved this problem. Also I have upgraded to release 2.4.5 and it does not have this issue.
*** Bug 663975 has been marked as a duplicate of this bug. ***
Reassign version to 2.4.x so that individual 2.4 versions can be retired.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=645518. Please update any external references or bookmarks.