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 795537 - Crash when resume from screenlock
Crash when resume from screenlock
Status: RESOLVED OBSOLETE
Product: mutter
Classification: Core
Component: wayland
3.28.x
Other Linux
: Normal major
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2018-04-25 10:44 UTC by Simón
Modified: 2021-07-05 13:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
output of "journalctl -xb" (253.28 KB, text/x-log)
2018-04-25 10:44 UTC, Simón
Details

Description Simón 2018-04-25 10:44:59 UTC
Created attachment 371367 [details]
output of "journalctl -xb"

Arch Linux
GNOME Shell 3.28.1 on Wayland

Sometimes when I press ENTER to turn on the display the gnome session crashes and returns to the GDM login screen.

I attach the last part of output of "journalctl -xb".

I think the relevant part is this:
....
abr 23 15:57:00 arch-juan kernel: traps: gnome-shell[662] general protection ip:7f625cc81191 sp:7fff0e798b68 error:0 in libgobject-2.0.so.0.5600.1[7f625cc4b000+52000]
abr 23 15:57:00 arch-juan systemd[1]: Created slice system-systemd\x2dcoredump.slice.
-- Subject: Unit system-systemd\x2dcoredump.slice has finished start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit system-systemd\x2dcoredump.slice has finished starting up.
-- 
-- The start-up result is RESULT.
abr 23 15:57:00 arch-juan systemd[1]: Started Process Core Dump (PID 15401/UID 0).
-- Subject: Unit systemd-coredump@0-15401-0.service has finished start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-coredump@0-15401-0.service has finished starting up.
-- 
-- The start-up result is RESULT.
abr 23 15:57:03 arch-juan gnome-documents[1644]: Error reading events from display: Tubería rota
abr 23 15:57:03 arch-juan unknown[6188]: Error reading events from display: Tubería rota
abr 23 15:57:03 arch-juan gnome-session[618]: gnome-session-binary[618]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 11
abr 23 15:57:03 arch-juan polkitd[504]: Unregistered Authentication Agent for unix-session:c1 (system bus name :1.21, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale es_ES.UTF-8) (disconnected from bus)
abr 23 15:57:03 arch-juan org.gnome.Shell.desktop[662]: (EE)
abr 23 15:57:03 arch-juan org.gnome.Shell.desktop[662]: Fatal server error:
abr 23 15:57:03 arch-juan org.gnome.Shell.desktop[662]: (EE) failed to read Wayland events: Connection reset by peer
abr 23 15:57:03 arch-juan org.gnome.Shell.desktop[662]: (EE)
abr 23 15:57:03 arch-juan lollypop[6168]: Error reading events from display: Tubería rota
abr 23 15:57:03 arch-juan gnome-session-binary[618]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 11
abr 23 15:57:03 arch-juan unknown[1221]: Error reading events from display: Tubería rota
abr 23 15:57:03 arch-juan systemd[542]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
abr 23 15:57:03 arch-juan systemd[542]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
abr 23 15:57:03 arch-juan gdm-autologin][538]: pam_unix(gdm-autologin:session): session closed for user juan
abr 23 15:57:03 arch-juan gnome-session-binary[618]: Unrecoverable failure in required component org.gnome.Shell.desktop
abr 23 15:57:03 arch-juan pulseaudio[742]: ICE default IO error handler doing an exit(), pid = 742, errno = 11
abr 23 15:57:03 arch-juan systemd[1]: Started Process Core Dump (PID 15409/UID 0).
....
Comment 1 Simón 2018-04-25 11:40:28 UTC
$ coredumpctl info -1 gnome-shell
           PID: 15733 (gnome-shell)
           UID: 1000 (juan)
           GID: 1000 (juan)
        Signal: 11 (SEGV)
     Timestamp: Wed 2018-04-25 12:37:46 CEST (59min ago)
  Command Line: /usr/bin/gnome-shell
    Executable: /usr/bin/gnome-shell
 Control Group: /user.slice/user-1000.slice/session-c3.scope
          Unit: session-c3.scope
         Slice: user-1000.slice
       Session: c3
     Owner UID: 1000 (juan)
       Boot ID: ce6a32d1d8f1443d86d722df36a412ed
    Machine ID: f10a639e435b4ee984fbe766ef8d884f
      Hostname: arch-juan
       Storage: /var/lib/systemd/coredump/core.gnome-shell.1000.ce6a32d1d8f1443d86d722df36a412ed.15733.1524652666000000.lz4
       Message: Process 15733 (gnome-shell) of user 1000 dumped core.
                
                Stack trace of thread 15733:
                #0  0x00007fe7ce84c191 g_type_check_instance_is_fundamentally_a (libgobject-2.0.so.0)
                #1  0x00007fe7ce82a6ff g_object_ref (libgobject-2.0.so.0)
                #2  0x00007fe7cc5737b7 st_theme_get_custom_stylesheets (libst-1.0.so)
                #3  0x00007fe7c901d1c8 ffi_call_unix64 (libffi.so.6)
                #4  0x00007fe7c901cc2a ffi_call (libffi.so.6)
                #5  0x00007fe7cd51326b n/a (libgjs.so.0)
                #6  0x00007fe7cd514c27 n/a (libgjs.so.0)
                #7  0x00007fe7c60403a1 n/a (libmozjs-52.so.0)
                #8  0x00007fe7c6045f11 n/a (libmozjs-52.so.0)
                #9  0x00007fe7c603f4ae n/a (libmozjs-52.so.0)
                #10 0x00007fe7c6040204 n/a (libmozjs-52.so.0)
                #11 0x00007fe7c60406b8 n/a (libmozjs-52.so.0)
                #12 0x00007fe7c5d3f5d3 n/a (libmozjs-52.so.0)
                #13 0x000018c88c19cab6 n/a (n/a)
                #14 0x00007fe7c5c6b6bd n/a (libmozjs-52.so.0)
                #15 0x00007fe7c6052936 n/a (libmozjs-52.so.0)
                #16 0x00007fe7c603f4ae n/a (libmozjs-52.so.0)
                #17 0x00007fe7c6040204 n/a (libmozjs-52.so.0)
                #18 0x00007fe7c60406b8 n/a (libmozjs-52.so.0)
                #19 0x00007fe7c5dc75c6 _Z20JS_CallFunctionValueP9JSContextN2JS6HandleIP8JSObjectEENS2_INS1_5ValueEEERKNS1_16HandleValueArrayENS1_13MutableHandleIS6_EE (libmozjs-52.so.0)
                #20 0x00007fe7cd538ea8 gjs_call_function_value (libgjs.so.0)
                #21 0x00007fe7cd50d881 gjs_closure_invoke (libgjs.so.0)
                #22 0x00007fe7cd52c259 n/a (libgjs.so.0)
                #23 0x00007fe7ce825a4d g_closure_invoke (libgobject-2.0.so.0)
                #24 0x00007fe7ce84296e n/a (libgobject-2.0.so.0)
                #25 0x00007fe7ce54b1d6 g_main_context_dispatch (libglib-2.0.so.0)
                #26 0x00007fe7ce54b5b1 n/a (libglib-2.0.so.0)
                #27 0x00007fe7ce54b8e2 g_main_loop_run (libglib-2.0.so.0)
                #28 0x00007fe7cca484b0 meta_run (libmutter-2.so.0)
                #29 0x000055e00f9faff1 n/a (gnome-shell)
                #30 0x00007fe7cf270f4a n/a (/usr/lib/libc-2.26.so (deleted))

