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 728717 - Ubuntu 14.04 - GNUcash crashes on close
Ubuntu 14.04 - GNUcash crashes on close
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: General
2.6.3
Other Linux
: Normal normal
: ---
Assigned To: gnucash-general-maint
gnucash-general-maint
Depends on:
Blocks:
 
 
Reported: 2014-04-22 10:48 UTC by Peter Sewell
Modified: 2018-06-29 23:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Peter Sewell 2014-04-22 10:48:30 UTC
Since I upgraded to Ubuntu 14.04LTS GNUcash crashes on close.

This is what I'm seeing when running GNUcash.

peter@ubuntu:~$ gnucash
Found Finance::Quote version 1.18
Gtk-Message: Failed to load module "overlay-scrollbar"
Gtk-Message: Failed to load module "unity-gtk-module"

(npviewer.bin:5981): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:5981): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:5981): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:5981): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:5981): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:5981): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:5981): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:5981): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:5981): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:5981): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:5981): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:5981): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:5981): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:5981): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:5981): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:5981): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:5981): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:5981): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:5981): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:5981): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:5981): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:5981): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:5981): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:5981): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:5981): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:5981): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:5981): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:5981): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:5981): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:5981): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:5981): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:5981): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:5981): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "overlay-scrollbar"
Gtk-Message: Failed to load module "unity-gtk-module"

(acroread:5998): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:5998): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:5998): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:5998): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:5998): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:5998): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:5998): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:5998): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:5998): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:5998): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:5998): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:5998): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:5998): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:5998): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:5998): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:5998): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:5998): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:5998): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:5998): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:5998): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:5998): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:5998): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:5998): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:5998): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:5998): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:5998): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:5998): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:5998): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:5998): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:5998): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:5998): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:5998): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:5998): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
Gtk-Message: Failed to load module "canberra-gtk-module"
java version "1.7.0_51"
OpenJDK Runtime Environment (IcedTea 2.4.6) (7u51-2.4.6-1ubuntu4)
OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)
Segmentation fault (core dumped)
peter@ubuntu:~$
Comment 1 John Ralls 2014-04-22 13:55:24 UTC
To shut up all of the noise about murrine, either install it or remove the theme line from ~/.gtk-2.0

As for the crash, please run `gdb gnucash` and enter 'r' at the (gdb) prompt. When GnuCash crashes, type 'bt' at the (gdb) prompt and paste the result into the bug. That will tell us what's crashing.
Comment 2 Peter Sewell 2014-04-22 14:56:57 UTC
Here's the report from running the gdb command..

peter@ubuntu:~$ gdb gnucash
GNU gdb (Ubuntu 7.7-0ubuntu3) 7.7
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from gnucash...(no debugging symbols found)...done.
(gdb) r
Starting program: /usr/bin/gnucash 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe142a700 (LWP 3235)]
[New Thread 0x7fffdbfff700 (LWP 3236)]
[New Thread 0x7fffc9c8e700 (LWP 3239)]
Found Finance::Quote version 1.18
[New Thread 0x7fffc948d700 (LWP 3240)]
[Thread 0x7fffc948d700 (LWP 3240) exited]
[New Thread 0x7fffc948d700 (LWP 3241)]
[New Thread 0x7fffc2373700 (LWP 3242)]
[New Thread 0x7fffc1b72700 (LWP 3243)]
[New Thread 0x7fffc1371700 (LWP 3245)]
[New Thread 0x7fffc0a6e700 (LWP 3246)]
[Thread 0x7fffc2373700 (LWP 3242) exited]
Gtk-Message: Failed to load module "overlay-scrollbar"
Gtk-Message: Failed to load module "unity-gtk-module"

(npviewer.bin:3264): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3264): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3264): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3264): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3264): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3264): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3264): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3264): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3264): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3264): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3264): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3264): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3264): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3264): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3264): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3264): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3264): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3264): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3264): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3264): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3264): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3264): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3264): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3264): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3264): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3264): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3264): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3264): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3264): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3264): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3264): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3264): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(npviewer.bin:3264): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "overlay-scrollbar"
Gtk-Message: Failed to load module "unity-gtk-module"

(acroread:3281): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:3281): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:3281): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:3281): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:3281): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:3281): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:3281): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:3281): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:3281): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:3281): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:3281): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:3281): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:3281): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:3281): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:3281): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:3281): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:3281): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:3281): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:3281): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:3281): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:3281): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:3281): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:3281): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:3281): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:3281): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:3281): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:3281): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:3281): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:3281): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:3281): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:3281): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:3281): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

