gnucash 2.7.5 segfault when typing in account field

Mathieu Clabaut mathieu at clabaut.net
Fri Mar 2 10:29:01 EST 2018


Here it is :

       Message: Process 4469 (gnucash) of user 1000 dumped core.

                Stack trace of thread 4469:
                #0  0x00007f0b7cfd7d42 gdk_window_has_impl (libgdk-3.so.0)
                #1  0x00007f0b7d01020f gdk_x11_window_get_xid (libgdk-3.so.0)
                #2  0x00007f0b4c839a73
gtk_im_context_xim_filter_keypress (im-xim.so)
                #3  0x00007f0b7fa6b6e4
gtk_im_multicontext_filter_keypress (libgtk-3.so.0)
                #4  0x00007f0b7d4b287e gnucash_sheet_key_press_event
(libgncmod-register-gnome.so)
                #5  0x00007f0b7fa8ce78 _gtk_marshal_BOOLEAN__BOXEDv
(libgtk-3.so.0)
                #6  0x00007f0b7f264db1 n/a (libgobject-2.0.so.0)
                #7  0x00007f0b7f2814b4 g_signal_emit_valist
(libgobject-2.0.so.0)
                #8  0x00007f0b7f282240 g_signal_emit (libgobject-2.0.so.0)
                #9  0x00007f0b7fbe02c5 gtk_widget_event_internal (libgtk-3.so.0)
                #10 0x00007f0b7fc01ae4 gtk_window_propagate_key_event
(libgtk-3.so.0)
                #11 0x00007f0b7fc0572c gtk_window_key_press_event
(libgtk-3.so.0)
                #12 0x00007f0b7fa8ce78 _gtk_marshal_BOOLEAN__BOXEDv
(libgtk-3.so.0)
                #13 0x00007f0b7f264ea6 n/a (libgobject-2.0.so.0)
                #14 0x00007f0b7f2814b4 g_signal_emit_valist
(libgobject-2.0.so.0)
                #15 0x00007f0b7f282240 g_signal_emit (libgobject-2.0.so.0)
                #16 0x00007f0b7fbe02c5 gtk_widget_event_internal (libgtk-3.so.0)
                #17 0x00007f0b7fa89cb2 propagate_event (libgtk-3.so.0)
                #18 0x00007f0b7fa8be33 gtk_main_do_event (libgtk-3.so.0)
                #19 0x00007f0b7cfc79f6 _gdk_event_emit (libgdk-3.so.0)
                #20 0x00007f0b7cffa275 gdk_event_source_dispatch (libgdk-3.so.0)
                #21 0x00007f0b801bce38 g_main_context_dispatch
(libglib-2.0.so.0)
                #22 0x00007f0b801bd081 n/a (libglib-2.0.so.0)
                #23 0x00007f0b801bd3b2 g_main_loop_run (libglib-2.0.so.0)
                #24 0x00007f0b7fa8aeff gtk_main (libgtk-3.so.0)
                #25 0x00007f0b7efb8e9f gnc_ui_start_event_loop
(libgncmod-gnome-utils.so)
                #26 0x000055558459c416 inner_main (gnucash)
                #27 0x00007f0b804e59ee n/a (libguile-2.2.so.1)
                #28 0x00007f0b804c65fa n/a (libguile-2.2.so.1)
                #29 0x00007f0b8054d83d n/a (libguile-2.2.so.1)
                #30 0x00007f0b8055010b scm_call_n (libguile-2.2.so.1)
                #31 0x00007f0b8053e79b n/a (libguile-2.2.so.1)
                #32 0x00007f0b804c6c32 n/a (libguile-2.2.so.1)
                #33 0x00007f0b804c6d16 scm_c_with_continuation_barrier
(libguile-2.2.so.1)
                #34 0x00007f0b8053d1dd n/a (libguile-2.2.so.1)
                #35 0x00007f0b7bbf0855 GC_call_with_stack_base (libgc.so.1)
                #36 0x00007f0b8053d559 scm_with_guile (libguile-2.2.so.1)
                #37 0x00007f0b804e5be4 scm_boot_guile (libguile-2.2.so.1)
                #38 0x000055558459bccd main (gnucash)
                #39 0x00007f0b7df49f4a __libc_start_main (libc.so.6)
                #40 0x000055558459beaa _start (gnucash)

                Stack trace of thread 4470:
                #0  0x00007f0b7e2ed3bd pthread_cond_wait@@GLIBC_2.3.2