$ coredumpctl info -1 Xwayland
           PID: 15753 (Xwayland)
           UID: 1000 (juan)
           GID: 1000 (juan)
        Signal: 6 (ABRT)
     Timestamp: Wed 2018-04-25 12:37:49 CEST (59min ago)
  Command Line: /usr/bin/Xwayland :0 -rootless -terminate -accessx -core -listen 4 -listen 5 -displayfd 6
    Executable: /usr/bin/Xwayland
 Control Group: /user.slice/user-1000.slice/session-c3.scope
          Unit: session-c3.scope
         Slice: user-1000.slice
       Session: c3
     Owner UID: 1000 (juan)
       Boot ID: ce6a32d1d8f1443d86d722df36a412ed
    Machine ID: f10a639e435b4ee984fbe766ef8d884f
      Hostname: arch-juan
       Storage: /var/lib/systemd/coredump/core.Xwayland.1000.ce6a32d1d8f1443d86d722df36a412ed.15753.1524652669000000.lz4
       Message: Process 15753 (Xwayland) of user 1000 dumped core.
                
                Stack trace of thread 15753:
                #0  0x00007f196c8a9860 n/a (/usr/lib/libc-2.26.so (deleted))
                #1  0x00007fffc9f4fed0 n/a (n/a)
Comment 2 Simón 2018-04-25 13:12:20 UTC
It just happened to me again right now. The coredump output looks different:

           PID: 698 (Xwayland)
           UID: 1000 (juan)
           GID: 1000 (juan)
        Signal: 6 (ABRT)
     Timestamp: Wed 2018-04-25 15:09:26 CEST (1min 23s ago)
  Command Line: /usr/bin/Xwayland :0 -rootless -terminate -accessx -core -listen 4 -listen 5 -displayfd 6
    Executable: /usr/bin/Xwayland
 Control Group: /user.slice/user-1000.slice/session-c1.scope
          Unit: session-c1.scope
         Slice: user-1000.slice
       Session: c1
     Owner UID: 1000 (juan)
       Boot ID: f06a40a7ba0d4590a973a9e55ef9f46f
    Machine ID: f10a639e435b4ee984fbe766ef8d884f
      Hostname: arch-juan
       Storage: /var/lib/systemd/coredump/core.Xwayland.1000.f06a40a7ba0d4590a973a9e55ef9f46f.698.1524661766000000.lz4
       Message: Process 698 (Xwayland) of user 1000 dumped core.
                
                Stack trace of thread 698:
                #0  0x00007f2330ce7efb raise (libc.so.6)
                #1  0x00007f2330ce92c1 abort (libc.so.6)
                #2  0x000055a95c5c5cda OsAbort (Xwayland)
                #3  0x000055a95c5cb7f3 n/a (Xwayland)
                #4  0x000055a95c5cc615 FatalError (Xwayland)
                #5  0x000055a95c457bdf n/a (Xwayland)
                #6  0x000055a95c5c3851 n/a (Xwayland)
                #7  0x000055a95c5bc6fb WaitForSomething (Xwayland)
                #8  0x000055a95c588503 n/a (Xwayland)
                #9  0x000055a95c58c7a0 n/a (Xwayland)
                #10 0x00007f2330cd49a7 __libc_start_main (libc.so.6)
                #11 0x000055a95c45723a _start (Xwayland)
                
                Stack trace of thread 701:
                #0  0x00007f233107b07c pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007f2329fbd0f4 n/a (swrast_dri.so)
                #2  0x00007f2329fbcf48 n/a (swrast_dri.so)
                #3  0x00007f23310750bc start_thread (libpthread.so.0)
                #4  0x00007f2330daa2ff __clone (libc.so.6)
                
                Stack trace of thread 702:
                #0  0x00007f233107b07c pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007f2329fbd0f4 n/a (swrast_dri.so)
                #2  0x00007f2329fbcf48 n/a (swrast_dri.so)
                #3  0x00007f23310750bc start_thread (libpthread.so.0)
                #4  0x00007f2330daa2ff __clone (libc.so.6)
                
                Stack trace of thread 705:
                #0  0x00007f233107b07c pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007f2329fbd0f4 n/a (swrast_dri.so)
                #2  0x00007f2329fbcf48 n/a (swrast_dri.so)
                #3  0x00007f23310750bc start_thread (libpthread.so.0)
                #4  0x00007f2330daa2ff __clone (libc.so.6)
                
                Stack trace of thread 706:
                #0  0x00007f233107b07c pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007f2329fbd0f4 n/a (swrast_dri.so)
                #2  0x00007f2329fbcf48 n/a (swrast_dri.so)
                #3  0x00007f23310750bc start_thread (libpthread.so.0)
                #4  0x00007f2330daa2ff __clone (libc.so.6)
                
                Stack trace of thread 708:
                #0  0x00007f233107b07c pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007f2329fbd0f4 n/a (swrast_dri.so)
                #2  0x00007f2329fbcf48 n/a (swrast_dri.so)
                #3  0x00007f23310750bc start_thread (libpthread.so.0)
                #4  0x00007f2330daa2ff __clone (libc.so.6)
                
                Stack trace of thread 703:
                #0  0x00007f233107b07c pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007f2329fbd0f4 n/a (swrast_dri.so)
                #2  0x00007f2329fbcf48 n/a (swrast_dri.so)
                #3  0x00007f23310750bc start_thread (libpthread.so.0)
                #4  0x00007f2330daa2ff __clone (libc.so.6)
                
                Stack trace of thread 704:
                #0  0x00007f233107b07c pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007f2329fbd0f4 n/a (swrast_dri.so)
                #2  0x00007f2329fbcf48 n/a (swrast_dri.so)
                #3  0x00007f23310750bc start_thread (libpthread.so.0)
                #4  0x00007f2330daa2ff __clone (libc.so.6)
                
                Stack trace of thread 707:
                #0  0x00007f233107b07c pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007f2329fbd0f4 n/a (swrast_dri.so)
                #2  0x00007f2329fbcf48 n/a (swrast_dri.so)
                #3  0x00007f23310750bc start_thread (libpthread.so.0)
                #4  0x00007f2330daa2ff __clone (libc.so.6)
                
                
           PID: 650 (gnome-shell)
           UID: 1000 (juan)
           GID: 1000 (juan)
        Signal: 11 (SEGV)
     Timestamp: Wed 2018-04-25 15:09:24 CEST (1min 29s ago)
  Command Line: /usr/bin/gnome-shell
    Executable: /usr/bin/gnome-shell
 Control Group: /user.slice/user-1000.slice/session-c1.scope
          Unit: session-c1.scope
         Slice: user-1000.slice
       Session: c1
     Owner UID: 1000 (juan)
       Boot ID: f06a40a7ba0d4590a973a9e55ef9f46f
    Machine ID: f10a639e435b4ee984fbe766ef8d884f
      Hostname: arch-juan
       Storage: /var/lib/systemd/coredump/core.gnome-shell.1000.f06a40a7ba0d4590a973a9e55ef9f46f.650.1524661764000000.lz4
       Message: Process 650 (gnome-shell) of user 1000 dumped core.
                
                Stack trace of thread 650:
                #0  0x00007febffddf191 g_type_check_instance_is_fundamentally_a (libgobject-2.0.so.0)
                #1  0x00007febffdbd6ff g_object_ref (libgobject-2.0.so.0)
                #2  0x00007febfdb067b7 st_theme_get_custom_stylesheets (libst-1.0.so)
                #3  0x00007febfa5b01c8 ffi_call_unix64 (libffi.so.6)
                #4  0x00007febfa5afc2a ffi_call (libffi.so.6)
                #5  0x00007febfeaa626b n/a (libgjs.so.0)
                #6  0x00007febfeaa7c27 n/a (libgjs.so.0)
                #7  0x00007febf758b3a1 n/a (libmozjs-52.so.0)
                #8  0x00007febf7590f11 n/a (libmozjs-52.so.0)
                #9  0x00007febf758a4ae n/a (libmozjs-52.so.0)
                #10 0x00007febf758b204 n/a (libmozjs-52.so.0)
                #11 0x00007febf758b6b8 n/a (libmozjs-52.so.0)
                #12 0x00007febf728a5d3 n/a (libmozjs-52.so.0)
                #13 0x00002e77acdfcab6 n/a (n/a)
                #14 0x00007febf71b66bd n/a (libmozjs-52.so.0)
                #15 0x00007febf759d936 n/a (libmozjs-52.so.0)
                #16 0x00007febf758a4ae n/a (libmozjs-52.so.0)
                #17 0x00007febf758b204 n/a (libmozjs-52.so.0)
                #18 0x00007febf758b6b8 n/a (libmozjs-52.so.0)
                #19 0x00007febf73125c6 _Z20JS_CallFunctionValueP9JSContextN2JS6HandleIP8JSObjectEENS2_INS1_5ValueEEERKNS1_16HandleValueArrayENS1_13MutableHandleIS6_EE (libmozjs-52.so.0)
                #20 0x00007febfeacbea8 gjs_call_function_value (libgjs.so.0)
                #21 0x00007febfeaa0881 gjs_closure_invoke (libgjs.so.0)
                #22 0x00007febfeabf259 n/a (libgjs.so.0)
                #23 0x00007febffdb8a4d g_closure_invoke (libgobject-2.0.so.0)
                #24 0x00007febffdd596e n/a (libgobject-2.0.so.0)
                #25 0x00007febffade1d6 g_main_context_dispatch (libglib-2.0.so.0)
                #26 0x00007febffade5b1 n/a (libglib-2.0.so.0)
                #27 0x00007febffade8e2 g_main_loop_run (libglib-2.0.so.0)
                #28 0x00007febfdfdb4b0 meta_run (libmutter-2.so.0)
                #29 0x0000558eb1217ff1 n/a (gnome-shell)
                #30 0x00007fec008049a7 __libc_start_main (libc.so.6)
                #31 0x0000558eb121814a n/a (gnome-shell)
                
                Stack trace of thread 720:
                #0  0x00007fec008cfcd9 __poll (libc.so.6)
                #1  0x00007febe0784773 n/a (libpulse.so.0)
                #2  0x00007febe0775bd0 pa_mainloop_poll (libpulse.so.0)
                #3  0x00007febe0776271 pa_mainloop_iterate (libpulse.so.0)
                #4  0x00007febe0776301 pa_mainloop_run (libpulse.so.0)
                #5  0x00007febe07846ae n/a (libpulse.so.0)
                #6  0x00007febe052381c n/a (libpulsecommon-11.1.so)
                #7  0x00007fec00ba50bc start_thread (libpthread.so.0)
                #8  0x00007fec008da2ff __clone (libc.so.6)
                
                Stack trace of thread 795:
                #0  0x00007fec00bab07c pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007febf70fdd2d n/a (libmozjs-52.so.0)
                #2  0x00007febf759e72a n/a (libmozjs-52.so.0)
                #3  0x00007febf75677ca n/a (libmozjs-52.so.0)
                #4  0x00007fec00ba50bc start_thread (libpthread.so.0)
                #5  0x00007fec008da2ff __clone (libc.so.6)
                
                Stack trace of thread 652:
                #0  0x00007fec008cfcd9 __poll (libc.so.6)
                #1  0x00007febffade523 n/a (libglib-2.0.so.0)
                #2  0x00007febffade63e g_main_context_iteration (libglib-2.0.so.0)
                #3  0x00007febffade692 n/a (libglib-2.0.so.0)
                #4  0x00007febffb06a2a n/a (libglib-2.0.so.0)
                #5  0x00007fec00ba50bc start_thread (libpthread.so.0)
                #6  0x00007fec008da2ff __clone (libc.so.6)
                
                Stack trace of thread 790:
                #0  0x00007fec00bab07c pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007febf70fdd2d n/a (libmozjs-52.so.0)
                #2  0x00007febf759e72a n/a (libmozjs-52.so.0)
                #3  0x00007febf75677ca n/a (libmozjs-52.so.0)
                #4  0x00007fec00ba50bc start_thread (libpthread.so.0)
                #5  0x00007fec008da2ff __clone (libc.so.6)
                
                Stack trace of thread 800:
                #0  0x00007fec00bab07c pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007febf70fdd2d n/a (libmozjs-52.so.0)
                #2  0x00007febf759e72a n/a (libmozjs-52.so.0)
                #3  0x00007febf75677ca n/a (libmozjs-52.so.0)
                #4  0x00007fec00ba50bc start_thread (libpthread.so.0)
                #5  0x00007fec008da2ff __clone (libc.so.6)
                
                Stack trace of thread 797:
                #0  0x00007fec00bab07c pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007febf70fdd2d n/a (libmozjs-52.so.0)
                #2  0x00007febf759e72a n/a (libmozjs-52.so.0)
                #3  0x00007febf75677ca n/a (libmozjs-52.so.0)
                #4  0x00007fec00ba50bc start_thread (libpthread.so.0)
                #5  0x00007fec008da2ff __clone (libc.so.6)
                
                Stack trace of thread 798:
                #0  0x00007fec00bab07c pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007febf70fdd2d n/a (libmozjs-52.so.0)
                #2  0x00007febf759e72a n/a (libmozjs-52.so.0)
                #3  0x00007febf75677ca n/a (libmozjs-52.so.0)
                #4  0x00007fec00ba50bc start_thread (libpthread.so.0)
                #5  0x00007fec008da2ff __clone (libc.so.6)
                
                Stack trace of thread 796:
                #0  0x00007fec00bab07c pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007febf70fdd2d n/a (libmozjs-52.so.0)
                #2  0x00007febf759e72a n/a (libmozjs-52.so.0)
                #3  0x00007febf75677ca n/a (libmozjs-52.so.0)
                #4  0x00007fec00ba50bc start_thread (libpthread.so.0)
                #5  0x00007fec008da2ff __clone (libc.so.6)
                
                Stack trace of thread 801:
                #0  0x00007fec00bab07c pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007febf70fdd2d n/a (libmozjs-52.so.0)
                #2  0x00007febf759e72a n/a (libmozjs-52.so.0)
                #3  0x00007febf75677ca n/a (libmozjs-52.so.0)
                #4  0x00007fec00ba50bc start_thread (libpthread.so.0)
                #5  0x00007fec008da2ff __clone (libc.so.6)
                
                Stack trace of thread 794:
                #0  0x00007fec00bab07c pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007febf70fdd2d n/a (libmozjs-52.so.0)
                #2  0x00007febf759e72a n/a (libmozjs-52.so.0)
                #3  0x00007febf75677ca n/a (libmozjs-52.so.0)
                #4  0x00007fec00ba50bc start_thread (libpthread.so.0)
                #5  0x00007fec008da2ff __clone (libc.so.6)
                
                Stack trace of thread 799:
                #0  0x00007fec00bab07c pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007febf70fdd2d n/a (libmozjs-52.so.0)
                #2  0x00007febf759e72a n/a (libmozjs-52.so.0)
                #3  0x00007febf75677ca n/a (libmozjs-52.so.0)
                #4  0x00007fec00ba50bc start_thread (libpthread.so.0)
                #5  0x00007fec008da2ff __clone (libc.so.6)
                
                Stack trace of thread 8260:
                #0  0x00007fec008d4f09 syscall (libc.so.6)
                #1  0x00007febffb2552d g_cond_wait_until (libglib-2.0.so.0)
                #2  0x00007febffab0903 n/a (libglib-2.0.so.0)
                #3  0x00007febffb07436 n/a (libglib-2.0.so.0)
                #4  0x00007febffb06a2a n/a (libglib-2.0.so.0)
                #5  0x00007fec00ba50bc start_thread (libpthread.so.0)
                #6  0x00007fec008da2ff __clone (libc.so.6)
                
                Stack trace of thread 8249:
                #0  0x00007fec008d4f09 syscall (libc.so.6)
                #1  0x00007febffb2552d g_cond_wait_until (libglib-2.0.so.0)
                #2  0x00007febffab0903 n/a (libglib-2.0.so.0)
                #3  0x00007febffb07436 n/a (libglib-2.0.so.0)
                #4  0x00007febffb06a2a n/a (libglib-2.0.so.0)
                #5  0x00007fec00ba50bc start_thread (libpthread.so.0)
                #6  0x00007fec008da2ff __clone (libc.so.6)
                
                Stack trace of thread 677:
                #0  0x00007fec008cfcd9 __poll (libc.so.6)
                #1  0x00007febffade523 n/a (libglib-2.0.so.0)
                #2  0x00007febffade63e g_main_context_iteration (libglib-2.0.so.0)
                #3  0x00007febe8576f4e n/a (libdconfsettings.so)
                #4  0x00007febffb06a2a n/a (libglib-2.0.so.0)
                #5  0x00007fec00ba50bc start_thread (libpthread.so.0)
                #6  0x00007fec008da2ff __clone (libc.so.6)
                
                Stack trace of thread 792:
                #0  0x00007fec00bab07c pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007febf70fdd2d n/a (libmozjs-52.so.0)
                #2  0x00007febf759e72a n/a (libmozjs-52.so.0)
                #3  0x00007febf75677ca n/a (libmozjs-52.so.0)
                #4  0x00007fec00ba50bc start_thread (libpthread.so.0)
                #5  0x00007fec008da2ff __clone (libc.so.6)
                
                Stack trace of thread 791:
                #0  0x00007fec00bab07c pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007febf70fdd2d n/a (libmozjs-52.so.0)
                #2  0x00007febf759e72a n/a (libmozjs-52.so.0)
                #3  0x00007febf75677ca n/a (libmozjs-52.so.0)
                #4  0x00007fec00ba50bc start_thread (libpthread.so.0)
                #5  0x00007fec008da2ff __clone (libc.so.6)
                
                Stack trace of thread 793:
                #0  0x00007fec00bab07c pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007febf70fdd2d n/a (libmozjs-52.so.0)
                #2  0x00007febf759e72a n/a (libmozjs-52.so.0)
                #3  0x00007febf75677ca n/a (libmozjs-52.so.0)
                #4  0x00007fec00ba50bc start_thread (libpthread.so.0)
                #5  0x00007fec008da2ff __clone (libc.so.6)
                
                Stack trace of thread 653:
                #0  0x00007fec008cfcd9 __poll (libc.so.6)
                #1  0x00007febffade523 n/a (libglib-2.0.so.0)
                #2  0x00007febffade8e2 g_main_loop_run (libglib-2.0.so.0)
                #3  0x00007fec000cd348 n/a (libgio-2.0.so.0)
                #4  0x00007febffb06a2a n/a (libglib-2.0.so.0)
                #5  0x00007fec00ba50bc start_thread (libpthread.so.0)
                #6  0x00007fec008da2ff __clone (libc.so.6)
                
                Stack trace of thread 8258:
                #0  0x00007fec008d4f09 syscall (libc.so.6)
                #1  0x00007febffb2552d g_cond_wait_until (libglib-2.0.so.0)
                #2  0x00007febffab0903 n/a (libglib-2.0.so.0)
                #3  0x00007febffb07436 n/a (libglib-2.0.so.0)
                #4  0x00007febffb06a2a n/a (libglib-2.0.so.0)
                #5  0x00007fec00ba50bc start_thread (libpthread.so.0)
                #6  0x00007fec008da2ff __clone (libc.so.6)
                
                Stack trace of thread 8259:
                #0  0x00007fec008d4f09 syscall (libc.so.6)
                #1  0x00007febffb2552d g_cond_wait_until (libglib-2.0.so.0)
                #2  0x00007febffab0903 n/a (libglib-2.0.so.0)
                #3  0x00007febffb07436 n/a (libglib-2.0.so.0)
                #4  0x00007febffb06a2a n/a (libglib-2.0.so.0)
                #5  0x00007fec00ba50bc start_thread (libpthread.so.0)
                #6  0x00007fec008da2ff __clone (libc.so.6)
                
                Stack trace of thread 8261:
                #0  0x00007fec008d4f09 syscall (libc.so.6)
                #1  0x00007febffb2552d g_cond_wait_until (libglib-2.0.so.0)
                #2  0x00007febffab0903 n/a (libglib-2.0.so.0)
                #3  0x00007febffb07436 n/a (libglib-2.0.so.0)
                #4  0x00007febffb06a2a n/a (libglib-2.0.so.0)
                #5  0x00007fec00ba50bc start_thread (libpthread.so.0)
                #6  0x00007fec008da2ff __clone (libc.so.6)
