Subject: bug#33958: closed (Re: bug#33958: Gnucash 3.3 segfaults when attempting to edit the register)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 14 Sep 2020 12:59:03 +0000

Your bug report

#33958: GnuCash segfaults when attempting to edit the register (gtk/ibus issue)

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
33958: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=33958
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#33958: Gnucash 3.3 segfaults when attempting to edit the register
From: Maxim Cournoyer <[email-masked]>
To: [email-masked]
Date: Mon, 14 Sep 2020 08:58:47 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Maxim Cournoyer <[email-masked]> writes:

> Apparently, this would be a bug in GTK.  The segfault occurs in the
> function `gdk_window_has_impl' and has been reported upstream [0].
>
> There doesn't seem to be a solution readily available, unfortunately.
>
> [0]  https://gitlab.gnome.org/GNOME/gtk/issues/61

The latest comment on
https://gitlab.gnome.org/GNOME/gtk/-/issues/61#note_909885 suggests the
issue is fixed in GTK+ 3.24.23.

I just tested with the version of GTK we are currently using (GTK+
3.24.20) and I can no longer reproduce the crash.

Closing!

Maxim

Subject: Gnucash 3.3 segfaults when pressing control key
From: Maxim Cournoyer <[email-masked]>
To: bug-guix <[email-masked]>
Date: Wed, 02 Jan 2019 19:42:14 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

This occurs using GnuCash 3.3 from Guix
707efe171a4e0e542a7d969c130195fa94b5d615.

It seems the problem has to do with Guile. Here's the start of the
program until a triggered crash, and its backtrace (sorry, no debugging
symbols :-/).

--8<---------------cut here---------------start------------->8---
(gdb) run
Starting program: /gnu/store/gl6vxy50h9v56fv5dsff3cl2ib9wbapm-gnucash-3.3/bin/.gnucash-real 
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/lib/libguile-2.2.so.1.3.1-gdb.scm
;;; Failed to autoload debug-context-from-image in (system vm debug):
;;; ERROR: missing interface for module (system vm debug)
;;; Failed to autoload debug-context-base in (system vm debug):
;;; ERROR: missing interface for module (system vm debug)
;;; Failed to autoload find-program-debug-info in (system vm debug):
;;; ERROR: missing interface for module (system vm debug)
;;; Failed to autoload find-program-debug-info in (system vm debug):
;;; ERROR: missing interface for module (system vm debug)
;;; Failed to autoload debug-context-from-image in (system vm debug):
;;; ERROR: missing interface for module (system vm debug)
;;; Failed to autoload debug-context-from-image in (system vm debug):
;;; ERROR: missing interface for module (system vm debug)
;;; Failed to autoload debug-context-base in (system vm debug):
;;; ERROR: missing interface for module (system vm debug)
;;; Failed to autoload debug-context-base in (system vm debug):
;;; ERROR: missing interface for module (system vm debug)
;;; Failed to autoload find-program-debug-info in (system vm debug):
;;; ERROR: missing interface for module (system vm debug)
;;; Failed to autoload find-program-debug-info in (system vm debug):
;;; ERROR: missing interface for module (system vm debug)
;;; /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/lib/libguile-2.2.so.1.3.1-gdb.scm:277:25: warning: possibly unbound variable `debug-context-from-image'
;;; /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/lib/libguile-2.2.so.1.3.1-gdb.scm:282:33: warning: possibly unbound variable `debug-context-base'
;;; /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/lib/libguile-2.2.so.1.3.1-gdb.scm:283:17: warning: possibly unbound variable `find-program-debug-info'
;;; /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/lib/libguile-2.2.so.1.3.1-gdb.scm:291:20: warning: possibly unbound variable `program-debug-info-name'
;;; /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/lib/libguile-2.2.so.1.3.1-gdb.scm:323:9: warning: possibly unbound variable `find-source-for-addr'
;;; /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/lib/libguile-2.2.so.1.3.1-gdb.scm:323:31: warning: possibly unbound variable `program-debug-info-addr'
;;; /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/lib/libguile-2.2.so.1.3.1-gdb.scm:324:31: warning: possibly unbound variable `program-debug-info-context'
;;; Failed to autoload find-program-debug-info in (system vm debug):
;;; ERROR: missing interface for module (system vm debug)
;;; Failed to autoload debug-context-base in (system vm debug):
;;; ERROR: missing interface for module (system vm debug)
;;; Failed to autoload debug-context-from-image in (system vm debug):
;;; ERROR: missing interface for module (system vm debug)
;;; Failed to autoload debug-context-from-image in (system vm debug):
;;; ERROR: missing interface for module (system vm debug)
;;; Failed to autoload debug-context-base in (system vm debug):
;;; ERROR: missing interface for module (system vm debug)
;;; Failed to autoload find-program-debug-info in (system vm debug):
;;; ERROR: missing interface for module (system vm debug)
;;; compiled /home/maxim/.cache/guile/ccache/2.0-LE-8-2.0/gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/lib/libguile-2.2.so.1.3.1-gdb.scm.go
;;; compiling /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/share/guile/2.2/system/base/types.scm
;;; compiled /home/maxim/.cache/guile/ccache/2.0-LE-8-2.0/gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/share/guile/2.2/system/base/types.scm.go
ERROR: In procedure type-pointer:
ERROR: In procedure gdbscm_type_pointer: Wrong type argument in position 1 (expecting gdb:type): #f
Error while executing Scheme code.[Thread debugging using libthread_db enabled]
Using host libthread_db library "/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/lib/libthread_db.so.1".
[New Thread 0x7fffef349700 (LWP 31230)]
[Detaching after fork from child process 31231]
[New Thread 0x7fffee2ec700 (LWP 31232)]
[New Thread 0x7fffeda09700 (LWP 31233)]
[Detaching after fork from child process 31234]
[New Thread 0x7fffed15d700 (LWP 31235)]
[New Thread 0x7fffdffff700 (LWP 31236)]
[New Thread 0x7fffdf758700 (LWP 31237)]
[Detaching after fork from child process 31240]
Found Finance::Quote version 1.38
[New Thread 0x7fffddc7a700 (LWP 31241)]
[Thread 0x7fffddc7a700 (LWP 31241) exited]

