Fwd: gnucash 2.7.5 segfault when typing in account field

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Fwd: gnucash 2.7.5 segfault when typing in account field

Mathieu Clabaut
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 <[hidden email]>
Date: lun. 26 févr. 2018 à 23:14
Subject: gnucash 2.7.5 segfault when typing in account field
To: <[hidden email]>


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)
                #8  0x00007f32de8f1240 g_signal_emit (libgobject-2.0.so.0)
                #9  0x00007f32df24f2c5 n/a (libgtk-3.so.0)
                #10 0x00007f32df270ae4 gtk_window_propagate_key_event
(libgtk-3.so.0)
                #11 0x00007f32df27472c n/a (libgtk-3.so.0)
                #12 0x00007f32df0fbe78 n/a (libgtk-3.so.0)
                #13 0x00007f32de8d3ea6 n/a (libgobject-2.0.so.0)
                #14 0x00007f32de8f04b4 g_signal_emit_valist
(libgobject-2.0.so.0)
                #15 0x00007f32de8f1240 g_signal_emit (libgobject-2.0.so.0)
                #16 0x00007f32df24f2c5 n/a (libgtk-3.so.0)
                #17 0x00007f32df0f8cb2 n/a (libgtk-3.so.0)
                #18 0x00007f32df0fae33 gtk_main_do_event (libgtk-3.so.0)
                #19 0x00007f32dc6359f6 n/a (libgdk-3.so.0)
                #20 0x00007f32dc668275 n/a (libgdk-3.so.0)
                #21 0x00007f32df82be38 g_main_context_dispatch
(libglib-2.0.so.0)
                #22 0x00007f32df82c081 n/a (libglib-2.0.so.0)
                #23 0x00007f32df82c3b2 g_main_loop_run (libglib-2.0.so.0)
                #24 0x00007f32df0f9eff gtk_main (libgtk-3.so.0)
                #25 0x00007f32de626ecf gnc_ui_start_event_loop
(libgncmod-gnome-utils.so)
                #26 0x000055ea50d57446 n/a (gnucash)
                #27 0x00007f32dfb549ee n/a (libguile-2.2.so.1)
                #28 0x00007f32dfb355fa n/a (libguile-2.2.so.1)
                #29 0x00007f32dfbbc83d n/a (libguile-2.2.so.1)
                #30 0x00007f32dfbbf10b scm_call_n (libguile-2.2.so.1)
                #31 0x00007f32dfbad79b n/a (libguile-2.2.so.1)
                #32 0x00007f32dfb35c32 n/a (libguile-2.2.so.1)
                #33 0x00007f32dfb35d16 scm_c_with_continuation_barrier
(libguile-2.2.so.1)
                #34 0x00007f32dfbac1dd n/a (libguile-2.2.so.1)
                #35 0x00007f32db25e855 GC_call_with_stack_base (libgc.so.1)
                #36 0x00007f32dfbac559 scm_with_guile (libguile-2.2.so.1)
                #37 0x00007f32dfb54be4 scm_boot_guile (libguile-2.2.so.1)
                #38 0x000055ea50d56cfd main (gnucash)
                #39 0x00007f32dd5b7f4a __libc_start_main (libc.so.6)
                #40 0x000055ea50d56eda _start (gnucash)

                Stack trace of thread 16107:
                #0  0x00007f32dd68297b __poll (libc.so.6)
                #1  0x00007f32df82bff3 n/a (libglib-2.0.so.0)
                #2  0x00007f32df82c10e g_main_context_iteration
(libglib-2.0.so.0)
                #3  0x00007f32df82c162 n/a (libglib-2.0.so.0)
                #4  0x00007f32df85426a n/a (libglib-2.0.so.0)
                #5  0x00007f32dd95508c start_thread (libpthread.so.0)
                #6  0x00007f32dd68ce7f __clone (libc.so.6)

                Stack trace of thread 16111:
                #0  0x00007f32dd95b3bd pthread_cond_wait@@GLIBC_2.3.2
