[Bug 279753] x11-wm/plasma6-kwin: crashes Xwayland under Plasma
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Jun 15 07:12:00 BST 2024
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279753
Bug ID: 279753
Summary: x11-wm/plasma6-kwin: crashes Xwayland under Plasma
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: kde at FreeBSD.org
Reporter: jbeich at FreeBSD.org
Assignee: kde at FreeBSD.org
Flags: maintainer-feedback?(kde at FreeBSD.org)
Plasma 5 isn't affected. Tested inside jail nested under a wlroots-based
compositor. Without Plasma "kwin_wayland --xwayland" doesn't seem to start
Xwayland process (unlike plasma5-kwin) but /var/log/messages is silent.
$ su root -c "pkg install plasma6-plasma"
$ dbus-run-session startplasma-wayland
org.kde.startup: not a reply org.freedesktop.locale1 QDBusMessage(type=Error,
service="", error name="org.freedesktop.DBus.Error.Disconnected", error
message="Not connected to D-Bus server", signature="", contents=() )
QIODevice::readLine (QFile, "/home/foo/.config/kdedefaults/package"): device
not open
QPixmap: QGuiApplication must be created before calling defaultDepth().
QPixmap: QGuiApplication must be created before calling defaultDepth().
dbus-daemon[7678]: [session uid=1234 pid=7678] Activating service
name='org.kde.KSplash' requested by ':1.0' (uid=1234 pid=7679
comm="startplasma-wayland")
No backend specified, automatically choosing Wayland because WAYLAND_DISPLAY is
set
kwin_screencast: Failed to connect PipeWire context
Unable to determine system time zone: please check your system configuration.
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) HD Graphics 530 (SKL GT2)
OpenGL version string: 4.6 (Core Profile) Mesa 24.0.9
OpenGL shading language version string: 4.60
Driver: Intel
GPU class: Skylake
OpenGL version: 4.6
GLSL version: 4.60
Mesa version: 24.0.9
Requires strict binding: no
Virtual Machine: no
Timer query support: yes
Initializing
"/usr/local/lib/qt6/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
Initializing
"/usr/local/lib/qt6/plugins/plasma/kcms/systemsettings/kcm_mouse.so"
kcm_mouse: Error on receiving device list from KWin.
Initializing
"/usr/local/lib/qt6/plugins/plasma/kcms/systemsettings/kcm_style.so"
QKqueueFileSystemWatcherEngine::addPaths: open: No such file or directory
QKqueueFileSystemWatcherEngine::addPaths: open: No such file or directory
QKqueueFileSystemWatcherEngine::addPaths: open: No such file or directory
QKqueueFileSystemWatcherEngine::addPaths: open: No such file or directory
QKqueueFileSystemWatcherEngine::addPaths: open: No such file or directory
QKqueueFileSystemWatcherEngine::addPaths: open: No such file or directory
QKqueueFileSystemWatcherEngine::addPaths: open: No such file or directory
QKqueueFileSystemWatcherEngine::addPaths: open: No such file or directory
org.kde.plasma.session: process job "kcminit_startup" finished with exit code
0
dbus-daemon[7678]: [session uid=1234 pid=7678] Successfully activated service
'org.kde.KSplash'
kf.kirigami.platform: Failed to find a Kirigami platform plugin for style ""
QKqueueFileSystemWatcherEngine::addPaths: open: No such file or directory
QKqueueFileSystemWatcherEngine::addPaths: open: No such file or directory
QKqueueFileSystemWatcherEngine::addPaths: open: No such file or directory
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects:
"org.freedesktop.DBus.Error.Disconnected"
"Not connected to D-Bus server"
kf.solid.backends.udisks2: Failed enumerating UDisks2 objects:
"org.freedesktop.DBus.Error.Disconnected"
"Not connected to D-Bus server"
linux_dmabuf_feedback.main_device: Failed to fetch DRM device
linux_dmabuf_feedback.tranche_target_device: Failed to fetch DRM device
linux_dmabuf_feedback.tranche_target_device: Failed to fetch DRM device
(EE) Segmentation fault at address 0x8
(EE)
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE)
$ lldb Xwayland --core Xwayland.1234.core
(lldb) target create "Xwayland" --core "Xwayland.1234.core"
Core file 'Xwayland.1234.core' (x86_64) was loaded.
(lldb) bt
* thread #1, name = 'Xwayland', stop reason = signal SIGABRT
* frame #0: 0x000000083070d37a libsys.so.7`__sys_thr_kill at thr_kill.S:4
frame #1: 0x000000082b71b4b4 libc.so.7`__raise(s=6) at raise.c:48:10
frame #2: 0x000000082b7dcda9 libc.so.7`abort at abort.c:61:8
frame #3: 0x00000000004af3cc Xwayland`OsAbort at utils.c:1283:5
frame #4: 0x00000000004b9436 Xwayland`AbortServer at log.c:892:9
frame #5: 0x00000000004b6e52 Xwayland`FatalError(f="") at log.c:1030:9
frame #6: 0x00000000004aba73 Xwayland`OsSigHandler(signo=11,
sip=0x0000000820719070, unused=0x0000000820718d00) at osinit.c:156:5
frame #7: 0x000000082a2e7990
libthr.so.3`handle_signal(actp=0x0000000820718c80, sig=11,
info=0x0000000820719070, ucp=0x0000000820718d00) at thr_sig.c:298:3
frame #8: 0x000000082a2e6e5a libthr.so.3`thr_sighandler(sig=11,
info=0x0000000820719070, _ucp=0x0000000820718d00) at thr_sig.c:243:2
frame #9: 0x000000082159d2d3
frame #10: 0x00000000002ac50c
Xwayland`xwl_glamor_gbm_init_egl(xwl_screen=0x00001111518ca300) at
xwayland-glamor-gbm.c:1552:27
frame #11: 0x00000000002a80cb
Xwayland`xwl_glamor_init(xwl_screen=0x00001111518ca300) at
xwayland-glamor.c:232:10
frame #12: 0x0000000000297df1
Xwayland`xwl_screen_init(pScreen=0x00001111518cd000, argc=11,
argv=0x00000008207196d8) at xwayland-screen.c:1109:32
frame #13: 0x00000000003423cb
Xwayland`AddScreen(pfnInit=(Xwayland`xwl_screen_init at xwayland-screen.c:856),
argc=11, argv=0x00000008207196d8) at dispatch.c:3993:10
frame #14: 0x0000000000286af8
Xwayland`InitOutput(screen_info=0x000000000053de58, argc=11,
argv=0x00000008207196d8) at xwayland.c:455:9
frame #15: 0x000000000034955f Xwayland`dix_main(argc=11,
argv=0x00000008207196d8, envp=0x0000000820719738) at main.c:193:9
frame #16: 0x00000000002af45a Xwayland`main(argc=11,
argv=0x00000008207196d8, envp=0x0000000820719738) at stubmain.c:34:12
frame #17: 0x000000082b6ed0da libc.so.7`__libc_start1(argc=<unavailable>,
argv=<unavailable>, env=<unavailable>, cleanup=<unavailable>,
mainX=<unavailable>) at libc_start1.c:157:7
frame #18: 0x0000000000285e30 Xwayland`_start at crt1_s.S:83
(lldb) f 10
frame #10: 0x00000000002ac50c
Xwayland`xwl_glamor_gbm_init_egl(xwl_screen=0x00001111518ca300) at
xwayland-glamor-gbm.c:1552:27
1549 const GLubyte *renderer;
1550 const char *gbm_backend_name, *egl_vendor;
1551
-> 1552 if (!xwl_gbm->drm && !xwl_glamor_gbm_init_main_dev(xwl_screen))
1553 return FALSE;
1554
1555 if (!xwl_gbm->fd_render_node && !xwl_gbm->drm_authenticated) {
(lldb) fr var
(xwl_screen *) xwl_screen = 0x00001111518ca300
(xwl_gbm_private *) xwl_gbm = 0x000011115181a0a0
(EGLint) major = 4369
(EGLint) minor = 1368171264
(const GLubyte *) renderer = 0x000011115181a0a0 ""
(const char *) gbm_backend_name = 0x00000000002a9e85 ""
(const char *) egl_vendor = 0x0000000820719410 ""
(lldb) f 16
frame #16: 0x00000000002af45a Xwayland`main(argc=11, argv=0x00000008207196d8,
envp=0x0000000820719738) at stubmain.c:34:12
31 int
32 main(int argc, char *argv[], char *envp[])
33 {
-> 34 return dix_main(argc, argv, envp);
35 }
(lldb) parray `argc` argv
(char **) $5 = 0x00000008207196d8 {
[0] = 0x0000000820719ad0 "/usr/local/bin/Xwayland"
[1] = 0x0000000820719ae8 ":2"
[2] = 0x0000000820719aeb "-auth"
[3] = 0x0000000820719af1 "/var/run/user/1234/xauth_ePggtN"
[4] = 0x0000000820719b11 "-listenfd"
[5] = 0x0000000820719b1b "62"
[6] = 0x0000000820719b1e "-displayfd"
[7] = 0x0000000820719b29 "54"
[8] = 0x0000000820719b2c "-rootless"
[9] = 0x0000000820719b36 "-wm"
[10] = 0x0000000820719b3a "57"
}
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the kde-freebsd
mailing list