Thread 1 ".gnucash-real" received signal SIGSEGV, Segmentation fault.
0x00007ffff74308b2 in _gdk_window_has_impl ()
   from /gnu/store/q9qrh9xkd3clh06qq48d9y889gxskppv-gtk+-3.24.0/lib/libgdk-3.so.0
(gdb) bt
#0  0x00007ffff74308b2 in _gdk_window_has_impl ()
   from /gnu/store/q9qrh9xkd3clh06qq48d9y889gxskppv-gtk+-3.24.0/lib/libgdk-3.so.0
#1  0x00007ffff746351e in gdk_x11_window_get_xid ()
   from /gnu/store/q9qrh9xkd3clh06qq48d9y889gxskppv-gtk+-3.24.0/lib/libgdk-3.so.0
#2  0x00007fffdd474cd4 in gtk_im_context_xim_filter_keypress ()
   from /gnu/store/q9qrh9xkd3clh06qq48d9y889gxskppv-gtk+-3.24.0/lib/gtk-3.0/3.0.0/immodules/im-xim.so
#3  0x00007ffff76f8b23 in gtk_im_multicontext_filter_keypress ()
   from /gnu/store/q9qrh9xkd3clh06qq48d9y889gxskppv-gtk+-3.24.0/lib/libgtk-3.so.0
#4  0x00007ffff34bfa02 in gnucash_sheet_key_press_event ()
   from /gnu/store/gl6vxy50h9v56fv5dsff3cl2ib9wbapm-gnucash-3.3/lib/gnucash/libgncmod-register-gnome.so
#5  0x00007ffff789b4be in _gtk_marshal_BOOLEAN__BOXEDv ()
   from /gnu/store/q9qrh9xkd3clh06qq48d9y889gxskppv-gtk+-3.24.0/lib/libgtk-3.so.0
#6  0x00007ffff703a7e2 in _g_closure_invoke_va ()
   from /gnu/store/zgdkslp244kpinxhbgiihzpc4qna86b4-glib-2.56.2/lib/libgobject-2.0.so.0
#7  0x00007ffff705494b in g_signal_emit_valist ()
   from /gnu/store/zgdkslp244kpinxhbgiihzpc4qna86b4-glib-2.56.2/lib/libgobject-2.0.so.0
#8  0x00007ffff7055502 in g_signal_emit ()
   from /gnu/store/zgdkslp244kpinxhbgiihzpc4qna86b4-glib-2.56.2/lib/libgobject-2.0.so.0
#9  0x00007ffff784c134 in gtk_widget_event_internal ()
   from /gnu/store/q9qrh9xkd3clh06qq48d9y889gxskppv-gtk+-3.24.0/lib/libgtk-3.so.0
#10 0x00007ffff786be4b in gtk_window_propagate_key_event ()
   from /gnu/store/q9qrh9xkd3clh06qq48d9y889gxskppv-gtk+-3.24.0/lib/libgtk-3.so.0
#11 0x00007ffff786f82b in gtk_window_key_press_event ()
   from /gnu/store/q9qrh9xkd3clh06qq48d9y889gxskppv-gtk+-3.24.0/lib/libgtk-3.so.0