(libpthread.so.0)
                #1  0x00007f0b77fee5bd __gthread_cond_wait (libstdc++.so.6)
                #2  0x00007f0b6d6190b1
_ZN7bmalloc9Scavenger13threadRunLoopEv
(libjavascriptcoregtk-4.0.so.18)
                #3  0x00007f0b77ff4b9f execute_native_thread_routine
(libstdc++.so.6)
                #4  0x00007f0b7e2e708c start_thread (libpthread.so.0)
                #5  0x00007f0b7e01ee7f __clone (libc.so.6)

                Stack trace of thread 4474:
                #0  0x00007f0b7e01497b __poll (libc.so.6)
                #1  0x00007f0b801bcff3 n/a (libglib-2.0.so.0)
                #2  0x00007f0b801bd3b2 g_main_loop_run (libglib-2.0.so.0)
                #3  0x00007f0b7f57f6d8 n/a (libgio-2.0.so.0)
                #4  0x00007f0b801e526a n/a (libglib-2.0.so.0)
                #5  0x00007f0b7e2e708c start_thread (libpthread.so.0)
                #6  0x00007f0b7e01ee7f __clone (libc.so.6)

                Stack trace of thread 4477:
                #0  0x00007f0b7e01497b __poll (libc.so.6)
                #1  0x00007f0b801bcff3 n/a (libglib-2.0.so.0)
                #2  0x00007f0b801bd10e g_main_context_iteration
(libglib-2.0.so.0)
                #3  0x00007f0b5c2b4b0e n/a (libdconfsettings.so)
                #4  0x00007f0b801e526a n/a (libglib-2.0.so.0)
                #5  0x00007f0b7e2e708c start_thread (libpthread.so.0)
                #6  0x00007f0b7e01ee7f __clone (libc.so.6)

                Stack trace of thread 4473:
                #0  0x00007f0b7e01497b __poll (libc.so.6)
                #1  0x00007f0b801bcff3 n/a (libglib-2.0.so.0)
                #2  0x00007f0b801bd10e g_main_context_iteration
(libglib-2.0.so.0)
                #3  0x00007f0b801bd162 n/a (libglib-2.0.so.0)
                #4  0x00007f0b801e526a n/a (libglib-2.0.so.0)
                #5  0x00007f0b7e2e708c start_thread (libpthread.so.0)
                #6  0x00007f0b7e01ee7f __clone (libc.so.6)

                Stack trace of thread 4478:
                #0  0x00007f0b7e2ed3bd pthread_cond_wait@@GLIBC_2.3.2
(libpthread.so.0)
                #1  0x00007f0b7bbf7b98 n/a (libgc.so.1)
                #2  0x00007f0b7bbed39a n/a (libgc.so.1)
                #3  0x00007f0b7bbf7b4f n/a (libgc.so.1)
                #4  0x00007f0b7e2e708c start_thread (libpthread.so.0)
                #5  0x00007f0b7e01ee7f __clone (libc.so.6)

                Stack trace of thread 4481:
                #0  0x00007f0b7e2f0988 read (libpthread.so.0)
                #1  0x00007f0b804d64e8 n/a (libguile-2.2.so.1)
                #2  0x00007f0b7bbf6ad2 n/a (libgc.so.1)
                #3  0x00007f0b7bbea84c n/a (libgc.so.1)
                #4  0x00007f0b7bbf08bc GC_do_blocking (libgc.so.1)
                #5  0x00007f0b8053d5cb scm_without_guile (libguile-2.2.so.1)
                #6  0x00007f0b804d694c n/a (libguile-2.2.so.1)
                #7  0x00007f0b804c65fa n/a (libguile-2.2.so.1)
                #8  0x00007f0b8054d83d n/a (libguile-2.2.so.1)
                #9  0x00007f0b8055010b scm_call_n (libguile-2.2.so.1)
                #10 0x00007f0b8053e79b n/a (libguile-2.2.so.1)
                #11 0x00007f0b804c6c32 n/a (libguile-2.2.so.1)
                #12 0x00007f0b804c6d16 scm_c_with_continuation_barrier
