Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jun 2024 06:12:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 279753] x11-wm/plasma6-kwin: crashes Xwayland under Plasma
Message-ID:  <bug-279753-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279753

            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@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
          Assignee: kde@FreeBSD.org
             Flags: maintainer-feedback?(kde@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=3DEr=
ror,
service=3D"", error name=3D"org.freedesktop.DBus.Error.Disconnected", error
message=3D"Not connected to D-Bus server", signature=3D"", contents=3D() )
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=3D1234 pid=3D7678] Activating service
name=3D'org.kde.KSplash' requested by ':1.0' (uid=3D1234 pid=3D7679
comm=3D"startplasma-wayland")
No backend specified, automatically choosing Wayland because WAYLAND_DISPLA=
Y is
set
kwin_screencast: Failed to connect PipeWire context
Unable to determine system time zone: please check your system configuratio=
n.
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=20
"/usr/local/lib/qt6/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
Initializing=20
"/usr/local/lib/qt6/plugins/plasma/kcms/systemsettings/kcm_mouse.so"
kcm_mouse: Error on receiving device list from KWin.
Initializing=20
"/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 c=
ode=20
0
dbus-daemon[7678]: [session uid=3D1234 pid=3D7678] Successfully activated s=
ervice
'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 =3D 'Xwayland', stop reason =3D signal SIGABRT
  * frame #0: 0x000000083070d37a libsys.so.7`__sys_thr_kill at thr_kill.S:4
    frame #1: 0x000000082b71b4b4 libc.so.7`__raise(s=3D6) 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=3D"") at log.c:1030:9
    frame #6: 0x00000000004aba73 Xwayland`OsSigHandler(signo=3D11,
sip=3D0x0000000820719070, unused=3D0x0000000820718d00) at osinit.c:156:5
    frame #7: 0x000000082a2e7990
libthr.so.3`handle_signal(actp=3D0x0000000820718c80, sig=3D11,
info=3D0x0000000820719070, ucp=3D0x0000000820718d00) at thr_sig.c:298:3
    frame #8: 0x000000082a2e6e5a libthr.so.3`thr_sighandler(sig=3D11,
info=3D0x0000000820719070, _ucp=3D0x0000000820718d00) at thr_sig.c:243:2
    frame #9: 0x000000082159d2d3
    frame #10: 0x00000000002ac50c
Xwayland`xwl_glamor_gbm_init_egl(xwl_screen=3D0x00001111518ca300) at
xwayland-glamor-gbm.c:1552:27
    frame #11: 0x00000000002a80cb
Xwayland`xwl_glamor_init(xwl_screen=3D0x00001111518ca300) at
xwayland-glamor.c:232:10
    frame #12: 0x0000000000297df1
Xwayland`xwl_screen_init(pScreen=3D0x00001111518cd000, argc=3D11,
argv=3D0x00000008207196d8) at xwayland-screen.c:1109:32
    frame #13: 0x00000000003423cb
Xwayland`AddScreen(pfnInit=3D(Xwayland`xwl_screen_init at xwayland-screen.c=
:856),
argc=3D11, argv=3D0x00000008207196d8) at dispatch.c:3993:10
    frame #14: 0x0000000000286af8
Xwayland`InitOutput(screen_info=3D0x000000000053de58, argc=3D11,
argv=3D0x00000008207196d8) at xwayland.c:455:9
    frame #15: 0x000000000034955f Xwayland`dix_main(argc=3D11,
argv=3D0x00000008207196d8, envp=3D0x0000000820719738) at main.c:193:9
    frame #16: 0x00000000002af45a Xwayland`main(argc=3D11,
argv=3D0x00000008207196d8, envp=3D0x0000000820719738) at stubmain.c:34:12
    frame #17: 0x000000082b6ed0da libc.so.7`__libc_start1(argc=3D<unavailab=
le>,
argv=3D<unavailable>, env=3D<unavailable>, cleanup=3D<unavailable>,
mainX=3D<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=3D0x00001111518ca300) 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 =3D 0x00001111518ca300
(xwl_gbm_private *) xwl_gbm =3D 0x000011115181a0a0
(EGLint) major =3D 4369
(EGLint) minor =3D 1368171264
(const GLubyte *) renderer =3D 0x000011115181a0a0 ""
(const char *) gbm_backend_name =3D 0x00000000002a9e85 ""
(const char *) egl_vendor =3D 0x0000000820719410 ""

(lldb) f 16
frame #16: 0x00000000002af45a Xwayland`main(argc=3D11, argv=3D0x00000008207=
196d8,
envp=3D0x0000000820719738) 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 =3D 0x00000008207196d8 {
  [0] =3D 0x0000000820719ad0 "/usr/local/bin/Xwayland"
  [1] =3D 0x0000000820719ae8 ":2"
  [2] =3D 0x0000000820719aeb "-auth"
  [3] =3D 0x0000000820719af1 "/var/run/user/1234/xauth_ePggtN"
  [4] =3D 0x0000000820719b11 "-listenfd"
  [5] =3D 0x0000000820719b1b "62"
  [6] =3D 0x0000000820719b1e "-displayfd"
  [7] =3D 0x0000000820719b29 "54"
  [8] =3D 0x0000000820719b2c "-rootless"
  [9] =3D 0x0000000820719b36 "-wm"
  [10] =3D 0x0000000820719b3a "57"
}

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-279753-7788>