[GNC] Crash with GTK Inspector blowing up on Mint 20

Adrien Monteleone adrien.monteleone at lusfiber.net
Tue Aug 18 02:37:16 EDT 2020


After installing Mint to Vbox and firing up the inspector, the error 
(quoted below) still occurs.

   `/tmp/gnucash.trace`

is empty.

   `/var/log/syslog`

contained this:

```
Aug 18 01:26:06 systemd[1]: Started Process Core Dump (PID 2121/UID 0).
Aug 18 01:26:07 systemd-coredump[2122]: Process 2109 (gnucash) of user 
1000 dumped core.#012#012Stack trace of thread 2109:#012#0 
0x00007f6f2cd2618b __GI_raise (libc.so.6 + 0x4618b)#012#1 
0x00007f6f2cd05859 __GI_abort (libc.so.6 + 0x25859)#012#2 
0x00007f6f2dc8cb63 n/a (libglib-2.0.so.0 + 0x1db63)#012#3 
0x00007f6f2dce9b4f g_assertion_message_expr (libglib-2.0.so.0 + 
0x7ab4f)#012#4  0x00007f6f2cb00433 n/a (libgdk-3.so.0 + 0x4e433)#012#5 
0x00007f6f2cb0242b gdk_window_set_cursor (libgdk-3.so.0 + 0x5042b)#012#6 
  0x00007f6f2db96ab0 n/a (libgncmod-gnome-utils.so + 0x3eab0)#012#7 
0x00007f6f2db96b8e gnc_set_busy_cursor (libgncmod-gnome-utils.so + 
0x3eb8e)#012#8  0x00007f6f2dbcbebf n/a (libgncmod-gnome-utils.so + 
0x73ebf)#012#9  0x0000562314b3969c n/a (gnucash + 0x469c)#012#10 
0x00007f6f2ddf11c1 n/a (libguile-2.2.so.1 + 0x591c1)#012#11 
0x00007f6f2ddd2cfe n/a (libguile-2.2.so.1 + 0x3acfe)#012#12 
0x00007f6f2de54937 n/a (libguile-2.2.so.1 + 0xbc937)#012#13 
0x00007f6f2de5a6e1 scm_call_n (libguile-2.2.so.1 + 0xc26e1)#012#14 
0x00007f6f2de484cd n/a (libguile-2.2.so.1 + 0xb04cd)#012#15 
0x00007f6f2ddd32f9 n/a (libguile-2.2.so.1 + 0x3b2f9)#012#16 
0x00007f6f2ddd3399 scm_c_with_continuation_barrier (libguile-2.2.so.1 + 
0x3b399)#012#17 0x00007f6f2de46fe2 n/a (libguile-2.2.so.1 + 
0xaefe2)#012#18 0x00007f6f2c48137b GC_call_with_stack_base (libgc.so.1 + 
0x1b37b)#012#19 0x00007f6f2de473ac scm_with_guile (libguile-2.2.so.1 + 
0xaf3ac)#012#20 0x00007f6f2ddf1376 scm_boot_guile (libguile-2.2.so.1 + 
0x59376)#012#21 0x0000562314b39021 main (gnucash + 0x4021)#012#22 
0x00007f6f2cd070b3 __libc_start_main (libc.so.6 + 0x270b3)#012#23 
0x0000562314b391fe _start (gnucash + 0x41fe)#012#012Stack trace of 
thread 2110:#012#0  0x00007f6f2cdf596f __GI___poll (libc.so.6 + 
0x11596f)#012#1  0x00007f6f2dcc11ae n/a (libglib-2.0.so.0 + 
0x521ae)#012#2  0x00007f6f2dcc12e3 g_main_context_iteration 
(libglib-2.0.so.0 + 0x522e3)#012#3  0x00007f6f2dcc1331 n/a 
(libglib-2.0.so.0 + 0x52331)#012#4  0x00007f6f2dcea931 n/a 
(libglib-2.0.so.0 + 0x7b931)#012#5  0x00007f6f2c1f4609 start_thread 
(libpthread.so.0 + 0x9609)#012#6  0x00007f6f2ce02103 __clone (libc.so.6 
+ 0x122103)#012#012Stack trace of thread 2112:#012#0  0x00007f6f2c1fb376 
futex_wait_cancelable (libpthread.so.0 + 0x10376)#012#1 
0x00007f6f20a63ad3 n/a (swrast_dri.so + 0x70bad3)#012#2 
0x00007f6f20a6393b n/a (swrast_dri.so + 0x70b93b)#012#3 
0x00007f6f2c1f4609 start_thread (libpthread.so.0 + 0x9609)#012#4 
0x00007f6f2ce02103 __clone (libc.so.6 + 0x122103)#012#012Stack trace of 
thread 2113:#012#0  0x00007f6f2c1fb376 futex_wait_cancelable 
(libpthread.so.0 + 0x10376)#012#1  0x00007f6f20a63ad3 n/a (swrast_dri.so 
+ 0x70bad3)#012#2  0x00007f6f20a6393b n/a (swrast_dri.so + 
0x70b93b)#012#3  0x00007f6f2c1f4609 start_thread (libpthread.so.0 + 
0x9609)#012#4  0x00007f6f2ce02103 __clone (libc.so.6 + 
0x122103)#012#012Stack trace of thread 2114:#012#0  0x00007f6f2c1fb376 
futex_wait_cancelable (libpthread.so.0 + 0x10376)#012#1 
0x00007f6f20a6121b n/a (swrast_dri.so + 0x70921b)#012#2 
0x00007f6f20a6119b n/a (swrast_dri.so + 0x70919b)#012#3 
0x00007f6f2c1f4609 start_thread (libpthread.so.0 + 0x9609)#012#4 
0x00007f6f2ce02103 __clone (libc.so.6 + 0x122103)#012#012Stack trace of 
thread 2115:#012#0  0x00007f6f2c1fb376 futex_wait_cancelable 
(libpthread.so.0 + 0x10376)#012#1  0x00007f6f20a6121b n/a (swrast_dri.so 
+ 0x70921b)#012#2  0x00007f6f20a6119b n/a (swrast_dri.so + 
0x70919b)#012#3  0x00007f6f2c1f4609 start_thread (libpthread.so.0 + 
0x9609)#012#4  0x00007f6f2ce02103 __clone (libc.so.6 + 
0x122103)#012#012Stack trace of thread 2117:#012#0  0x00007f6f2c1fb376 
futex_wait_cancelable (libpthread.so.0 + 0x10376)#012#1 
0x00007f6f2c48853b GC_wait_marker (libgc.so.1 + 0x2253b)#012#2 
0x00007f6f2c47df9a GC_help_marker (libgc.so.1 + 0x17f9a)#012#3 
0x00007f6f2c4884ec GC_mark_thread (libgc.so.1 + 0x224ec)#012#4 
0x00007f6f2c1f4609 start_thread (libpthread.so.0 + 0x9609)#012#5 
0x00007f6f2ce02103 __clone (libc.so.6 + 0x122103)#012#012Stack trace of 
thread 2119:#012#0  0x00007f6f2cdf0fec __GI___libc_read (libc.so.6 + 
0x110fec)#012#1  0x00007f6f2dde224b n/a (libguile-2.2.so.1 + 
0x4a24b)#012#2  0x00007f6f2c4875b3 GC_do_blocking_inner (libgc.so.1 + 
0x215b3)#012#3  0x00007f6f2c47b3e2 GC_with_callee_saves_pushed 
(libgc.so.1 + 0x153e2)#012#4  0x00007f6f2c4813e0 GC_do_blocking 
(libgc.so.1 + 0x1b3e0)#012#5  0x00007f6f2de47412 scm_without_guile 
(libguile-2.2.so.1 + 0xaf412)#012#6  0x00007f6f2dde260f n/a 
(libguile-2.2.so.1 + 0x4a60f)#012#7  0x00007f6f2ddd2cfe n/a 
(libguile-2.2.so.1 + 0x3acfe)#012#8  0x00007f6f2de54937 n/a 
(libguile-2.2.so.1 + 0xbc937)#012#9  0x00007f6f2de5a6e1 scm_call_n 
(libguile-2.2.so.1 + 0xc26e1)#012#10 0x00007f6f2de484cd n/a 
(libguile-2.2.so.1 + 0xb04cd)#012#11 0x00007f6f2ddd32f9 n/a 
(libguile-2.2.so.1 + 0x3b2f9)#012#12 0x00007f6f2ddd3399 
scm_c_with_continuation_barrier (libguile-2.2.so.1 + 0x3b399)#012#13 
0x00007f6f2de46fe2 n/a (libguile-2.2.so.1 + 0xaefe2)#012#14 
0x00007f6f2c48137b GC_call_with_stack_base (libgc.so.1 + 0x1b37b)#012#15 
0x00007f6f2de473ac scm_with_guile (libguile-2.2.so.1 + 0xaf3ac)#012#16 
0x00007f6f2c1f4609 start_thread (libpthread.so.0 + 0x9609)#012#17 
0x00007f6f2ce02103 __clone (libc.so.6 + 0x122103)#012#012Stack trace of 
thread 2116:#012#0  0x00007f6f2cdf596f __GI___poll (libc.so.6 + 
0x11596f)#012#1  0x00007f6f2dcc11ae n/a (libglib-2.0.so.0 + 
0x521ae)#012#2  0x00007f6f2dcc12e3 g_main_context_iteration 
(libglib-2.0.so.0 + 0x522e3)#012#3  0x00007f6f182a399d n/a 
(libdconfsettings.so + 0xa99d)#012#4  0x00007f6f2dcea931 n/a 
(libglib-2.0.so.0 + 0x7b931)#012#5  0x00007f6f2c1f4609 start_thread 
(libpthread.so.0 + 0x9609)#012#6  0x00007f6f2ce02103 __clone (libc.so.6 
+ 0x122103)#012#012Stack trace of thread 2111:#012#0  0x00007f6f2cdf596f 
__GI___poll (libc.so.6 + 0x11596f)#012#1  0x00007f6f2dcc11ae n/a 
(libglib-2.0.so.0 + 0x521ae)#012#2  0x00007f6f2dcc1533 g_main_loop_run 
(libglib-2.0.so.0 + 0x52533)#012#3  0x00007f6f2d050eda n/a 
(libgio-2.0.so.0 + 0x11eeda)#012#4  0x00007f6f2dcea931 n/a 
(libglib-2.0.so.0 + 0x7b931)#012#5  0x00007f6f2c1f4609 start_thread 
(libpthread.so.0 + 0x9609)#012#6  0x00007f6f2ce02103 __clone (libc.so.6 
+ 0x122103)
Aug 18 01:26:07 systemd[1]: systemd-coredump at 0-2121-0.service: Succeeded.
```