Comment 3 pbasista 2018-07-12 13:45:50 UTC
I have been experiencing this kind of issues for several months now. Below is a recent stack trace of a crashed Xwayland v1.19.6 process. I think its crash was caused by an immediately preceding gnome-shell crash, because the crash is simply a SIGABRT on some assertion accompanied by "failed to read Wayland events" message. The error happens around here (adjusted to the current xorg source):
https://cgit.freedesktop.org/xorg/xserver/tree/hw/xwayland/xwayland.c#n810

I do not have a backtrace for the crashed gnome-shell yet, but I will try to post it here when it happens again.

Xwayland backtrace:
  • #0 __GI_raise
    at ../sysdeps/unix/sysv/linux/raise.c line 51
  • #1 __GI_abort
    at abort.c line 79
  • #2 OsAbort
    at ../../../../os/utils.c line 1361
  • #3 AbortServer
    at ../../../../os/log.c line 877
  • #4 FatalError
    at ../../../../os/log.c line 1015
  • #5 xwl_read_events
    at ../../../../../hw/xwayland/xwayland.c line 592
  • #6 ospoll_wait
    at ../../../../os/ospoll.c line 412
  • #7 WaitForSomething
    at ../../../../os/WaitFor.c line 226
  • #8 Dispatch
    at ../../../../dix/dispatch.c line 422
  • #9 dix_main
    at ../../../../dix/main.c line 287
  • #10 __libc_start_main
    at ../csu/libc-start.c line 310
  • #11 _start