#12 0x00007ffff789b4be in _gtk_marshal_BOOLEAN__BOXEDv ()
   from /gnu/store/q9qrh9xkd3clh06qq48d9y889gxskppv-gtk+-3.24.0/lib/libgtk-3.so.0
#13 0x00007ffff703a894 in _g_closure_invoke_va ()
   from /gnu/store/zgdkslp244kpinxhbgiihzpc4qna86b4-glib-2.56.2/lib/libgobject-2.0.so.0
#14 0x00007ffff705494b in g_signal_emit_valist ()
   from /gnu/store/zgdkslp244kpinxhbgiihzpc4qna86b4-glib-2.56.2/lib/libgobject-2.0.so.0
#15 0x00007ffff7055502 in g_signal_emit ()
   from /gnu/store/zgdkslp244kpinxhbgiihzpc4qna86b4-glib-2.56.2/lib/libgobject-2.0.so.0
#16 0x00007ffff784c134 in gtk_widget_event_internal ()
   from /gnu/store/q9qrh9xkd3clh06qq48d9y889gxskppv-gtk+-3.24.0/lib/libgtk-3.so.0
#17 0x00007ffff7714f19 in propagate_event ()
   from /gnu/store/q9qrh9xkd3clh06qq48d9y889gxskppv-gtk+-3.24.0/lib/libgtk-3.so.0
#18 0x00007ffff7716d62 in gtk_main_do_event ()
   from /gnu/store/q9qrh9xkd3clh06qq48d9y889gxskppv-gtk+-3.24.0/lib/libgtk-3.so.0
#19 0x00007ffff7420e75 in _gdk_event_emit ()
   from /gnu/store/q9qrh9xkd3clh06qq48d9y889gxskppv-gtk+-3.24.0/lib/libgdk-3.so.0
#20 0x00007ffff744fea2 in gdk_event_source_dispatch ()
   from /gnu/store/q9qrh9xkd3clh06qq48d9y889gxskppv-gtk+-3.24.0/lib/libgdk-3.so.0
#21 0x00007ffff7c53b57 in g_main_context_dispatch ()
   from /gnu/store/zgdkslp244kpinxhbgiihzpc4qna86b4-glib-2.56.2/lib/libglib-2.0.so.0
#22 0x00007ffff7c53d98 in g_main_context_iterate.isra ()
   from /gnu/store/zgdkslp244kpinxhbgiihzpc4qna86b4-glib-2.56.2/lib/libglib-2.0.so.0
#23 0x00007ffff7c540b2 in g_main_loop_run ()
   from /gnu/store/zgdkslp244kpinxhbgiihzpc4qna86b4-glib-2.56.2/lib/libglib-2.0.so.0
#24 0x00007ffff7715fe5 in gtk_main () from /gnu/store/q9qrh9xkd3clh06qq48d9y889gxskppv-gtk+-3.24.0/lib/libgtk-3.so.0
#25 0x00007ffff33d7bbd in gnc_ui_start_event_loop ()
   from /gnu/store/gl6vxy50h9v56fv5dsff3cl2ib9wbapm-gnucash-3.3/lib/gnucash/libgncmod-gnome-utils.so
#26 0x0000000000404079 in inner_main ()
#27 0x00007ffff7dfb8bd in invoke_main_func ()
   from /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/lib/libguile-2.2.so.1
#28 0x00007ffff7dde08a in c_body () from /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/lib/libguile-2.2.so.1
#29 0x00007ffff7e5d715 in vm_regular_engine ()
   from /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/lib/libguile-2.2.so.1
#30 0x00007ffff7e60d6a in scm_call_n ()
   from /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/lib/libguile-2.2.so.1
#31 0x00007ffff7e4ff66 in catch () from /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/lib/libguile-2.2.so.1
#32 0x00007ffff7dde670 in scm_i_with_continuation_barrier ()
   from /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/lib/libguile-2.2.so.1
#33 0x00007ffff7dde705 in scm_c_with_continuation_barrier ()
   from /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/lib/libguile-2.2.so.1
#34 0x00007ffff7e4eb7c in with_guile ()
   from /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/lib/libguile-2.2.so.1
--Type <RET> for more, q to quit, c to continue without paging--
#35 0x00007ffff7d3d858 in GC_call_with_stack_base ()
   from /gnu/store/04vqghzmpqzxpd94h1q931xpmazp5s7g-libgc-7.6.6/lib/libgc.so.1
#36 0x00007ffff7e4ef18 in scm_with_guile ()
   from /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/lib/libguile-2.2.so.1
#37 0x00007ffff7dfba52 in scm_boot_guile ()
   from /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4/lib/libguile-2.2.so.1
#38 0x0000000000403a8f in main ()
--8<---------------cut here---------------end--------------->8---