(libpthread.so.0)
                #1  0x00007f32db265b98 n/a (libgc.so.1)
                #2  0x00007f32db25b39a n/a (libgc.so.1)
                #3  0x00007f32db265b4f n/a (libgc.so.1)
                #4  0x00007f32dd95508c start_thread (libpthread.so.0)
                #5  0x00007f32dd68ce7f __clone (libc.so.6)

                Stack trace of thread 16112:
                #0  0x00007f32dd95b3bd pthread_cond_wait@@GLIBC_2.3.2
(libpthread.so.0)
                #1  0x00007f32db265b98 n/a (libgc.so.1)
                #2  0x00007f32db25b39a n/a (libgc.so.1)
                #3  0x00007f32db265b4f n/a (libgc.so.1)
                #4  0x00007f32dd95508c start_thread (libpthread.so.0)
                #5  0x00007f32dd68ce7f __clone (libc.so.6)

                Stack trace of thread 16113:
                #0  0x00007f32dd95e988 read (libpthread.so.0)
                #1  0x00007f32dfb454e8 n/a (libguile-2.2.so.1)
                #2  0x00007f32db264ad2 n/a (libgc.so.1)
                #3  0x00007f32db25884c n/a (libgc.so.1)
                #4  0x00007f32db25e8bc GC_do_blocking (libgc.so.1)
                #5  0x00007f32dfbac5cb scm_without_guile (libguile-2.2.so.1)
                #6  0x00007f32dfb4594c n/a (libguile-2.2.so.1)
                #7  0x00007f32dfb355fa n/a (libguile-2.2.so.1)
                #8  0x00007f32dfbbc83d n/a (libguile-2.2.so.1)
                #9  0x00007f32dfbbf10b scm_call_n (libguile-2.2.so.1)
                #10 0x00007f32dfbad79b n/a (libguile-2.2.so.1)
                #11 0x00007f32dfb35c32 n/a (libguile-2.2.so.1)
                #12 0x00007f32dfb35d16 scm_c_with_continuation_barrier
(libguile-2.2.so.1)
                #13 0x00007f32dfbac1dd n/a (libguile-2.2.so.1)
                #14 0x00007f32db25e855 GC_call_with_stack_base (libgc.so.1)
                #15 0x00007f32dfbac559 scm_with_guile (libguile-2.2.so.1)
                #16 0x00007f32dd95508c start_thread (libpthread.so.0)
                #17 0x00007f32dd68ce7f __clone (libc.so.6)

                Stack trace of thread 16106:
                #0  0x00007f32dd95b3bd pthread_cond_wait@@GLIBC_2.3.2
(libpthread.so.0)
                #1  0x00007f32d765c5bd __gthread_cond_wait (libstdc++.so.6)
                #2  0x00007f32ccc870b1
_ZN7bmalloc9Scavenger13threadRunLoopEv (libjavascriptcoregtk-4.0.so.18)
                #3  0x00007f32d7662b9f execute_native_thread_routine
(libstdc++.so.6)
                #4  0x00007f32dd95508c start_thread (libpthread.so.0)
                #5  0x00007f32dd68ce7f __clone (libc.so.6)

                Stack trace of thread 16109:
                #0  0x00007f32dd68297b __poll (libc.so.6)
                #1  0x00007f32df82bff3 n/a (libglib-2.0.so.0)
                #2  0x00007f32df82c10e g_main_context_iteration
(libglib-2.0.so.0)
                #3  0x00007f32b77ecb0e n/a (libdconfsettings.so)
                #4  0x00007f32df85426a n/a (libglib-2.0.so.0)
                #5  0x00007f32dd95508c start_thread (libpthread.so.0)
                #6  0x00007f32dd68ce7f __clone (libc.so.6)

                Stack trace of thread 16110:
                #0  0x00007f32dd95b3bd pthread_cond_wait@@GLIBC_2.3.2
