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 783411 - gsd-clipboard crash
gsd-clipboard crash
Status: RESOLVED OBSOLETE
Product: gnome-settings-daemon
Classification: Core
Component: plugins
3.25.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2017-06-04 18:44 UTC by Hussam Al-Tayeb
Modified: 2019-03-20 11:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Hussam Al-Tayeb 2017-06-04 18:44:54 UTC
I am using gnome-settings-daemon from git master branch. This was logged by systemd today.

Reading symbols from /usr/lib/gnome-settings-daemon/gsd-clipboard...done.
[New LWP 922]
[New LWP 958]
[New LWP 959]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/usr/lib/gnome-settings-daemon/gsd-clipboard'.
Program terminated with signal SIGTRAP, Trace/breakpoint trap.

Thread 1 (Thread 0x7fefe8342940 (LWP 922))

  • #0 _g_log_abort
    at gmessages.c line 549
  • #1 g_log_writer_default
    at gmessages.c line 2613
  • #2 g_log_structured_array
    at gmessages.c line 1933
  • #3 g_log_structured
    at gmessages.c line 1760
  • #4 _gdk_x11_display_error_event
    at gdkdisplay-x11.c line 2579
  • #5 gdk_x_error
  • #6 _XError
    at XlibInt.c line 1444
  • #7 handle_error
    at xcb_io.c line 199
  • #8 handle_response
    at xcb_io.c line 311
  • #9 _XReply
    at xcb_io.c line 621
  • #10 XSync
    at Sync.c line 44
  • #11 finish_selection_request
    at gsd-clipboard-manager.c line 179
  • #12 convert_clipboard
    at gsd-clipboard-manager.c line 672
  • #13 clipboard_manager_process_event
    at gsd-clipboard-manager.c line 818
  • #14 clipboard_manager_event_filter
    at gsd-clipboard-manager.c line 834
  • #15 gdk_event_apply_filters
    at gdkeventsource.c line 79
  • #16 gdk_event_source_translate_event
    at gdkeventsource.c line 205
  • #17 _gdk_x11_display_queue_events
    at gdkeventsource.c line 341
  • #18 gdk_display_get_event
    at gdkdisplay.c line 438
  • #19 gdk_event_source_dispatch
    at gdkeventsource.c line 363
  • #20 g_main_dispatch
    at gmain.c line 3148
  • #21 g_main_context_dispatch
    at gmain.c line 3813
  • #22 g_main_context_iterate
    at gmain.c line 3886
  • #23 g_main_loop_run
    at gmain.c line 4082
  • #24 gtk_main
    at gtkmain.c line 1312
  • #25 main
    at ../../plugins/common/daemon-skeleton-gtk.h line 235

Comment 1 Hussam Al-Tayeb 2017-06-13 17:33:40 UTC
It crashed again today. Will this crash cause the whole session to close if it continues?

coredumpctl gdb 902
Hint: You are currently not seeing messages from other users and the system.
      Users in groups 'adm', 'systemd-journal', 'wheel' can see all messages.
      Pass -q to turn off this notice.
           PID: 902 (gsd-clipboard)
           UID: 1000 (hussam)
           GID: 100 (users)
        Signal: 5 (TRAP)
     Timestamp: Tue 2017-06-13 16:39:41 EEST (3h 51min ago)
  Command Line: /usr/lib/gnome-settings-daemon/gsd-clipboard
    Executable: /usr/lib/gnome-settings-daemon/gsd-clipboard
 Control Group: /user.slice/user-1000.slice/session-c2.scope
          Unit: session-c2.scope
         Slice: user-1000.slice
       Session: c2
     Owner UID: 1000 (hussam)
       Boot ID: d31986a8922e4bbcb08bb0f4cd34cdd2
    Machine ID: efb490e643e2436d9d1138df1745a008
      Hostname: hades
       Storage: /var/lib/systemd/coredump/core.gsd-clipboard.1000.d31986a8922e4bbcb08bb0f4cd34cdd2.902.1497361181000000.lz4
       Message: Process 902 (gsd-clipboard) of user 1000 dumped core.
                
                Stack trace of thread 902:
                #0  0x00007fa1a8f2f671 _g_log_abort (libglib-2.0.so.0)
                #1  0x00007fa1a8f31ca1 g_log_writer_default (libglib-2.0.so.0)
                #2  0x00007fa1a8f3020e g_log_structured_array (libglib-2.0.so.0)
                #3  0x00007fa1a8f30507 g_log_structured (libglib-2.0.so.0)
                #4  0x00007fa1a9da4e61 _gdk_x11_display_error_event (libgdk-3.so.0)
                #5  0x00007fa1a9db2313 gdk_x_error (libgdk-3.so.0)
                #6  0x00007fa1a9a4b23d _XError (libX11.so.6)
                #7  0x00007fa1a9a48157 handle_error (libX11.so.6)
                #8  0x00007fa1a9a48215 handle_response (libX11.so.6)
                #9  0x00007fa1a9a49128 _XReply (libX11.so.6)
                #10 0x00007fa1a9a44cbd XSync (libX11.so.6)
                #11 0x0000000000402988 finish_selection_request (gsd-clipboard)
                #12 0x00000000004032bd convert_clipboard (gsd-clipboard)
                #13 0x00007fa1a9dac5ff gdk_event_apply_filters (libgdk-3.so.0)
                #14 0x00007fa1a9dac906 gdk_event_source_translate_event (libgdk-3.so.0)
                #15 0x00007fa1a9d76970 gdk_display_get_event (libgdk-3.so.0)
                #16 0x00007fa1a9dac692 gdk_event_source_dispatch (libgdk-3.so.0)
                #17 0x00007fa1a8f29cb7 g_main_dispatch (libglib-2.0.so.0)
                #18 0x00007fa1a8f29ee8 g_main_context_iterate (libglib-2.0.so.0)
                #19 0x00007fa1a8f2a202 g_main_loop_run (libglib-2.0.so.0)
                #20 0x00007fa1aa26bd45 gtk_main (libgtk-3.so.0)
                #21 0x000000000040209c main (gsd-clipboard)
                #22 0x00007fa1a893c43a __libc_start_main (libc.so.6)
                #23 0x000000000040219a _start (gsd-clipboard)
                
                Stack trace of thread 937:
                #0  0x00007fa1a89fef2d poll (libc.so.6)
                #1  0x00007fa1a8f29e69 g_main_context_poll (libglib-2.0.so.0)
                #2  0x00007fa1a8f29f7c g_main_context_iteration (libglib-2.0.so.0)
                #3  0x00007fa1a8f29fc1 glib_worker_main (libglib-2.0.so.0)
                #4  0x00007fa1a8f514e5 g_thread_proxy (libglib-2.0.so.0)
                #5  0x00007fa1a8cc8237 start_thread (libpthread.so.0)
                #6  0x00007fa1a8a08ecf __clone (libc.so.6)
                
                Stack trace of thread 938:
                #0  0x00007fa1a89fef2d poll (libc.so.6)
                #1  0x00007fa1a8f29e69 g_main_context_poll (libglib-2.0.so.0)
                #2  0x00007fa1a8f2a202 g_main_loop_run (libglib-2.0.so.0)
                #3  0x00007fa1a951a086 gdbus_shared_thread_func (libgio-2.0.so.0)
                #4  0x00007fa1a8f514e5 g_thread_proxy (libglib-2.0.so.0)
                #5  0x00007fa1a8cc8237 start_thread (libpthread.so.0)
                #6  0x00007fa1a8a08ecf __clone (libc.so.6)

