You are not logged in.

#1 2017-01-31 09:55:57

/h0me
Member
Registered: 2017-01-31
Posts: 2

Xwayland and gnome-shell crash after opening new window in chromium

Hi,

since - I guess 3 or 4 weeks - xwayland and the gnome-shell crash if I try to open new windows in chromium. But most of the times they don't crash already at the first new open but rather after a arbitrary number.

Here are some logs and a core dump from journaclctl:

Jan 31 10:32:00 notebook chromium.desktop[2166]: Created new window in existing browser session.
Jan 31 10:32:02 notebook chromium.desktop[2379]: Created new window in existing browser session.
Jan 31 10:32:04 notebook chromium.desktop[2599]: Created new window in existing browser session.
Jan 31 10:32:06 notebook chromium.desktop[2808]: Created new window in existing browser session.
Jan 31 10:32:08 notebook chromium.desktop[3016]: Created new window in existing browser session.
Jan 31 10:32:08 notebook org.gnome.Shell.desktop[1118]: (EE)
Jan 31 10:32:08 notebook org.gnome.Shell.desktop[1118]: (EE) Backtrace:
Jan 31 10:32:08 notebook org.gnome.Shell.desktop[1118]: (EE) 0: /usr/bin/Xwayland (OsLookupColor+0x139) [0x58dfc9]
Jan 31 10:32:08 notebook org.gnome.Shell.desktop[1118]: (EE) 1: /usr/lib/libpthread.so.0 (__restore_rt+0x0) [0x7f7d76d9307f]
Jan 31 10:32:08 notebook org.gnome.Shell.desktop[1118]: (EE) 2: /usr/bin/Xwayland (WriteFdToClient+0x4) [0x58ce34]
Jan 31 10:32:08 notebook org.gnome.Shell.desktop[1118]: (EE) 3: /usr/bin/Xwayland (dri3_send_open_reply+0x6d) [0x4edebd]
Jan 31 10:32:08 notebook org.gnome.Shell.desktop[1118]: (EE) 4: /usr/bin/Xwayland (InitExtensions+0x657) [0x42a2a7]
Jan 31 10:32:08 notebook org.gnome.Shell.desktop[1118]: (EE) 5: /usr/lib/libffi.so.6 (ffi_call_unix64+0x4c) [0x7f7d763a71c8]
Jan 31 10:32:08 notebook org.gnome.Shell.desktop[1118]: (EE) 6: /usr/lib/libffi.so.6 (ffi_call+0x32a) [0x7f7d763a6c2a]
Jan 31 10:32:08 notebook org.gnome.Shell.desktop[1118]: (EE) 7: /usr/lib/libwayland-client.so.0 (wl_log_set_handler_client+0x1c9e) [0x7f7d7871eb9e]
Jan 31 10:32:08 notebook org.gnome.Shell.desktop[1118]: (EE) 8: /usr/lib/libwayland-client.so.0 (_init+0xa98) [0x7f7d7871a6b8]
Jan 31 10:32:08 notebook org.gnome.Shell.desktop[1118]: (EE) 9: /usr/lib/libwayland-client.so.0 (wl_display_dispatch_queue_pending+0x74) [0x7f7d7871af74]
Jan 31 10:32:08 notebook org.gnome.Shell.desktop[1118]: (EE) 10: /usr/bin/Xwayland (_start+0x92b) [0x42473b]
Jan 31 10:32:08 notebook org.gnome.Shell.desktop[1118]: (EE) 11: /usr/bin/Xwayland (OsCleanup+0x641) [0x58ef31]
Jan 31 10:32:08 notebook org.gnome.Shell.desktop[1118]: (EE) 12: /usr/bin/Xwayland (WaitForSomething+0xcc) [0x5877fc]
Jan 31 10:32:08 notebook org.gnome.Shell.desktop[1118]: (EE) 13: /usr/bin/Xwayland (SendErrorToClient+0x13a) [0x5532ea]
Jan 31 10:32:08 notebook org.gnome.Shell.desktop[1118]: (EE) 14: /usr/bin/Xwayland (InitFonts+0x428) [0x5574f8]
Jan 31 10:32:08 notebook org.gnome.Shell.desktop[1118]: (EE) 15: /usr/lib/libc.so.6 (__libc_start_main+0xf1) [0x7f7d76a04291]
Jan 31 10:32:08 notebook org.gnome.Shell.desktop[1118]: (EE) 16: /usr/bin/Xwayland (_start+0x2a) [0x42354a]
Jan 31 10:32:08 notebook org.gnome.Shell.desktop[1118]: (EE) 17: ? (?+0x2a) [0x2a]
Jan 31 10:32:08 notebook org.gnome.Shell.desktop[1118]: (EE)
Jan 31 10:32:08 notebook org.gnome.Shell.desktop[1118]: (EE) Segmentation fault at address 0x2d
Jan 31 10:32:08 notebook org.gnome.Shell.desktop[1118]: (EE)
Jan 31 10:32:08 notebook org.gnome.Shell.desktop[1118]: Fatal server error:
Jan 31 10:32:08 notebook org.gnome.Shell.desktop[1118]: (EE) Caught signal 11 (Segmentation fault). Server aborting
Jan 31 10:32:08 notebook org.gnome.Shell.desktop[1118]: (EE)
Jan 31 10:32:09 notebook pulseaudio[1161]: XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
Jan 31 10:32:09 notebook pulseaudio[1161]:       after 14 requests (6 known processed) with 0 events remaining.
Jan 31 10:32:09 notebook chromium.desktop[1561]: [1728:1728:0131/103209.007957:ERROR:x11_util.cc(87)] X IO error received (X server probably went away)
Jan 31 10:32:09 notebook thunderbird.desktop[1502]: thunderbird: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Jan 31 10:32:09 notebook chromium.desktop[1561]: [1561:1561:0131/103209.009041:ERROR:chrome_browser_main_extra_parts_x11.cc(62)] X IO error received (X server probably went away)
Jan 31 10:32:09 notebook systemd[1072]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
Jan 31 10:32:09 notebook systemd[1072]: pulseaudio.service: Unit entered failed state.
Jan 31 10:32:09 notebook systemd[1072]: pulseaudio.service: Failed with result 'exit-code'.
Jan 31 10:32:09 notebook gnome-settings-[1238]: gnome-settings-daemon: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Jan 31 10:32:09 notebook org.gnome.Shell.desktop[1118]: xcb_connection_has_error() returned true
Jan 31 10:32:09 notebook org.a11y.atspi.Registry[1155]: XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
Jan 31 10:32:09 notebook org.a11y.atspi.Registry[1155]:       after 35 requests (35 known processed) with 0 events remaining.
Jan 31 10:32:09 notebook gnome-shell[1118]: Connection to xwayland lost
Jan 31 10:32:09 notebook kernel: traps: gnome-shell[1118] trap int3 ip:7f3101e86ff1 sp:7ffc6866e4e0 error:0
Jan 31 10:32:09 notebook gnome-session[1089]: gnome-session-binary[1089]: WARNING: Child process 1238 was already dead.
Jan 31 10:32:09 notebook gnome-session-binary[1089]: WARNING: Child process 1238 was already dead.
Jan 31 10:32:09 notebook gnome-session[1089]: gnome-session-binary[1089]: WARNING: App 'gnome-settings-daemon.desktop' exited with code 1
Jan 31 10:32:09 notebook gnome-session-binary[1089]: WARNING: App 'gnome-settings-daemon.desktop' exited with code 1
Jan 31 10:32:09 notebook systemd[1]: Created slice system-systemd\x2dcoredump.slice.