(acroread:3281): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
Gtk-Message: Failed to load module "canberra-gtk-module"
[New Thread 0x7fffc2373700 (LWP 3320)]
[New Thread 0x7fffb65d6700 (LWP 3321)]
[New Thread 0x7fffb5dd5700 (LWP 3322)]
[New Thread 0x7fff65dc3700 (LWP 3335)]
[New Thread 0x7fff655c2700 (LWP 3336)]
[New Thread 0x7fff64dc1700 (LWP 3337)]
[New Thread 0x7fff5ffff700 (LWP 3338)]
[New Thread 0x7fff5f7fe700 (LWP 3339)]
[New Thread 0x7fff5effd700 (LWP 3340)]
[New Thread 0x7fff5e7fc700 (LWP 3341)]
java version "1.7.0_51"
OpenJDK Runtime Environment (IcedTea 2.4.6) (7u51-2.4.6-1ubuntu4)
OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)
[Thread 0x7fffc1b72700 (LWP 3243) exited]
sys:1: GtkWarning: GtkEntry - did not receive focus-out-event. If you
connect a handler to this signal, it must return
FALSE so the entry gets the event as well
[New Thread 0x7fffc1b72700 (LWP 3354)]
[Thread 0x7fffc1b72700 (LWP 3354) exited]
[New Thread 0x7fffc1b72700 (LWP 3356)]
[Thread 0x7fffc1b72700 (LWP 3356) exited]
[New Thread 0x7fffc1b72700 (LWP 3364)]
[Thread 0x7fffc1b72700 (LWP 3364) exited]
[New Thread 0x7fffc1b72700 (LWP 3374)]
[Thread 0x7fffc1b72700 (LWP 3374) exited]

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!


GNUcash wouldn't close at all - it went grey and asked if I wanted to WAIT or FORCE CLOSE. I clicked on Wait several times and it wouldn't close so in the end I forced it to close.

Also, with the GTK errors - the murrine package is installed - I've uninstalled and re-installed and it still won't go away. I know this is nothing to do with GNUcash but is this required for anything else? If I remove it from the .gtk-2.0 will it cause any problems elsewhere?
Comment 3 Peter Sewell 2014-04-22 15:36:53 UTC
I removed Acroread - as it was mentioned in the GTK errors and now I get this message?

peter@ubuntu:~$ gnucash
Found Finance::Quote version 1.18
*** NSPlugin Viewer  *** ERROR: /opt/Adobe/Reader9/Browser/intellinux/nppdf.so: cannot open shared object file: No such file or directory
*** NSPlugin Viewer  *** ERROR: /opt/Adobe/Reader9/Browser/intellinux/nppdf.so: cannot open shared object file: No such file or directory
*** NSPlugin Viewer  *** ERROR: /opt/Adobe/Reader9/Browser/intellinux/nppdf.so: cannot open shared object file: No such file or directory
*** NSPlugin Wrapper *** ERROR: failed to initialize plugin-side RPC client connection
*** NSPlugin Wrapper *** WARNING:(/build/buildd/nspluginwrapper-1.4.4/src/npw-wrapper.c:3556):invoke_NP_Initialize: assertion failed: (rpc_method_invoke_possible(g_rpc_connection))
*** NSPlugin Viewer  *** ERROR: /opt/Adobe/Reader9/Browser/intellinux/nppdf.so: cannot open shared object file: No such file or directory
java version "1.7.0_51"
OpenJDK Runtime Environment (IcedTea 2.4.6) (7u51-2.4.6-1ubuntu4)
OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)
*** NSPlugin Viewer  *** ERROR: /opt/Adobe/Reader9/Browser/intellinux/nppdf.so: cannot open shared object file: No such file or directory
*** NSPlugin Wrapper *** ERROR: failed to initialize plugin-side RPC client connection
*** NSPlugin Wrapper *** WARNING:(/build/buildd/nspluginwrapper-1.4.4/src/npw-wrapper.c:3556):invoke_NP_Initialize: assertion failed: (rpc_method_invoke_possible(g_rpc_connection))
Segmentation fault (core dumped)
peter@ubuntu:~$ 

