Crash when selecting/changing Account in transfer column

Bug #682972 reported by iMac
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GnuCash
Expired
Medium
Guile-Cairo
New
Undecided
Unassigned
gnucash (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: gnucash

After upgrading to Maverick Gnucash is crashing frequently when editing or adding transactions to any account. Importing seems to work fine, however adding new transactions or editing existing ones results in a crash when trying to select the Account. The account list does not appear, and the following is observed on the command line.

This particular GnuCash file has transactions for about 80 accounts going back to 2006. This crash has me worried that some legacy data is no longer compatible.

If there is some gdb output that would be useful, I can create and attach it. Easily reproducible as I can't enter new transactions or edit old ones if I need to select an Account. I can Import, and new transactions are okay if I use the auto-selected Account.

gnc.bin-Message: main: binreloc relocation support was disabled at configure time.

Found Finance::Quote version 1.17
*** glibc detected *** gnucash: malloc(): memory corruption: 0x0000000003abb780 ***
======= Backtrace: =========
/lib/libc.so.6(+0x774b6)[0x7fabc6a144b6]
/lib/libc.so.6(+0x7b55f)[0x7fabc6a1855f]
/lib/libc.so.6(__libc_malloc+0x6e)[0x7fabc6a1938e]
/usr/lib/libpixman-1.so.0(+0x1724b)[0x7fabc2eb024b]
/usr/lib/libpixman-1.so.0(pixman_image_create_solid_fill+0x9)[0x7fabc2ed18b9]
/usr/lib/libpixman-1.so.0(pixman_image_fill_boxes+0x23a)[0x7fabc2ecb63a]
/usr/lib/libcairo.so.2(+0x27c68)[0x7fabc934bc68]
/usr/lib/libcairo.so.2(+0x48848)[0x7fabc936c848]
/usr/lib/libcairo.so.2(+0x4b885)[0x7fabc936f885]
/usr/lib/libcairo.so.2(+0x48861)[0x7fabc936c861]
/usr/lib/libcairo.so.2(+0x4cac7)[0x7fabc9370ac7]
/usr/lib/libcairo.so.2(+0x4cc92)[0x7fabc9370c92]
/usr/lib/libcairo.so.2(+0x4d8d9)[0x7fabc93718d9]
/usr/lib/libcairo.so.2(+0x4a191)[0x7fabc936e191]
/usr/lib/libcairo.so.2(+0x2282a)[0x7fabc934682a]
/usr/lib/libcairo.so.2(cairo_stroke_preserve+0x1b)[0x7fabc933d49b]
/usr/lib/libcairo.so.2(cairo_stroke+0x9)[0x7fabc933d4c9]
/usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so(murrine_draw_focus+0x5e)[0x7fabbe16015e]
/usr/lib/gtk-2.0/2.10.0/engines/libmurrine.so(+0xf724)[0x7fabbe150724]
/usr/lib/libgtk-x11-2.0.so.0(+0x240008)[0x7fabca64b008]
/usr/lib/libgtk-x11-2.0.so.0(+0x240115)[0x7fabca64b115]
/usr/lib/libgtk-x11-2.0.so.0(+0x13a9d8)[0x7fabca5459d8]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x15e)[0x7fabc7ccda6e]
/usr/lib/libgobject-2.0.so.0(+0x24a30)[0x7fabc7ce3a30]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x62b)[0x7fabc7ce50eb]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x83)[0x7fabc7ce5863]
/usr/lib/libgtk-x11-2.0.so.0(+0x2536df)[0x7fabca65e6df]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x556)[0x7fabca53f1b6]
/usr/lib/libgdk-x11-2.0.so.0(+0x439da)[0x7fabca19f9da]
/usr/lib/libgdk-x11-2.0.so.0(+0x43987)[0x7fabca19f987]
======= Memory map: ========
00400000-00405000 r-xp 00000000 ca:00 295286 /usr/bin/gnucash-bin
00604000-00605000 r--p 00004000 ca:00 295286 /usr/bin/gnucash-bin
00605000-00606000 rw-p 00005000 ca:00 295286 /usr/bin/gnucash-bin
0239e000-03ae9000 rw-p 00000000 00:00 0 [heap]
7fabb0000000-7fabb0021000 rw-p 00000000 00:00 0
7fabb0021000-7fabb4000000 ---p 00000000 00:00 0
7fabb434b000-7fabb4381000 r-xp 00000000 ca:00 304444 /usr/lib/libcroco-0.6.so.3.0.1
7fabb4381000-7fabb4580000 ---p 00036000 ca:00 304444 /usr/lib/libcroco-0.6.so.3.0.1
7fabb4580000-7fabb4581000 r--p 00035000 ca:00 304444 /usr/lib/libcroco-0.6.so.3.0.1
7fabb4581000-7fabb4584000 rw-p 00036000 ca:00 304444 /usr/lib/libcroco-0.6.so.3.0.1
7fabb4584000-7fabb45b7000 r-xp 00000000 ca:00 304446 /usr/lib/librsvg-2.so.2.32.0
7fabb45b7000-7fabb47b7000 ---p 00033000 ca:00 304446 /usr/lib/librsvg-2.so.2.32.0
7fabb47b7000-7fabb47b8000 r--p 00033000 ca:00 304446 /usr/lib/librsvg-2.so.2.32.0
7fabb47b8000-7fabb47b9000 rw-p 00034000 ca:00 304446 /usr/lib/librsvg-2.so.2.32.0
7fabb47b9000-7fabb47bb000 r-xp 00000000 ca:00 361819 /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
7fabb47bb000-7fabb49ba000 ---p 00002000 ca:00 361819 /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
7fabb49ba000-7fabb49bb000 r--p 00001000 ca:00 361819 /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
7fabb49bb000-7fabb49bc000 rw-p 00002000 ca:00 361819 /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
7fabb49bc000-7fabb49bd000 ---p 00000000 00:00 0
7fabb49bd000-7fabb51bd000 rw-p 00000000 00:00 0
7fabb51bd000-7fabb58de000 rw-p 00000000 00:00 0
7fabb58de000-7fabb58f5000 r-xp 00000000 ca:00 479847 /usr/lib/gnucash/gnucash/libgncmod-business-backend-file.so
7fabb58f5000-7fabb5af4000 ---p 00017000 ca:00 479847 /usr/lib/gnucash/gnucash/libgncmod-business-backend-file.so
7fabb5af4000-7fabb5af5000 r--p 00016000 ca:00 479847 /usr/lib/gnucash/gnucash/libgncmod-business-backend-file.so
7fabb5af5000-7fabb5af7000 rw-p 00017000 ca:00 479847 /usr/lib/gnucash/gnucash/libgncmod-business-backend-file.so
7fabb5af7000-7fabb5cf9000 rw-p 00000000 00:00 0
7fabb5cf9000-7fabb5cfc000 r-xp 00000000 ca:00 479849 /usr/lib/gnucash/gnucash/libgncmod-business-utils.so
7fabb5cfc000-7fabb5efb000 ---p 00003000 ca:00 479849 /usr/lib/gnucash/gnucash/libgncmod-business-utils.so
7fabb5efb000-7fabb5efc000 r--p 00002000 ca:00 479849 /usr/lib/gnucash/gnucash/libgncmod-business-utils.so
7fabb5efc000-7fabb5efd000 rw-p 00003000 ca:00 479849 /usr/lib/gnucash/gnucash/libgncmod-business-utils.so
7fabb5efd000-7fabb5f05000 r-xp 00000000 ca:00 479851 /usr/lib/gnucash/gnucash/libgncmod-dialog-tax-table.so
7fabb5f05000-7fabb6104000 ---p 00008000 ca:00 479851 /usr/lib/gnucash/gnucash/libgncmod-dialog-tax-table.so
7fabb6104000-7fabb6105000 r--p 00007000 ca:00 479851 /usr/lib/gnucash/gnucash/libgncmod-dialog-tax-table.so
7fabb6105000-7fabb6106000 rw-p 00008000 ca:00 479851 /usr/lib/gnucash/gnucash/libgncmod-dialog-tax-table.so
7fabb6106000-7fabb6114000 r-xp 00000000 ca:00 454400 /usr/lib/gnucash/libgnc-business-ledger.so.0.0.0
7fabb6114000-7fabb6314000 ---p 0000e000 ca:00 454400 /usr/lib/gnucash/libgnc-business-ledger.so.0.0.0
7fabb6314000-7fabb6315000 r--p 0000e000 ca:00 454400 /usr/lib/gnucash/libgnc-business-ledger.so.0.0.0
7fabb6315000-7fabb6316000 rw-p 0000f000 ca:00 454400 /usr/lib/gnucash/libgnc-business-ledger.so.0.0.0
7fabb6316000-7fabb6355000 r-xp 00000000 ca:00 479845 /usr/lib/gnucash/gnucash/libgncmod-business-core.so
7fabb6355000-7fabb6555000 ---p 0003f000 ca:00 479845 /usr/lib/gnucash/gnucash/libgncmod-business-core.so
7fabb6555000-7fabb6556000 r--p 0003f000 ca:00 479845 /usr/lib/gnucash/gnucash/libgncmod-business-core.so
7fabb6556000-7fabb655b000 rw-p 00040000 ca:00 479845 /usr/lib/gnucash/gnucash/libgncmod-business-core.so
7fabb660d000-7fabb6618000 r-xp 00000000 ca:00 479799 /usr/lib/gnucash/gnucash/libgncqof-backend-qsf.so
7fabb6618000-7fabb6818000 ---p 0000b000 ca:00 479799 /usr/lib/gnucash/gnucash/libgncqof-backend-qsf.soAborted

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: gnucash 2.2.9-6
ProcVersionSignature: Ubuntu 2.6.35-23.40-server 2.6.35.7
Uname: Linux 2.6.35-23-server x86_64
Architecture: amd64
Date: Mon Nov 29 23:01:03 2010
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: gnucash
---
Architecture: amd64
DistroRelease: Ubuntu 10.10
Package: gnucash 2.2.9-6
PackageArchitecture: amd64
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.35-23.41-server 2.6.35.7
Tags: maverick
Uname: Linux 2.6.35-23-server x86_64
UserGroups: Domain Users admin

