Bug 104170

Summary: XWayland dumps core unexpectedly
Product: Wayland Reporter: mcku <mustafakuscu>
Component: XWaylandAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED NOTOURBUG QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description mcku 2017-12-08 09:09:14 UTC
I don't have an idea why this has happened. I was just forced to the login window. Wayland version 1.14.0.

Relevant log lines:
Ara 08 11:54:05 kernel: traps: gnome-shell[1110] general protection ip:6d6114efb9e2 sp:7c443e538e40 error:0 in libgobj

Ara 08 11:54:09 org.gnome.Shell.desktop[1110]: (EE)
Ara 08 11:54:09 org.gnome.Shell.desktop[1110]: (EE) failed to read Wayland events: Connection reset by peer
Ara 08 11:54:09 org.gnome.Shell.desktop[1110]: Fatal server error:
Ara 08 11:54:09 org.gnome.Shell.desktop[1110]: (EE)
Ara 08 11:54:09 polkitd[578]: Unregistered Authentication Agent for unix-session:2 (system bus name :1.63, object path
Ara 08 11:54:09 gnome-session-binary[1059]: Unrecoverable failure in required component org.gnome.Shell.desktop
Ara 08 11:54:09 gnome-session[1059]: gnome-session-binary[1059]: WARNING: Application 'org.gnome.Shell.desktop' killed
Ara 08 11:54:09 gnome-session-binary[1059]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 11
Ara 08 11:54:09 unknown[1377]: Error reading events from display: Veri alınamıyor
Ara 08 11:54:09 unknown[1359]: Error reading events from display: Veri alınamıyor
Ara 08 11:54:09 epiphany[9929]: Error reading events from display: Veri alınamıyor
Ara 08 11:54:09 unknown[3521]: Error reading events from display: Veri alınamıyor
Ara 08 11:54:09 WebKitWebProces[9957]: Error reading events from display: Veri alınamıyor
Ara 08 11:54:05 systemd[1]: Started Process Core Dump (PID 12014/UID 0).


Ara 08 11:54:10 systemd-coredump[12169]: Process 1125 (Xwayland) of user 1000 dumped core.
                                         
                                         Stack trace of thread 1125:
                                         #0  0x00006c346e7088a0 raise (libc.so.6)
                                         #1  0x00006c346e709f09 abort (libc.so.6)
                                         #2  0x000007ceff823b9a OsAbort (Xwayland)
                                         #3  0x000007ceff8296b3 n/a (Xwayland)
                                         #4  0x000007ceff82a4d5 FatalError (Xwayland)
                                         #5  0x000007ceff6b5baf n/a (Xwayland)
                                         #6  0x000007ceff821711 n/a (Xwayland)
                                         #7  0x000007ceff81a5bb WaitForSomething (Xwayland)
                                         #8  0x000007ceff7e63c3 n/a (Xwayland)
                                         #9  0x000007ceff7ea660 n/a (Xwayland)
                                         #10 0x00006c346e6f4f6a __libc_start_main (libc.so.6)
                                         #11 0x000007ceff6b520a _start (Xwayland)
                                         
                                         Stack trace of thread 1139:
                                         #0  0x00006c346ea9938d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                         #1  0x00006c34681cb9b4 n/a (swrast_dri.so)
                                         #2  0x00006c34681cb808 n/a (swrast_dri.so)
                                         #3  0x00006c346ea9308a start_thread (libpthread.so.0)
                                         #4  0x00006c346e7ca47f __clone (libc.so.6)
                                         
                                         Stack trace of thread 1142:
                                         #0  0x00006c346ea9938d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                         #1  0x00006c34681cb9b4 n/a (swrast_dri.so)
                                         #2  0x00006c34681cb808 n/a (swrast_dri.so)
                                         #3  0x00006c346ea9308a start_thread (libpthread.so.0)
                                         #4  0x00006c346e7ca47f __clone (libc.so.6)
                                         
                                         Stack trace of thread 1138:
                                         #0  0x00006c346ea9938d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                         #1  0x00006c34681cb9b4 n/a (swrast_dri.so)
                                         #2  0x00006c34681cb808 n/a (swrast_dri.so)
                                         #3  0x00006c346ea9308a start_thread (libpthread.so.0)
                                         #4  0x00006c346e7ca47f __clone (libc.so.6)
                                         
                                         Stack trace of thread 1135:
                                         #0  0x00006c346ea9938d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                         #1  0x00006c34681cb9b4 n/a (swrast_dri.so)
                                         #2  0x00006c34681cb808 n/a (swrast_dri.so)
                                         #3  0x00006c346ea9308a start_thread (libpthread.so.0)
                                         #4  0x00006c346e7ca47f __clone (libc.so.6)
                                         
                                         Stack trace of thread 1136:
                                         #0  0x00006c346ea9938d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                         #1  0x00006c34681cb9b4 n/a (swrast_dri.so)
                                         #2  0x00006c34681cb808 n/a (swrast_dri.so)
                                         #3  0x00006c346ea9308a start_thread (libpthread.so.0)
                                         #4  0x00006c346e7ca47f __clone (libc.so.6)
                                         
                                         Stack trace of thread 1141:
                                         #0  0x00006c346ea9938d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                         #1  0x00006c34681cb9b4 n/a (swrast_dri.so)
                                         #2  0x00006c34681cb808 n/a (swrast_dri.so)
                                         #3  0x00006c346ea9308a start_thread (libpthread.so.0)
                                         #4  0x00006c346e7ca47f __clone (libc.so.6)
                                         
                                         Stack trace of thread 1140:
                                         #0  0x00006c346ea9938d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                         #1  0x00006c34681cb9b4 n/a (swrast_dri.so)
                                         #2  0x00006c34681cb808 n/a (swrast_dri.so)
                                         #3  0x00006c346ea9308a start_thread (libpthread.so.0)
                                         #4  0x00006c346e7ca47f __clone (libc.so.6)
                                         
                                         Stack trace of thread 1137:
                                         #0  0x00006c346ea9938d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                         #1  0x00006c34681cb9b4 n/a (swrast_dri.so)
                                         #2  0x00006c34681cb808 n/a (swrast_dri.so)
                                         #3  0x00006c346ea9308a start_thread (libpthread.so.0)
                                         #4  0x00006c346e7ca47f __clone (libc.so.6)
-- Subject: Process 1125 (Xwayland) dumped core
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: man:core(5)
-- 
-- Process 1125 (Xwayland) crashed and dumped core.
-- 
-- This usually indicates a programming error in the crashing program and
-- should be reported to its vendor as a bug.
Comment 1 Olivier Fourdan 2017-12-08 12:25:57 UTC
This is your Wayland compositor (i.e. gnome-shell/mutter) crashing, causing all Wayland clients to abort, including Xwayland.

Now that gnome-shell/mutter since version 3.26 starts Xwayand with the "-core" command line option (https://bugzilla.gnome.org/show_bug.cgi?id=789086) which forces Xwayland to dump a core file for any FatalError(), that leads to a core dump from Xwayland.

But here Xwayland is not the problem, the crash in gnome-shell/mutter is.
Comment 2 mcku 2017-12-08 12:32:14 UTC
Apparently, not a wayland bug. See comments.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.