What is going on!!!!
Comment 4 John Ralls 2014-04-22 15:53:09 UTC
That will be from GnuCash loading libwebkitgtk, which we use for displaying reports. It appears that the acroread installer registered itself as a WebKit plugin, but the uninstaller didn't unregister it. https://help.ubuntu.com/community/WebBrowsers identifies 3 browsers, Epiphany, Konqueror, and Midori, which are based on WebKit. If you have one of them installed you might be able to use it to unregister the acroread plugin.
Comment 5 Peter Sewell 2014-04-22 16:01:32 UTC
I have none of those installed. I tried removing and installing NSPlugin and it caused a crash report!
Comment 6 John Ralls 2014-04-22 18:14:48 UTC
Well, you could reinstall acroread, which likely have anything to do with your GnuCash crash.

I noticed from the tail end of your gdb run that the crash is in libdbi, which GnuCash uses for the SQL backends.

I think at this point that it's likely your problems lie with your Ubuntu installation, so I suggest you contact their support. If they're able to find a problem with GnuCash's code, we can address that; I'll leave the bug open for a while to give you time to work with them.
Comment 7 Peter Sewell 2014-04-23 11:03:59 UTC
Thanks for your reply about the crash in libdbi. I've checked and the only libdbi package that I have installed is libdbi1 (0.9.0-1). Should I have any other libdbi packages installed?
Comment 8 John Ralls 2014-04-23 13:49:23 UTC
Only if you want to use one of the sql backends or to build GnuCash from source; in either case you need the appropriate libdbd shim for the backend (SQLite3, MySQL, or Postgresql) that you want to use. At least one is required to do `make check`, so configure tests for one being available.

I don't think it likely that the absence of a libdbd shim is causing the crash. You should contact Ubuntu support for further assistance.
Comment 9 Al Heynneman 2014-04-24 19:13:38 UTC
I have the same crash since upgrading from Ubuntu 13.10 to 14.04. Previously in 13.10 I had a crash at quit only when I quit using the red X close button, but quit ok when I used FILE/QUIT. Then you fixed "a crash at quit" and it seemed to solve the problem. That fix was just a few weeks ago. This week, I did the 14.04 upgrade, and now GC crashes on quit with EITHER the red X close button or the FILE/QUIT menu.

Cheers, Al
Comment 10 Peter Sewell 2014-04-24 19:33:39 UTC
Al, it's nice to know that someone else has this problem and that it's not only me, maybe someone will now investigate it a bit more before forcing us to wipe our computers and re-install ubuntu.
Comment 11 John Ralls 2014-04-24 19:59:26 UTC
So far this is an Ubuntu problem, so for the *third time* take it to Ubuntu support and report back what they tell you.
Comment 12 Peter Sewell 2014-04-24 20:05:58 UTC
I'm sorry to have caused offence by opening this bug report - I don't actually know what to ask the ubuntu community? All that I can show them is the crash report and say that you think it's something to do with libdbi.

I'll try my best to report it to ubuntu. I'll report back to you when / if they get back to me.
Comment 13 Al Heynneman 2014-04-24 23:18:37 UTC
Here's my backtrace log.

I logged into the Guest account in Ubuntu so that nothing in my normal home
directory would interfere. You can, of course, ignore the compiling messages,
and the backtrace is near the bottom.

Cheers, Al