Revision history for this message
iMac (imac-netstatz) wrote :
Revision history for this message
iMac (imac-netstatz) wrote : Dependencies.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
iMac (imac-netstatz) wrote :

Okay, I really want to get this fixed. With 2010 behind me, I need my gnucash.. right now selecting an account for the debit/credit on any transaction record on any existing account generates this crash. Attached is full backtrace output.

Revision history for this message
In , E-ian-h (e-ian-h) wrote :

Recently created a new Maverick 10.10 VNC based desktop and this crash started occurring. I also recently pulled a 2.4.0 12-23-2010 build from getdeb. Same issue, which makes me think I have some sort of UI issue unique to me.

I then tried the same Gnucash file (it is NFS mounted and available on more than one machine including the one where the bug occurs) on my regular desktop with a real GPU and it seemed to work fine.

To trigger the bug, I use the mouse to put the cursor into the "Transfer" column of any transaction. This makes the little button that is used to pull up a list of accounts appear. Then I click on the button.. instead of a list of accounts appearing, it crashes with the button depressed (the little button graphic changes and thats the the last thing that happens). This is how I created the debug backtrace linked below. Same behaviour in 2.2.9 or 2.4.0.

I have had no trouble importing my banking QFX and selecting accounts in the import dialogue, so thankfully I am able to sort of stay current .. I just can't make any changes that require a change to the transfer column, or create any new transaction (unless the bayesian engine selects the correct account for me automatically).

I have filed a bug downstream at Ubuntu, which includes a full backtrace, registers, etc with the debug symbols from the distribution packages.

https://bugs.launchpad.net/ubuntu/+source/gnucash/+bug/682972

I suspect an issue or missing dependency related to drawing the list of accounts on the screen from the transaction window that occurs on my VNC based desktop.

Revision history for this message
iMac (imac-netstatz) wrote :

This seems to be related to to running a VNCServer desktop. My Maverick runs as a Xen Domu without a real GPU. Some additional details are now in the upstream bug https://bugzilla.gnome.org/show_bug.cgi?id=638792.

My vnc session started with

vnc4server :0 -name MacDesktop -geometry 1680x1050 -depth 16

Revision history for this message
In , Lakhil (lakhil) wrote :

Thanks for taking the time to report this bug.
Unfortunately, that stack trace is missing some elements that will help a lot to solve the problem, so it will be hard for the developers to fix that crash. Can you get us a stack trace with debugging symbols? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!

At least install debuginfo packages of cairo, gtk2, pixman, guile and gobject and provide us better traces.

Revision history for this message
iMac (imac-netstatz) wrote :

Added a bunch more symbols and re-ran the backtrace

Revision history for this message
In , E-ian-h (e-ian-h) wrote :

Created attachment 177630
Updated backtrace with more symbols

Here is a new backtrace with the following symbol packages now installed. I reverted to the maverick guncash 2.2.9 package to ensure matched dependencies, etc. as I am not sure of the build source for the 2.4.0 getdeb version.

Let me know if there's some obvious symbols packages I should add here.

Revision history for this message
In , Lakhil (lakhil) wrote :

Thanks Ian, I doubt if it's a gnucash bug, may be bug in cairo.

Revision history for this message
iMac (imac-netstatz) wrote :

Hmm.. upstream think this is a bug in Cairo; https://bugzilla.gnome.org/show_bug.cgi?id=638792

--- Comment #3 from Akhil Laddha <email address hidden> 2011-01-06 05:15:58 UTC ---
Thanks Ian, I doubt if it's a gnucash bug, may be bug in cairo.

Revision history for this message
In , Christian Stimming (stimming-deactivatedaccount) wrote :

Uh, thanks for the detailed stack trace. This might be caused by a bug in your gtk2 version, you have 2.22.0. Is there any possibility to upgrade to a newer version of gtk2, like gtk-2.22.1 (released on 15-Nov-2010)? We haven't heard of problems in this area of gnucash for quite some time, so I agree with Akhil this is very probable not caused by gnucash program code.

Changed in gnucash:
importance: Unknown → Critical
status: Unknown → New
Changed in gnucash:
status: New → Incomplete
Revision history for this message
In , Christian Stimming (stimming-deactivatedaccount) wrote :

Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!

Changed in gnucash:
status: Incomplete → Expired
Changed in gnucash:
importance: Critical → Medium
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.