Bug#663113: gnucash: Gnucash segfaults in libglib-2.0 while trying to edit scheduled transaction

March 08th, 2012 - 10:40 am ET by adam | Report spam
Package: gnucash
Version: 1:2.4.10-2
Severity: important

Dear Maintainer,

Gnucash segfaults while trying to edit existing scheduled transaction. To case
this, one can only open scheduled transaction window and then click ok. It has
been confirmed on 2 debian testing systems and ubuntu. This appeared for the
first time in 2.6.10-1 version, but even upgrading gnucash and gnucach-common
to 2.6.10-2 didn't solved this problem. Message is dmesg is always the same:
gnucash[28817]: segfault at 2c ip b6db5e1c sp bf8116c0 error 4 in
libglib-2.0.so.0.3000.2[b6d82000+fa000]

End of strace of gnucash:
poll([{fd=6, events=POLLIN}, {fd=4, events=POLLIN}, {fd=8,
events=POLLIN|POLLPRI}, {fd, events=POLLIN}, {fd, events=POLLIN|POLLPRI},
{fd, events=POLLIN}], 6, 0) = 0 (Timeout)
read(6, 0xbf82fdac, 16) = -1 EAGAIN (Resource temporarily
unavailable)
brk(0x8cb8000) = 0x8cb8000
brk(0x8cb6000) = 0x8cb6000
brk(0x8cb3000) = 0x8cb3000
poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
writev(4,
[{"5\30\4\0\4\7\340\3\270\6\340\3\200\6\262\3\224\4\5\0\5\7\340\3\4\7\340\3*\0\0\0"...,
4540}, {NULL, 0}, {"", 0}], 3) = 4540
recv(4, 0x85187c8, 4096, 0) = -1 EAGAIN (Resource temporarily
unavailable)
recv(4, 0x85187c8, 4096, 0) = -1 EAGAIN (Resource temporarily
unavailable)
clock_gettime(CLOCK_MONOTONIC, {112827, 40488982}) = 0
poll([{fd=6, events=POLLIN}, {fd=4, events=POLLIN}, {fd=8,
events=POLLIN|POLLPRI}, {fd, events=POLLIN}, {fd, events=POLLIN|POLLPRI},
{fd, events=POLLIN}], 6, 3274) = 1 ([{fd=4, revents=POLLIN}])
read(6, 0xbf82fdac, 16) = -1 EAGAIN (Resource temporarily
unavailable)
recv(4,
"\5\0013\207\345\232\271\6\277\0\0\0\270\6\340\3\0\0\0\0i\6\347\3i\6\263\3\20\1\1\0",
4096, 0) = 32
recv(4, 0x85187c8, 4096, 0) = -1 EAGAIN (Resource temporarily
unavailable)
clock_gettime(CLOCK_MONOTONIC, {112827, 109717474}) = 0
poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
writev(4, [{"$\30\1\0&\7\2\0\277\0\0\0", 12}, {NULL, 0}, {"", 0}], 3) = 12
poll([{fd=4, events=POLLIN}], 1, -1) = 1 ([{fd=4, revents=POLLIN}])
recv(4,
"\1\0015\207\0\0\0\0\277\0\0\0\276#$\1i\6\347\3i\6\347\3\20\0\0\0\0\0\0\0",
4096, 0) = 32
recv(4, 0x85187c8, 4096, 0) = -1 EAGAIN (Resource temporarily
unavailable)
poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
writev(4, [{"&\30\2\0\276#$\1", 8}, {NULL, 0}, {"", 0}], 3) = 8
poll([{fd=4, events=POLLIN}], 1, -1) = 1 ([{fd=4, revents=POLLIN}])
recv(4,
"\1\0016\207\0\0\0\0\277\0\0\0\270\6\340\3i\6\347\3i\6\316\3\20\0\0\0\0\0\0\0",
4096, 0) = 32
recv(4, 0x85187c8, 4096, 0) = -1 EAGAIN (Resource temporarily
unavailable)
recv(4, 0x85187c8, 4096, 0) = -1 EAGAIN (Resource temporarily
unavailable)
poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
writev(4, [{"&\30\2\0\270\6\340\3", 8}, {NULL, 0}, {"", 0}], 3) = 8
poll([{fd=4, events=POLLIN}], 1, -1) = 1 ([{fd=4, revents=POLLIN}])
recv(4,
"\1\0017\207\0\0\0\0\277\0\0\0\0\0\0\0i\6\347\3i\6\263\3\20\0\0\0\0\0\0\0",
4096, 0) = 32
recv(4, 0x85187c8, 4096, 0) = -1 EAGAIN (Resource temporarily
unavailable)
recv(4, 0x85187c8, 4096, 0) = -1 EAGAIN (Resource temporarily
unavailable)
poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
writev(4, [{"%\30\1\0", 4}, {NULL, 0}, {"", 0}], 3) = 4
recv(4, 0x85187c8, 4096, 0) = -1 EAGAIN (Resource temporarily
unavailable)
time(NULL) = 1331220496
time(NULL) = 1331220496
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size&79, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size&79, ...}) = 0
time(NULL) = 1331220496
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size&79, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size&79, ...}) = 0
SIGSEGV (Segmentation fault) @ 0 (0)
+++ killed by SIGSEGV +++

