[Wayland-bugs] [Bug 106930] xwl_present_flips_stop: Assertion `xwl_window->present_window == window' failed.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Dec 22 21:41:46 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=106930

--- Comment #3 from Lionel Landwerlin <lionel.g.landwerlin at linux.intel.com> ---
(In reply to magiblot from comment #2)
> Bump.
> 
> I managed to get a backtrace with debug symbols. Please notice the signal is
> first raised at #7, and if you ask gdb to continue running then a signal is
> raised again at #0.
> 
> If not the same bug, a very similar one. XWayland almost crashes by just
> looking at it.
> 
> > Thread 1 "Xwayland" received signal SIGABRT, Aborted.
> > 0x00007fe4f8661d7f in raise () from /usr/lib/libc.so.6
> > #0  0x00007fe4f8661d7f in raise () from /usr/lib/libc.so.6
> > #1  0x00007fe4f864c672 in abort () from /usr/lib/libc.so.6
> > #2  0x000055c82a4fd8fa in OsAbort () at ../xserver/os/utils.c:1347
> > #3  0x000055c82a5014b5 in AbortServer () at ../xserver/os/log.c:879
> > #4  FatalError (f=f at entry=0x55c82a638bf8 "Caught signal %d (%s). Server aborting\n") at ../xserver/os/log.c:1017
> > #5  0x000055c82a505a16 in OsSigHandler (signo=<optimized out>, sip=<optimized out>, unused=<optimized out>, signo=<optimized out>, sip=<optimized out>, 
> >     unused=<optimized out>) at ../xserver/os/osinit.c:156
> > #6  <signal handler called>
> > #7  0x00007fe4f8661d7f in raise () from /usr/lib/libc.so.6
> > #8  0x00007fe4f864c672 in abort () from /usr/lib/libc.so.6
> > #9  0x00007fe4f864c548 in __assert_fail_base.cold.0 () from /usr/lib/libc.so.6
> > #10 0x00007fe4f865a396 in __assert_fail () from /usr/lib/libc.so.6
> > #11 0x000055c82a61d56b in xwl_present_flips_stop (window=<optimized out>, window=<optimized out>) at ../xserver/hw/xwayland/xwayland-present.c:551
> > #12 0x000055c82a56b8ce in present_wnmd_flips_stop (window=<optimized out>, window=<optimized out>) at ../xserver/present/present_wnmd.c:159
> > #13 0x000055c82a56bb45 in present_wnmd_check_flip_window (window=0x55c82c92e0e0) at ../xserver/present/present_wnmd.c:332
> > #14 0x000055c82a56e8ef in present_clip_notify (window=0x55c82c92e0e0, dx=0, dy=298) at ../xserver/present/present_screen.c:203
> > #15 0x000055c82a597e68 in compClipNotify (pWin=0x55c82c92e0e0, dx=0, dy=298) at ../xserver/composite/compwindow.c:317
> > #16 0x000055c82a5dd615 in miComputeClips (pParent=pParent at entry=0x55c82c92e0e0, pScreen=pScreen at entry=0x55c82c1442c0, universe=universe at entry=0x7ffd9f1ab760, 
> >     kind=kind at entry=VTOther, exposed=exposed at entry=0x7ffd9f1ab8c0) at ../xserver/mi/mivaltree.c:478
> > #17 0x000055c82a5dd508 in miComputeClips (pParent=pParent at entry=0x55c82c7b3610, pScreen=pScreen at entry=0x55c82c1442c0, universe=universe at entry=0x7ffd9f1ab830, 
> >     kind=kind at entry=VTOther, exposed=exposed at entry=0x7ffd9f1ab8c0) at ../xserver/mi/mivaltree.c:428
> > #18 0x000055c82a5dd508 in miComputeClips (pParent=pParent at entry=0x55c82c7b9b00, pScreen=pScreen at entry=0x55c82c1442c0, universe=universe at entry=0x7ffd9f1ab8e0, 
> >     kind=kind at entry=VTOther, exposed=exposed at entry=0x7ffd9f1ab8c0) at ../xserver/mi/mivaltree.c:428
> > #19 0x000055c82a5ddc6b in miValidateTree (pParent=0x55c82c38fe80, pChild=0x55c82c7b9b00, kind=<optimized out>) at ../xserver/mi/mivaltree.c:681
> > #20 0x000055c82a5d8261 in miResizeWindow (pWin=0x55c82c7b9b00, x=0, y=<optimized out>, w=<optimized out>, h=<optimized out>, pSib=0x0) at ../xserver/mi/miwindow.c:467
> > #21 0x000055c82a597cbd in compResizeWindow (pWin=0x55c82c7b9b00, x=<optimized out>, y=<optimized out>, w=<optimized out>, h=<optimized out>, pSib=<optimized out>)
> >     at ../xserver/composite/compwindow.c:407
> > #22 0x000055c82a59e5f1 in ConfigureWindow (pWin=<optimized out>, mask=<optimized out>, vlist=<optimized out>, client=<optimized out>) at ../xserver/dix/window.c:2406
> > #23 0x000055c82a5cf7e0 in ProcConfigureWindow (client=0x55c82c793a80) at ../xserver/dix/dispatch.c:916
> > #24 0x000055c82a5cdf20 in Dispatch () at ../xserver/dix/dispatch.c:478
> > #25 0x000055c82a4c715d in dix_main (envp=<optimized out>, argv=0x7ffd9f1abe58, argc=6) at ../xserver/dix/main.c:274
> > #26 main (argc=6, argv=0x7ffd9f1abe58, envp=<optimized out>) at ../xserver/dix/stubmain.c:34
> 
> Cheers.

Could it be fixed by :
https://gitlab.freedesktop.org/ajax/xserver/commit/ce271535adb6974e0a43bb64c8ed7a5dcaff67a2
(available in 1.20.3) ?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20181222/9b2204d2/attachment.html>


More information about the wayland-bugs mailing list