Discussion:
Bug#911146: xwayland spurious crashes
Guido Günther
2018-10-16 11:26:41 UTC
Permalink
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=***@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=***@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=***@entry=0x5647cd3455f0, kind=***@entry=0 '\000', mode=***@entry=1 '\001', 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=***@entry=0x5647cd685990, flags=***@entry=1, target=<optimized out>, ***@entry=0x5647cd3456b0, opcode=***@entry=0, data=<optimized out>)
at ../src/connection.c:1006
#14 0x00007f367c6e5ac9 in dispatch_event (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

I'd be thankful for any pointers to track that down.

Cheers,
-- Guido

-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf

Kernel: Linux 4.18.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages xwayland depends on:
ii libaudit1 1:2.8.4-2
ii libbsd0 0.9.1-1
ii libc6 2.27-6
ii libdrm2 2.4.94-1
ii libegl1 1.1.0-1
ii libepoxy0 1.5.2-0.3
ii libgbm1 18.1.7-1
ii libgcrypt20 1.8.3-1
ii libgl1 1.1.0-1
ii libpixman-1-0 0.34.0-2
ii libselinux1 2.8-1+b1
ii libsystemd0 239-10
ii libunwind8 1.2.1-8
ii libwayland-client0 1.16.0-1
ii libxau6 1:1.0.8-1+b2
ii libxdmcp6 1:1.1.2-3
ii libxfont2 1:2.0.3-1
ii libxshmfence1 1.3-1
ii xserver-common 2:1.20.1-5

xwayland recommends no packages.

xwayland suggests no packages.

-- no debconf information
Guido Günther
2018-10-16 16:59:35 UTC
Permalink
control: -1 tags +patch

Hi,
Post by Guido Günther
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.
#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
#5 0x00005647cc50f9a1 in OsSigHandler (signo=11, sip=<optimized out>, unused=<optimized out>) at ../../../../os/osinit.c:156
#6 <signal handler called>
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
at ../src/connection.c:1006
#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.

Cheers,
-- Guido
Guido Günther
2018-10-18 11:52:16 UTC
Permalink
Hi,
Post by Guido Günther
control: -1 tags +patch
Hi,
Post by Guido Günther
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.
#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
#5 0x00005647cc50f9a1 in OsSigHandler (signo=11, sip=<optimized out>, unused=<optimized out>) at ../../../../os/osinit.c:156
#6 <signal handler called>
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
at ../src/connection.c:1006
#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
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
Debian Bug Tracking System
2018-10-25 09:03:10 UTC
Permalink
Your message dated Thu, 25 Oct 2018 09:01:05 +0000
with message-id <E1gFbVp-0003xd-***@fasolo.debian.org>
and subject line Bug#911146: fixed in xorg-server 2:1.20.2-1
has caused the Debian Bug report #911146,
regarding xwayland spurious crashes
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ***@bugs.debian.org
immediately.)
--
911146: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911146
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Loading...