Bug#644930: bad LANG env crashes gnucash on File->New account

October 10th, 2011 - 04:10 pm ET by debbug | Report spam
Package: gnucash
Version: 1:2.4.7-3+b1
Severity: serious
Tags: l10n

Problem description:
Using "export LANG=de_DE; gnucash" to start gnucash. gnucash crashes upon
Selecting "File -> New account".
Same valid for de_DE@UTF-8 maybe others as well.
export LANG=de_DE.UTF-8; gnucash however works as intended.

Further problem properties:
- exists iirc since 2008 or earlier
- gnucash devs at #gnucash hint this might be related to libc or gtk.

Stack trace:
- gnucash-lang-segfault: http://pastebin.com/4h2Cv0La

#0 __strncmp_ssse3 () at ../sysdeps/i386/i686/multiarch/strcmp-ssse3.S:2064
#1 0xb6c7813e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#2 0xb6de0fc7 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#3 0xb6de5677 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#4 0xb6de59f6 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#5 0xb6ddf4e0 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#6 0xb6de079b in gtk_tree_model_foreach () from /usr/lib/libgtk-x11-2.0.so.0
#7 0xb6de4f8c in gtk_tree_model_filter_refilter () from /usr/lib/libgtk-x11-2.0.so.0
#8 0xb6c79566 in gtk_entry_completion_complete () from /usr/lib/libgtk-x11-2.0.so.0
#9 0xb6c65d9c in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#10 0xb678af1c in ?? () from /usr/lib/libgobject-2.0.so.0
#11 0xb676d9f2 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#12 0xb678afb7 in ?? () from /usr/lib/libgobject-2.0.so.0
#13 0xb66b2a41 in ?? () from /lib/libglib-2.0.so.0
#14 0xb66b7252 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#15 0xb66b7a30 in ?? () from /lib/libglib-2.0.so.0
#16 0xb66b80f3 in g_main_loop_run () from /lib/libglib-2.0.so.0
#17 0xb6ceabd9 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#18 0xb7695974 in gnc_ui_start_event_loop () at gnc-gnome-utils.c:668
#19 0x0804d4d4 in inner_main (closure=0x0, argc=1, argv=0xbfa77ae4) at gnucash-bin.c:735
#20 0xb73a4416 in ?? () from /usr/lib/libguile.so.17
#21 0xb7376022 in ?? () from /usr/lib/libguile.so.17
#22 0xb73eb518 in scm_c_catch () from /usr/lib/libguile.so.17
#23 0xb7376657 in scm_i_with_continuation_barrier () from /usr/lib/libguile.so.17
#24 0xb7376733 in scm_c_with_continuation_barrier () from /usr/lib/libguile.so.17
#25 0xb73e9d99 in scm_i_with_guile_and_parent () from /usr/lib/libguile.so.17
#26 0xb73e9dee in scm_with_guile () from /usr/lib/libguile.so.17
#27 0xb73a44ff in scm_boot_guile () from /usr/lib/libguile.so.17
#28 0x0804d8b1 in main (argc=1, argv=0xbfa77ae4) at gnucash-bin.c:879

Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.39.3 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnucash depends on:
ii gnucash-common 1:2.4.7-3
ii guile-1.8 1.8.8+1-6
ii guile-1.8-libs 1.8.8+1-6
ii libaqbanking33 5.0.16-1
ii libart-2.0-2 2.3.21-1
ii libatk1.0-0 2.2.0-1
ii libbonobo2-0 2.24.3-1
ii libbonoboui2-0 2.24.3-1
ii libc6 2.13-21
ii libcairo2 1.10.2-6.1
ii libcrypt-ssleay-perl 0.57-2+b2
ii libdate-manip-perl 6.25-1
ii libdbi1 0.8.4-5.1
ii libfinance-quote-perl 1.17+git20110918-1
ii libfontconfig1 2.8.0-3
ii libfreetype6 2.4.6-2
ii libgconf2-4 2.32.4-1
ii libgdk-pixbuf2.0-0 2.24.0-1
ii libglade2-0 1:2.6.4-1
ii libglib2.0-0 2.28.6-1
ii libgmp10 2:5.0.2+dfsg-1
ii libgnome-keyring0 3.2.0-2
ii libgnome2-0 2.32.1-1
ii libgnomecanvas2-0 2.30.3-1
ii libgnomeui-0 2.24.5-2
ii libgnomevfs2-0 1:2.24.4-1
ii libgoffice-0.8-8 0.8.17-1
ii libgtk2.0-0 2.24.4-3
ii libgwengui-gtk2-0 4.3.0-1
ii libgwenhywfar60 4.3.0-1
ii libhtml-tableextract-perl 2.11-1
ii libhtml-tree-perl 4.2-1
ii libice6 2:1.0.7-2
ii libktoblzcheck1c2a 1.35-1
ii libltdl7 2.4-4
ii libofx4 1:0.9.4-2
ii liborbit2 1:2.14.18-0.2
ii libpango1.0-0 1.28.4-3
ii libpopt0 1.16-1
ii libsm6 2:1.2.0-2
ii libsoup2.4-1 2.34.3-1
ii libwebkitgtk-1.0-0 1.4.2-2
ii libwww-perl 6.02-1
ii libx11-6 2:1.4.4-2
ii libxml2 2.7.8.dfsg-4
ii perl 5.12.4-4
ii slib 3b1-3.1
ii zlib1g 1:1.2.3.4.dfsg-3