guest-0Dvu37@ubuntu-64:~$ gdb gnucash
GNU gdb (Ubuntu 7.7-0ubuntu3) 7.7
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from gnucash...(no debugging symbols found)...done.
(gdb) r
Starting program: /usr/bin/gnucash 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe142a700 (LWP 19306)]
[New Thread 0x7fffdb3ab700 (LWP 19307)]
[New Thread 0x7fffc801a700 (LWP 19309)]
[New Thread 0x7fffc7819700 (LWP 19310)]
[New Thread 0x7fffc7018700 (LWP 19311)]
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /usr/share/gnucash/guile-modules/gnucash/main.scm
;;; compiling /usr/share/gnucash/guile-modules/gnucash/printf.scm
[Thread 0x7fffc7018700 (LWP 19311) exited]
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/printf.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/core-utils.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/core-utils.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/gnc-module.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/gnc-module.scm.go
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/main.scm.go
;;; compiling /usr/share/gnucash/scm/string.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/string.scm.go
;;; compiling /usr/share/gnucash/scm/fin.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/fin.scm.go
;;; compiling /usr/share/gnucash/scm/build-config.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/build-config.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/engine.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/engine.scm.go
;;; compiling /usr/share/gnucash/scm/gnc-numeric.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/gnc-numeric.scm.go
;;; compiling /usr/share/gnucash/scm/commodity-table.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/commodity-table.scm.go
;;; compiling /usr/share/gnucash/scm/engine-interface.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/engine-interface.scm.go
;;; compiling /usr/share/gnucash/scm/engine-utilities.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/engine-utilities.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/business-core.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/business-core.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/app-utils.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/app-utils.scm.go
;;; compiling /usr/share/gnucash/scm/c-interface.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/c-interface.scm.go
;;; compiling /usr/share/gnucash/scm/config-var.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/config-var.scm.go
;;; compiling /usr/share/gnucash/scm/options.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/options.scm.go
;;; compiling /usr/share/gnucash/scm/hooks.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/hooks.scm.go
;;; compiling /usr/share/gnucash/scm/prefs.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/prefs.scm.go
;;; compiling /usr/share/gnucash/scm/date-utilities.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/date-utilities.scm.go
;;; compiling /usr/share/gnucash/scm/simple-obj.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/simple-obj.scm.go
;;; compiling /usr/share/gnucash/scm/business-options.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/business-options.scm.go
;;; compiling /usr/share/gnucash/scm/business-prefs.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/business-prefs.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/gnome-utils.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/gnome-utils.scm.go
;;; compiling /usr/share/gnucash/scm/gnc-menu-extensions.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/gnc-menu-extensions.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/import-export/qif-import.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/import-export/qif-import.scm.go
;;; compiling /usr/share/gnucash/scm/qif-import/qif-objects.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/qif-import/qif-objects.scm.go
;;; compiling /usr/share/gnucash/scm/qif-import/qif-parse.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/qif-import/qif-parse.scm.go
;;; compiling /usr/share/gnucash/scm/qif-import/qif-utils.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/qif-import/qif-utils.scm.go
;;; compiling /usr/share/gnucash/scm/qif-import/qif-file.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/qif-import/qif-file.scm.go
;;; compiling /usr/share/gnucash/scm/qif-import/qif-dialog-utils.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/qif-import/qif-dialog-utils.scm.go
;;; compiling /usr/share/gnucash/scm/qif-import/qif-guess-map.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/qif-import/qif-guess-map.scm.go
;;; compiling /usr/share/gnucash/scm/qif-import/qif-to-gnc.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/qif-import/qif-to-gnc.scm.go
;;; compiling /usr/share/gnucash/scm/qif-import/qif-merge-groups.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/qif-import/qif-merge-groups.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/report-system.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/report-system.scm.go
;;; compiling /usr/share/gnucash/scm/commodity-utilities.scm
;;; commodity-utilities.scm:981:33: warning: wrong number of arguments to `gnc:get-commoditylist-inst-prices'
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/commodity-utilities.scm.go
;;; compiling /usr/share/gnucash/scm/html-barchart.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/html-barchart.scm.go
;;; compiling /usr/share/gnucash/scm/html-jqplot.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/html-jqplot.scm.go
;;; compiling /usr/share/gnucash/scm/html-document.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/html-document.scm.go
;;; compiling /usr/share/gnucash/scm/html-piechart.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/html-piechart.scm.go
;;; compiling /usr/share/gnucash/scm/html-scatter.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/html-scatter.scm.go
;;; compiling /usr/share/gnucash/scm/html-linechart.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/html-linechart.scm.go
;;; compiling /usr/share/gnucash/scm/html-style-info.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/html-style-info.scm.go
;;; compiling /usr/share/gnucash/scm/html-fonts.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/html-fonts.scm.go
;;; compiling /usr/share/gnucash/scm/html-style-sheet.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/html-style-sheet.scm.go
;;; compiling /usr/share/gnucash/scm/html-table.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/html-table.scm.go
;;; compiling /usr/share/gnucash/scm/html-text.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/html-text.scm.go
;;; compiling /usr/share/gnucash/scm/html-acct-table.scm
[Thread 0x7fffc7819700 (LWP 19310) exited]
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/html-acct-table.scm.go
;;; compiling /usr/share/gnucash/scm/html-utilities.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/html-utilities.scm.go
;;; compiling /usr/share/gnucash/scm/options-utilities.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/options-utilities.scm.go
;;; compiling /usr/share/gnucash/scm/report-utilities.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/report-utilities.scm.go
;;; compiling /usr/share/gnucash/scm/report.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/report.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/stylesheets.scm
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/stylesheet-plain.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/stylesheet-plain.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/stylesheet-fancy.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/stylesheet-fancy.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/stylesheet-footer.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/stylesheet-footer.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/stylesheet-easy.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/stylesheet-easy.scm.go
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/stylesheets.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/standard-reports.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/standard-reports.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/standard-reports/general-journal.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/standard-reports/general-journal.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/standard-reports/trial-balance.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/standard-reports/trial-balance.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/standard-reports/account-piecharts.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/standard-reports/account-piecharts.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/standard-reports/budget.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/standard-reports/budget.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/standard-reports/budget-income-statement.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/standard-reports/budget-income-statement.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/standard-reports/budget-barchart.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/standard-reports/budget-barchart.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/standard-reports/advanced-portfolio.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/standard-reports/advanced-portfolio.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/standard-reports/account-summary.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/standard-reports/account-summary.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/standard-reports/register.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/standard-reports/register.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/standard-reports/budget-balance-sheet.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/standard-reports/budget-balance-sheet.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/standard-reports/category-barchart.scm
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/report-system/report-collectors.scm
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/report-system/collectors.scm
;;; gnucash/report/report-system/collectors.scm:127:32: warning: wrong number of arguments to `slotset-slot'
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/report-system/collectors.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/report-system/list-extras.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/report-system/list-extras.scm.go
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/report-system/report-collectors.scm.go
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/standard-reports/category-barchart.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/standard-reports/general-ledger.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/standard-reports/general-ledger.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/standard-reports/net-linechart.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/standard-reports/net-linechart.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/standard-reports/cash-flow.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/standard-reports/cash-flow.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/standard-reports/transaction.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/standard-reports/transaction.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/standard-reports/sx-summary.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/standard-reports/sx-summary.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/standard-reports/daily-reports.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/standard-reports/daily-reports.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/standard-reports/equity-statement.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/standard-reports/equity-statement.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/standard-reports/net-barchart.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/standard-reports/net-barchart.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/standard-reports/income-statement.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/standard-reports/income-statement.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/standard-reports/balance-sheet.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/standard-reports/balance-sheet.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/standard-reports/price-scatter.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/standard-reports/price-scatter.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/standard-reports/budget-flow.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/standard-reports/budget-flow.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/standard-reports/average-balance.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/standard-reports/average-balance.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/standard-reports/portfolio.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/standard-reports/portfolio.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/utility-reports.scm
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/hello-world.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/hello-world.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/view-column.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/view-column.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/welcome-to-gnucash.scm
;;; gnucash/report/welcome-to-gnucash.scm:90:26: warning: non-literal format string
;;; gnucash/report/welcome-to-gnucash.scm:91:25: warning: non-literal format string
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/welcome-to-gnucash.scm.go
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/utility-reports.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/tax/us.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/tax/us.scm.go
;;; compiling /usr/share/gnucash/scm/txf.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/txf.scm.go
;;; compiling /usr/share/gnucash/scm/txf-help.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/scm/txf-help.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/taxtxf.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/taxtxf.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/locale-specific/us.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/locale-specific/us.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/report-gnome.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/report-gnome.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/business-gnome.scm
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/business-reports.scm
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/fancy-invoice.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/fancy-invoice.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/invoice.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/invoice.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/easy-invoice.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/easy-invoice.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/taxinvoice.scm
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/eguile-utilities.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/eguile-utilities.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/eguile-html-utilities.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/eguile-html-utilities.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/eguile-gnc.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/eguile-gnc.scm.go
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/taxinvoice.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/owner-report.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/owner-report.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/job-report.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/job-report.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/payables.scm
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/aging.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/aging.scm.go
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/payables.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/receivables.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/receivables.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/customer-summary.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/customer-summary.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/report/balsheet-eg.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/balsheet-eg.scm.go
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/report/business-reports.scm.go
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/business-gnome.scm.go
;;; compiling /usr/share/gnucash/guile-modules/gnucash/price-quotes.scm
;;; compiling /usr/share/gnucash/guile-modules/www/main.scm
;;; compiling /usr/share/gnucash/guile-modules/www/http.scm
;;; compiling /usr/share/gnucash/guile-modules/www/url.scm
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/www/url.scm.go
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/www/http.scm.go
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/www/main.scm.go
;;; compiled /tmp/guest-0Dvu37/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/gnucash/guile-modules/gnucash/price-quotes.scm.go
Found Finance::Quote version 1.18
sys:1: Warning: g_ascii_strcasecmp: assertion 's1 != NULL' failed
[New Thread 0x7fffc7819700 (LWP 19370)]
[New Thread 0x7fffc7018700 (LWP 19378)]
[Thread 0x7fffc7819700 (LWP 19370) exited]
[New Thread 0x7fffc7819700 (LWP 19382)]
[New Thread 0x7fffb5942700 (LWP 19383)]
[New Thread 0x7fffb5141700 (LWP 19384)]
[Thread 0x7fffb5141700 (LWP 19384) exited]
[Thread 0x7fffc7018700 (LWP 19378) exited]
[Thread 0x7fffc7819700 (LWP 19382) exited]
[Thread 0x7fffb5942700 (LWP 19383) exited]
sys:1: Warning: g_key_file_free: assertion 'key_file != NULL' failed

