After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 645518 - GnuCash crashes immediately after splash screen
GnuCash crashes immediately after splash screen
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Engine
2.4.x
Other Linux
: Normal critical
: ---
Assigned To: Alex Aycinena
Christian Stimming
: 644952 645800 663975 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-03-22 12:52 UTC by Chuck
Modified: 2018-06-29 22:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Terminal log with --debug and --extra (7.57 KB, text/plain)
2011-03-25 21:07 UTC, Chuck
Details
/tmp/gnucash.trace with --debug and --extra (206.94 KB, text/plain)
2011-03-25 21:10 UTC, Chuck
Details
gdb terminal log (9.42 KB, text/plain)
2011-03-25 21:12 UTC, Chuck
Details
backtrace (8.28 KB, text/plain)
2011-03-25 22:30 UTC, Chuck
Details
Log of configure and locate (17.10 KB, text/x-log)
2011-03-30 02:46 UTC, Chuck
Details
Log of configure and locate (both this time) (33.10 KB, text/x-log)
2011-03-30 02:51 UTC, Chuck
Details

Description Chuck 2011-03-22 12:52:44 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?
Comment 1 Christian Stimming 2011-03-25 19:24:57 UTC
Is it possible to provide a stack trace? http://wiki.gnucash.org/wiki/Stacktrace That would help a lot.
Comment 2 Chuck 2011-03-25 21:07:41 UTC
Created attachment 184232 [details]
Terminal log with --debug and --extra
Comment 3 Chuck 2011-03-25 21:10:40 UTC
Created attachment 184233 [details]
/tmp/gnucash.trace with --debug and --extra
Comment 4 Chuck 2011-03-25 21:11:32 UTC
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.
Comment 5 Chuck 2011-03-25 21:12:35 UTC
Created attachment 184234 [details]
gdb terminal log
Comment 6 Christian Stimming 2011-03-25 21:42:14 UTC
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!
Comment 7 Chuck 2011-03-25 22:30:20 UTC
Created attachment 184247 [details]
backtrace
Comment 8 Christian Stimming 2011-03-26 09:12:12 UTC
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!
Comment 9 Christian Stimming 2011-03-27 11:23:48 UTC
*** Bug 645800 has been marked as a duplicate of this bug. ***
Comment 10 Christian Stimming 2011-03-27 19:30:31 UTC
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?
Comment 11 Geert Janssens 2011-03-27 19:52:47 UTC
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.
Comment 12 Tobias Minich 2011-03-28 03:44:30 UTC
*** Bug 644952 has been marked as a duplicate of this bug. ***
Comment 13 Chuck 2011-03-28 13:08:03 UTC
I'd be glad to test this out but I run Ubuntu Linux, not Windows
Comment 14 Christian Stimming 2011-03-28 18:48:40 UTC
There will be a 2.4.5 release shortly, maybe next weekend (April 3rd), which should have this fixed.
Comment 15 Chuck 2011-03-28 19:04:14 UTC
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.
Comment 16 Geert Janssens 2011-03-29 15:04:50 UTC
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.
Comment 17 Chuck 2011-03-30 02:45:00 UTC
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?
Comment 18 Chuck 2011-03-30 02:46:05 UTC
Created attachment 184645 [details]
Log of configure and locate
Comment 19 Chuck 2011-03-30 02:51:01 UTC
Created attachment 184646 [details]
Log of configure and locate (both this time)
Comment 20 Christian Stimming 2011-03-30 07:04:01 UTC
(*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.)
Comment 21 Christian Stimming 2011-04-18 12:04:38 UTC
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?
Comment 22 Chuck 2011-04-20 13:01:54 UTC
(*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.
Comment 23 Akhil Laddha 2011-12-29 07:50:38 UTC
*** Bug 663975 has been marked as a duplicate of this bug. ***
Comment 24 John Ralls 2017-09-24 22:42:58 UTC
Reassign version to 2.4.x so that individual 2.4 versions can be retired.
Comment 25 John Ralls 2018-06-29 22:55:40 UTC
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.