Bug 463656 - kioslave crashes on first login after boot
Summary: kioslave crashes on first login after boot
Status: REPORTED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 5.101.0
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-31 09:10 UTC by Ralf Jung
Modified: 2023-01-02 10:57 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Jung 2022-12-31 09:10:24 UTC
SUMMARY

The first time I log in to a KDE session after boot, it takes a super long time to load (showing the loading screen with the spinning gear), and then greets me with a fully black screen and a crash dialog showing that kioslave crashed. After around 10 more seconds then Plasma begins to show.

The KDE crash dialog is unable to produce any information about this crash; here is what cordumpctl shows:

           PID: 2548 (kioslave5)
           UID: 1000 (r)
           GID: 1000 (r)
        Signal: 11 (SEGV)
     Timestamp: Sat 2022-12-31 10:02:24 CET (2min 55s ago)
  Command Line: /lib/x86_64-linux-gnu/libexec/kf5/kioslave5 /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/desktop.so desktop "" local:/run/user/1000/plasmashellTIevMY.1.slave-socket
    Executable: /usr/lib/x86_64-linux-gnu/libexec/kf5/kioslave5
 Control Group: /user.slice/user-1000.slice/user@1000.service/session.slice/plasma-plasmashell.service
          Unit: user@1000.service
     User Unit: plasma-plasmashell.service
         Slice: user-1000.slice
     Owner UID: 1000 (r)
       Boot ID: a98548db83a94712ae8d4d8abc92c92a
    Machine ID: b25d50fef3bc4281b370b693527f808e
      Hostname: r-thinktop
       Storage: /var/lib/systemd/coredump/core.kioslave5.1000.a98548db83a94712ae8d4d8abc92c92a.2548.1672477344000000.zst (present)
  Size on Disk: 570.8K
       Message: Process 2548 (kioslave5) of user 1000 dumped core.
                
                Module libsystemd.so.0 from deb systemd-252.4-1.amd64
                Stack trace of thread 2552:
                #0  0x00007f4406aa9ccc __pthread_kill_implementation (libc.so.6 + 0x8accc)
                #1  0x00007f4406a5aef2 __GI_raise (libc.so.6 + 0x3bef2)
                #2  0x00007f4407162be1 _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5 + 0x5be1)
                #3  0x00007f4406a5af90 __restore_rt (libc.so.6 + 0x3bf90)
                #4  0x00007f4406aa9ccc __pthread_kill_implementation (libc.so.6 + 0x8accc)
                #5  0x00007f4406a5aef2 __GI_raise (libc.so.6 + 0x3bef2)
                #6  0x00007f4406a5af90 __restore_rt (libc.so.6 + 0x3bf90)
                #7  0x00007f4406b1b0af __GI___poll (libc.so.6 + 0xfc0af)
                #8  0x00007f4405c659ae n/a (libglib-2.0.so.0 + 0x549ae)
                #9  0x00007f4405c65acc g_main_context_iteration (libglib-2.0.so.0 + 0x54acc)
                #10 0x00007f4406f098b6 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x3098b6)
                #11 0x00007f4406eb024b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b024b)
                #12 0x00007f4406ccab77 _ZN7QThread4execEv (libQt5Core.so.5 + 0xcab77)
                #13 0x00007f4406423487 n/a (libQt5DBus.so.5 + 0x17487)
                #14 0x00007f4406ccbd33 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xcbd33)
                #15 0x00007f4406aa7fd4 start_thread (libc.so.6 + 0x88fd4)
                #16 0x00007f4406b2866c __clone3 (libc.so.6 + 0x10966c)
                
                Stack trace of thread 2548:
                #0  0x00007f4406b1b0af __GI___poll (libc.so.6 + 0xfc0af)
                #1  0x00007f4407162160 n/a (libKF5Crash.so.5 + 0x5160)
                #2  0x00007f4407162b67 _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5 + 0x5b67)
                #3  0x00007f4406a5af90 __restore_rt (libc.so.6 + 0x3bf90)
                #4  0x00007f440733aa29 _ZN3KIO9SlaveBase11setKillFlagEv (libKF5KIOCore.so.5 + 0x95a29)
                #5  0x00007f440733aa4f n/a (libKF5KIOCore.so.5 + 0x95a4f)
                #6  0x00007f4406a5af90 __restore_rt (libc.so.6 + 0x3bf90)
                #7  0x00007f44072f6a9a n/a (libKF5KIOCore.so.5 + 0x51a9a)
                #8  0x00007f44073b24fd n/a (libKF5KIOCore.so.5 + 0x10d4fd)
                #9  0x00007f44073b2839 n/a (libKF5KIOCore.so.5 + 0x10d839)
                #10 0x00007f4406a5d435 __run_exit_handlers (libc.so.6 + 0x3e435)
                #11 0x00007f4406a5d5aa __GI_exit (libc.so.6 + 0x3e5aa)
                #12 0x00007f4406a46191 __libc_start_call_main (libc.so.6 + 0x27191)
                #13 0x00007f4406a46245 __libc_start_main_impl (libc.so.6 + 0x27245)
                #14 0x000055a874a7f5e1 n/a (kioslave5 + 0x15e1)
                ELF object binary architecture: AMD x86-64


SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Kernel Version: 6.0.0-6-amd64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Xeon® CPU E3-1505M v5 @ 2.80GHz
Memory: 31,2 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics P530
Manufacturer: LENOVO
Product Name: 20ENCTO1WW
System Version: ThinkPad P50
Comment 1 Nicolas Fella 2022-12-31 10:48:00 UTC
Please follow https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Debian to get debug symbols. Then use "coredumptl debug", type "bt" and paste the backtrace here
Comment 2 Ralf Jung 2023-01-02 10:57:39 UTC
That would be 

#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
#1  0x00007f4406aa9d2f in __pthread_kill_internal (signo=11, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#2  0x00007f4406a5aef2 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#3  0x00007f4407162be1 in KCrash::defaultCrashHandler (sig=11) at ./src/kcrash.cpp:633
#4  <signal handler called>
#5  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
#6  0x00007f4406aa9d2f in __pthread_kill_internal (signo=11, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#7  0x00007f4406a5aef2 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#8  <signal handler called>
#9  0x00007f4406b1b0af in __GI___poll (fds=0x7f43fc0029e0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#10 0x00007f4405c659ae in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x7f43fc0029e0, timeout=<optimized out>, context=0x7f43fc000c30) at ../../../glib/gmain.c:4553
#11 g_main_context_iterate (context=context@entry=0x7f43fc000c30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4243
#12 0x00007f4405c65acc in g_main_context_iteration (context=0x7f43fc000c30, may_block=1) at ../../../glib/gmain.c:4313
#13 0x00007f4406f098b6 in QEventDispatcherGlib::processEvents (this=0x7f43fc000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#14 0x00007f4406eb024b in QEventLoop::exec (this=this@entry=0x7f4401bfec10, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#15 0x00007f4406ccab77 in QThread::exec (this=this@entry=0x7f440649bd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#16 0x00007f4406423487 in QDBusConnectionManager::run (this=0x7f440649bd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ./src/dbus/qdbusconnection.cpp:179
#17 0x00007f4406ccbd33 in QThreadPrivate::start (arg=0x7f440649bd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:331
#18 0x00007f4406aa7fd4 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#19 0x00007f4406b2866c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81