Program received signal SIGSEGV, Segmentation fault.
0x00007fffc55b4f2b in dbi_shutdown_r ()
   from /usr/lib/x86_64-linux-gnu/libdbi.so.1
(gdb) bt
  • #0 dbi_shutdown_r
    from /usr/lib/x86_64-linux-gnu/libdbi.so.1
  • #1 qof_finalize_backend_libraries
    from /usr/lib/x86_64-linux-gnu/gnucash/libgnc-qof.so.1
  • #2 qof_close
    from /usr/lib/x86_64-linux-gnu/gnucash/libgnc-qof.so.1
  • #3 gnc_engine_shutdown
    from /usr/lib/x86_64-linux-gnu/gnucash/gnucash/libgncmod-engine.so
  • #4 gnc_shutdown
    from /usr/lib/x86_64-linux-gnu/gnucash/gnucash/libgncmod-gnome-utils.so
  • #5 ??
    from /usr/lib/libguile-2.0.so.22
  • #6 ??
    from /usr/lib/libguile-2.0.so.22
  • #7 ??
    from /usr/lib/libguile-2.0.so.22
  • #8 scm_call_4
    from /usr/lib/libguile-2.0.so.22
  • #9 ??
    from /usr/lib/libguile-2.0.so.22
  • #10 scm_c_with_continuation_barrier
    from /usr/lib/libguile-2.0.so.22
  • #11 ??
    from /usr/lib/libguile-2.0.so.22
  • #12 GC_call_with_stack_base
    from /usr/lib/x86_64-linux-gnu/libgc.so.1
  • #13 scm_with_guile
    from /usr/lib/libguile-2.0.so.22
  • #14 scm_boot_guile
    from /usr/lib/libguile-2.0.so.22
  • #15 main
