GNOME Bugzilla – Bug 343830
gnucash crashes on start
Last modified: 2018-06-29 21:07:14 UTC
Distribution: Debian testing/unstable Package: GnuCash Severity: Normal Version: GNOME2.14.2 unspecified Gnome-Distributor: Debian Synopsis: gnucash crashes on start Bugzilla-Product: GnuCash Bugzilla-Component: Reports Bugzilla-Version: unspecified BugBuddy-GnomeVersion: 2.0 (2.14.1) Description: Description of the crash: Just opened gnucash. There were eight or nine saved reports--as it's going through re-creating the reports, it crashes out. Steps to reproduce the crash: 1. Open gnucash. 2. 3. Expected Results: Start normally. How often does this happen? Every time. Additional Information: Debugging Information: Backtrace was generated from '/usr/bin/gnucash' (no debugging symbols found) Using host libthread_db library "/lib/tls/libthread_db.so.1". (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1230104896 (LWP 21492)] 0xb6d671fe in __waitpid_nocancel () from /lib/tls/libpthread.so.0
+ Trace 68640
Thread 1 (Thread -1230104896 (LWP 21492))
------- Bug created by bug-buddy at 2006-06-04 14:43 -------
Interestingly, deleting the books file (~/.gnucash/books/%2Fpath_stuff%2Ffilename) fixed the problem. The reports still come up, so I guess they are no longer stored in that file. Perhaps this is an upgrade issue.
You don't happen to have a backup of that ~/.gnucash/books/[...] file, do you?
Q1: I can tell this is 1.9.x, but what version is this, exactly? Note: ~/.gnucash/books/%2Fpath_stuff%2Ffilename is not used after the first successful opening of the file in 1.9.x. So... Q2: Did you see this crash when opening a 1.8.x file in 1.9 for the very first time? What I don't understand is that, if this was the first time opening the file, and it crashed, and you deleted ~/.gnucash/books/%2Fpath_stuff%2Ffilename then when you re-opened with 1.9.x then no reports would be opened automatically. But, if this crash was _not_ during the first time opening the file, then deleting ~/.gnucash/books/%2Fpath_stuff%2Ffilename should have had no effect. Note 2: The stack trace is bogus and almost useless, just like Bug#342305. This probably has something to do with the packaging.
Q1: I can tell this is 1.9.x, but what version is this, exactly? 1.9.7-1 from Debian unstable. Q2: Did you see this crash when opening a 1.8.x file in 1.9 for the very first time? No. I had opened and closed the file at least a couple of times with that same version of gnucash 1.9.7 before this crash happened. This sounds like it is inconsistent with what is supposed to happen with the books file; I have no idea why. I did send the books file to Josh Sled by email, by the way. You can look at it if it would be helpful, I just don't want it posted to a public forum.
Same exact problem here. I had version 1.8 before upgrading to 2.0 and I'm getting the same crash.
Created attachment 69775 [details] Copy of report configuration file, asked by jsled and others warlord and others requested the config file.
Exact error message here. <snip> aschenck@celeborn ~ $ gnucash gnucash: [W] "failure loading ""/home/aschenck/.gnucash/books/%2Fhome%2Faschenck%2Ffinancial%2Falexbook" Backtrace: In unknown file: ?: 0* [gnc:send-options 4 #f] In /usr/share/gnucash/scm/options.scm: 1508: 1* [gnc:options-for-each #<procedure #f (option)> #f] 1457: 2 ((options (quote for-each)) thunk) 1457: 3* (options (quote for-each)) /usr/share/gnucash/scm/options.scm:1457:4: In expression (options (quote for-each)): /usr/share/gnucash/scm/options.scm:1457:4: Wrong type to apply: #f aschenck@celeborn ~ $ </snip>
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 345824 ***
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=343830. Please update any external references or bookmarks.