Bug 502006 - kstart crash after wakeup
Summary: kstart crash after wakeup
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: core (other bugs)
Version First Reported In: 6.3.3
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-26 06:13 UTC by yP6pxFJmSpO2xZwPW
Modified: 2025-04-26 03:47 UTC (History)
1 user (show)

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


Attachments
cores (644.79 KB, application/zstd)
2025-03-26 06:13 UTC, yP6pxFJmSpO2xZwPW
Details
extra core (644.80 KB, application/zstd)
2025-03-26 06:13 UTC, yP6pxFJmSpO2xZwPW
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yP6pxFJmSpO2xZwPW 2025-03-26 06:13:07 UTC
Created attachment 179742 [details]
cores

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY

Kstart crash after wakeup 

STEPS TO REPRODUCE
1.  make sleep Computer 
2.  wakeup computer and see that screen is black and mouse pointer vidible and no another windows
3. wait couple of minutes
4. make sleep computer again using power button
5. WakeUp it 
6. You will see 
3. 

OBSERVED RESULT

not wakeup nmormally crash after wakeup

EXPECTED RESULT

must work
SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Kernel Version: 6.6.83-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 28 × Intel® Core™ i7-14700KF
Memory: 62.6 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 4070 Ti SUPER
Manufacturer: ASUS
ADDITIONAL INFORMATION

pack of log 