Running:

gnucash  1:3.8b-1ubuntu1

on:

Linux 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 
x86_64 x86_64 x86_64 GNU/Linux

also, if helpful:

libgtk-3-0:amd64  3.24.20-0ubuntu1


-- 
Regards,
Adrien


> That didn't get very far. Not sure if this is a GnuCash bug, or an Inspector bug:
> 
> ```
> mint at mint:~$ GTK_DEBUG=interactive /usr/bin/gnucash
> Found Finance::Quote version 1.49.
> **
> Gdk:ERROR:../../../../gdk/gdkwindow.c:6530:gdk_window_set_cursor_internal: assertion failed: (!cursor || gdk_window_get_display (window) == gdk_cursor_get_display (cursor))
> Bail out! Gdk:ERROR:../../../../gdk/gdkwindow.c:6530:gdk_window_set_cursor_internal: assertion failed: (!cursor || gdk_window_get_display (window) == gdk_cursor_get_display (cursor))
> Aborted (core dumped)
> ```
> 
> GnuCash started as did the inspector, but as soon as GnuCash finished loading, the Inspector blew up and spit out the above.
> 
> I suspect an Inspector error but it could be from being fed something unexpected by GnuCash.
> 
> For full disclosure, I'm running this in a live environment, Mint is not installed.



More information about the gnucash-user mailing list