(libpthread.so.0)
                #1  0x00007f32db265b98 n/a (libgc.so.1)
                #2  0x00007f32db25b39a n/a (libgc.so.1)
                #3  0x00007f32db265b4f n/a (libgc.so.1)
                #4  0x00007f32dd95508c start_thread (libpthread.so.0)
                #5  0x00007f32dd68ce7f __clone (libc.so.6)

                Stack trace of thread 16108:
                #0  0x00007f32dd68297b __poll (libc.so.6)
                #1  0x00007f32df82bff3 n/a (libglib-2.0.so.0)
                #2  0x00007f32df82c3b2 g_main_loop_run (libglib-2.0.so.0)
                #3  0x00007f32debee6d8 n/a (libgio-2.0.so.0)
                #4  0x00007f32df85426a n/a (libglib-2.0.so.0)
                #5  0x00007f32dd95508c start_thread (libpthread.so.0)
                #6  0x00007f32dd68ce7f __clone (libc.so.6)

Please ask if you need more informations.

Best regards,
-Mathieu
_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: gnucash 2.7.5 segfault when typing in account field

John Ralls-2


> On Feb 27, 2018, at 3:47 AM, Mathieu Clabaut <[hidden email]> 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 <[hidden email]>
> Date: lun. 26 févr. 2018 à 23:14
> Subject: gnucash 2.7.5 segfault when typing in account field
> To: <[hidden email]>
>
>
> 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


_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: gnucash 2.7.5 segfault when typing in account field

Mathieu Clabaut
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 <[hidden email]> a écrit :

>
>
> > On Feb 27, 2018, at 3:47 AM, Mathieu Clabaut <[hidden email]>
> 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 <[hidden email]>
> > Date: lun. 26 févr. 2018 à 23:14
> > Subject: gnucash 2.7.5 segfault when typing in account field
> > To: <[hidden email]>
> >
> >
> > 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
>
>
>
_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: gnucash 2.7.5 segfault when typing in account field

John Ralls-2


> On Mar 2, 2018, at 8:29 AM, Mathieu Clabaut <[hidden email]> wrote:
>
> 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)

Interesting.
The actual crash is at https://gitlab.gnome.org/GNOME/gtk/blob/gtk-3-22/gdk/gdkwindow.c#L664 <https://gitlab.gnome.org/GNOME/gtk/blob/gtk-3-22/gdk/gdkwindow.c#L664>
Where they don’t check for a NULL window before dereferencing it.
Looks to me like the problem is either at https://gitlab.gnome.org/GNOME/gtk/blob/gtk-3-22/modules/input/gtkimcontextxim.c#L656 <https://gitlab.gnome.org/GNOME/gtk/blob/gtk-3-22/modules/input/gtkimcontextxim.c#L656>
or the next line. One of those calls is returning NULL and the code assumes that it doesn’t.

That might be because the event->window is NULL. That’s still a Gtk problem, though I’ll leave it up to the Gtk folks to figure it out. GnuCash is clean on this one.

You should probably start off by filing a bug with Arch and let the Gtk packager take it up with the Gtk folks.

Regards,
John Ralls


_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: gnucash 2.7.5 segfault when typing in account field

Mathieu Clabaut
Bug opened upstream : https://gitlab.gnome.org/GNOME/gtk/issues/61

Thanks a lot.

Le ven. 2 mars 2018 à 17:07, John Ralls <[hidden email]> a écrit :

>
>
> On Mar 2, 2018, at 8:29 AM, Mathieu Clabaut <[hidden email]> wrote:
>
> 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)
>
>
> Interesting.
> The actual crash is at
> https://gitlab.gnome.org/GNOME/gtk/blob/gtk-3-22/gdk/gdkwindow.c#L664
> Where they don’t check for a NULL window before dereferencing it.
> Looks to me like the problem is either at
> https://gitlab.gnome.org/GNOME/gtk/blob/gtk-3-22/modules/input/gtkimcontextxim.c#L656
> or the next line. One of those calls is returning NULL and the code
> assumes that it doesn’t.
>
> That might be because the event->window is NULL. That’s still a Gtk
> problem, though I’ll leave it up to the Gtk folks to figure it out. GnuCash
> is clean on this one.
>
> You should probably start off by filing a bug with Arch and let the Gtk
> packager take it up with the Gtk folks.
>
> Regards,
> John Ralls
>
>
>
_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.