Mar 26 06:53:21 ktotoPC plasma_waitforname[113588]: org.kde.plasma.waitforname: WaitForName: Service was not registered within timeout
Mar 26 06:53:21 ktotoPC systemd[2160]: dbus-:1.2-org.freedesktop.Notifications@0.service: Main process exited, code=exited, status=1/FAILURE
Mar 26 06:53:21 ktotoPC systemd[2160]: dbus-:1.2-org.freedesktop.Notifications@0.service: Failed with result 'exit-code'.
Mar 26 06:53:44 ktotoPC kded6[2265]: org.kde.pulseaudio: No object for name "alsa_input.usb-GENERAL_GENERAL_WEBCAM_JH0319_20200710_v012-02.mono-fallback"
Mar 26 06:53:44 ktotoPC kded6[2265]: org.kde.pulseaudio: No object for name "easyeffects_sink.monitor"
Mar 26 06:53:44 ktotoPC kded6[2265]: org.kde.pulseaudio: No object for name "SuperPlasmaIn.monitor"
Mar 26 06:53:51 ktotoPC login[113631]: pam_unix(login:session): session opened for user ktoto(uid=1000) by ktoto(uid=0)
Mar 26 06:53:51 ktotoPC systemd-logind[1235]: New session 6 of user ktoto.
Mar 26 06:53:51 ktotoPC systemd[1]: Started Session 6 of User ktoto.
Mar 26 06:53:51 ktotoPC login[113631]: LOGIN ON tty3 BY ktoto
Mar 26 06:53:51 ktotoPC wireplumber[2410]: spa.bluez5: BlueZ system service is not available
Mar 26 06:53:51 ktotoPC kded6[2265]: org.kde.pulseaudio: No object for name "SuperPlasmaIn.monitor"
Mar 26 06:53:51 ktotoPC kded6[2265]: org.kde.pulseaudio: No object for name "SuperPlasmaIn.monitor"
Mar 26 06:53:51 ktotoPC kded6[2265]: org.kde.pulseaudio: No object for name "SuperPlasmaIn.monitor"
Mar 26 06:53:52 ktotoPC pipewire[2409]: spa.v4l2: '/dev/video0' VIDIOC_QUERYCTRL: Input/output error
Mar 26 06:53:52 ktotoPC pipewire[2409]: spa.v4l2: '/dev/video0' VIDIOC_QUERYCTRL: Input/output error
Mar 26 06:53:56 ktotoPC systemd-coredump[113689]: Process 113687 (kstart5) of user 1000 terminated abnormally with signal 6/ABRT, processing...
Mar 26 06:53:56 ktotoPC systemd[1]: Started Process Core Dump (PID 113689/UID 0).
Mar 26 06:53:56 ktotoPC systemd-coredump[113690]: [🡕] Process 113687 (kstart5) of user 1000 dumped core.
                                                  
                                                  Stack trace of thread 113687:
                                                  #0  0x00007f1b536a5624 n/a (libc.so.6 + 0x97624)
                                                  #1  0x00007f1b5364bba0 raise (libc.so.6 + 0x3dba0)
                                                  #2  0x00007f1b53633582 abort (libc.so.6 + 0x25582)
                                                  #3  0x00007f1b530905c2 n/a (libQt6Core.so.6 + 0x905c2)
                                                  #4  0x00007f1b5309154b _ZNK14QMessageLogger5fatalEPKcz (libQt6Core.so.6 + 0x9154b)
                                                  #5  0x00007f1b538def5d n/a (libQt6Gui.so.6 + 0xdef5d)
                                                  #6  0x00007f1b5398acd8 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt6Gui.so.6 + 0x18acd8)
                                                  #7  0x00007f1b53158a7d _ZN23QCoreApplicationPrivate4initEv (libQt6Core.so.6 + 0x158a7d)
                                                  #8  0x00007f1b5398ad6e _ZN22QGuiApplicationPrivate4initEv (libQt6Gui.so.6 + 0x18ad6e)
                                                  #9  0x00007f1b5398c04d _ZN15QGuiApplicationC2ERiPPci (libQt6Gui.so.6 + 0x18c04d)
                                                  #10 0x0000563e79e59245 n/a (/usr/bin/kstart + 0x2245)
                                                  #11 0x00007f1b53635488 n/a (libc.so.6 + 0x27488)
                                                  #12 0x00007f1b5363554c __libc_start_main (libc.so.6 + 0x2754c)
                                                  #13 0x0000563e79e59cb5 n/a (/usr/bin/kstart + 0x2cb5)
                                                  
                                                  Stack trace of thread 113688:
                                                  #0  0x00007f1b536abbe2 n/a (libc.so.6 + 0x9dbe2)
                                                  #1  0x00007f1b5369fe33 n/a (libc.so.6 + 0x91e33)
                                                  #2  0x00007f1b5369fe74 n/a (libc.so.6 + 0x91e74)
                                                  #3  0x00007f1b5371aa06 ppoll (libc.so.6 + 0x10ca06)
                                                  #4  0x00007f1b52714e27 n/a (libglib-2.0.so.0 + 0xc1e27)
                                                  #5  0x00007f1b526b0535 g_main_context_iteration (libglib-2.0.so.0 + 0x5d535)
                                                  #6  0x00007f1b533c575d _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x3c575d)
                                                  #7  0x00007f1b531606a6 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x1606a6)
                                                  #8  0x00007f1b53257829 _ZN7QThread4execEv (libQt6Core.so.6 + 0x257829)
                                                  #9  0x00007f1b52afc6ae n/a (libQt6DBus.so.6 + 0x2e6ae)
                                                  #10 0x00007f1b532d8a9b n/a (libQt6Core.so.6 + 0x2d8a9b)
                                                  #11 0x00007f1b536a370a n/a (libc.so.6 + 0x9570a)
                                                  #12 0x00007f1b53727aac n/a (libc.so.6 + 0x119aac)
                                                  ELF object binary architecture: AMD x86-64
Comment 1 yP6pxFJmSpO2xZwPW 2025-03-26 06:13:56 UTC
Created attachment 179743 [details]
extra core