A debugging session is active.

	Inferior 1 [process 19302] will be killed.

Quit anyway? (y or n) y
guest-0Dvu37@ubuntu-64:~$
Comment 14 Peter Sewell 2014-04-29 19:20:41 UTC
Can I ask a simple question to someone in GNUcash? I've posted for help on Askubuntu and with Ubuntu's bug reporting website and someone has asked me if I've installed the 64bit version of GNUcash or the 32bit?

As far as I knew there was only one version released for use to install - and I guessed that it was the 32 bit version. My system is a 64bit.

I installed it via getdeb because they update their software faster than the official ubuntu software centre.

I've notice that there are 3 other packages which could also be installed alongside GNUcash. libdbd-mysql, libdbd-pgsql& libdbd-sqlite3. Would the error in libdbi be caused by any of these missing packages which I haven't got installed?
Comment 15 John Ralls 2014-04-29 23:29:59 UTC
We only release sources for Linux. It's up to the distro (in your case, Ubuntu) to decide what architectures to build it for. It's up to you to determine what's installed.

Yes, it's entirely possible that libdbi might crash at startup or shutdown if it finds no libdbd. Try adding one and see if it fixes the problem. sqlite3 is likely to have the minimum impact on the system.
Comment 16 Peter Sewell 2014-05-01 14:56:47 UTC
I thought that installing those packages had resolved the problem of crashes when closing GNUcash but today it has just crashed again.

The crash isn't causing any problem with the data held in GNUcash.

