After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 762887 - yelp crashes most of the time on startup with gtk+ 3.19.10
yelp crashes most of the time on startup with gtk+ 3.19.10
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
3.19.x
Other Linux
: Normal normal
: ---
Assigned To: Yelp maintainers
Yelp maintainers
Depends on:
Blocks:
 
 
Reported: 2016-02-29 18:30 UTC by Hussam Al-Tayeb
Modified: 2016-03-01 13:30 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Hussam Al-Tayeb 2016-02-29 18:30:45 UTC
Starting program: /usr/bin/yelp 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffe420c700 (LWP 10719)]
[New Thread 0x7fffe3a0b700 (LWP 10720)]
[New Thread 0x7fffe1b1f700 (LWP 10722)]
[New Thread 0x7fffe131e700 (LWP 10725)]

(yelp:9971): Gtk-WARNING **: State 0 for GtkTextView 0x8e4280 doesn't match state 128 set via gtk_style_context_set_state ()

(yelp:9971): Gtk-WARNING **: State 0 for GtkTextView 0x8e4280 doesn't match state 128 set via gtk_style_context_set_state ()

(yelp:9971): Gtk-WARNING **: State 512 for GtkLinkButton 0x86c280 doesn't match state 640 set via gtk_style_context_set_state ()

(yelp:9971): Gtk-WARNING **: State 1024 for GtkLinkButton 0x86c280 doesn't match state 640 set via gtk_style_context_set_state ()

Thread 4 "pool" received signal SIGSEGV, Segmentation fault.

Thread 140736979924736 (LWP 10722)

  • #0 init_compose_table_thread_cb
    at gtkimcontextsimple.c line 240
  • #1 g_task_thread_pool_thread
    at gtask.c line 1288
  • #2 g_thread_pool_thread_proxy
    at gthreadpool.c line 307
  • #3 g_thread_proxy
    at gthread.c line 780
  • #4 start_thread
    from /usr/lib/libpthread.so.0
  • #5 clone
    from /usr/lib/libc.so.6

Comment 1 Hussam Al-Tayeb 2016-02-29 20:10:29 UTC
This is logged in my journal.    

      PID: 12993 (yelp)
           UID: 1000 (hussam)
           GID: 100 (users)
        Signal: 11 (SEGV)
     Timestamp: Mon 2016-02-29 22:07:12 EET (50s ago)
  Command Line: yelp help:gnome-terminal
    Executable: /usr/bin/yelp
 Control Group: /
         Slice: -.slice
       Boot ID: 593b3e4ad07a4e828e11753d1f7a362e
    Machine ID: efb490e643e2436d9d1138df1745a008
      Hostname: hades
       Message: Process 12993 (yelp) of user 1000 dumped core.
                
                Stack trace of thread 12999:
                #0  0x00007faf5e23d3d3 init_compose_table_thread_cb (libgtk-3.so.0)
                #1  0x00007faf5da2cd3d g_task_thread_pool_thread (libgio-2.0.so.0)
                #2  0x00007faf5d4ad5be g_thread_pool_thread_proxy (libglib-2.0.so.0)
                #3  0x00007faf5d4acc25 g_thread_proxy (libglib-2.0.so.0)
                #4  0x00007faf5d226424 start_thread (libpthread.so.0)
                #5  0x00007faf5cf65cbd __clone (libc.so.6)
                
                Stack trace of thread 12996:
                #0  0x00007faf5cf5cc3d poll (libc.so.6)
                #1  0x00007faf5d4861bc g_main_context_poll (libglib-2.0.so.0)
                #2  0x00007faf5d4862cc g_main_context_iteration (libglib-2.0.so.0)
                #3  0x00007faf5d486309 glib_worker_main (libglib-2.0.so.0)
                #4  0x00007faf5d4acc25 g_thread_proxy (libglib-2.0.so.0)
                #5  0x00007faf5d226424 start_thread (libpthread.so.0)
                #6  0x00007faf5cf65cbd __clone (libc.so.6)
                
                Stack trace of thread 12997:
                #0  0x00007faf5cf5cc3d poll (libc.so.6)
                #1  0x00007faf5d4861bc g_main_context_poll (libglib-2.0.so.0)
                #2  0x00007faf5d486542 g_main_loop_run (libglib-2.0.so.0)
                #3  0x00007faf5da8ca56 gdbus_shared_thread_func (libgio-2.0.so.0)
                #4  0x00007faf5d4acc25 g_thread_proxy (libglib-2.0.so.0)
                #5  0x00007faf5d226424 start_thread (libpthread.so.0)
                #6  0x00007faf5cf65cbd __clone (libc.so.6)
                
                Stack trace of thread 12993:
                #0  0x00007faf5cf31cdb __getdents (libc.so.6)
                #1  0x00007faf5cf31892 readdir (libc.so.6)
                #2  0x00007faf5d470c71 g_dir_read_name (libglib-2.0.so.0)
                #3  0x00007faf5e225db8 scan_directory (libgtk-3.so.0)
                #4  0x00007faf5e226226 insert_theme (libgtk-3.so.0)
                #5  0x00007faf5e226d3f load_themes (libgtk-3.so.0)
                #6  0x00007faf5e228950 real_choose_icon (libgtk-3.so.0)
                #7  0x00007faf5e22938e gtk_icon_theme_lookup_icon_for_scale (libgtk-3.so.0)
                #8  0x00007faf610ae3b4 icon_theme_changed (libyelp.so.0)
                #9  0x00007faf610af059 yelp_settings_set_property (libyelp.so.0)
                #10 0x00007faf5d761abd object_set_property (libgobject-2.0.so.0)
                #11 0x00007faf5d763595 g_object_new_valist (libgobject-2.0.so.0)
                #12 0x00007faf5d763901 g_object_new (libgobject-2.0.so.0)
                #13 0x00007faf610afc06 yelp_settings_get_default (libyelp.so.0)
                #14 0x00000000004066f3 yelp_application_startup (yelp)
                #15 0x00007faf5d75c374 _g_closure_invoke_va (libgobject-2.0.so.0)
                #16 0x00007faf5d777916 g_signal_emit_valist (libgobject-2.0.so.0)
                #17 0x00007faf5d777fff g_signal_emit (libgobject-2.0.so.0)
                #18 0x00007faf5da5379a g_application_register (libgio-2.0.so.0)
                #19 0x00007faf5da53fbf g_application_real_local_command_line (libgio-2.0.so.0)
                #20 0x0000000000405e93 yelp_application_cmdline (yelp)
                #21 0x00007faf5da54322 g_application_run (libgio-2.0.so.0)
                #22 0x00007faf5ce9e710 __libc_start_main (libc.so.6)
                #23 0x0000000000405b19 _start (yelp)
                
                Stack trace of thread 12998:
                #0  0x00007faf5cf65c81 __clone (libc.so.6)
