#773243 gnucash: hangs, completely unresponsive

Package:
gnucash
Source:
gnucash
Description:
personal and small-business financial-accounting software
Submitter:
Viola Brunner
Date:
2018-11-25 17:18:02 UTC
Severity:
important
#773243#5
Date:
2014-12-15 23:45:27 UTC
From:
To:
Dear Maintainer,

gnucash worked fine for the first week after installation, but is
unusable by now.

* When I start gnucash for the first time after the X server is
  started, it hangs (i.e. is completely unresponsive to pointer or
  keyboard input), after I rightclick a transaction and click on
  "duplicate".

* When I restart gnucash after killing it without restarting X, too,
  the GUI window doesn't even appear, and gnucash hangs.

Some detail about the latter case:

* log of $ gnucash --debug --extra: only one warning, no errors:

* 23:49:49  WARN <gnc.backend.dbi> [gnc_module_init_backend_dbi()] No DBD drivers found

* last lines of strace before gnucash hangs:

recvfrom(4, "\1\2\374\0\0\0\0\0\r\0\200\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096, 0, NULL, NULL) = 32
recvfrom(4, 0xf6c6b4, 4096, 0, 0, 0)    = -1 EAGAIN (Resource temporarily unavailable)
recvfrom(4, 0xf6c6b4, 4096, 0, 0, 0)    = -1 EAGAIN (Resource temporarily unavailable)
shmctl(2195459, IPC_RMID, 0)            = 0
brk(0x1368000)                          = 0x1368000
poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
writev(4, [{"\214\5\7\0*\0@\1\256\0\0\0\0\6@\0 \4\6\0)\0@\1\0\0\0\0\225\4\5\0"..., 16196}, {"\377\377\377\377\377\377\377\377\375\376\376\376\357\363\367\363\307\322\333\322v\213\235\213\7\21,\21\0\0\0\0"..., 288}, {"", 0}], 3) = 16484
poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
writev(4, [{"\225\0241\0/\0@\1\1\0\0\0D\0\0\0\6\0\7\0\377\377\7\0\10\0\0\0<!\22!"..., 11732}, {NULL, 0}, {"", 0}], 3) = 11732
recvfrom(4, 0xf6c6b4, 4096, 0, 0, 0)    = -1 EAGAIN (Resource temporarily unavailable)
recvfrom(4, 0xf6c6b4, 4096, 0, 0, 0)    = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN}, {fd=4, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN}], 4, 0) = 0 (Timeout)
recvfrom(4, 0xf6c6b4, 4096, 0, 0, 0)    = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN}, {fd=4, events=POLLIN}, {fd=8, events=POLLIN|POLLPRI}, {fd=10, events=POLLIN}], 4, -1) = ? ERESTART_RESTARTBLOCK (To be restarted)


* last lines of ltrace before gnucash hangs:

gnc_update_splash_screen(0x7f9bdfda3ad8, 1, 0x7f9bdfda3ad8, 0, 0xffffff01) = 0
scm_c_use_module(0x40781a, 1, 0x7f9bdfda3ad8, 0, 0xffffff01) = 260
scm_c_eval_string(0x407830, 0x7f9bdf501150, 0, 0x7fffb62865f0, 0) = 1284
gnc_hook_run(0x407951, 0, 3199, 68735, 0)        = 0
gnc_history_get_last(0x7f9bf7558e40, 0, 0, 0, 0) = 0x24e6390
gettext(0x40795e, 0, 0, 0, 0x218f580)            = 0x7f9bdfdb10af
gnc_update_splash_screen(0x7f9bdfdb10af, 1, 0x7f9bdfdb10af, 0xffffffee, 6) = 0
gnc_file_open_file(0x24e6390, 1, 0x7f9bdfdb10af, 0xffffffee, 6 <unfinished ...>

* attaching gdb: not of much use, because gnucash doesn't crash (breakpoint would be needed but can't be set)

* I run gnucash with the locale set to de_DE.UTF-8 (unlike the system locale)

#773243#10
Date:
2014-12-15 23:13:53 UTC
From:
To:
Hi, I forgot to mention that I already tried deleting all config-Files,
purging and reinstalling gnucash. Didn't change anything.

I also tried reverting to the last version of the data file
<something>.gnucash which I edited BEFORE any of the problems occured.
Didn't help either.

Once or twice I had started gnucash without setting the locale to
de_DE.UTF-8 first, but hadn't done any editing. Still that's about the
only possible reason for the unstability (which evolved into
unusability) I can think of.

#773243#15
Date:
2018-11-25 17:15:07 UTC
From:
To:
Hi,

Do you still face this bug? And can you confirm it only happens with your datafile and no other (or a new one)?

Best,
Bertrand