[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#911146: xwayland spurious crashes



Hi,
On Tue, Oct 16, 2018 at 06:59:35PM +0200, Guido Günther wrote:
> control: -1 tags +patch
> 
> Hi,
> On Tue, Oct 16, 2018 at 01:26:41PM +0200, Guido Günther wrote:
> > Package: xwayland
> > Version: 2:1.20.1-5
> > Severity: normal
> > 
> > Hi,
> > since a couple of days I'm seeing spurious xwayland crashes like
> > 
> > Core was generated by `Xwayland :0 -rootless -terminate -listen 12 -listen 13 -wm 53'.
> > Program terminated with signal SIGABRT, Aborted.
> > #0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
> > #1  0x00007f367b3f32f1 in __GI_abort () at abort.c:79
> > #2  0x00005647cc51258a in OsAbort () at ../../../../os/utils.c:1350
> > #3  0x00005647cc518093 in AbortServer () at ../../../../os/log.c:877
> > #4  0x00005647cc518ef9 in FatalError (f=f@entry=0x5647cc53c050 "Caught signal %d (%s). Server aborting\n") at ../../../../os/log.c:1015
> > #5  0x00005647cc50f9a1 in OsSigHandler (signo=11, sip=<optimized out>, unused=<optimized out>) at ../../../../os/osinit.c:156
> > #6  <signal handler called>
> > #7  0x00005647cc476c3e in present_vblank_notify (vblank=vblank@entry=0x5647cd3455f0, kind=kind@entry=0 '\000', mode=mode@entry=1 '\001', ust=ust@entry=15726925190, crtc_msc=1)
> >     at ../../../../present/present_vblank.c:37
> > #8  0x00005647cc47844c in present_wnmd_flip_notify (crtc_msc=<optimized out>, ust=15726925190, vblank=0x5647cd3455f0) at ../../../../present/present_wnmd.c:194
> > #9  present_wnmd_event_notify (window=<optimized out>, event_id=<optimized out>, ust=15726925190, msc=<optimized out>) at ../../../../present/present_wnmd.c:228
> > #10 0x00005647cc3ba2c7 in xwl_present_sync_callback (data=0x5647cd67f840, callback=<optimized out>, time=<optimized out>) at ../../../../../hw/xwayland/xwayland-present.c:282
> > #11 0x00007f367aee0fce in ffi_call_unix64 () from /usr/lib/x86_64-linux-gnu/libffi.so.6
> > #12 0x00007f367aee093f in ffi_call () from /usr/lib/x86_64-linux-gnu/libffi.so.6
> > #13 0x00007f367c6e928d in wl_closure_invoke (closure=closure@entry=0x5647cd685990, flags=flags@entry=1, target=<optimized out>, target@entry=0x5647cd3456b0, opcode=opcode@entry=0, data=<optimized out>)
> >     at ../src/connection.c:1006
> > #14 0x00007f367c6e5ac9 in dispatch_event (display=display@entry=0x5647cccfc680, queue=<optimized out>) at ../src/wayland-client.c:1427
> > #15 0x00007f367c6e6f94 in dispatch_queue (queue=0x5647cccfc748, display=0x5647cccfc680) at ../src/wayland-client.c:1573
> > #16 wl_display_dispatch_queue_pending (display=0x5647cccfc680, queue=0x5647cccfc748) at ../src/wayland-client.c:1815
> > #17 0x00007f367c6e6fec in wl_display_dispatch_pending (display=<optimized out>) at ../src/wayland-client.c:1878
> > #18 0x00005647cc3afd2b in xwl_read_events (xwl_screen=0x5647cccf88c0) at ../../../../../hw/xwayland/xwayland.c:814
> > #19 0x00005647cc510351 in ospoll_wait (ospoll=0x5647cccedf90, timeout=<optimized out>) at ../../../../os/ospoll.c:651
> > #20 0x00005647cc5093d3 in WaitForSomething (are_ready=0) at ../../../../os/WaitFor.c:208
> > #21 0x00005647cc4d97fc in Dispatch () at ../../../../include/list.h:220
> > #22 0x00005647cc4dd9f6 in dix_main (argc=10, argv=0x7fff86573498, envp=<optimized out>) at ../../../../dix/main.c:276
> > #23 0x00007f367b3deb17 in __libc_start_main (main=0x5647cc3af1b0 <main>, argc=10, argv=0x7fff86573498, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff86573488)
> >     at ../csu/libc-start.c:310
> > 
> > I'm usually running emacs, firefox and pidgin at that time and often it
> > happens when I'm not using these applications at all. The wayland
> > compositor used is rootston contained in
> > https://packages.debian.org/experimental/libwlroots-examples
> 
> This should (according to upstream) the patch to fix it:
> 
>     https://cgit.freedesktop.org/xorg/xserver/commit/present/present_wnmd.c?id=ce271535adb6974e0a43bb64c8ed7a5dcaff67a2
> 
> I don't have the available bandwidth to rebuild xorg here atm though.

Got enough bandwidth to build: no crashes since rebuiding and running 1.20.1-5 with
this patch applied.
Cheers,
 -- Guido


Reply to: