Discussion:
Bug#881891: xwayland: FatalError() when new monitor is added (not always reproced)
Dongliang Mu
2017-11-16 04:24:12 UTC
Permalink
Package: xwayland
Version: 2:1.19.5-1
Severity: important
Tags: upstream

Dear maintainers and developers,

My laptop OS is Debian Buster. The xwayland crashed when one new monitor was
added. This cannot be always triggered when the new monitor is added. After I
install the debugging symbols of xwayland, the crash is from one FatalError.
Attach stack trace:

***@debian:~/CoreDump$ gdb /usr/bin/Xwayland core.0
GNU gdb (Debian 7.12-6+b1) 7.12.0.20161007-git
Copyright (C) 2016 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/d9/b82a9beaac3da55807c1a81c5a73f7afdcbe1a.debug...done.
done.
[New LWP 2172]
[New LWP 2173]
[New LWP 2174]
[New LWP 2175]
[New LWP 2176]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/Xwayland :0 -rootless -terminate -core -listen
4 -listen 5 -displayfd'.
Program terminated with signal SIGABRT, Aborted.
#0 __GI_raise (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 0x7f197b7a0a40 (LWP 2172))]
(gdb) info stack
#0 __GI_raise (sig=***@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1 0x00007f19786a442a in __GI_abort () at abort.c:89
#2 0x000055c7d23858ba in OsAbort () at ../../../../os/utils.c:1361
#3 0x000055c7d238b3d3 in AbortServer () at ../../../../os/log.c:877
#4 0x000055c7d238c1f5 in FatalError (
f=***@entry=0x55c7d2393e20 "failed to read Wayland events: %s\n")
at ../../../../os/log.c:1015
#5 0x000055c7d221384f in xwl_read_events (xwl_screen=0x55c7d4430340)
at ../../../../../hw/xwayland/xwayland.c:592
#6 0x000055c7d2383371 in ospoll_wait (ospoll=0x55c7d4425660,
timeout=<optimized out>) at ../../../../os/ospoll.c:412
#7 0x000055c7d237c35b in WaitForSomething (are_ready=<optimized out>)
at ../../../../os/WaitFor.c:226
#8 0x000055c7d2348193 in Dispatch () at ../../../../dix/dispatch.c:422
#9 0x000055c7d234c410 in dix_main (argc=11, argv=0x7fffbcb77c68,
envp=<optimized out>) at ../../../../dix/main.c:287
#10 0x00007f19786902e1 in __libc_start_main (main=0x55c7d2212e60 <main>,
argc=11, argv=0x7fffbcb77c68, init=<optimized out>,
fini=<optimized out>, rtld_fini=<optimized out>,
stack_end=0x7fffbcb77c58) at ../csu/libc-start.c:291
#11 0x000055c7d2212e9a in _start ()



-- System Information:
Debian Release: buster/sid
APT prefers testing-debug
APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages xwayland depends on:
ii libaudit1 1:2.8.1-2
ii libbsd0 0.8.6-3
ii libc6 2.24-17
ii libdrm2 2.4.85-1
ii libegl1 1.0.0-1
ii libepoxy0 1.3.1-3
ii libgbm1 17.2.4-1+b1
ii libgcrypt20 1.7.9-2
ii libgl1 1.0.0-1
ii libpixman-1-0 0.34.0-1
ii libselinux1 2.7-2
ii libsystemd0 235-2
ii libwayland-client0 1.14.0-1
ii libxau6 1:1.0.8-1+b2
ii libxdmcp6 1:1.1.2-3
ii libxfont2 1:2.0.1-4
ii libxshmfence1 1.2-1+b2
ii xserver-common 2:1.19.5-1

xwayland recommends no packages.

xwayland suggests no packages.

-- no debconf information
Lionel Landwerlin
2018-10-17 22:21:38 UTC
Permalink
This commit might fix this :

https://gitlab.freedesktop.org/xorg/xserver/commit/8dd7173eeba08f1ecfb414915625c609ad4b3297

Available in 1.20.2.
Debian Bug Tracking System
2018-10-25 09:03:07 UTC
Permalink
Your message dated Thu, 25 Oct 2018 09:01:05 +0000
with message-id <E1gFbVp-0003xX-***@fasolo.debian.org>
and subject line Bug#881891: fixed in xorg-server 2:1.20.2-1
has caused the Debian Bug report #881891,
regarding xwayland: FatalError() when new monitor is added (not always reproced)
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.)
--
881891: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=881891
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Loading...