Comment 2 Hussam Al-Tayeb 2016-02-29 20:12:00 UTC
And now with patch from bug 761577
(gdb) run
Starting program: /usr/bin/yelp 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffe420c700 (LWP 14435)]
[New Thread 0x7fffe3a0b700 (LWP 14436)]
[New Thread 0x7fffe1b1f700 (LWP 14437)]
[New Thread 0x7fffe131e700 (LWP 14438)]

Thread 4 "pool" received signal SIGSEGV, Segmentation fault.

Thread 140736979924736 (LWP 14437)

  • #0 init_compose_table_thread_cb
    at gtkimcontextsimple.c line 240
  • #1 g_task_thread_pool_thread
    at gtask.c line 1288
  • #2 g_thread_pool_thread_proxy
    at gthreadpool.c line 307
  • #3 g_thread_proxy
    at gthread.c line 780
  • #4 start_thread
    from /usr/lib/libpthread.so.0
  • #5 clone
    from /usr/lib/libc.so.6
  • #0 init_compose_table_thread_cb
    at gtkimcontextsimple.c line 240
  • #1 g_task_thread_pool_thread
    at gtask.c line 1288
  • #2 g_thread_pool_thread_proxy
    at gthreadpool.c line 307
  • #3 g_thread_proxy
    at gthread.c line 780
  • #4 start_thread
    from /usr/lib/libpthread.so.0
  • #5 clone
    from /usr/lib/libc.so.6
(gdb)
Comment 3 Hussam Al-Tayeb 2016-03-01 05:09:29 UTC
valgrind output http://pastebin.com/raw/yZDFJRmA
Comment 4 David King 2016-03-01 08:16:08 UTC
This is probably a bug in GTK+, and should have been fixed by commit b3b048906c7378f104b8be4f4889a8e15025fcd1. Sadly, I cannot reproduce it.
Comment 5 Hussam Al-Tayeb 2016-03-01 08:21:41 UTC
Ok, I will change the category to GTK+.
Comment 6 Matthias Clasen 2016-03-01 12:07:02 UTC
I can't reproduce it either, since the cited gtk fix
Comment 7 Hussam Al-Tayeb 2016-03-01 13:30:52 UTC
No longer crashes since commit eff97fd55f7f31103fa588a6a431a1e22c50c77e. Thanks Matthias!