Comment 4 pbasista 2018-07-12 21:45:24 UTC
There was another crash, so I have new core dumps for both Xwayland and gnome-shell. I use Intel GPU and the display is configured with "Scale" of 200%.

gnome-shell backtrace:
  • #0 ??
  • #1 intel_update_image_buffers
    at ../../../../../../src/mesa/drivers/dri/i965/brw_context.c line 1751
  • #2 intel_update_renderbuffers
    at ../../../../../../src/mesa/drivers/dri/i965/brw_context.c line 1427
  • #3 intel_prepare_render
    at ../../../../../../src/mesa/drivers/dri/i965/brw_context.c line 1448
  • #4 brw_prepare_drawing
    at ../../../../../../src/mesa/drivers/dri/i965/brw_draw.c line 730
  • #5 brw_draw_prims
    at ../../../../../../src/mesa/drivers/dri/i965/brw_draw.c line 992
  • #6 vbo_validated_drawrangeelements
    at ../../../src/mesa/vbo/vbo_exec_array.c line 843
  • #7 vbo_exec_DrawElements
    at ../../../src/mesa/vbo/vbo_exec_array.c line 1001
  • #8 _cogl_framebuffer_gl_draw_indexed_attributes
  • #9 _cogl_journal_flush_modelview_and_entries
    at cogl-journal.c line 329
  • #10 batch_and_call
    at cogl-journal.c line 252
  • #11 _cogl_journal_flush_texcoord_vbo_offsets_and_entries
    at cogl-journal.c line 565
  • #12 batch_and_call
    at cogl-journal.c line 252
  • #13 _cogl_journal_flush_vbo_offsets_and_entries
    at cogl-journal.c line 673
  • #14 batch_and_call
    at cogl-journal.c line 252
  • #15 _cogl_journal_flush
    at cogl-journal.c line 1400
  • #16 _cogl_framebuffer_flush_journal
    at cogl-framebuffer.c line 636
  • #17 cogl_flush
    at cogl.c line 323
  • #18 _cogl_pipeline_pre_change_notify
    at cogl-pipeline.c line 1309
  • #19 _cogl_pipeline_layer_pre_change_notify
    at cogl-pipeline-layer.c line 369
  • #20 _cogl_pipeline_set_layer_texture_data
    at cogl-pipeline-layer-state.c line 247
  • #21 cogl_pipeline_set_layer_texture
    at cogl-pipeline-layer-state.c line 332
  • #22 _cogl_blit_texture_render_end
    at cogl-blit.c line 143
  • #23 _cogl_atlas_migrate
    at cogl-atlas.c line 141
  • #24 _cogl_atlas_reserve_space
    at cogl-atlas.c line 498
  • #25 allocate_space
    at cogl-atlas-texture.c line 755
  • #26 allocate_with_size
    at cogl-atlas-texture.c line 806
  • #27 _cogl_atlas_texture_allocate
    at cogl-atlas-texture.c line 895
  • #28 cogl_texture_allocate
    at cogl-texture.c line 1109
  • #29 cogl_pango_glyph_cache_add_to_global_atlas
    at cogl-pango-glyph-cache.c line 235
  • #30 cogl_pango_glyph_cache_lookup
    at cogl-pango-glyph-cache.c line 349
  • #31 cogl_pango_renderer_get_cached_glyph
    at cogl-pango-render.c line 561
  • #32 _cogl_pango_ensure_glyph_cache_for_layout_line_internal
    at cogl-pango-render.c line 668
  • #33 cogl_pango_ensure_glyph_cache_for_layout
    at cogl-pango-render.c line 721
  • #34 clutter_text_create_layout
    at clutter-text.c line 987
  • #35 clutter_text_get_preferred_width
    at clutter-text.c line 2695
  • #36 clutter_actor_get_preferred_width
    at clutter-actor.c line 9556
  • #37 st_label_get_preferred_width
    at ../src/st/st-label.c line 137
  • #38 clutter_actor_get_preferred_width
    at clutter-actor.c line 9556
  • #39 get_child_size
    at clutter-box-layout.c line 462
  • #40 get_base_size_for_opposite_orientation
    at clutter-box-layout.c line 541
  • #41 st_widget_get_preferred_width
    at ../src/st/st-widget.c line 386
  • #42 clutter_actor_get_preferred_width
    at clutter-actor.c line 9556
  • #43 get_child_size
    at clutter-box-layout.c line 462
  • #44 get_base_size_for_opposite_orientation
    at clutter-box-layout.c line 541
  • #45 st_widget_get_preferred_width
    at ../src/st/st-widget.c line 386
  • #46 clutter_actor_get_preferred_width
    at clutter-actor.c line 9556
  • #47 clutter_bin_layout_get_preferred_width
    at clutter-bin-layout.c line 312
  • #48 st_widget_get_preferred_width
    at ../src/st/st-widget.c line 386
  • #49 clutter_actor_get_preferred_width
    at clutter-actor.c line 9556
  • #50 clutter_actor_get_preferred_size
    at clutter-actor.c line 9139
  • #51 clutter_fixed_layout_get_preferred_width
    at clutter-fixed-layout.c line 73
  • #52 st_widget_get_preferred_width
    at ../src/st/st-widget.c line 386
  • #53 clutter_actor_get_preferred_width
    at clutter-actor.c line 9556
  • #54 clutter_actor_adjust_allocation
    at clutter-actor.c line 9871
  • #55 clutter_actor_allocate
    at clutter-actor.c line 10041
  • #56 clutter_actor_allocate_align_fill
    at clutter-actor.c line 15706
  • #57 clutter_bin_layout_allocate
    at clutter-bin-layout.c line 518
  • #58 st_widget_allocate
    at ../src/st/st-widget.c line 426
  • #59 clutter_actor_allocate_internal
    at clutter-actor.c line 9972
  • #60 clutter_actor_set_animatable_property
    at clutter-actor.c line 14986
  • #61 _clutter_actor_create_transition
    at clutter-actor.c line 19279
  • #62 clutter_actor_allocate
    at clutter-actor.c line 10109
  • #63 clutter_actor_allocate_preferred_size
    at clutter-actor.c line 15551
  • #64 ffi_call_unix64
    at ../src/x86/unix64.S line 76
  • #65 ffi_call
    at ../src/x86/ffi64.c line 525
  • #66 gjs_invoke_c_function
    at gi/function.cpp line 1088
  • #67 function_call
    at gi/function.cpp line 1406
  • #68 js::CallJSNative
  • #69 js::InternalCallOrConstruct
    at ./js/src/vm/Interpreter.cpp line 447
  • #70 js::CallFromStack
    at ./js/src/vm/Interpreter.cpp line 510
  • #71 Interpret
    at ./js/src/vm/Interpreter.cpp line 2922
  • #72 js::RunScript
    at ./js/src/vm/Interpreter.cpp line 405
  • #73 js::InternalCallOrConstruct
    at ./js/src/vm/Interpreter.cpp line 477
  • #74 InternalCall
    at ./js/src/vm/Interpreter.cpp line 504
  • #75 js::Call
    at ./js/src/vm/Interpreter.cpp line 523
  • #76 JS_CallFunctionValue
    at ./js/src/jsapi.cpp line 2769
  • #77 gjs_call_function_value
    at gjs/jsapi-util.cpp line 634
  • #78 gjs_closure_invoke
    at gi/closure.cpp line 217
  • #79 closure_marshal
    at gi/value.cpp line 272
  • #80 g_closure_invoke
    at ../../../../gobject/gclosure.c line 804
  • #81 signal_emit_unlocked_R
    at ../../../../gobject/gsignal.c line 3635
  • #82 g_signal_emit_valist
    at ../../../../gobject/gsignal.c line 3391
  • #83 g_signal_emit
    at ../../../../gobject/gsignal.c line 3447
  • #84 shell_generic_container_allocate
    at ../src/shell-generic-container.c line 84
  • #85 clutter_actor_allocate_internal
    at clutter-actor.c line 9972
  • #86 clutter_actor_set_animatable_property
    at clutter-actor.c line 14986
  • #87 _clutter_actor_create_transition
    at clutter-actor.c line 19279
  • #88 clutter_actor_allocate
    at clutter-actor.c line 10109
  • #89 clutter_actor_allocate_preferred_size
    at clutter-actor.c line 15551
  • #90 clutter_fixed_layout_allocate
    at clutter-fixed-layout.c line 145
  • #91 clutter_actor_maybe_layout_children
    at clutter-actor.c line 2604
  • #92 clutter_actor_set_allocation
    at clutter-actor.c line 10224
  • #93 clutter_stage_allocate
    at clutter-stage.c line 396
  • #94 clutter_actor_allocate_internal
    at clutter-actor.c line 9972
  • #95 clutter_actor_set_animatable_property
    at clutter-actor.c line 14986
  • #96 _clutter_actor_create_transition
    at clutter-actor.c line 19279
  • #97 clutter_actor_allocate
    at clutter-actor.c line 10109
  • #98 _clutter_stage_maybe_relayout
    at clutter-stage.c line 1092
  • #99 _clutter_stage_do_update
    at clutter-stage.c line 1226
  • #100 master_clock_update_stages
    at clutter-master-clock-default.c line 480
  • #101 clutter_clock_dispatch
    at clutter-master-clock-default.c line 622
  • #102 g_main_dispatch
    at ../../../../glib/gmain.c line 3177
  • #103 g_main_context_dispatch
    at ../../../../glib/gmain.c line 3830
  • #104 g_main_context_iterate
    at ../../../../glib/gmain.c line 3903
  • #105 g_main_loop_run
    at ../../../../glib/gmain.c line 4099
  • #106 meta_run
    at core/main.c line 664
  • #107 main
    at ../src/main.c line 525
  • #0 __GI_raise
    at ../sysdeps/unix/sysv/linux/raise.c line 51
  • #1 __GI_abort
    at abort.c line 79
  • #2 OsAbort
    at ../../../../os/utils.c line 1361
  • #3 AbortServer
    at ../../../../os/log.c line 877
  • #4 FatalError
    at ../../../../os/log.c line 1015
  • #5 xwl_read_events
    at ../../../../../hw/xwayland/xwayland.c line 592
  • #6 ospoll_wait
    at ../../../../os/ospoll.c line 412
  • #7 WaitForSomething
    at ../../../../os/WaitFor.c line 226
  • #8 Dispatch
    at ../../../../dix/dispatch.c line 422
  • #9 dix_main
    at ../../../../dix/main.c line 287
  • #10 __libc_start_main
    at ../csu/libc-start.c line 310
  • #11 _start

