Bug 108556

Summary: [xwayland] Crash with computer idle connected to external screen
Product: Wayland Reporter: Claudio Saavedra <csaavedra>
Component: XWaylandAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED DUPLICATE 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 Claudio Saavedra 2018-10-26 07:39:04 UTC
I don't know exactly what happened as this happened when I was gone from the office. The laptop is connected to a external display, idle, and when I come back next day the session was gone. XWayland crashed at some random point in the night.

It is possible that a GNOME notification woke up the display, but I don't know for sure.

There are other similar crashes reported but not exactly the same, you can decide if this is a duplicate or not.

ii  xwayland           2:1.20.1-5 amd64 Xwayland X server
ii  xwayland-dbgsym    2:1.20.1-5 amd64 debug symbols for xwayland


           PID: 17936 (Xwayland)
           UID: 1000 (claudio)
           GID: 1000 (claudio)
        Signal: 6 (ABRT)
     Timestamp: Thu 2018-10-25 19:01:10 EEST (15h 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-27.scope
          Unit: session-27.scope
         Slice: user-1000.slice
       Session: 27
     Owner UID: 1000 (claudio)
       Boot ID: b12903cc16ef496d862aeeb2aea70027
    Machine ID: 60331354e4294207860fddfd176ae49c
      Hostname: patanjali
       Storage: /var/lib/systemd/coredump/core.Xwayland.1000.b12903cc16ef496d862aeeb2aea70027.17936.1540483270000000.lz4
       Message: Process 17936 (Xwayland) of user 1000 dumped core.
                
                Stack trace of thread 17936:
                #0  0x00007f0e2ba99f3b __GI_raise (libc.so.6)
                #1  0x00007f0e2ba9b2f1 __GI_abort (libc.so.6)
                #2  0x0000559b5e1f358a OsAbort (Xwayland)
                #3  0x0000559b5e1f9093 AbortServer (Xwayland)
                #4  0x0000559b5e1f9ef9 FatalError (Xwayland)
                #5  0x0000559b5e1f09a1 OsSigHandler (Xwayland)
                #6  0x00007f0e2bc338e0 __restore_rt (libpthread.so.0)
                #7  0x0000559b5e1587f6 present_wnmd_flip (Xwayland)
                #8  0x0000559b5e09b050 xwl_present_events_notify (Xwayland)
                #9  0x0000559b5e09b1f3 xwl_present_timer_callback (Xwayland)
                #10 0x0000559b5e1ea180 DoTimer (Xwayland)
                #11 0x0000559b5e1ea1f8 DoTimers (Xwayland)
                #12 0x0000559b5e1ea487 check_timers (Xwayland)
                #13 0x0000559b5e1ba7fc Dispatch (Xwayland)
                #14 0x0000559b5e1be9f6 dix_main (Xwayland)
                #15 0x00007f0e2ba86b17 __libc_start_main (libc.so.6)
                #16 0x0000559b5e0901ea _start (Xwayland)
                
                Stack trace of thread 17940:
                #0  0x00007f0e2bc2ee6c futex_wait_cancelable (libpthread.so.0)
                #1  0x00007f0e23ac327b n/a (swrast_dri.so)
                #2  0x00007f0e23ac31d7 n/a (swrast_dri.so)
                #3  0x00007f0e2bc28f2a start_thread (libpthread.so.0)
                #4  0x00007f0e2bb5bedf __clone (libc.so.6)
                
                Stack trace of thread 17939:
                #0  0x00007f0e2bc2ee6c futex_wait_cancelable (libpthread.so.0)
                #1  0x00007f0e23ac327b n/a (swrast_dri.so)
                #2  0x00007f0e23ac31d7 n/a (swrast_dri.so)
                #3  0x00007f0e2bc28f2a start_thread (libpthread.so.0)
                #4  0x00007f0e2bb5bedf __clone (libc.so.6)
                
                Stack trace of thread 17938:
                #0  0x00007f0e2bc2ee6c futex_wait_cancelable (libpthread.so.0)
                #1  0x00007f0e23ac327b n/a (swrast_dri.so)
                #2  0x00007f0e23ac31d7 n/a (swrast_dri.so)
                #3  0x00007f0e2bc28f2a start_thread (libpthread.so.0)
                #4  0x00007f0e2bb5bedf __clone (libc.so.6)
                
                Stack trace of thread 17941:
                #0  0x00007f0e2bc2ee6c futex_wait_cancelable (libpthread.so.0)
                #1  0x00007f0e23ac327b n/a (swrast_dri.so)
                #2  0x00007f0e23ac31d7 n/a (swrast_dri.so)
                #3  0x00007f0e2bc28f2a start_thread (libpthread.so.0)
                #4  0x00007f0e2bb5bedf __clone (libc.so.6)
                
                Stack trace of thread 17937:
                #0  0x00007f0e2bc2ee6c futex_wait_cancelable (libpthread.so.0)
                #1  0x00007f0e29d82d8b n/a (i965_dri.so)
                #2  0x00007f0e29d82ab7 n/a (i965_dri.so)
                #3  0x00007f0e2bc28f2a start_thread (libpthread.so.0)
                #4  0x00007f0e2bb5bedf __clone (libc.so.6)

GNU gdb (Debian 8.1-4+b1) 8.1
Copyright (C) 2018 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-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/bin/Xwayland...Reading symbols from /usr/lib/debug/.build-id/4b/d0101c0a89af2f37ed7cb48b6dc5f8c1347f77.debug...done.
done.
[New LWP 17936]
[New LWP 17940]
[New LWP 17939]
[New LWP 17938]
[New LWP 17941]
[New LWP 17937]

warning: .dynamic section for "/lib/x86_64-linux-gnu/libncurses.so.6" is not at the expected address (wrong library or version mismatch?)
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Unsupported JIT protocol version 555895328 in descriptor (expected 1)
Core was generated by `/usr/bin/Xwayland :0 -rootless -terminate -accessx -core -listen 4 -listen 5 -d'.
Program terminated with signal SIGABRT, Aborted.
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51	../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
[Current thread is 1 (Thread 0x7f0e2a568a80 (LWP 17936))]

Thread 6 (Thread 0x7f0e29535700 (LWP 17937)):
#0  0x00007f0e2bc2ee6c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x559b602fdec0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x559b602fde70, cond=0x559b602fde98) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x559b602fde98, mutex=0x559b602fde70) at pthread_cond_wait.c:655
#3  0x00007f0e29d82d8b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f0e29d82ab7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f0e2bc28f2a in start_thread (arg=0x7f0e29535700) at pthread_create.c:463
#6  0x00007f0e2bb5bedf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f0e1ded8700 (LWP 17941)):
#0  0x00007f0e2bc2ee6c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x559b603b7df8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x559b603b7da8, cond=0x559b603b7dd0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x559b603b7dd0, mutex=0x559b603b7da8) at pthread_cond_wait.c:655
#3  0x00007f0e23ac327b in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#4  0x00007f0e23ac31d7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#5  0x00007f0e2bc28f2a in start_thread (arg=0x7f0e1ded8700) at pthread_create.c:463
#6  0x00007f0e2bb5bedf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f0e1f6db700 (LWP 17938)):
#0  0x00007f0e2bc2ee6c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x559b603b79c0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x559b603b7970, cond=0x559b603b7998) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x559b603b7998, mutex=0x559b603b7970) at pthread_cond_wait.c:655
#3  0x00007f0e23ac327b in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#4  0x00007f0e23ac31d7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#5  0x00007f0e2bc28f2a in start_thread (arg=0x7f0e1f6db700) at pthread_create.c:463
#6  0x00007f0e2bb5bedf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f0e1eeda700 (LWP 17939)):
#0  0x00007f0e2bc2ee6c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x559b603b7b28) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x559b603b7ad8, cond=0x559b603b7b00) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x559b603b7b00, mutex=0x559b603b7ad8) at pthread_cond_wait.c:655
#3  0x00007f0e23ac327b in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#4  0x00007f0e23ac31d7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#5  0x00007f0e2bc28f2a in start_thread (arg=0x7f0e1eeda700) at pthread_create.c:463
#6  0x00007f0e2bb5bedf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f0e1e6d9700 (LWP 17940)):
#0  0x00007f0e2bc2ee6c in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x559b603b7c90) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x559b603b7c40, cond=0x559b603b7c68) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x559b603b7c68, mutex=0x559b603b7c40) at pthread_cond_wait.c:655
#3  0x00007f0e23ac327b in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#4  0x00007f0e23ac31d7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#5  0x00007f0e2bc28f2a in start_thread (arg=0x7f0e1e6d9700) at pthread_create.c:463
#6  0x00007f0e2bb5bedf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f0e2a568a80 (LWP 17936)):
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007f0e2ba9b2f1 in __GI_abort () at abort.c:79
#2  0x0000559b5e1f358a in OsAbort () at ../../../../os/utils.c:1350
#3  0x0000559b5e1f9093 in AbortServer () at ../../../../os/log.c:877
#4  0x0000559b5e1f9ef9 in FatalError (f=f@entry=0x559b5e21d050 "Caught signal %d (%s). Server aborting\n") at ../../../../os/log.c:1015
#5  0x0000559b5e1f09a1 in OsSigHandler (signo=11, sip=<optimized out>, unused=<optimized out>) at ../../../../os/osinit.c:156
#6  <signal handler called>
#7  0x0000559b5e1587f6 in present_wnmd_flip (damage=0x559b60b4b860, sync_flip=1, pixmap=0x559b67614ba0, target_msc=395597, event_id=843762, crtc=0x559b667ef900, window=0x559b60b4b810) at ../../../../present/present_wnmd.c:359
#8  present_wnmd_execute (vblank=0x559b678ab470, ust=550426947204, crtc_msc=395596) at ../../../../present/present_wnmd.c:465
#9  0x0000559b5e159395 in present_wnmd_event_notify (window=<optimized out>, event_id=<optimized out>, ust=<optimized out>, msc=msc@entry=395596) at ../../../../present/present_wnmd.c:218
#10 0x0000559b5e09b050 in xwl_present_events_notify (xwl_present_window=xwl_present_window@entry=0x559b645d40b0) at ../../../../../hw/xwayland/xwayland-present.c:199
#11 0x0000559b5e09b1f3 in xwl_present_timer_callback (timer=<optimized out>, time=<optimized out>, arg=0x559b645d40b0) at ../../../../../hw/xwayland/xwayland-present.c:221
#12 0x0000559b5e1ea180 in DoTimer (timer=0x559b637dce20, now=now@entry=550426947) at ../../../../os/WaitFor.c:276
#13 0x0000559b5e1ea1f8 in DoTimers (now=550426947) at ../../../../os/WaitFor.c:290
#14 0x0000559b5e1ea487 in check_timers () at ../../../../os/WaitFor.c:133
#15 WaitForSomething (are_ready=<optimized out>) at ../../../../os/WaitFor.c:195
#16 0x0000559b5e1ba7fc in Dispatch () at ../../../../include/list.h:220
#17 0x0000559b5e1be9f6 in dix_main (argc=12, argv=0x7ffc23f59b08, envp=<optimized out>) at ../../../../dix/main.c:276
#18 0x00007f0e2ba86b17 in __libc_start_main (main=0x559b5e0901b0 <main>, argc=12, argv=0x7ffc23f59b08, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc23f59af8) at ../csu/libc-start.c:310
#19 0x0000559b5e0901ea in _start ()
Comment 1 Claudio Saavedra 2018-10-26 07:44:30 UTC
(gdb) f 7
#7  0x0000559b5e1587f6 in present_wnmd_flip (damage=0x559b60b4b860, sync_flip=1, pixmap=0x559b67614ba0, target_msc=395597, event_id=843762, crtc=0x559b667ef900, window=0x559b60b4b810) at ../../../../present/present_wnmd.c:359
359	    return (*screen_priv->wnmd_info->flip) (window,
(gdb) print screen
$1 = (ScreenPtr) 0x7f0e2bc1bf80 <main_arena+832>
(gdb) print *screen
$2 = {myNum = 734117744, id = 32526, x = -16528, y = 11201, width = 32526, height = 0, mmWidth = -1808, mmHeight = 26238, numDepths = 21915, rootDepth = 0 '\000', allowedDepths = 0x559b6792eff0, rootVisual = 139698840387472, defColormap = 139698840387472, 
  minInstalledCmaps = -16480, maxInstalledCmaps = 11201, backingStoreSupport = 14 '\016', saveUnderSupport = 127 '\177', whitePixel = 139698840387488, blackPixel = 139698840387504, GCperDepth = {0x7f0e2bc1bfb0 <main_arena+880>, 0x7f0e2bc1bfc0 <main_arena+896>, 
    0x7f0e2bc1bfc0 <main_arena+896>, 0x7f0e2bc1bfd0 <main_arena+912>, 0x7f0e2bc1bfd0 <main_arena+912>, 0x7f0e2bc1bfe0 <main_arena+928>, 0x7f0e2bc1bfe0 <main_arena+928>, 0x7f0e2bc1bff0 <main_arena+944>, 0x7f0e2bc1bff0 <main_arena+944>}, 
  defaultStipple = 0x7f0e2bc1c000 <main_arena+960>, devPrivate = 0x7f0e2bc1c000 <main_arena+960>, numVisuals = -16368, visuals = 0x7f0e2bc1c010 <main_arena+976>, root = 0x7f0e2bc1c020 <main_arena+992>, screensaver = {pWindow = 0x7f0e2bc1c020 <main_arena+992>, 
    wid = 734117936, blanked = 14 '\016', ExternalScreenSaver = 0x7f0e2bc1c030 <main_arena+1008>}, screenSpecificPrivates = {{key = 0x7f0e2bc1c040 <main_arena+1024>, offset = 734117952, created = 32526, allocated = 734117968}, {key = 0x7f0e2bc1c050 <main_arena+1040>, 
      offset = 734117984, created = 32526, allocated = 734117984}, {key = 0x7f0e2bc1c070 <main_arena+1072>, offset = 734118000, created = 32526, allocated = 734118016}, {key = 0x7f0e2bc1c080 <main_arena+1088>, offset = 1719218512, created = 21915, 
      allocated = 1723157104}, {key = 0x7f0e2bc1c0a0 <main_arena+1120>, offset = 734118048, created = 32526, allocated = 734118064}, {key = 0x7f0e2bc1c0b0 <main_arena+1136>, offset = 734118080, created = 32526, allocated = 734118080}, {
      key = 0x7f0e2bc1c0d0 <main_arena+1168>, offset = 734118096, created = 32526, allocated = 734118112}, {key = 0x7f0e2bc1c0e0 <main_arena+1184>, offset = 734118128, created = 32526, allocated = 734118128}, {key = 0x7f0e2bc1c100 <main_arena+1216>, offset = 734118144, 
      created = 32526, allocated = 1737695472}, {key = 0x559b67638d60, offset = 734118176, created = 32526, allocated = 734118176}, {key = 0x7f0e2bc1c130 <main_arena+1264>, offset = 734118192, created = 32526, allocated = 734118208}, {
      key = 0x7f0e2bc1c140 <main_arena+1280>, offset = 734118224, created = 32526, allocated = 734118224}, {key = 0x559b676362e0, offset = 1734566624, created = 21915, allocated = 734118256}, {key = 0x7f0e2bc1c170 <main_arena+1328>, offset = 734118272, created = 32526, 
      allocated = 734118272}, {key = 0x7f0e2bc1c190 <main_arena+1360>, offset = 734118288, created = 32526, allocated = 1737730944}, {key = 0x559b6793c370, offset = 734118320, created = 32526, allocated = 734118320}, {key = 0x7f0e2bc1c1c0 <main_arena+1408>, 
      offset = 734118336, created = 32526, allocated = 734118352}}, CloseScreen = 0x7f0e2bc1c1d0 <main_arena+1424>, QueryBestSize = 0x7f0e2bc1c1e0 <main_arena+1440>, SaveScreen = 0x7f0e2bc1c1e0 <main_arena+1440>, GetImage = 0x7f0e2bc1c1f0 <main_arena+1456>, 
  GetSpans = 0x7f0e2bc1c1f0 <main_arena+1456>, SourceValidate = 0x7f0e2bc1c200 <main_arena+1472>, CreateWindow = 0x7f0e2bc1c200 <main_arena+1472>, DestroyWindow = 0x7f0e2bc1c210 <main_arena+1488>, PositionWindow = 0x7f0e2bc1c210 <main_arena+1488>, 
  ChangeWindowAttributes = 0x7f0e2bc1c220 <main_arena+1504>, RealizeWindow = 0x7f0e2bc1c220 <main_arena+1504>, UnrealizeWindow = 0x7f0e2bc1c230 <main_arena+1520>, ValidateTree = 0x7f0e2bc1c230 <main_arena+1520>, PostValidateTree = 0x7f0e2bc1c240 <main_arena+1536>, 
  WindowExposures = 0x7f0e2bc1c240 <main_arena+1536>, CopyWindow = 0x7f0e2bc1c250 <main_arena+1552>, ClearToBackground = 0x7f0e2bc1c250 <main_arena+1552>, ClipNotify = 0x7f0e2bc1c260 <main_arena+1568>, RestackWindow = 0x7f0e2bc1c260 <main_arena+1568>, 
  PaintWindow = 0x7f0e2bc1c270 <main_arena+1584>, CreatePixmap = 0x7f0e2bc1c270 <main_arena+1584>, DestroyPixmap = 0x7f0e2bc1c280 <main_arena+1600>, RealizeFont = 0x7f0e2bc1c280 <main_arena+1600>, UnrealizeFont = 0x7f0e2bc1c290 <main_arena+1616>, 
  ConstrainCursor = 0x7f0e2bc1c290 <main_arena+1616>, ConstrainCursorHarder = 0x7f0e2bc1c2a0 <main_arena+1632>, CursorLimits = 0x7f0e2bc1c2a0 <main_arena+1632>, DisplayCursor = 0x7f0e2bc1c2b0 <main_arena+1648>, RealizeCursor = 0x7f0e2bc1c2b0 <main_arena+1648>, 
  UnrealizeCursor = 0x7f0e2bc1c2c0 <main_arena+1664>, RecolorCursor = 0x7f0e2bc1c2c0 <main_arena+1664>, SetCursorPosition = 0x7f0e2bc1c2d0 <main_arena+1680>, CursorWarpedTo = 0x7f0e2bc1c2d0 <main_arena+1680>, CursorConfinedTo = 0x7f0e2bc1c2e0 <main_arena+1696>, 
  CreateGC = 0x7f0e2bc1c2e0 <main_arena+1696>, CreateColormap = 0x7f0e2bc1c2f0 <main_arena+1712>, DestroyColormap = 0x7f0e2bc1c2f0 <main_arena+1712>, InstallColormap = 0x559b67930750, UninstallColormap = 0x559b67930750, 
  ListInstalledColormaps = 0x7f0e2bc1c310 <main_arena+1744>, StoreColors = 0x7f0e2bc1c310 <main_arena+1744>, ResolveColor = 0x7f0e2bc1c320 <main_arena+1760>, BitmapToRegion = 0x7f0e2bc1c320 <main_arena+1760>, BlockHandler = 0x7f0e2bc1c330 <main_arena+1776>, 
  WakeupHandler = 0x7f0e2bc1c330 <main_arena+1776>, devPrivates = 0x7f0e2bc1c340 <main_arena+1792>, CreateScreenResources = 0x7f0e2bc1c340 <main_arena+1792>, ModifyPixmapHeader = 0x7f0e2bc1c350 <main_arena+1808>, GetWindowPixmap = 0x7f0e2bc1c350 <main_arena+1808>, 
  SetWindowPixmap = 0x7f0e2bc1c360 <main_arena+1824>, GetScreenPixmap = 0x7f0e2bc1c360 <main_arena+1824>, SetScreenPixmap = 0x7f0e2bc1c370 <main_arena+1840>, NameWindowPixmap = 0x7f0e2bc1c370 <main_arena+1840>, pScratchPixmap = 0x559b678989c0, 
  totalPixmapSize = 1737655504, MarkWindow = 0x7f0e2bc1c390 <main_arena+1872>, MarkOverlappedWindows = 0x7f0e2bc1c390 <main_arena+1872>, ConfigNotify = 0x7f0e2bc1c3a0 <main_arena+1888>, MoveWindow = 0x7f0e2bc1c3a0 <main_arena+1888>, ResizeWindow = 0x559b678888b0, 
  GetLayerWindow = 0x559b678888b0, HandleExposures = 0x559b67935130, ReparentWindow = 0x559b67923310, SetShape = 0x7f0e2bc1c3d0 <main_arena+1936>, ChangeBorderWidth = 0x7f0e2bc1c3d0 <main_arena+1936>, MarkUnrealizedWindow = 0x7f0e2bc1c3e0 <main_arena+1952>, 
  DeviceCursorInitialize = 0x7f0e2bc1c3e0 <main_arena+1952>, DeviceCursorCleanup = 0x7f0e2bc1c3f0 <main_arena+1968>, canDoBGNoneRoot = 734118896, isGPU = 32526, slave_list = {next = 0x7f0e2bc1c400 <main_arena+1984>, prev = 0x7f0e2bc1c400 <main_arena+1984>}, 
  slave_head = {next = 0x7f0e2bc1c410 <main_arena+2000>, prev = 0x7f0e2bc1c410 <main_arena+2000>}, output_slaves = 734118944, current_master = 0x7f0e2bc1c420 <main_arena+2016>, is_output_slave = 1737145696, is_offload_slave = 21915, SharePixmapBacking = 0x559b678abd60, 
  SetSharedPixmapBacking = 0x559b678c7850, StartPixmapTracking = 0x559b678c7850, StopPixmapTracking = 0x559b678f1db0, SyncSharedPixmap = 0x559b678f1db0, SharedPixmapNotifyDamage = 0x7f0e2bc1c460 <main_arena+2080>, 
  RequestSharedPixmapNotifyDamage = 0x7f0e2bc1c460 <main_arena+2080>, PresentSharedPixmap = 0x7f0e2bc1c470 <main_arena+2096>, StopFlippingPixmapTracking = 0x7f0e2bc1c470 <main_arena+2096>, pixmap_dirty_list = {next = 0x7f0e2bc1c480 <main_arena+2112>, 
    prev = 0x7f0e2bc1c480 <main_arena+2112>}, ReplaceScanoutPixmap = 0x4808008001bfc, XYToWindow = 0x1f2df6f00202a101, DPMS = 0x7f0e08000020}
Comment 2 Olivier Fourdan 2018-10-26 09:01:40 UTC
The ScreenPrt is corrupted there, I think it might be fixed with:

https://gitlab.freedesktop.org/xorg/xserver/merge_requests/45

It that looks like a dupe of or at least very similar to bug 108249

Can you try twith "master" ?
Comment 3 Claudio Saavedra 2018-10-26 09:05:41 UTC
I'm a bit wary of running x-related stuff from master but if I can steal some time today I'll build a debian package for myself with that patch. Won't be able to confirm it tho if it doesn't crash when returning from idle, schrödinger's cat bug :)
Comment 4 Claudio Saavedra 2019-01-28 07:42:42 UTC
I have been running a self-compiled package for 1.20.3 with the patches from the merge request 45 for several days and it's the first time in a while that xwayland doesn't crash at all, so I would say this is indeed a dupe. I'll write the debian team to include them in a new package for the time being.
Comment 5 Claudio Saavedra 2019-01-28 07:43:05 UTC

*** This bug has been marked as a duplicate of bug 108249 ***

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.