two cores generated in a row
Comment 2 David Edmundson 2025-03-26 09:57:44 UTC
Nothing in KDE will use kstart5 that I know of. 
Do you have any custom scripts or settings that use this?
Comment 3 yP6pxFJmSpO2xZwPW 2025-03-26 14:44:18 UTC
(In reply to David Edmundson from comment #2)
> Nothing in KDE will use kstart5 that I know of. 
> Do you have any custom scripts or settings that use this?

I don`t have any custom scripts attached to kstart . just default settings.  
Exist chance that i not properly described issue. I just attempted to collect as more as possible information. Issue with plasma wakeup i started to observe after last manjaro update . In current moment i have it on 2 different computers.  Both of them not have any issue with wakeup until last rolling upgrade. 

just now i did journalctl under root and see extra logs : 

Mar 26 06:50:13 ktotoPC ntpd[1327]: new interface(s) found: waking up resolver
Mar 26 06:50:15 ktotoPC systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
Mar 26 06:50:25 ktotoPC plasmashell[58745]: QRhiGles2: Context is lost.
Mar 26 06:50:25 ktotoPC plasmashell[58745]: Graphics device lost, cleaning up scenegraph and releasing RHI
Mar 26 06:50:35 ktotoPC kded6[2265]: org.kde.pulseaudio: No object for name "alsa_input.usb-GENERAL_GENERAL_WEBCAM_JH0319_20200710_v012-02.mono-fallback"
Mar 26 06:50:35 ktotoPC kded6[2265]: org.kde.pulseaudio: No object for name "easyeffects_sink.monitor"
Mar 26 06:50:35 ktotoPC kded6[2265]: org.kde.pulseaudio: No object for name "SuperPlasmaIn.monitor"
Mar 26 06:50:37 ktotoPC plasmashell[58745]: QRhiGles2: Context is lost.
Mar 26 06:50:37 ktotoPC plasmashell[58745]: Graphics device lost, cleaning up scenegraph and releasing RHI
Mar 26 06:50:45 ktotoPC login[57314]: pam_unix(login:session): session opened for user ktoto(uid=1000) by ktoto(uid=0)
Mar 26 06:50:45 ktotoPC systemd-logind[1235]: New session 4 of user ktoto.
Mar 26 06:50:45 ktotoPC systemd[1]: Started Session 4 of User ktoto.
Mar 26 06:50:45 ktotoPC login[57314]: LOGIN ON tty3 BY ktoto
Mar 26 06:50:45 ktotoPC wireplumber[2410]: spa.bluez5: BlueZ system service is not available
Mar 26 06:50:45 ktotoPC kded6[2265]: org.kde.pulseaudio: No object for name "SuperPlasmaIn.monitor"
Mar 26 06:50:45 ktotoPC kded6[2265]: org.kde.pulseaudio: No object for name "SuperPlasmaIn.monitor"
Mar 26 06:50:45 ktotoPC kded6[2265]: org.kde.pulseaudio: No object for name "SuperPlasmaIn.monitor"
Mar 26 06:50:46 ktotoPC pipewire[2409]: spa.v4l2: '/dev/video0' VIDIOC_QUERYCTRL: Input/output error
Mar 26 06:50:46 ktotoPC pipewire[2409]: spa.v4l2: '/dev/video0' VIDIOC_QUERYCTRL: Input/output error
Mar 26 06:50:49 ktotoPC plasmashell[58745]: QRhiGles2: Context is lost.
Mar 26 06:50:49 ktotoPC plasmashell[58745]: Failed to create RHI (backend 2)
Mar 26 06:50:50 ktotoPC plasmashell[58745]: org.kde.pulseaudio: No object for name "alsa_input.usb-GENERAL_GENERAL_WEBCAM_JH0319_20200710_v012-02.mono-fallback"
Mar 26 06:50:50 ktotoPC plasmashell[58745]: org.kde.pulseaudio: No object for name "alsa_input.usb-GENERAL_GENERAL_WEBCAM_JH0319_20200710_v012-02.mono-fallback"
Mar 26 06:50:50 ktotoPC plasmashell[58745]: org.kde.pulseaudio: No object for name "alsa_input.usb-GENERAL_GENERAL_WEBCAM_JH0319_20200710_v012-02.mono-fallback"
Mar 26 06:50:50 ktotoPC plasmashell[58745]: org.kde.pulseaudio: No object for name "alsa_input.usb-GENERAL_GENERAL_WEBCAM_JH0319_20200710_v012-02.mono-fallback"
Mar 26 06:51:06 ktotoPC plasmashell[58745]: QRhiGles2: Context is lost.
Mar 26 06:51:06 ktotoPC plasmashell[58745]: Graphics device lost, cleaning up scenegraph and releasing RHI
Mar 26 06:51:23 ktotoPC kcminit[113516]: Initializing  "/usr/lib/qt6/plugins/plasma/kcms/systemsettings/kcm_mouse.so"
Mar 26 06:51:23 ktotoPC kcminit[113516]: Initializing  "/usr/lib/qt6/plugins/plasma/kcms/systemsettings/kcm_touchpad.so"
Mar 26 06:51:23 ktotoPC kcminit[113516]: kcm_touchpad: Using X11 backend
Mar 26 06:51:36 ktotoPC plasmashell[58745]: QRhiGles2: Context is lost.
Mar 26 06:51:36 ktotoPC plasmashell[58745]: Graphics device lost, cleaning up scenegraph and releasing RHI
Mar 26 06:51:47 ktotoPC plasmashell[58745]: QRhiGles2: Context is lost.
Mar 26 06:51:47 ktotoPC plasmashell[58745]: Graphics device lost, cleaning up scenegraph and releasing RHI
Mar 26 06:52:04 ktotoPC plasmashell[58745]: QRhiGles2: Context is lost.
Mar 26 06:52:04 ktotoPC plasmashell[58745]: Graphics device lost, cleaning up scenegraph and releasing RHI
Mar 26 06:52:04 ktotoPC systemd-coredump[113558]: Process 113556 (kstart5) of user 1000 terminated abnormally with signal 6/ABRT, processing...
Mar 26 06:52:04 ktotoPC systemd[1]: Started Process Core Dump (PID 113558/UID 0).
Mar 26 06:52:05 ktotoPC plasmashell[58745]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml:130: TypeError: Cannot read property 'screenGeometry' of null
Mar 26 06:52:05 ktotoPC plasmashell[58745]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml:260: TypeError: Cannot read property 'plasmoid' of undefined
Mar 26 06:52:05 ktotoPC systemd-coredump[113559]: Removed old coredump core.wireshark.1000.2872c1d840c549dcbb77647cf7b4fc58.115550.1741783717000000.zst.
Mar 26 06:52:05 ktotoPC systemd-coredump[113559]: Removed old coredump core.wireshark.1000.2872c1d840c549dcbb77647cf7b4fc58.116874.1741787206000000.zst.
Mar 26 06:52:05 ktotoPC systemd-coredump[113559]: Removed old coredump core.IdleWizard\x2ex86_.1000.2872c1d840c549dcbb77647cf7b4fc58.157348.1741816706000000.zst.
Mar 26 06:52:05 ktotoPC systemd-coredump[113559]: [🡕] Process 113556 (kstart5) of user 1000 dumped core.
                                                  
                                                  Stack trace of thread 113556:
                                                  #0  0x00007fa758ca5624 n/a (libc.so.6 + 0x97624)
                                                  #1  0x00007fa758c4bba0 raise (libc.so.6 + 0x3dba0)
                                                  #2  0x00007fa758c33582 abort (libc.so.6 + 0x25582)
                                                  #3  0x00007fa7586905c2 n/a (libQt6Core.so.6 + 0x905c2)
                                                  #4  0x00007fa75869154b _ZNK14QMessageLogger5fatalEPKcz (libQt6Core.so.6 + 0x9154b)
                                                  #5  0x00007fa758edef5d n/a (libQt6Gui.so.6 + 0xdef5d)
                                                  #6  0x00007fa758f8acd8 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt6Gui.so.6 + 0x18acd8)
                                                  #7  0x00007fa758758a7d _ZN23QCoreApplicationPrivate4initEv (libQt6Core.so.6 + 0x158a7d)
                                                  #8  0x00007fa758f8ad6e _ZN22QGuiApplicationPrivate4initEv (libQt6Gui.so.6 + 0x18ad6e)
                                                  #9  0x00007fa758f8c04d _ZN15QGuiApplicationC2ERiPPci (libQt6Gui.so.6 + 0x18c04d)
                                                  #10 0x0000556a26103245 n/a (/usr/bin/kstart + 0x2245)
                                                  #11 0x00007fa758c35488 n/a (libc.so.6 + 0x27488)
                                                  #12 0x00007fa758c3554c __libc_start_main (libc.so.6 + 0x2754c)
                                                  #13 0x0000556a26103cb5 n/a (/usr/bin/kstart + 0x2cb5)
                                                  
                                                  Stack trace of thread 113557:
                                                  #0  0x00007fa758cabbe2 n/a (libc.so.6 + 0x9dbe2)
                                                  #1  0x00007fa758c9fe33 n/a (libc.so.6 + 0x91e33)
                                                  #2  0x00007fa758c9fe74 n/a (libc.so.6 + 0x91e74)
                                                  #3  0x00007fa758d1aa06 ppoll (libc.so.6 + 0x10ca06)
                                                  #4  0x00007fa757d80e27 n/a (libglib-2.0.so.0 + 0xc1e27)
                                                  #5  0x00007fa757d1c535 g_main_context_iteration (libglib-2.0.so.0 + 0x5d535)
                                                  #6  0x00007fa7589c575d _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x3c575d)
                                                  #7  0x00007fa7587606a6 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x1606a6)
                                                  #8  0x00007fa758857829 _ZN7QThread4execEv (libQt6Core.so.6 + 0x257829)
                                                  #9  0x00007fa7580fc6ae n/a (libQt6DBus.so.6 + 0x2e6ae)
                                                  #10 0x00007fa7588d8a9b n/a (libQt6Core.so.6 + 0x2d8a9b)
                                                  #11 0x00007fa758ca370a n/a (libc.so.6 + 0x9570a)
                                                  #12 0x00007fa758d27aac n/a (libc.so.6 + 0x119aac)
                                                  ELF object binary architecture: AMD x86-64
Mar 26 06:52:05 ktotoPC systemd[1]: systemd-coredump@6-113558-0.service: Deactivated successfully.
Mar 26 06:52:05 ktotoPC systemd[2160]: app-plasmashell@ad36586206874cd5aa0080f936094b5b.service: Consumed 8min 57.166s CPU time, 757.8M memory peak.
Mar 26 06:52:06 ktotoPC login[57314]: pam_unix(login:session): session closed for user ktoto
Comment 4 yP6pxFJmSpO2xZwPW 2025-03-26 14:53:30 UTC
I think that main issue that plasma not wakeup properly and because of this kstart not able to start something properly an crash. I am not an expert so  can mistake in my thoughts.
Comment 5 yP6pxFJmSpO2xZwPW 2025-03-27 06:44:49 UTC
After some investigations i found i hope temporary workaround to attempt to return control to desktop. 
1) Wake up computer and see black screen with mouse pointer
2) make Ctrl+Alt+F3 and return back to X11 until plasmashell crash (sometimes  3 - 20 quick switching needed)
3) It will be visible desktop and popup reporting plasmashell crashed and restarted but desktop still very slow . In this case need to open plasma shell console and to do extra : 

kquitapp5 plasmashell
kstart5 plasmashell

After it system again operates normal.
Comment 6 Bug Janitor Service 2025-04-11 03:47:03 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bug Janitor Service 2025-04-26 03:47:29 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.