Jan 31 10:32:09 notebook gdm-password][1067]: pam_unix(gdm-password:session): session closed for user h0me
Jan 31 10:32:09 notebook systemd-coredump[3228]: Process 1118 (gnome-shell) of user 1000 dumped core.
                                                 
                                                  Stack trace of thread 1118:
                                                  #0  0x00007f3101e86ff1 n/a (libglib-2.0.so.0)
                                                  #1  0x00007f3101e88047 g_log_default_handler (libglib-2.0.so.0)
                                                  #2  0x00000000004024d8 n/a (gnome-shell)
                                                  #3  0x00007f3101e88354 g_logv (libglib-2.0.so.0)
                                                  #4  0x00007f3101e8855f g_log (libglib-2.0.so.0)
                                                  #5  0x00007f310365e94e n/a (libmutter.so.0)
                                                  #6  0x00007f30fefee7ae _XIOError (libX11.so.6)
                                                  #7  0x00007f30fefec00d _XEventsQueued (libX11.so.6)
                                                  #8  0x00007f30fefddcb7 XPending (libX11.so.6)
                                                  #9  0x00007f30feb15db1 n/a (libgdk-3.so.0)
                                                  #10 0x00007f3101e81179 g_main_context_check (libglib-2.0.so.0)
                                                  #11 0x00007f3101e81724 n/a (libglib-2.0.so.0)
                                                  #12 0x00007f3101e81b12 g_main_loop_run (libglib-2.0.so.0)
                                                  #13 0x00007f31036306bc meta_run (libmutter.so.0)
                                                  #14 0x0000000000402197 main (gnome-shell)
                                                  #15 0x00007f310189c291 __libc_start_main (libc.so.6)
                                                  #16 0x00000000004022ca n/a (gnome-shell)
                                                 
                                                  Stack trace of thread 1119:
                                                  #0  0x00007f310195b48d poll (libc.so.6)
                                                  #1  0x00007f3101e81786 n/a (libglib-2.0.so.0)
                                                  #2  0x00007f3101e8189c g_main_context_iteration (libglib-2.0.so.0)
                                                  #3  0x00007f3101e818e1 n/a (libglib-2.0.so.0)
                                                  #4  0x00007f3101ea90d5 n/a (libglib-2.0.so.0)
                                                  #5  0x00007f3101c21454 start_thread (libpthread.so.0)
                                                  #6  0x00007f31019647df __clone (libc.so.6)
                                                 
                                                  Stack trace of thread 1123:
                                                  #0  0x00007f310195b48d poll (libc.so.6)
                                                  #1  0x00007f3101e81786 n/a (libglib-2.0.so.0)
                                                  #2  0x00007f3101e8189c g_main_context_iteration (libglib-2.0.so.0)
                                                  #3  0x00007f30ec44b4bd n/a (libdconfsettings.so)
                                                  #4  0x00007f3101ea90d5 n/a (libglib-2.0.so.0)
                                                  #5  0x00007f3101c21454 start_thread (libpthread.so.0)
                                                  #6  0x00007f31019647df __clone (libc.so.6)
                                                 
                                                  Stack trace of thread 1165:
                                                  #0  0x00007f3101c2710f pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                  #1  0x00007f30f4d854e0 PR_WaitCondVar (libnspr4.so)
                                                  #2  0x00007f30fd71ac0e n/a (libmozjs-24.so)
                                                  #3  0x00007f30f4d8ad6c n/a (libnspr4.so)
                                                  #4  0x00007f3101c21454 start_thread (libpthread.so.0)
                                                  #5  0x00007f31019647df __clone (libc.so.6)
                                                 
                                                  Stack trace of thread 1166:
                                                  #0  0x00007f3101c2710f pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                  #1  0x00007f30f4d854e0 PR_WaitCondVar (libnspr4.so)
                                                  #2  0x00007f30fd78ebab n/a (libmozjs-24.so)
                                                  #3  0x00007f30f4d8ad6c n/a (libnspr4.so)
                                                  #4  0x00007f3101c21454 start_thread (libpthread.so.0)
                                                  #5  0x00007f31019647df __clone (libc.so.6)
                                                 
                                                  Stack trace of thread 1160:
                                                  #0  0x00007f310195b48d poll (libc.so.6)
                                                  #1  0x00007f30fdcc4ee1 n/a (libpulse.so.0)
                                                  #2  0x00007f30fdcb66f1 pa_mainloop_poll (libpulse.so.0)
                                                  #3  0x00007f30fdcb6d8e pa_mainloop_iterate (libpulse.so.0)
                                                  #4  0x00007f30fdcb6e40 pa_mainloop_run (libpulse.so.0)
                                                  #5  0x00007f30fdcc4e29 n/a (libpulse.so.0)
                                                  #6  0x00007f30f3654fe8 n/a (libpulsecommon-10.0.so)
                                                  #7  0x00007f3101c21454 start_thread (libpthread.so.0)
                                                  #8  0x00007f31019647df __clone (libc.so.6)
                                                 
                                                  Stack trace of thread 2809:
                                                  #0  0x00007f310195ff19 syscall (libc.so.6)
                                                  #1  0x00007f3101ec703a g_cond_wait_until (libglib-2.0.so.0)
                                                  #2  0x00007f3101e55e89 n/a (libglib-2.0.so.0)
                                                  #3  0x00007f3101ea9aa6 n/a (libglib-2.0.so.0)
                                                  #4  0x00007f3101ea90d5 n/a (libglib-2.0.so.0)
                                                  #5  0x00007f3101c21454 start_thread (libpthread.so.0)
                                                  #6  0x00007f31019647df __clone (libc.so.6)
                                                 
                                                  Stack trace of thread 3017:
                                                  #0  0x00007f310195ff19 syscall (libc.so.6)
                                                  #1  0x00007f3101ec703a g_cond_wait_until (libglib-2.0.so.0)
                                                  #2  0x00007f3101e55e89 n/a (libglib-2.0.so.0)
                                                  #3  0x00007f3101ea9aa6 n/a (libglib-2.0.so.0)
                                                  #4  0x00007f3101ea90d5 n/a (libglib-2.0.so.0)
                                                  #5  0x00007f3101c21454 start_thread (libpthread.so.0)
                                                  #6  0x00007f31019647df __clone (libc.so.6)
                                                 
                                                  Stack trace of thread 1120:
                                                  #0  0x00007f310190b29e __strcmp_sse2_unaligned (libc.so.6)
                                                  #1  0x00007f3102453422 n/a (libgio-2.0.so.0)
                                                  #2  0x00007f3102455654 n/a (libgio-2.0.so.0)
                                                  #3  0x00007f3102469586 n/a (libgio-2.0.so.0)
                                                  #4  0x00007f3102426323 n/a (libgio-2.0.so.0)
                                                  #5  0x00007f3102426359 n/a (libgio-2.0.so.0)
                                                  #6  0x00007f3101e8143a g_main_context_dispatch (libglib-2.0.so.0)
                                                  #7  0x00007f3101e817f0 n/a (libglib-2.0.so.0)
                                                  #8  0x00007f3101e81b12 g_main_loop_run (libglib-2.0.so.0)
                                                  #9  0x00007f3102467316 n/a (libgio-2.0.so.0)
                                                  #10 0x00007f3101ea90d5 n/a (libglib-2.0.so.0)
                                                  #11 0x00007f3101c21454 start_thread (libpthread.so.0)
                                                  #12 0x00007f31019647df __clone (libc.so.6)


My system is up-to-date and has the following specs:

Kernel: 4.9.6-1-ARCH
Desktop: GNOME 3.22.2
Device: Laptop Fujitsu E744

00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06) (prog-if 00 [VGA controller])
    Subsystem: Fujitsu Limited. Device 17aa
    Kernel driver in use: i915
    Kernel modules: i915

Any ideas/thoughts?

Thanks in advance!

Offline

#2 2017-02-01 12:34:44

rasertux
Member
From: Florianópolis, Brazil
Registered: 2012-03-03
Posts: 46

Re: Xwayland and gnome-shell crash after opening new window in chromium

I have the exactly same problem.

Offline

#3 2017-02-01 13:03:14

seth
Member
Registered: 2012-09-03
Posts: 51,146

Re: Xwayland and gnome-shell crash after opening new window in chromium

Offline

#4 2017-02-01 18:21:17

maslascher
Member
Registered: 2013-10-15
Posts: 52

Re: Xwayland and gnome-shell crash after opening new window in chromium

It's probably Xwayland problem. The main issue with Gnome is Xorg dependency deep in Mutter compositor and some other stuff so if xwayland fails Gnome on Wayland will fail also. Gnome have no plans to solve this, it requires too much manpower and time. Gnome apps however can and will run without xwayland(probably all of them).

I use chromium with Gnome on Wayland every day, no crash so far.  So I can't confirm that.

Last edited by maslascher (2017-02-01 18:22:33)

Offline

#5 2017-02-01 21:37:14

/h0me
Member
Registered: 2017-01-31
Posts: 2

Re: Xwayland and gnome-shell crash after opening new window in chromium

Thanks for your help and your ideas.

After removing pepper-flash and cleaning ~/.config/chromium my problems seem to be gone so far! :-)

Offline

Board footer

Powered by FluxBB