End of ltrace of gnucash:
gnc_hook_run(0x804e545, 0, 0x40594000, 0x884a5c0, 0xbfcd8898)
= 0
gnc_history_get_last(0xbfcd8878, 0xb773b740, 3199, 0x879e298, 0xb73b4c04
<unfinished ...>
SIGCHLD (Child exited)
unexpected breakpoint at 0x804a63f
gnc_history_get_last(0xbfcd8878, 0xb773b740, 3199, 0x879e298, 0xb73b4c04)
= 0x8891490
gettext(0x804e552, 0, 0x40594000, 0x884a5c0, 0xbfcd8898)
= 0xb1f1f78c
gnc_update_splash_screen(0xb1f1f78c, 0, 0x40594000, 0x884a5c0, 0xbfcd8898)
= 0
gnc_file_open_file(0x8891490, 0, 0x40594000, 0x884a5c0, 0xbfcd8898)
= 1
g_free(0x8891490, 0, 0x40594000, 0x884a5c0, 0xbfcd8898)
= 0xb6d3e3c0
gnc_destroy_splash_screen(0x8891490, 0, 0x40594000, 0x884a5c0, 0xbfcd8898)
= 44
gnc_main_window_show_all_windows(0x8891490, 0, 0x40594000, 0x884a5c0,
0xbfcd8898) = 0
gnc_hook_run(0x804e581, 0, 0x40594000, 0x884a5c0, 0xbfcd8898)
= 0
gnc_ui_start_event_loop(0x804e581, 0, 0x40594000, 0x884a5c0, 0xbfcd8898
<unfinished ...>
SIGSEGV (Segmentation fault)
+++ killed by SIGSEGV +++



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

Kernel: Linux 3.2.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnucash depends on:
ii gconf-service 3.2.3-3
ii gnucash-common 1:2.4.10-2
ii guile-1.8 1.8.8+1-6
ii guile-1.8-libs 1.8.8+1-6
ii libaqbanking33 5.0.22-1
ii libc6 2.13-27
ii libcairo2 1.10.2-6.2
ii libcrypt-ssleay-perl 0.58-1
ii libdate-manip-perl 6.30-1
ii libdbi1 0.8.4-5.1
ii libfinance-quote-perl 1.17+git20110918-1
ii libgconf-2-4 3.2.3-3
ii libgdk-pixbuf2.0-0 2.24.1-1
ii libglade2-0 1:2.6.4-1
ii libglib2.0-0 2.30.2-6
ii libgnome-keyring0 3.2.2-2
ii libgnome2-0 2.32.1-2
ii libgnomecanvas2-0 2.30.3-1
ii libgnomeui-0 2.24.5-2
ii libgoffice-0.8-8 0.8.17-1
ii libgtk2.0-0 2.24.10-1
ii libgwengui-gtk2-0 4.3.1-1
ii libgwenhywfar60 4.3.1-1
ii libhtml-tableextract-perl 2.11-1
ii libhtml-tree-perl 4.2-1
ii libktoblzcheck1c2a 1.37-1
ii libofx4 1:0.9.4-2
ii libpango1.0-0 1.29.4-2
ii libwebkitgtk-1.0-0 1.6.3-1
ii libwww-perl 6.04-1
ii libx11-6 2:1.4.4-4
ii libxml2 2.7.8.dfsg-7
ii perl 5.14.2-7
ii slib 3b1-3.1
ii zlib1g 1:1.2.6.dfsg-2

Versions of packages gnucash recommends:
ii gnucash-docs 2.4.1-3
ii yelp 3.2.1+dfsg-1+b1

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




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

Replies

#1 Sébastien Villemot
March 08th, 2012 - 01:40 pm ET | Report spam

adam writes:

Package: gnucash
Version: 1:2.4.10-2
Severity: important

Dear Maintainer,

Gnucash segfaults while trying to edit existing scheduled transaction. To case
this, one can only open scheduled transaction window and then click ok. It has
been confirmed on 2 debian testing systems and ubuntu. This appeared for the
first time in 2.6.10-1 version, but even upgrading gnucash and gnucach-common
to 2.6.10-2 didn't solved this problem. Message is dmesg is always the same:
gnucash[28817]: segfault at 2c ip b6db5e1c sp bf8116c0 error 4 in
libglib-2.0.so.0.3000.2[b6d82000+fa000]



Thanks for your report.

Did you check that your problem is not a duplicate of #652373 ? It looks
very similar.

It would also be helpful if you provided a full gdb trace.

Best,

Sébastien Villemot
Researcher in Economics & Debian Maintainer
http://www.dynare.org/sebastien
Phone: +33-1-40-77-84-04 - GPG Key: 4096R/381A7594





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

Similar topics