Xwayland crash in present
I got another one of those :
(gdb) bt
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1 0x00007fe04c97f2f1 in __GI_abort () at abort.c:79
#2 0x0000558fc060192a in OsAbort () at ../../../../os/utils.c:1350
#3 0x0000558fc0607433 in AbortServer () at ../../../../os/log.c:879
#4 0x0000558fc0608299 in FatalError (f=f@entry=0x558fc062c090 "Caught signal %d (%s). Server aborting\n") at ../../../../os/log.c:1017
#5 0x0000558fc05fed41 in OsSigHandler (signo=11, sip=<optimized out>, unused=<optimized out>) at ../../../../os/osinit.c:156
#6 <signal handler called>
#7 0x0000558fc0566a36 in present_wnmd_flip (damage=0x558fc1bcde20, sync_flip=0, pixmap=0x558fc3efa990, target_msc=221934, event_id=63246,
crtc=0x558fc45243e0, window=0x558fc1bcddd0) at ../../../../present/present_wnmd.c:360
#8 present_wnmd_execute (vblank=vblank@entry=0x558fc41e9d30, ust=207517208081, crtc_msc=221934) at ../../../../present/present_wnmd.c:466
#9 0x0000558fc0566c64 in present_wnmd_re_execute (vblank=0x558fc41e9d30) at ../../../../present/present_wnmd.c:80
#10 0x0000558fc0566d00 in present_wnmd_flip_try_ready (window=<optimized out>) at ../../../../present/present_wnmd.c:91
#11 0x0000558fc05676a2 in present_wnmd_flip_notify (crtc_msc=<optimized out>, ust=<optimized out>, vblank=<optimized out>)
at ../../../../present/present_wnmd.c:196
#12 present_wnmd_event_notify (window=<optimized out>, event_id=<optimized out>, ust=<optimized out>, msc=<optimized out>)
at ../../../../present/present_wnmd.c:229
#13 0x0000558fc04a9477 in xwl_present_sync_callback (data=0x3050fd4e11, callback=<optimized out>, time=<optimized out>)
at ../../../../../hw/xwayland/xwayland-present.c:287
#14 0x00007fe04c46cfce in ffi_call_unix64 () from /usr/lib/x86_64-linux-gnu/libffi.so.6
#15 0x00007fe04c46c93f in ffi_call () from /usr/lib/x86_64-linux-gnu/libffi.so.6
#16 0x00007fe04dc7528d in ?? () from /usr/lib/x86_64-linux-gnu/libwayland-client.so.0
#17 0x00007fe04dc71ac9 in ?? () from /usr/lib/x86_64-linux-gnu/libwayland-client.so.0
#18 0x00007fe04dc72f94 in wl_display_dispatch_queue_pending () from /usr/lib/x86_64-linux-gnu/libwayland-client.so.0
#19 0x0000558fc049ed2b in xwl_read_events (xwl_screen=0x558fc0bb08c0) at ../../../../../hw/xwayland/xwayland.c:814
#20 0x0000558fc05ff6f1 in ospoll_wait (ospoll=0x558fc0ba5f90, timeout=<optimized out>) at ../../../../os/ospoll.c:651
#21 0x0000558fc05f8773 in WaitForSomething (are_ready=0) at ../../../../os/WaitFor.c:208
#22 0x0000558fc05c8bbc in Dispatch () at ../../../../include/list.h:220
#23 0x0000558fc05ccdb6 in dix_main (argc=12, argv=0x7ffffbb00688, envp=<optimized out>) at ../../../../dix/main.c:276
#24 0x00007fe04c96ab17 in __libc_start_main (main=0x558fc049e1b0 <main>, argc=12, argv=0x7ffffbb00688, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7ffffbb00678) at ../csu/libc-start.c:310
#25 0x0000558fc049e1ea in _start ()
I thought that got fixed with :
commit 1b0db2c74258d20e3f99bd69c2914fd445abe920
Author: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Date: Mon Aug 27 01:04:45 2018 +0100
present: fix freed pointer access
Apparently not :(