Versions of packages gnucash recommends:
ii gnucash-docs 2.2.0-3

Versions of packages gnucash suggests:
pn libdbd-mysql <none>
pn libdbd-pgsql <none>
pn libdbd-sqlite3 <none>





To UNSUBSCRIBE, email to debian-bugs-rc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 8 repliesReplies Make a reply

Replies

#1 lkml
October 11th, 2011 - 08:40 am ET | Report spam
Hi Micha,

Thx for your msg and your work for Debian.

As you suggested I built libgtk2.0-bin and tried again. No fix. Sorry.

Besides, building libgtk was a PITA, all in caps. It was failing all over
the build in docs, tutorials and finally doing the TEST stuff that made
debuild stop (despite the "..] Error 2 [ignored]" msg).
Calling fakeroot manually and fixing up all docs/.. references in lots
of install files and in rules (it _is_ tedious to exclude docs from being
configured/built and packaged).

Finally there's the deb files. Well, just the patch didn't fix it.

Do you mean to also replace the -common stuff?

Cheers

On +0200, Micha Lenk wrote:
# Date: Mon, 10 Oct 2011 22:18:06 +0200
# From: Micha Lenk
# To:
# CC: , Debian GNOME Maintainers
# ,
# Subject: Re: Bug#644930: bad LANG env crashes gnucash on File->New account
# User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.20)
# Gecko/20110822 Lightning/1.0b2 Icedove/3.1.12
#
# tags 644930 + patch
# thanks
#
# Hi,
#
# Am 10.10.2011 21:54, schrieb :
# > Problem description:
# > Using "export LANG=de_DE; gnucash" to start gnucash. gnucash crashes upon
# > Selecting "File -> New account".
# > Same valid for maybe others as well.
# > export LANG=de_DE.UTF-8; gnucash however works as intended.
# >
# > Further problem properties:
# > - exists iirc since 2008 or earlier
# > - gnucash devs at #gnucash hint this might be related to libc or gtk.
#
# This is very likely a duplicate of Debian bugs #616150 and #634091,
# which is IMHO a bug in the gtk+2.0 package.
#
# If you want you can try my patch for gtk+2.0 that I've posted here:
# http://bugs.debian.org/cgi-bin/bugr...2;buga6150
#
# If you can confirm that this patch fixes your problem, I'll merge this
# bug with the other two bugs.
#
# Regards,
# Micha



To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact

Similar topics