https://bugs.kde.org/show_bug.cgi?id=522195

            Bug ID: 522195
           Summary: kded6 crashes at normal user logout
    Classification: Frameworks and Libraries
           Product: frameworks-kded
      Version First 6.27.0
       Reported In:
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

2026-06-25c
Kded6 crashed during the normal user logout sequence at that time.
In other words, there was no X11 display 0 available at the time when the
application crashed.

Did Kded6 attempt to display some information via a Gui window?
Or did it attempt to obtain user input via a user-prompt Gui window?

My impression is that Kded6 doesn't support here the situation where there
is no X11 display 0 available when Kded6 attempts to interact with a human
user.
However, the normal user logout sequence should not require writing a SIGABRT
corefile. It shouldn't write any coredump file at all.

What did Kded6 attempt to accomplish and complete during this normal user
logout sequence?

openSUSE Tumbleweed 20260622
KDE Plasma Version: 6.7.0
KDE Frameworks Version: 6.27.0
Qt Version: 6.11.1
Kernel Version: 7.0.12-1-default (64-bit)
Graphics Platform: X11
Processors: 22 × Intel® Core™ Ultra 7 155H
Memory: 128 GiB of RAM (125.1 GiB usable)
Graphics Processor: Intel® Arc
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: NUC14RVH-B

kf6-kded v6.27.0-1.1

Before this problem:
Installed current software updates with zypper dup
Rebooted the computer into the Kde Plasma desktop.
Worked on the computer as usual.

Reproduce the problem with:
Zypper software distribution upgrade to this Opensuse.
Log out of the computer.

Other information:
The computer has SELinux active, with "SELINUX=permissive".

Like
chris@suse8:~/tmp
$> coredumpctl --reverse
    TIME                           PID  UID  GID SIG     COREFILE EXE          
                           SIZE
    Tue 2026-06-23 22:07:56 CEST 16708 1000 1000 SIGABRT present 
/usr/bin/kded6                         503.2K

### Journal log kded6 SIGABRT messages (no X11 display 0 available)

    23/06/2026 22:07    kded6   Authorization required, but no authorization
protocol specified
    23/06/2026 22:07    kded6   Authorization required, but no authorization
protocol specified
    23/06/2026 22:07    kded6   could not connect to display :0
    23/06/2026 22:07    kded6   From 6.5.0, xcb-cursor0 or libxcb-cursor0 is
needed to load the Qt xcb platform plugin.
    23/06/2026 22:07    kded6   Could not load the Qt platform plugin "xcb" in
"" even though it was found.
    23/06/2026 22:07    kded6   This application failed to start because no Qt
platform plugin could be initialized. Reinstalling the application may fix this
problem. Available platform plugins are: eglfs, linuxfb, minimal, minimalegl,
offscreen, vkkhrdisplay, vnc, wayland-brcm, wayland-egl, wayland, xcb.

### Kded6 PID 16708 (stack trace of process 16708 aka gdb tread 1)

chris@suse8:~/tmp
$> coredumpctl gdb 16708
           PID: 16708 (kded6)
           UID: 1000 (chris)
           GID: 1000 (chris)
        Signal: 6 (ABRT)
     Timestamp: Tue 2026-06-23 22:07:56 CEST (2 days ago)
  Command Line: /usr/bin/kded6
    Executable: /usr/bin/kded6
 Control Group:
/user.slice/user-1000.slice/[email protected]/app.slice/app-dbus\x2d:1.2\x2dorg.kde.kded6.slice/dbus-:[email protected]
          Unit: [email protected]
     User Unit: dbus-:[email protected]
         Slice: user-1000.slice
     Owner UID: 1000 (chris)
       Boot ID: badbf5af4b574a46afcb34b9baac5b69
    Machine ID: 94748eecccdc4f4c81116037d6f099ea
      Hostname: suse8
       Storage:
/var/lib/systemd/coredump/core.kded6.1000.badbf5af4b574a46afcb34b9baac5b69.16708.1782245276000000.zst
(present)
  Size on Disk: 503.2K
       Message: Process 16708 (kded6) of user 1000 dumped core.

                Stack trace of thread 16708:
                #0  0x00007f6acda9d87c __pthread_kill_implementation (libc.so.6
+ 0x9d87c)
                #1  0x00007f6acda424c6 __GI_raise (libc.so.6 + 0x424c6)
                #2  0x00007f6acda293a0 __GI_abort (libc.so.6 + 0x293a0)
                #3  0x00007f6ace2fd17f _Z6qAbortv (libQt6Core.so.6 + 0xfd17f)
                #4  0x00007f6ace2fecc3 _ZNK14QMessageLogger5fatalEPKcz
(libQt6Core.so.6 + 0xfecc3)
                #5  0x00007f6aceb81384 init_platform (libQt6Gui.so.6 +
0x181384)
                #6  0x00007f6acec31fc8
_ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt6Gui.so.6 +
0x231fc8)
                #7  0x00007f6ace3e1e8d _ZN23QCoreApplicationPrivate4initEv
(libQt6Core.so.6 + 0x1e1e8d)
                #8  0x00007f6acec320d2 _ZN22QGuiApplicationPrivate4initEv
(libQt6Gui.so.6 + 0x2320d2)
                #9  0x00007f6acf7e3c8d _ZN19QApplicationPrivate4initEv
(libQt6Widgets.so.6 + 0x1e3c8d)
                #10 0x000055f2e8c035f1 main (kded6 + 0x75f1)
                #11 0x00007f6acda2b33e __libc_start_call_main (libc.so.6 +
0x2b33e)
                #12 0x00007f6acda2b46b __libc_start_main_impl (libc.so.6 +
0x2b46b)
                #13 0x000055f2e8c03f35 _start (kded6 + 0x7f35)
                ELF object binary architecture: AMD x86-64

GNU gdb (GDB; openSUSE Tumbleweed) 16.3
This GDB was configured as "x86_64-suse-linux".

Reading symbols from /usr/bin/kded6...
Reading symbols from /usr/lib/debug/usr/bin/kded6.debug...
[New LWP 16708]
Downloading separate debug info for /lib64/libstdc++.so.6
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/bin/kded6'.
Program terminated with signal SIGABRT, Aborted.

#0  __pthread_kill_implementation (threadid=<optimized out>,
signo=signo@entry=6, no_tid=no_tid@entry=0)
    at pthread_kill.c:44
44            return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO
(ret) : 0;

(gdb) info threads
  Id   Target Id                         Frame
* 1    Thread 0x7f6acdc0a180 (LWP 16708) __pthread_kill_implementation
(threadid=<optimized out>,
    signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44

(gdb) bt
#0  __pthread_kill_implementation (threadid=<optimized out>,
signo=signo@entry=6, no_tid=no_tid@entry=0)
    at pthread_kill.c:44
#1  0x00007f6acda9d973 in __pthread_kill_internal (threadid=<optimized out>,
signo=6) at pthread_kill.c:89
#2  0x00007f6acda424c6 in __GI_raise (sig=sig@entry=6) at
../sysdeps/posix/raise.c:26
#3  0x00007f6acda293a0 in __GI_abort () at abort.c:77
#4  0x00007f6ace2fd17f in qAbort ()
    at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/corelib/global/qassert.cpp:47
#5  qt_maybe_message_fatal<QString&> (msgType=QtFatalMsg, context=...,
message=...)
    at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/corelib/global/qlogging.cpp:2170
#6  qt_message(QtMsgType, const QMessageLogContext &, const char *, typedef
__va_list_tag __va_list_tag *) (
    msgType=msgType@entry=QtFatalMsg, context=..., msg=msg@entry=0x7f6acf219e9e
"%s",
    ap=ap@entry=0x7ffd3c09a518)
    at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/corelib/global/qlogging.cpp:413
#7  0x00007f6ace2fecc3 in QMessageLogger::fatal
(this=this@entry=0x7ffd3c09aa50,
    msg=msg@entry=0x7f6acf219e9e "%s")
    at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/corelib/global/qlogging.cpp:902
#8  0x00007f6aceb81384 in init_platform (pluginNamesWithArguments=...,
platformPluginPath=...,
    platformThemeName=..., argc=@0x7ffd3c09ae2c: 1, argv=<optimized out>)
    at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/gui/kernel/qguiapplication.cpp:1368
#9  QGuiApplicationPrivate::createPlatformIntegration (this=0x55f328532340)
    at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/gui/kernel/qguiapplication.cpp:1616
#10 0x00007f6acec31fc8 in QGuiApplicationPrivate::createEventDispatcher
(this=<optimized out>)
    at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/gui/kernel/qguiapplication.cpp:1634
#11 0x00007f6ace3e1e8d in QCoreApplicationPrivate::init
(this=this@entry=0x55f328532340)
    at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/corelib/kernel/qcoreapplication.cpp:870
#12 0x00007f6acec320d2 in QGuiApplicationPrivate::init
(this=this@entry=0x55f328532340)
    at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/gui/kernel/qguiapplication.cpp:1667
#13 0x00007f6acf7e3c8d in QApplicationPrivate::init (this=0x55f328532340)
    at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/widgets/kernel/qapplication.cpp:473
#14 0x00007f6acf7e3d9c in QApplication::QApplication (this=<optimized out>,
argc=<optimized out>,
    argv=<optimized out>, this=<optimized out>, argc=<optimized out>,
argv=<optimized out>)
    at
/usr/src/debug/qtbase-everywhere-src-6.11.1/src/widgets/kernel/qapplication.cpp:461
#15 0x000055f2e8c035f1 in main (argc=<optimized out>, argv=<optimized out>)
    at /usr/src/debug/kded-6.27.0/src/kded.cpp:527
(gdb) q

Bye

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to