Registered Member
|
I'm using arch linux and plasma 5.3.2. The problem is, even on clear installation plasmashell keeps crashing frequently. I'm still able to do my things, as the shell automatically restarts. I had same problem on clean installation of kubuntu 15. The crash occurs mostly on browsing menu or adjusting widgets and interface layout. My specs are: pentium 2020m, nvidia gt 740m, 4 gb ram. Also, crash occurs almost always when shutting down or logging off. I'm also interested if this process creates a dump or a log file (or any other garbage after crash), and, if it does, where.
|
Registered Member
|
Can you look in your logs (journalctl)? I also see a crash in kactivitymanagerd on logout (which does not happen when I run
Have you enabled testing or other non-default repos? |
Registered Member
|
I dont have testing enabled, the only non-default repo I have is multilib one, though I enabled it after crashes started to occur. There are logs from the second the crash happened, no segfault messages though:
Jul 27 02:46:38 tricopc kdeinit5[492]: Service "org.kde.StatusNotifierHost-585" unregistered Jul 27 02:46:38 tricopc kscreen_backend_launcher[851]: kscreen.backendLauncher: Requested backend: "" Jul 27 02:46:38 tricopc kscreen_backend_launcher[851]: kscreen.backendLauncher: Lookup paths: ("/usr/lib/qt/plugins", "/usr/lib/kf5") Jul 27 02:46:38 tricopc kscreen_backend_launcher[851]: kscreen.backendLauncher: Trying "/usr/lib/qt/plugins/kf5/kscreen/KSC_XRandR11.so" Jul 27 02:46:38 tricopc kscreen_backend_launcher[851]: kscreen.xrandr11: This backend is only for XRandR 1.1, your version is: 1 . 4 Jul 27 02:46:38 tricopc kscreen_backend_launcher[851]: kscreen.backendLauncher: Skipping "XRandR 1.1" backend Jul 27 02:46:38 tricopc kscreen_backend_launcher[851]: kscreen.backendLauncher: Unloading "/usr/lib/qt/plugins/kf5/kscreen/KSC_XRandR11.so" Jul 27 02:46:38 tricopc kscreen_backend_launcher[851]: kscreen.backendLauncher: Trying "/usr/lib/qt/plugins/kf5/kscreen/KSC_XRandR.so" Jul 27 02:46:38 tricopc kscreen_backend_launcher[851]: kscreen.xrandr: Connected output 67 to CRTC 63 Jul 27 02:46:38 tricopc kscreen_backend_launcher[851]: kscreen.xcb.helper: Detected XRandR 1.4 Jul 27 02:46:38 tricopc kscreen_backend_launcher[851]: kscreen.xcb.helper: Event Base: 89 Jul 27 02:46:38 tricopc kscreen_backend_launcher[851]: kscreen.xcb.helper: Event Error: 147 Jul 27 02:46:38 tricopc kscreen_backend_launcher[851]: kscreen.backendLauncher: Loading "XRandR" backend Jul 27 02:46:38 tricopc kscreen_backend_launcher[851]: kscreen.backendLauncher: Failed to register as DBus service: another launcher already running? Jul 27 02:46:38 tricopc kscreen_backend_launcher[851]: kscreen.backendLauncher: "" Jul 27 02:46:38 tricopc kscreen_backend_launcher[566]: kscreen: Primary output changed from KScreen::Output(Id: 67 , Name: "LVDS1" ) ( "LVDS1" ) to KScreen::Output(Id: 67 , Name: "LVDS1" ) ( "LVDS1" ) Jul 27 02:46:38 tricopc kscreen_backend_launcher[566]: kscreen: Primary output changed from KScreen::Output(Id: 67 , Name: "LVDS1" ) ( "LVDS1" ) to KScreen::Output(Id: 67 , Name: "LVDS1" ) ( "LVDS1" ) Jul 27 02:46:38 tricopc kwin_x11[568]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 43503, resource id: 54525958, major code: 18 (ChangeProperty), minor code: 0 Jul 27 02:46:38 tricopc kscreen_backend_launcher[566]: kscreen: Primary output changed from KScreen::Output(Id: 67 , Name: "LVDS1" ) ( "LVDS1" ) to KScreen::Output(Id: 67 , Name: "LVDS1" ) ( "LVDS1" ) Jul 27 02:46:38 tricopc kscreen_backend_launcher[566]: kscreen: Primary output changed from KScreen::Output(Id: 67 , Name: "LVDS1" ) ( "LVDS1" ) to KScreen::Output(Id: 67 , Name: "LVDS1" ) ( "LVDS1" ) Jul 27 02:46:38 tricopc kglobalaccel5[512]: kglobalaccel-runtime: Unregistering key "Alt+F1" for "plasmashell" : "activate widget 2" Jul 27 02:46:38 tricopc kglobalaccel5[512]: kglobalaccel-runtime: Registering key "Alt+F1" for "plasmashell" : "activate widget 2" Jul 27 02:46:38 tricopc drkonqi[847]: Using /proc to determine executable path Jul 27 02:46:38 tricopc drkonqi[847]: Executable is: "/usr/bin/plasmashell" Jul 27 02:46:38 tricopc drkonqi[847]: Executable exists: true Jul 27 02:46:38 tricopc drkonqi[847]: Unable to find an internal debugger that can work with the KCrash backend Jul 27 02:46:38 tricopc drkonqi[847]: Enabling drkonqi crash catching Jul 27 02:46:38 tricopc drkonqi[847]: Invalid pixmap specified. Jul 27 02:46:38 tricopc drkonqi[847]: No frame loaded Jul 27 02:46:38 tricopc drkonqi[847]: No frame loaded -- Logs begin at Sat 2015-07-25 23:08:47 MSK, end at Mon 2015-07-27 03:14:48 MSK. -- Jul 27 02:46:38 tricopc kdeinit5[492]: Service "org.kde.StatusNotifierHost-585" unregistered Jul 27 02:46:38 tricopc kscreen_backend_launcher[851]: kscreen.backendLauncher: Requested backend: "" Jul 27 02:46:38 tricopc kscreen_backend_launcher[851]: kscreen.backendLauncher: Lookup paths: ("/usr/lib/qt/plugins", "/usr/lib/kf5") Jul 27 02:46:38 tricopc kscreen_backend_launcher[851]: kscreen.backendLauncher: Trying "/usr/lib/qt/plugins/kf5/kscreen/KSC_XRandR11.so" Jul 27 02:46:38 tricopc kscreen_backend_launcher[851]: kscreen.xrandr11: This backend is only for XRandR 1.1, your version is: 1 . 4 Jul 27 02:46:38 tricopc kscreen_backend_launcher[851]: kscreen.backendLauncher: Skipping "XRandR 1.1" backend Jul 27 02:46:38 tricopc kscreen_backend_launcher[851]: kscreen.backendLauncher: Unloading "/usr/lib/qt/plugins/kf5/kscreen/KSC_XRandR11.so" Jul 27 02:46:38 tricopc kscreen_backend_launcher[851]: kscreen.backendLauncher: Trying "/usr/lib/qt/plugins/kf5/kscreen/KSC_XRandR.so" Jul 27 02:46:38 tricopc kscreen_backend_launcher[851]: kscreen.xrandr: Connected output 67 to CRTC 63 Jul 27 02:46:38 tricopc kscreen_backend_launcher[851]: kscreen.xcb.helper: Detected XRandR 1.4 Jul 27 02:46:38 tricopc kscreen_backend_launcher[851]: kscreen.xcb.helper: Event Base: 89 Jul 27 02:46:38 tricopc kscreen_backend_launcher[851]: kscreen.xcb.helper: Event Error: 147 Jul 27 02:46:38 tricopc kscreen_backend_launcher[851]: kscreen.backendLauncher: Loading "XRandR" backend Jul 27 02:46:38 tricopc kscreen_backend_launcher[851]: kscreen.backendLauncher: Failed to register as DBus service: another launcher already running? Jul 27 02:46:38 tricopc kscreen_backend_launcher[851]: kscreen.backendLauncher: "" Jul 27 02:46:38 tricopc kscreen_backend_launcher[566]: kscreen: Primary output changed from KScreen::Output(Id: 67 , Name: "LVDS1" ) ( "LVDS1" ) to KScreen::Output(Id: 67 , Name: "LVDS1" ) ( "LVDS1" ) Jul 27 02:46:38 tricopc kscreen_backend_launcher[566]: kscreen: Primary output changed from KScreen::Output(Id: 67 , Name: "LVDS1" ) ( "LVDS1" ) to KScreen::Output(Id: 67 , Name: "LVDS1" ) ( "LVDS1" ) Jul 27 02:46:38 tricopc kwin_x11[568]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 43503, resource id: 54525958, major code: 18 (ChangeProperty), minor code: 0 Jul 27 02:46:38 tricopc kscreen_backend_launcher[566]: kscreen: Primary output changed from KScreen::Output(Id: 67 , Name: "LVDS1" ) ( "LVDS1" ) to KScreen::Output(Id: 67 , Name: "LVDS1" ) ( "LVDS1" ) Jul 27 02:46:38 tricopc kscreen_backend_launcher[566]: kscreen: Primary output changed from KScreen::Output(Id: 67 , Name: "LVDS1" ) ( "LVDS1" ) to KScreen::Output(Id: 67 , Name: "LVDS1" ) ( "LVDS1" ) Jul 27 02:46:38 tricopc kglobalaccel5[512]: kglobalaccel-runtime: Unregistering key "Alt+F1" for "plasmashell" : "activate widget 2" Jul 27 02:46:38 tricopc kglobalaccel5[512]: kglobalaccel-runtime: Registering key "Alt+F1" for "plasmashell" : "activate widget 2" Jul 27 02:46:38 tricopc drkonqi[847]: Using /proc to determine executable path Jul 27 02:46:38 tricopc drkonqi[847]: Executable is: "/usr/bin/plasmashell" Jul 27 02:46:38 tricopc drkonqi[847]: Executable exists: true Jul 27 02:46:38 tricopc drkonqi[847]: Unable to find an internal debugger that can work with the KCrash backend Jul 27 02:46:38 tricopc drkonqi[847]: Enabling drkonqi crash catching Jul 27 02:46:38 tricopc drkonqi[847]: Invalid pixmap specified. Jul 27 02:46:38 tricopc drkonqi[847]: No frame loaded Jul 27 02:46:38 tricopc drkonqi[847]: No frame loaded I also have this spam occupying majority of my log, what should I disable to stop these messages? Jul 27 03:17:54 tricopc kscreen_backend_launcher[566]: kscreen.xcb.helper: RRNotify_OutputProperty (ignored) Jul 27 03:17:54 tricopc kscreen_backend_launcher[566]: kscreen.xcb.helper: Output: 67 Jul 27 03:17:54 tricopc kscreen_backend_launcher[566]: kscreen.xcb.helper: Property: Backlight Jul 27 03:17:54 tricopc kscreen_backend_launcher[566]: kscreen.xcb.helper: State (newValue, Deleted): 0 |
|
Seems you've drkonqi installed, but it's not showing up??
Enable core dumps: https://blogs.kde.org/2009/03/27/settin ... core-dumps (if you generally know how anything about coredumps, "export KDE_DEBUG=1") > what should I disable to stop these messages? Have
in ~/.config/QtProject/qtlogging.ini |
Registered Member
|
Try installing gdb (drkonqi 5.3.2-2 added this required dependency) for sane traces. If coredumps are created, look at coredumpctl list.
|
Registered Member
|
qtlogging.ini doesn't exist there. If I created that file and put kscreen.xcb.helper=false, that would not have any effect. I have ~/.config/QtProject.conf. I've tried to put the settings in it, but no result as well. P.S. I also have the same issue with segmentation fault (11) and the journalctl output looks very similar to the logs above.
|
Registered Member
|
That folder and file does not exist by default. To reduce log spam in journal, I put this in ~/.config/plasma-workspace/env/disable-kde-spam.sh
That is your library information for KDE 4. BTW, I also have plasmashell crash issues on logout (tested with a new user account). Does it happen to you for events other than logging out (such as connecting an external monitor)? |
Registered Member
|
oops.
Yes it does. Usually it happens few times a day. I didn't notice any pattern for the events, except a crash on logout. It's the most frequent one. Also, if plasmashell has crashed then the old process would be hanging in memory. At the end of the day I can see 4-6 copies (dead/abandoned?) of plasmashell. |
Registered Member
|
Yes it does. Usually it happens few times a day. I didn't notice any pattern for the events, except a crash on logout. It's the most frequent one. Also, when plasmashell crashes the old process is still in memory. At the end of the day I can see 4-6 copies (dead/abandoned?) of plasmashell.[/quote] Have you installed the gdb package? These processes are still in memory because drkonqi (crash reporter) tries to present you information about the crash (for debugging purposes). You can find those processes with ps uww -C drkonqi. To kill those plasmashell processes, try sending SIGTERM to drkonqi. |
Registered Member
|
I did, but have no idea how to use it I'm a web developer. Anyway, I'm going to try to debug that. Thanks for your help!!! |
Registered Member
|
By installing gdb, drkonqi will be able to generate backtraces. You do not need to run it yourself.
I managed to capture the backtrace for a such a crash (could be different from yours though) and reported it at https://bugs.kde.org/show_bug.cgi?id=350866 |
Registered Member
|
Kde team says it's a bug in intel drivers:
https://mail.kde.org/pipermail/kde-dist ... 00088.html |
Registered Member
|
There is also a problem relating to xproto which causes a segfauly in kactivitymanager. It will often show up as something like:
See https://bugs.freedesktop.org/show_bug.cgi?id=91316 https://bbs.archlinux.org/viewtopic.php?id=199812 For a long time this was crashing my desktop and taking me back to sddm 2 or 3 times a day until I downgraded Xproto to 7.0.27 on Gentoo. with other distros they probably put it all in their xorg-server package and might apply a special patch for it as they did in Arch Linux. |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]