I have requested help from ubuntu but so far no one has picked up the bug report.
Comment 17 John Ralls 2014-05-01 15:50:32 UTC
Was it the same libdbi crash?
Comment 18 Peter Sewell 2014-05-01 16:16:30 UTC
Yes, unfortunately. But it's not causing any huge problem just annoying.
Comment 19 Christoph Korn 2014-05-19 21:02:23 UTC
Hello, I am the maintainer of the GnuCash package in GetDeb which the reporter seems to use.
This is the backtrace of the crash with debugging symbols installed:
(gdb) bt
  • #0 dbi_shutdown_r
    from /usr/lib/x86_64-linux-gnu/libdbi.so.1
  • #1 qof_finalize_backend_libraries
    at qofbackend.c line 266
  • #2 qof_close
    at qofutil.c line 278
  • #3 gnc_engine_shutdown
    at gnc-engine.c line 163
  • #4 gnc_shutdown
    at gnc-gnome-utils.c line 781
  • #5 ??
    from /usr/lib/libguile-2.0.so.22
  • #6 ??
    from /usr/lib/libguile-2.0.so.22
  • #7 ??
    from /usr/lib/libguile-2.0.so.22
  • #8 scm_call_4
    from /usr/lib/libguile-2.0.so.22
  • #9 ??
    from /usr/lib/libguile-2.0.so.22
  • #10 scm_c_with_continuation_barrier
    from /usr/lib/libguile-2.0.so.22
  • #11 ??
    from /usr/lib/libguile-2.0.so.22
  • #12 GC_call_with_stack_base
    from /usr/lib/x86_64-linux-gnu/libgc.so.1
  • #13 scm_with_guile
    from /usr/lib/libguile-2.0.so.22
  • #14 scm_boot_guile
    from /usr/lib/libguile-2.0.so.22
  • #15 main
    at gnucash-bin.c line 774

Full log: http://sprunge.us/hXNf

gnucash 2.6.3

So this is where it crashes:
https://github.com/Gnucash/gnucash/blob/2.6.3/src/libqof/qof/qofbackend.c#L266

Is this a bug in the libdbi1 package of Ubuntu 14.04.
Comment 20 John Ralls 2014-05-19 21:59:32 UTC
OK, thanks for the backtrace and diagnosis. Is there a bug report against libdbi?
Comment 21 Christoph Korn 2014-05-20 18:28:49 UTC
There is: https://bugs.launchpad.net/ubuntu/+source/libdbi/+bug/1312411
Comment 22 Christoph Korn 2014-05-20 18:35:20 UTC
One more information. It does not crash when the python-gnucash package is NOT installed. But then there is this error when starting gnucash:
Traceback (most recent call last):
  • File "/usr/share/gnucash/python/init.py", line 3 in <module>
    from gnucash import *
ImportError: No module named gnucash

Comment 23 John Ralls 2014-05-26 18:30:33 UTC
> There is: https://bugs.launchpad.net/ubuntu/+source/libdbi/+bug/1312411

That's a bug against Ubuntu. Libdbi's bugtracker is at https://sourceforge.net/p/libdbi/bugs/?source=navbar.

I can replicate the crash in Debian Jessie, so it's not Ubuntu's fault.
Comment 24 John Ralls 2014-05-27 15:50:03 UTC
And after a couple of hours chasing the wrong problem in the debugger, I find that the reason it crashes is that the python module -- not the python bindings, a separate module that tries to use the bindings from inside GnuCash -- is causing the dbi backend to register twice. When qofbackend calls the finalizer the second time it's already been freed (but not NULLed) and blammo.

That's because the libdbi-0.9.0 patch created a few weeks ago used a static dbi_instance, so initializing it twice not only crashed when it got double-freed but also leaked the first instance because it was overwritten with the second.

That's fixed now and will be correct in the next release.

In the meantime, the workaround is to remove /usr/share/gnucash/python/init.py, which will prevent the second registration of the backend. It's for running python from inside of GnuCash and not useful to most users.
Comment 25 Christoph Korn 2014-05-27 21:32:55 UTC
Thanks John !

Removing the file fixed it. It has been removed from the package on GetDeb. So it does not crash there any longer. Thanks.

I will also close the bug report for libdbi on launchpad.
Comment 26 Peter Sewell 2014-05-28 15:21:07 UTC
Thank you to everyone for working so hard to fix this bug. It all works beautifully now.

One little extra point - since the fix has been released via getdeb I've noticed that the close down / quit from GNUcash has been much slower than before all this bug situation started. Has anyone else noticed this?
Comment 27 John Ralls 2018-06-29 23:29:57 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=728717. Please update any external references or bookmarks.