(libguile-2.2.so.1)
                #13 0x00007f0b8053d1dd n/a (libguile-2.2.so.1)
                #14 0x00007f0b7bbf0855 GC_call_with_stack_base (libgc.so.1)
                #15 0x00007f0b8053d559 scm_with_guile (libguile-2.2.so.1)
                #16 0x00007f0b7e2e708c start_thread (libpthread.so.0)
                #17 0x00007f0b7e01ee7f __clone (libc.so.6)

                Stack trace of thread 4479:
                #0  0x00007f0b7e2ed3bd pthread_cond_wait@@GLIBC_2.3.2
(libpthread.so.0)
                #1  0x00007f0b7bbf7b98 n/a (libgc.so.1)
                #2  0x00007f0b7bbed39a n/a (libgc.so.1)
                #3  0x00007f0b7bbf7b4f n/a (libgc.so.1)
                #4  0x00007f0b7e2e708c start_thread (libpthread.so.0)
                #5  0x00007f0b7e01ee7f __clone (libc.so.6)

                Stack trace of thread 4480:
                #0  0x00007f0b7e2ed3bd pthread_cond_wait@@GLIBC_2.3.2
(libpthread.so.0)
                #1  0x00007f0b7bbf7b98 n/a (libgc.so.1)
                #2  0x00007f0b7bbed39a n/a (libgc.so.1)
                #3  0x00007f0b7bbf7b4f n/a (libgc.so.1)
                #4  0x00007f0b7e2e708c start_thread (libpthread.so.0)
                #5  0x00007f0b7e01ee7f __clone (libc.so.6)

​

Le ven. 2 mars 2018 à 14:50, John Ralls <jralls at ceridwen.us> a écrit :

>
>
> > On Feb 27, 2018, at 3:47 AM, Mathieu Clabaut <mathieu at clabaut.net>
> wrote:
> >
> > As requested by the gnucash-devel mailing list owner, I forward this
> > message to the gnucash-user mailing list.
> >
> > Best regards,
> >
> > ---------- Forwarded message ---------
> > From: Mathieu Clabaut <mathieu at clabaut.net>
> > Date: lun. 26 févr. 2018 à 23:14
> > Subject: gnucash 2.7.5 segfault when typing in account field
> > To: <gnucash-devel at gnucash.org>
> >
> >
> > Trying least gnucash 2.7.5 on arch linux 4.15.5, I get the following
> stack
> > trace when trying to edit the account of one transaction :
> > gtk3 has version 3.22.28-1
> >
> >
> >           PID: 16105 (gnucash)
> >           UID: 1000 (clabaut)
> >           GID: 1000 (clabaut)
> >        Signal: 11 (SEGV)
> >     Timestamp: Mon 2018-02-26 23:04:55 CET (2min 28s ago)
> >  Command Line: gnucash /tmp/account.gnucash
> >    Executable: /usr/bin/gnucash
> > Control Group: /user.slice/user-1000.slice/session-c2.scope
> >          Unit: session-c2.scope
> >         Slice: user-1000.slice
> >       Session: c2
> >     Owner UID: 1000 (clabaut)
> >       Storage:
> >
> /var/lib/systemd/coredump/core.gnucash.1000.a06b0c2bd03041caa10965740c06cdee.16105.1519682695000000.lz4
> >       Message: Process 16105 (gnucash) of user 1000 dumped core.
> >
> >                Stack trace of thread 16105:
> >                #0  0x00007f32dc645d42 n/a (libgdk-3.so.0)
> >                #1  0x00007f32dc67e20f gdk_x11_window_get_xid
> > (libgdk-3.so.0)
> >                #2  0x00007f32acb5da73 n/a (im-xim.so)
> >                #3  0x00007f32df0da6e4 n/a (libgtk-3.so.0)
> >                #4  0x00007f32dcb208ae n/a (libgncmod-register-gnome.so)
> >                #5  0x00007f32df0fbe78 n/a (libgtk-3.so.0)
> >                #6  0x00007f32de8d3db1 n/a (libgobject-2.0.so.0)
> >                #7  0x00007f32de8f04b4 g_signal_emit_valist
> > (libgobject-2.0.so.0)
>
> It looks at first blush like a bug in Gtk3, but it’s hard to be sure
> without being able to see the actual function calls. Can you install debug
> symbols for gtk3 (including gdk-x11) and gnucash, crash it again, and make
> a new stack trace?
>
> Regards,
> John Ralls
>
>
>


More information about the gnucash-user mailing list