Comment 5 pbasista 2018-07-13 06:56:28 UTC
The crashes happen regularly, so this should be given a high priority. It may have something to do with HiDPI configuration, because I have another computer with similar hardware (also Intel graphics, but older) and almost the same OS and other software, but without a HiDPI configuration and I do not experience similar issues there.

Core was generated by `/usr/bin/gnome-shell'.
Program terminated with signal SIGSEGV, Segmentation fault.

backtrace:
  • #0 ??
    from /usr/lib/x86_64-linux-gnu/libgbm.so.1
  • #1 intel_update_image_buffers
    at ../../../../../../src/mesa/drivers/dri/i965/brw_context.c line 1751
  • #2 intel_update_renderbuffers
    at ../../../../../../src/mesa/drivers/dri/i965/brw_context.c line 1427
  • #3 intel_prepare_render
    at ../../../../../../src/mesa/drivers/dri/i965/brw_context.c line 1448
  • #4 brw_prepare_drawing
    at ../../../../../../src/mesa/drivers/dri/i965/brw_draw.c line 730
  • #5 brw_draw_prims
    at ../../../../../../src/mesa/drivers/dri/i965/brw_draw.c line 992
  • #6 vbo_validated_drawrangeelements
    at ../../../src/mesa/vbo/vbo_exec_array.c line 843
  • #7 vbo_exec_DrawElements
    at ../../../src/mesa/vbo/vbo_exec_array.c line 1001
  • #8 _cogl_framebuffer_gl_draw_indexed_attributes
  • #9 _cogl_journal_flush_modelview_and_entries
    at cogl-journal.c line 329
  • #10 batch_and_call
    at cogl-journal.c line 252
  • #11 _cogl_journal_flush_texcoord_vbo_offsets_and_entries
    at cogl-journal.c line 565
  • #12 batch_and_call
    at cogl-journal.c line 252
  • #13 _cogl_journal_flush_vbo_offsets_and_entries
    at cogl-journal.c line 673
  • #14 batch_and_call
    at cogl-journal.c line 252
  • #15 _cogl_journal_flush
    at cogl-journal.c line 1400
  • #16 _cogl_framebuffer_flush_journal
    at cogl-framebuffer.c line 636
  • #17 cogl_flush
    at cogl.c line 323
  • #18 _cogl_pipeline_pre_change_notify
    at cogl-pipeline.c line 1309
  • #19 _cogl_pipeline_layer_pre_change_notify
    at cogl-pipeline-layer.c line 369
  • #20 _cogl_pipeline_set_layer_texture_data
    at cogl-pipeline-layer-state.c line 247
  • #21 cogl_pipeline_set_layer_texture
    at cogl-pipeline-layer-state.c line 332
  • #22 _cogl_blit_texture_render_end
    at cogl-blit.c line 143
  • #23 _cogl_atlas_migrate
    at cogl-atlas.c line 141
  • #24 _cogl_atlas_reserve_space
    at cogl-atlas.c line 498
  • #25 allocate_space
    at cogl-atlas-texture.c line 755
  • #26 allocate_with_size
    at cogl-atlas-texture.c line 806
  • #27 _cogl_atlas_texture_allocate
    at cogl-atlas-texture.c line 895
  • #28 cogl_texture_allocate
    at cogl-texture.c line 1109
  • #29 cogl_pango_glyph_cache_add_to_global_atlas
    at cogl-pango-glyph-cache.c line 235
  • #30 cogl_pango_glyph_cache_lookup
    at cogl-pango-glyph-cache.c line 349
  • #31 cogl_pango_renderer_get_cached_glyph
    at cogl-pango-render.c line 561
  • #32 _cogl_pango_ensure_glyph_cache_for_layout_line_internal
    at cogl-pango-render.c line 668
  • #33 cogl_pango_ensure_glyph_cache_for_layout
    at cogl-pango-render.c line 721
  • #34 clutter_text_create_layout
    at clutter-text.c line 987
  • #35 clutter_text_get_preferred_width
    at clutter-text.c line 2695
  • #36 clutter_actor_get_preferred_width
    at clutter-actor.c line 9556
  • #37 st_label_get_preferred_width
    at ../src/st/st-label.c line 137
  • #38 clutter_actor_get_preferred_width
    at clutter-actor.c line 9556
  • #39 get_child_size
    at clutter-box-layout.c line 462
  • #40 get_base_size_for_opposite_orientation
    at clutter-box-layout.c line 541
  • #41 st_widget_get_preferred_width
    at ../src/st/st-widget.c line 386
  • #42 clutter_actor_get_preferred_width
    at clutter-actor.c line 9556
  • #43 get_child_size
    at clutter-box-layout.c line 462
  • #44 get_base_size_for_opposite_orientation
    at clutter-box-layout.c line 541
  • #45 st_widget_get_preferred_width
    at ../src/st/st-widget.c line 386
  • #46 clutter_actor_get_preferred_width
    at clutter-actor.c line 9556
  • #47 clutter_bin_layout_get_preferred_width
    at clutter-bin-layout.c line 312
  • #48 st_widget_get_preferred_width
    at ../src/st/st-widget.c line 386
  • #49 clutter_actor_get_preferred_width
    at clutter-actor.c line 9556
  • #50 clutter_actor_get_preferred_size
    at clutter-actor.c line 9139
  • #51 clutter_fixed_layout_get_preferred_width
    at clutter-fixed-layout.c line 73
  • #52 st_widget_get_preferred_width
    at ../src/st/st-widget.c line 386
  • #53 clutter_actor_get_preferred_width
    at clutter-actor.c line 9556
  • #54 clutter_actor_adjust_allocation
    at clutter-actor.c line 9871
  • #55 clutter_actor_allocate
    at clutter-actor.c line 10041
  • #56 clutter_actor_allocate_align_fill
    at clutter-actor.c line 15706
  • #57 clutter_bin_layout_allocate
    at clutter-bin-layout.c line 518
  • #58 st_widget_allocate
    at ../src/st/st-widget.c line 426
  • #59 clutter_actor_allocate_internal
    at clutter-actor.c line 9972
  • #60 clutter_actor_set_animatable_property
    at clutter-actor.c line 14986
  • #61 _clutter_actor_create_transition
    at clutter-actor.c line 19279
  • #62 clutter_actor_allocate
    at clutter-actor.c line 10109
  • #63 clutter_actor_allocate_preferred_size
    at clutter-actor.c line 15551
  • #64 ffi_call_unix64
    at ../src/x86/unix64.S line 76
  • #65 ffi_call
    at ../src/x86/ffi64.c line 525
  • #66 gjs_invoke_c_function
    at gi/function.cpp line 1088
  • #67 function_call
    at gi/function.cpp line 1406
  • #68 js::CallJSNative
  • #69 js::InternalCallOrConstruct
    at ./js/src/vm/Interpreter.cpp line 447
  • #70 js::CallFromStack
    at ./js/src/vm/Interpreter.cpp line 510
  • #71 Interpret
    at ./js/src/vm/Interpreter.cpp line 2922
  • #72 js::RunScript
    at ./js/src/vm/Interpreter.cpp line 405
  • #73 js::InternalCallOrConstruct
    at ./js/src/vm/Interpreter.cpp line 477
  • #74 InternalCall
    at ./js/src/vm/Interpreter.cpp line 504
  • #75 js::Call
    at ./js/src/vm/Interpreter.cpp line 523
  • #76 JS_CallFunctionValue
    at ./js/src/jsapi.cpp line 2769
  • #77 gjs_call_function_value
    at gjs/jsapi-util.cpp line 634
  • #78 gjs_closure_invoke
    at gi/closure.cpp line 217
  • #79 closure_marshal
    at gi/value.cpp line 272
  • #80 g_closure_invoke
    at ../../../../gobject/gclosure.c line 804
  • #81 signal_emit_unlocked_R
    at ../../../../gobject/gsignal.c line 3635
  • #82 g_signal_emit_valist
    at ../../../../gobject/gsignal.c line 3391
  • #83 g_signal_emit
    at ../../../../gobject/gsignal.c line 3447
  • #84 shell_generic_container_allocate
    at ../src/shell-generic-container.c line 84
  • #85 clutter_actor_allocate_internal
    at clutter-actor.c line 9972
  • #86 clutter_actor_set_animatable_property
    at clutter-actor.c line 14986
  • #87 _clutter_actor_create_transition
    at clutter-actor.c line 19279
  • #88 clutter_actor_allocate
    at clutter-actor.c line 10109
  • #89 clutter_actor_allocate_preferred_size
    at clutter-actor.c line 15551
  • #90 clutter_fixed_layout_allocate
    at clutter-fixed-layout.c line 145
  • #91 clutter_actor_maybe_layout_children
    at clutter-actor.c line 2604
  • #92 clutter_actor_set_allocation
    at clutter-actor.c line 10224
  • #93 clutter_stage_allocate
    at clutter-stage.c line 396
  • #94 clutter_actor_allocate_internal
    at clutter-actor.c line 9972
  • #95 clutter_actor_set_animatable_property
    at clutter-actor.c line 14986
  • #96 _clutter_actor_create_transition
    at clutter-actor.c line 19279
  • #97 clutter_actor_allocate
    at clutter-actor.c line 10109
  • #98 _clutter_stage_maybe_relayout
    at clutter-stage.c line 1092
  • #99 _clutter_stage_do_update
    at clutter-stage.c line 1226
  • #100 master_clock_update_stages
    at clutter-master-clock-default.c line 480
  • #101 clutter_clock_dispatch
    at clutter-master-clock-default.c line 622
  • #102 g_main_dispatch
    at ../../../../glib/gmain.c line 3177
  • #103 g_main_context_dispatch
    at ../../../../glib/gmain.c line 3830
  • #104 g_main_context_iterate
    at ../../../../glib/gmain.c line 3903
  • #105 g_main_loop_run
    at ../../../../glib/gmain.c line 4099
  • #106 meta_run
    at core/main.c line 664
  • #107 main
    at ../src/main.c line 525

Comment 6 Marco Trevisan (Treviño) 2018-08-03 13:42:31 UTC
Hey,

Do you have an easy reproducer for this?

As I also notice many automatic error reports related to this, but I struggle a bit in understanding some aspects, as memory-wise I don't see anything clearly wrong.

If you can help me in debugging, ping me as Trevinho in gimpnet/freenode.

Cheers
Comment 7 pbasista 2018-08-07 08:07:12 UTC
Hi,

I do not have a reliable way to reproduce this bug, I am sorry. I only have a way which "works for me" around 40%-50% of the time:

1. In Gnome Settings->Power set "Blank screen" setting to the lowest possible value (1 minute). I also leave the Privacy->Screen Lock option disabled, but maybe it can also be enabled and the result would be the same. I am not sure, because I did not try that.
2. Wait until the screen gets blank. Then move the mouse or press some keyboard button. At around 40% to 50% of cases, the entire gnome-shell process crashes and the GDM login screen appears instead of the previously running session.

All the Gnome Shell extensions are disabled and no non-standard applications are running in my session. I was able to reproduce crash with only one desktop application running, namely Firefox Nightly. It may be possible that Firefox actually causes Gnome Shell to crash, but I am not sure and I do not know how to check this.

In the meantime, there was a slight change in behavior, probably caused by some recent Gnome Shell or Xwayland update. The Xwayland process no longer crashes together with Gnome Shell. But Gnome Shell still crashes as before. The backtrace seems to be very similar:

Core was generated by `/usr/bin/gnome-shell'.
Program terminated with signal SIGSEGV, Segmentation fault.
  • #0 image_get_buffers
    at ../../../src/gbm/backends/dri/gbm_dri.c line 132
  • #1 intel_update_image_buffers
    at ../../../../../../src/mesa/drivers/dri/i965/brw_context.c line 1751
  • #2 intel_update_renderbuffers
    at ../../../../../../src/mesa/drivers/dri/i965/brw_context.c line 1427
  • #3 intel_prepare_render
    at ../../../../../../src/mesa/drivers/dri/i965/brw_context.c line 1448
  • #4 brw_prepare_drawing
    at ../../../../../../src/mesa/drivers/dri/i965/brw_draw.c line 730
  • #5 brw_draw_prims
    at ../../../../../../src/mesa/drivers/dri/i965/brw_draw.c line 992
  • #6 vbo_validated_drawrangeelements
    at ../../../src/mesa/vbo/vbo_exec_array.c line 843
  • #7 vbo_exec_DrawElements
    at ../../../src/mesa/vbo/vbo_exec_array.c line 1001
  • #8 _cogl_framebuffer_gl_draw_indexed_attributes
  • #9 _cogl_journal_flush_modelview_and_entries
    at cogl-journal.c line 329
  • #10 batch_and_call
    at cogl-journal.c line 565
  • #11 _cogl_journal_flush_texcoord_vbo_offsets_and_entries
    at cogl-journal.c line 565
  • #12 batch_and_call
    at cogl-journal.c line 673
  • #13 _cogl_journal_flush_vbo_offsets_and_entries
    at cogl-journal.c line 673
  • #14 batch_and_call
    at cogl-journal.c line 252
  • #15 _cogl_journal_flush
    at cogl-journal.c line 1400
  • #16 _cogl_framebuffer_flush_journal
    at cogl-framebuffer.c line 636
  • #17 cogl_flush
    at cogl.c line 323
  • #18 _cogl_pipeline_pre_change_notify
    at cogl-pipeline.c line 1309
  • #19 _cogl_pipeline_layer_pre_change_notify
    at cogl-pipeline-layer.c line 369
  • #20 _cogl_pipeline_set_layer_texture_data
    at cogl-pipeline-layer-state.c line 247
  • #21 cogl_pipeline_set_layer_texture
    at cogl-pipeline-layer-state.c line 332
  • #22 _cogl_blit_texture_render_end
    at cogl-blit.c line 143
  • #23 _cogl_atlas_migrate
    at cogl-atlas.c line 141
  • #24 _cogl_atlas_reserve_space
    at cogl-atlas.c line 498
  • #25 allocate_space
    at cogl-atlas-texture.c line 755
  • #26 allocate_with_size
    at cogl-atlas-texture.c line 806
  • #27 _cogl_atlas_texture_allocate
    at cogl-atlas-texture.c line 895
  • #28 cogl_texture_allocate
    at cogl-texture.c line 1109
  • #29 cogl_pango_glyph_cache_add_to_global_atlas
    at cogl-pango-glyph-cache.c line 235
  • #30 cogl_pango_glyph_cache_lookup
    at cogl-pango-glyph-cache.c line 349
  • #31 cogl_pango_renderer_get_cached_glyph
    at cogl-pango-render.c line 561
  • #32 _cogl_pango_ensure_glyph_cache_for_layout_line_internal
    at cogl-pango-render.c line 668
  • #33 cogl_pango_ensure_glyph_cache_for_layout
    at cogl-pango-render.c line 721
  • #34 clutter_text_create_layout
    at clutter-text.c line 987
  • #35 clutter_text_get_preferred_height
    at clutter-text.c line 2752
  • #36 clutter_actor_get_preferred_height
    at clutter-actor.c line 9699
  • #37 st_label_get_preferred_height
    at ../src/st/st-label.c line 155
  • #38 clutter_actor_get_preferred_height
    at clutter-actor.c line 9699
  • #39 _st_actor_get_preferred_height
    at ../src/st/st-private.c line 98
  • #40 st_bin_get_preferred_height
    at ../src/st/st-bin.c line 171
  • #41 clutter_actor_get_preferred_height
    at clutter-actor.c line 9699
  • #42 get_child_size
    at clutter-box-layout.c line 464
  • #43 get_preferred_size_for_orientation
    at clutter-box-layout.c line 493
  • #44 st_widget_get_preferred_height
    at ../src/st/st-widget.c line 401
  • #45 clutter_actor_get_preferred_height
    at clutter-actor.c line 9699
  • #46 _st_actor_get_preferred_height
    at ../src/st/st-private.c line 98
  • #47 st_bin_get_preferred_height
    at ../src/st/st-bin.c line 171
  • #48 clutter_actor_get_preferred_height
    at clutter-actor.c line 9699
  • #49 shell_stack_get_preferred_height
    at ../src/shell-stack.c line 67
  • #50 clutter_actor_get_preferred_height
    at clutter-actor.c line 9699
  • #51 get_child_size
    at clutter-box-layout.c line 464
  • #52 get_base_size_for_opposite_orientation
    at clutter-box-layout.c line 541
  • #53 st_widget_get_preferred_height
    at ../src/st/st-widget.c line 401
  • #54 clutter_actor_get_preferred_height
    at clutter-actor.c line 9699
  • #55 clutter_bin_layout_get_preferred_height
    at clutter-bin-layout.c line 349
  • #56 st_widget_get_preferred_height
    at ../src/st/st-widget.c line 401
  • #57 clutter_actor_get_preferred_height
    at clutter-actor.c line 9699
  • #58 get_child_size
    at clutter-box-layout.c line 464
  • #59 get_preferred_size_for_orientation
    at clutter-box-layout.c line 493
  • #60 st_widget_get_preferred_height
    at ../src/st/st-widget.c line 401
  • #61 clutter_actor_get_preferred_height
    at clutter-actor.c line 9699
  • #62 clutter_actor_get_preferred_size
    at clutter-actor.c line 9149
  • #63 clutter_fixed_layout_get_preferred_width
    at clutter-fixed-layout.c line 73
  • #64 st_widget_get_preferred_width
    at ../src/st/st-widget.c line 386
  • #65 clutter_actor_get_preferred_width
    at clutter-actor.c line 9556
  • #66 clutter_actor_get_preferred_size
    at clutter-actor.c line 9139
  • #67 clutter_actor_allocate_preferred_size
    at clutter-actor.c line 15541
  • #68 ffi_call_unix64
    at ../src/x86/unix64.S line 76
  • #69 ffi_call
    at ../src/x86/ffi64.c line 525
  • #70 gjs_invoke_c_function
    at gi/function.cpp line 1088
  • #71 function_call
    at gi/function.cpp line 1406
  • #72 js::CallJSNative
  • #73 js::InternalCallOrConstruct
    at ./js/src/vm/Interpreter.cpp line 447
  • #74 js::CallFromStack
    at ./js/src/vm/Interpreter.cpp line 2922
  • #76 js::RunScript
    at ./js/src/vm/Interpreter.cpp line 405
  • #77 js::InternalCallOrConstruct
    at ./js/src/vm/Interpreter.cpp line 477
  • #78 InternalCall
    at ./js/src/vm/Interpreter.cpp line 504
  • #79 js::Call
    at ./js/src/vm/Interpreter.cpp line 523
  • #80 JS_CallFunctionValue
    at ./js/src/dist/include/js/RootingAPI.h line 1004
  • #81 gjs_call_function_value
    at gjs/jsapi-util.cpp line 634
  • #82 gjs_closure_invoke
    at gi/closure.cpp line 217
  • #83 closure_marshal
    at gi/value.cpp line 272
  • #84 g_closure_invoke
    at ../../../../gobject/gclosure.c line 804
  • #85 signal_emit_unlocked_R
    at ../../../../gobject/gsignal.c line 3635
  • #86 g_signal_emit_valist
    at ../../../../gobject/gsignal.c line 3391
  • #87 g_signal_emit
    at ../../../../gobject/gsignal.c line 3447
  • #88 shell_generic_container_allocate
    at ../src/shell-generic-container.c line 84
  • #89 clutter_actor_allocate_internal
    at clutter-actor.c line 9972
  • #90 clutter_actor_set_animatable_property
    at clutter-actor.c line 14986
  • #91 _clutter_actor_create_transition
    at clutter-actor.c line 19279
  • #92 clutter_actor_allocate
    at clutter-actor.c line 10109
  • #93 clutter_actor_allocate_preferred_size
    at clutter-actor.c line 15551
  • #94 clutter_fixed_layout_allocate
    at clutter-fixed-layout.c line 145
  • #95 clutter_actor_maybe_layout_children
    at clutter-actor.c line 2604
  • #96 clutter_actor_set_allocation
    at clutter-actor.c line 10224
  • #97 clutter_stage_allocate
    at clutter-stage.c line 396
  • #98 clutter_actor_allocate_internal
    at clutter-actor.c line 9972
  • #99 clutter_actor_set_animatable_property
    at clutter-actor.c line 14986
  • #100 _clutter_actor_create_transition
    at clutter-actor.c line 19279
  • #101 clutter_actor_allocate
    at clutter-actor.c line 10109
  • #102 _clutter_stage_maybe_relayout
    at clutter-stage.c line 1092
  • #103 _clutter_stage_do_update
    at clutter-stage.c line 1226
  • #104 master_clock_update_stages
    at clutter-master-clock-default.c line 480
  • #105 clutter_clock_dispatch
    at clutter-master-clock-default.c line 622
  • #106 g_main_dispatch
    at ../../../../glib/gmain.c line 3177
  • #107 g_main_context_dispatch
    at ../../../../glib/gmain.c line 3830
  • #108 g_main_context_iterate
    at ../../../../glib/gmain.c line 3903
  • #109 g_main_loop_run
    at ../../../../glib/gmain.c line 4099
  • #110 meta_run
    at core/main.c line 664
  • #111 main
    at ../src/main.c line 525

Comment 8 Jonas Ådahl 2018-08-07 19:10:04 UTC
Has this bug ever been reported on mesa? The crash is inside mesa, which should never happen.
Comment 9 pbasista 2018-08-07 21:00:52 UTC
(In reply to Jonas Ådahl from comment #8)
> Has this bug ever been reported on mesa? The crash is inside mesa, which
> should never happen.

No, to the best of my knowledge, it has not. Thanks for mentioning mesa, I have just created one on freedesktop Bugzilla:

https://bugs.freedesktop.org/show_bug.cgi?id=107520
Comment 10 GNOME Infrastructure Team 2021-07-05 13:53:21 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/mutter/-/issues/

Thank you for your understanding and your help.