GNU gdb (GDB) 8.0
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/lib/gnome-settings-daemon/gsd-clipboard...done.
[New LWP 902]
[New LWP 937]
[New LWP 938]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `/usr/lib/gnome-settings-daemon/gsd-clipboard'.
Program terminated with signal SIGTRAP, Trace/breakpoint trap.

Thread 1 (Thread 0x7fa1aaa96940 (LWP 902))

  • #0 _g_log_abort
    at gmessages.c line 549
  • #1 g_log_writer_default
    at gmessages.c line 2613
  • #2 g_log_structured_array
    at gmessages.c line 1933
  • #3 g_log_structured
    at gmessages.c line 1760
  • #4 _gdk_x11_display_error_event
    at gdkdisplay-x11.c line 2579
  • #5 gdk_x_error
    at gdkmain-x11.c line 307
  • #6 _XError
    at XlibInt.c line 1444
  • #7 handle_error
    at xcb_io.c line 199
  • #8 handle_response
    at xcb_io.c line 311
  • #9 _XReply
    at xcb_io.c line 621
  • #10 XSync
    at Sync.c line 44
  • #11 finish_selection_request
    at gsd-clipboard-manager.c line 179
  • #12 convert_clipboard
    at gsd-clipboard-manager.c line 672
  • #13 clipboard_manager_process_event
    at gsd-clipboard-manager.c line 818
  • #14 clipboard_manager_event_filter
    at gsd-clipboard-manager.c line 834
  • #15 gdk_event_apply_filters
    at gdkeventsource.c line 79
  • #16 gdk_event_source_translate_event
    at gdkeventsource.c line 205
  • #17 _gdk_x11_display_queue_events
    at gdkeventsource.c line 341
  • #18 gdk_display_get_event
    at gdkdisplay.c line 438
  • #19 gdk_event_source_dispatch
    at gdkeventsource.c line 363
  • #20 g_main_dispatch
    at gmain.c line 3148
  • #21 g_main_context_dispatch
    at gmain.c line 3813
  • #22 g_main_context_iterate
    at gmain.c line 3886
  • #23 g_main_loop_run
    at gmain.c line 4082
  • #24 gtk_main
    at gtkmain.c line 1312
  • #25 main
    at ../../plugins/common/daemon-skeleton-gtk.h line 235

Comment 2 Rui Matos 2017-06-14 13:02:46 UTC
Can you determine a sequence of steps to reproduce this?

Also, please find the abort error message that should be getting captured in the journal.

And no, the session should survive this unless it happens continuously.
Comment 3 Hussam Al-Tayeb 2017-06-14 13:21:05 UTC
I think this is the interval in the journal when this happened. https://paste.gnome.org/pqtrf2zlb/caihgm/raw
PKGBUILD is a plain text file opened using gedit.
I'm not entirely sure yet how to reliably reproduce it.
Comment 4 GNOME Infrastructure Team 2019-03-20 11:43:37 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-settings-daemon/issues/337.