GNUcash crashes on close

Bug #1312411 reported by Peter Sewell
38
This bug affects 7 people
Affects Status Importance Assigned to Milestone
GnuCash
Fix Released
Medium
gnucash (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I've upgraded from 13.10 to 14.04 and since upgrading I've been experience crashes when closing GNUcash. Not every single time but mostly the first time after a reboot of ubuntu when closing GNUcash it will crash. After restarting GNUcash it will close without any problems.

I've reported this to GNUcash and they say the problem is with libdbi and that it is either a bug in ubuntu or with my installation. Another user has also reported this problem to GNUcash and his system was also an upgrade from 13.10 to 14.04.

Below is the debug listing from GNUcash when it crashed.

Program received signal SIGSEGV, Segmentation fault.
0x00007fffcd0bcf2b in dbi_shutdown_r () from
/usr/lib/x86_64-linux-gnu/libdbi.so.1
(gdb) *** NSPlugin Viewer *** ERROR: rpc_end_sync called when not in sync!

I'm hoping that you can help in solving this problem.

Revision history for this message
Robie Basak (racb) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

I wonder if this is related to bug 1273407?

Revision history for this message
Peter Sewell (peter-sewell) wrote :

I do not know if it is related to the other bug report you mentioned. All that I know is that I have this problem and I don't know what to do resolve it.

I've read through that bug report but I have the uptodate packages so I can't tell if this is the same bug or not.

Can you suggest anything for me to try?

Revision history for this message
Robie Basak (racb) wrote :

Sorry, I don't have anything to suggest right now. If somebody can provide help, I welcome them to post workarounds to this bug. But otherwise, requests for support don't belong in this bug tracker. See http://community.ubuntu.com/help-information/ for community support options.

Revision history for this message
Peter Sewell (peter-sewell) wrote :

Hi, just a very quick question - someone on askubuntu has asked me a question - is there a 64bit version of GNUcash? I didn't think there is as there only seems one version on the official GNUcash website and there's only one in the Getdeb site.

Revision history for this message
Peter Sewell (peter-sewell) wrote :

Please ignore the last question - I wrote it on the wrong website. I needed the bugzilla for GNUcash.! Oops.

Revision history for this message
Christoph Korn (c-korn) wrote :

This should be the reladed bug report in GNUcash:
https://bugzilla.gnome.org/show_bug.cgi?id=728717

I also provided a backtrace:
#0 0x00007fffd759df2b in dbi_shutdown_r ()
   from /usr/lib/x86_64-linux-gnu/libdbi.so.1
#1 0x00007ffff6cbd0c3 in qof_finalize_backend_libraries () at qofbackend.c:266
#2 0x00007ffff6ccbc58 in qof_close () at qofutil.c:278
#3 0x00007ffff734e68e in gnc_engine_shutdown () at gnc-engine.c:163
#4 0x00007ffff7896b98 in gnc_shutdown (exit_status=0) at gnc-gnome-utils.c:781
#5 0x00007ffff69a242d in ?? () from /usr/lib/libguile-2.0.so.22
#6 0x00007ffff697c2ca in ?? () from /usr/lib/libguile-2.0.so.22
#7 0x00007ffff6a0dc00 in ?? () from /usr/lib/libguile-2.0.so.22
#8 0x00007ffff6985863 in scm_call_4 () from /usr/lib/libguile-2.0.so.22
#9 0x00007ffff697c9ff in ?? () from /usr/lib/libguile-2.0.so.22
#10 0x00007ffff697ca95 in scm_c_with_continuation_barrier ()
   from /usr/lib/libguile-2.0.so.22
#11 0x00007ffff69f578c in ?? () from /usr/lib/libguile-2.0.so.22
#12 0x00007ffff24bffe2 in GC_call_with_stack_base ()
   from /usr/lib/x86_64-linux-gnu/libgc.so.1
#13 0x00007ffff69f5b48 in scm_with_guile () from /usr/lib/libguile-2.0.so.22
#14 0x00007ffff69a25c5 in scm_boot_guile () from /usr/lib/libguile-2.0.so.22
#15 0x00000000004027ba in main (argc=1, argv=0x7fffffffdde8)
    at gnucash-bin.c:774

http://sprunge.us/hXNf

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libdbi (Ubuntu):
status: New → Confirmed
Revision history for this message
Christoph Korn (c-korn) wrote :
Changed in libdbi (Ubuntu):
status: Confirmed → Invalid
Robie Basak (racb)
affects: libdbi (Ubuntu) → gnucash (Ubuntu)
Changed in gnucash (Ubuntu):
status: Invalid → New
summary: - GNUcash crashing because of libdbi
+ GNUcash crashes on close
Changed in gnucash:
importance: Unknown → Medium
status: Unknown → Fix Released
Revision history for this message
Peter Sewell (peter-sewell) wrote :

Thank you to everyone who has worked so hard to resolve this issue.

One extra point- since the fix was released via getdeb - the close down of GNUcash has been considerably slower than before all of this bug happened. Can anyone else comment on their experience?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnucash (Ubuntu):
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnucash - 1:2.6.4-2

---------------
gnucash (1:2.6.4-2) unstable; urgency=medium

  * crash-missing-comma.patch: new patch, fixes random crashes.
    Thanks to Frédéric Brière for finding and fixing this issue.
    (Closes: #764510)
  * barchart.patch: new patch from upstream, fixes display problems in
    barcharts. (Closes: #765412)
  * More backports from upstream, fix various crashes:
     + crash-0000-00-00-date-mysql.patch
     + crash-reload-budget-report.patch

 -- Sébastien Villemot <email address hidden> Sat, 18 Oct 2014 00:03:06 +0200

Changed in gnucash (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.