Bug 2088807 - [abrt] xorg-x11-server-Xwayland: PrivsElevated(): Xwayland killed by SIGABRT
Summary: [abrt] xorg-x11-server-Xwayland: PrivsElevated(): Xwayland killed by SIGABRT
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-server-Xwayland
Version: 36
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Olivier Fourdan
QA Contact:
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:5b9f6bb325d8354185ff11a8678...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-20 19:23 UTC by fkwilcz2
Modified: 2022-05-27 01:09 UTC (History)
2 users (show)

Fixed In Version: xorg-x11-server-Xwayland-22.1.2-1.fc36
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-27 01:09:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (119.82 KB, text/plain)
2022-05-20 19:23 UTC, fkwilcz2
no flags Details
File: core_backtrace (41.98 KB, text/plain)
2022-05-20 19:23 UTC, fkwilcz2
no flags Details
File: cpuinfo (2.84 KB, text/plain)
2022-05-20 19:23 UTC, fkwilcz2
no flags Details
File: environ (1.86 KB, text/plain)
2022-05-20 19:23 UTC, fkwilcz2
no flags Details
File: limits (1.29 KB, text/plain)
2022-05-20 19:23 UTC, fkwilcz2
no flags Details
File: maps (3.99 KB, text/plain)
2022-05-20 19:23 UTC, fkwilcz2
no flags Details
File: mountinfo (3.04 KB, text/plain)
2022-05-20 19:23 UTC, fkwilcz2
no flags Details
File: open_fds (3.07 KB, text/plain)
2022-05-20 19:23 UTC, fkwilcz2
no flags Details
File: proc_pid_status (1.39 KB, text/plain)
2022-05-20 19:23 UTC, fkwilcz2
no flags Details
File: var_log_messages (2.49 KB, text/plain)
2022-05-20 19:23 UTC, fkwilcz2
no flags Details

Description fkwilcz2 2022-05-20 19:23:14 UTC
Description of problem:
I ran discord with a command below. And my system froze.
flatpak run com.discordapp.Discord --enable-features=UseOzonePlatform --enable-gpu --ozone-platform=wayland

Version-Release number of selected component:
xorg-x11-server-Xwayland-22.1.1-1.fc36

Additional info:
reporter:       libreport-2.17.1
backtrace_rating: 4
cgroup:         0::/user.slice/user-1001.slice/user/session.slice/plasma-kwin_wayland.service
cmdline:        /usr/bin/Xwayland :1 -auth /run/user/1001/xauth_ieWwdd -listen 52 -listen 53 -displayfd 24 -rootless -wm 47
crash_function: PrivsElevated
dso_list:       /usr/bin/Xwayland xorg-x11-server-Xwayland-22.1.1-1.fc36.x86_64 (Fedora Project) 1652220861
executable:     /usr/bin/Xwayland
journald_cursor: s=5b078f6faeca424f9d97b659f8e6f92d;i=3845;b=2ebedb39c817429eb2b539f06ef2a173;m=2065fac6;t=5df76291db8aa;x=bdab8c5de46a5e7a
kernel:         5.17.8-300.fc36.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1001

Truncated backtrace:
Thread no. 1 (10 frames)
 #10 xwl_screen_destroy_drm_lease_device at ../hw/xwayland/xwayland-drm-lease.c:430
 #11 ffi_call_unix64 at ../src/x86/unix64.S:105
 #12 ffi_call_int at ../src/x86/ffi64.c:672
 #13 wl_closure_invoke at ../src/connection.c:1025
 #14 dispatch_event at ../src/wayland-client.c:1583
 #15 dispatch_queue at ../src/wayland-client.c:1729
 #16 wl_display_dispatch_queue_pending at ../src/wayland-client.c:1971
 #17 wl_display_dispatch_pending at ../src/wayland-client.c:2034
 #18 xwl_read_events at ../hw/xwayland/xwayland-screen.c:482
 #20 ospoll_wait at ../os/ospoll.c:657

Comment 1 fkwilcz2 2022-05-20 19:23:16 UTC
Created attachment 1881636 [details]
File: backtrace

Comment 2 fkwilcz2 2022-05-20 19:23:17 UTC
Created attachment 1881637 [details]
File: core_backtrace

Comment 3 fkwilcz2 2022-05-20 19:23:18 UTC
Created attachment 1881638 [details]
File: cpuinfo

Comment 4 fkwilcz2 2022-05-20 19:23:19 UTC
Created attachment 1881639 [details]
File: environ

Comment 5 fkwilcz2 2022-05-20 19:23:20 UTC
Created attachment 1881640 [details]
File: limits

Comment 6 fkwilcz2 2022-05-20 19:23:21 UTC
Created attachment 1881641 [details]
File: maps

Comment 7 fkwilcz2 2022-05-20 19:23:22 UTC
Created attachment 1881642 [details]
File: mountinfo

Comment 8 fkwilcz2 2022-05-20 19:23:23 UTC
Created attachment 1881643 [details]
File: open_fds

Comment 9 fkwilcz2 2022-05-20 19:23:25 UTC
Created attachment 1881644 [details]
File: proc_pid_status

Comment 10 fkwilcz2 2022-05-20 19:23:26 UTC
Created attachment 1881645 [details]
File: var_log_messages

Comment 11 Olivier Fourdan 2022-05-23 07:01:46 UTC
The backtrace points at DRM lease code, were you using DRM lease (i.e. a virtual reality device) at some point?

This comes to mind:

https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/894

Which would affect DRM lease and KDE plasma.

Comment 12 Olivier Fourdan 2022-05-24 08:28:52 UTC
Can you please try this scratch build:

https://koji.fedoraproject.org/koji/taskinfo?taskID=87434411

You'll need to restart your session after installing.

Comment 13 John Clark 2022-05-25 05:25:44 UTC
Similar problem has been detected:

I plugged in external monitors via a DisplayLink USB C dock. This crash is repeatable.

reporter:       libreport-2.17.1
backtrace_rating: 4
cgroup:         0::/user.slice/user-1000.slice/user/session.slice/plasma-kwin_wayland.service
cmdline:        /usr/bin/Xwayland :1 -auth /run/user/1000/xauth_hXCwiK -listen 55 -listen 56 -displayfd 47 -rootless -wm 50
crash_function: PrivsElevated
dso_list:       /usr/bin/Xwayland xorg-x11-server-Xwayland-22.1.1-1.fc36.x86_64 (Fedora Project) 1650911326
executable:     /usr/bin/Xwayland
journald_cursor: s=5105132aa5e94f589d051fcd33f5d33f;i=918d0;b=050ac6cde5db4ee0aab6cd352e0a3d0a;m=26d8a45;t=5df1c7d4602ff;x=63b4374b1fb0ed8c
kernel:         5.17.6-300.spectre.fc36.x86_64
package:        xorg-x11-server-Xwayland-22.1.1-1.fc36
reason:         Xwayland killed by SIGABRT
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 14 Fedora Update System 2022-05-25 11:56:54 UTC
FEDORA-2022-0ee78d34e9 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-0ee78d34e9

Comment 15 Fedora Update System 2022-05-26 02:32:12 UTC
FEDORA-2022-0ee78d34e9 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-0ee78d34e9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-0ee78d34e9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 16 Fedora Update System 2022-05-27 01:09:53 UTC
FEDORA-2022-0ee78d34e9 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.