[Bug 964185] New: kdeinit5 crashes
http://bugzilla.opensuse.org/show_bug.cgi?id=964185 Bug ID: 964185 Summary: kdeinit5 crashes Classification: openSUSE Product: openSUSE Tumbleweed Version: 2015* Hardware: x86-64 OS: openSUSE 42.1 Status: NEW Severity: Major Priority: P5 - None Component: KDE Workspace (Plasma) Assignee: opensuse-kde-bugs@opensuse.org Reporter: ludwig@sics.se QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Kdeinit5 crashes unexpectedly. Sometimes this happens while my screensaver is on, which disables the (password protected) screensaver, which is why I consider this to be a Major security issue. I can get the following information out of the crash report: Executable: kdeinit5 PID: 1485 Signal: Segmentation fault (11) Time: 2016-01-29 14:40:51 Thread 1 (Thread 0x7f81a4708780 (LWP 1485)): [KCrash Handler] #6 0x00007f819172d9cf in QXcbWindow::handleClientMessageEvent(xcb_client_message_event_t const*) () at /usr/lib64/libQt5XcbQpa.so.5 #7 0x00007f819171837b in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib64/libQt5XcbQpa.so.5 #8 0x00007f819171a01b in QXcbConnection::processXcbEvents() () at /usr/lib64/libQt5XcbQpa.so.5 #9 0x00007f81a3020ac6 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5 #10 0x00007f81a166fe7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #11 0x00007f81a1674cc8 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #12 0x00007f81a2fefe95 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5 #13 0x00007f81a2ff2057 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5 #14 0x00007f81a30478f3 in () at /usr/lib64/libQt5Core.so.5 #15 0x00007f819f7f3c84 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0 #16 0x00007f819f7f3ed8 in () at /usr/lib64/libglib-2.0.so.0 #17 0x00007f819f7f3f7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #18 0x00007f81a3046d6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #19 0x00007f81a2fedd53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #20 0x00007f81a2ff58f6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5 #21 0x00007f8191bd05b4 in kdemain () at /usr/lib64/libkdeinit5_kded5.so #22 0x0000000000408cc3 in () #23 0x0000000000405d46 in main () -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=964185 http://bugzilla.opensuse.org/show_bug.cgi?id=964185#c1 Hot Music Fan <hotmusicfan@mail.bg> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hotmusicfan@mail.bg --- Comment #1 from Hot Music Fan <hotmusicfan@mail.bg> --- Same here, and with this problem comes another - some parts of the DE stops working (system tray icons, notifications). And also CPU goes extremely high. I'm on openSUSE Leap 42.1 Honestly, such an issuses makes me think about the "stability". -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=964185 http://bugzilla.opensuse.org/show_bug.cgi?id=964185#c2 --- Comment #2 from Hot Music Fan <hotmusicfan@mail.bg> --- Created attachment 692368 --> http://bugzilla.opensuse.org/attachment.cgi?id=692368&action=edit Backtrace -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=964185 http://bugzilla.opensuse.org/show_bug.cgi?id=964185#c3 Wolfgang Bauer <wbauer@tmo.at> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wbauer@tmo.at --- Comment #3 from Wolfgang Bauer <wbauer@tmo.at> --- (In reply to Hot Music Fan from comment #2)
Created attachment 692368 [details] Backtrace
Your backtrace is completely different than the originally posted one though. Your crash is in polkit. My first suspicion would be that it's related to the backlight control, which needs root privileges (and gets them via polkit). If the kauth helper crashes, it would try to restart it over and over again which may explain the high CPU usage. Try to disable the "Power Management" service in "Configure Desktop" (systemsettings5)->"Startup and Shutdown"->"Background Services" and see if it helps. @Reporter: is this still a problem? There have been significant updates to Tumbleweed since January. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=964185 http://bugzilla.opensuse.org/show_bug.cgi?id=964185#c4 --- Comment #4 from Hot Music Fan <hotmusicfan@mail.bg> --- (In reply to Wolfgang Bauer from comment #3)
(In reply to Hot Music Fan from comment #2)
Created attachment 692368 [details] Backtrace
Your backtrace is completely different than the originally posted one though.
Your crash is in polkit.
My first suspicion would be that it's related to the backlight control, which needs root privileges (and gets them via polkit). If the kauth helper crashes, it would try to restart it over and over again which may explain the high CPU usage.
Try to disable the "Power Management" service in "Configure Desktop" (systemsettings5)->"Startup and Shutdown"->"Background Services" and see if it helps.
@Reporter: is this still a problem? There have been significant updates to Tumbleweed since January.
Actually, few minutes earlier, prior to the crash the Wi-Fi connection was lost and I was prompted to enter my password for my home Wi-Fi network. I didn't do that, instead I clicked "Cancel" and just turned off and turned on the wi-fi from the network manager and the connection was reestablished. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=964185 http://bugzilla.opensuse.org/show_bug.cgi?id=964185#c5 --- Comment #5 from Wolfgang Bauer <wbauer@tmo.at> --- (In reply to Hot Music Fan from comment #4)
Actually, few minutes earlier, prior to the crash the Wi-Fi connection was lost and I was prompted to enter my password for my home Wi-Fi network. I didn't do that, instead I clicked "Cancel" and just turned off and turned on the wi-fi from the network manager and the connection was reestablished.
Ok, so it may be a crash caused by the network management applet (or not). It's still unrelated to this bug report. And *your* crash still was/is in polkit. Thanks for the more detailed reproduction steps, I will try to reproduce it. Do other root related things work? E.g. can you change the time in KDE's Date & Time configuration module? Though again, it's actually off-topic here. Feel free to file a new bug report about your problem, and preferably upstream at http://bugs.kde.org/ if changing the time works. Thank you. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=964185 http://bugzilla.opensuse.org/show_bug.cgi?id=964185#c6 Nathan Wolf <dev@cubiclenate.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dev@cubiclenate.com --- Comment #6 from Nathan Wolf <dev@cubiclenate.com> --- I have kdeinit5 crash when trying to file browse my mobile devices using Dolphin with KDE Connect. It crashes with no backtrace Details: Executable: kdeinit5 PID: 24613 Signal: Segmentation fault (11) Time: 16 Oct 2018 18:45:29 The process for the kdeconnect://80ce0f558246fead protocol died unexpectedly. Not sure if this is related or not. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=964185 http://bugzilla.opensuse.org/show_bug.cgi?id=964185#c7 --- Comment #7 from Nathan Wolf <dev@cubiclenate.com> --- Created attachment 786769 --> http://bugzilla.opensuse.org/attachment.cgi?id=786769&action=edit kdeinit5 crash backtrace Crashes every time I try to use the KDE Connect to access mobile device. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=964185 http://bugzilla.opensuse.org/show_bug.cgi?id=964185#c8 Wolfgang Bauer <wbauer@tmo.at> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #8 from Wolfgang Bauer <wbauer@tmo.at> --- (In reply to Nathan Wolf from comment #6)
I have kdeinit5 crash when trying to file browse my mobile devices using Dolphin with KDE Connect. It crashes with no backtrace
Details:
Executable: kdeinit5 PID: 24613 Signal: Segmentation fault (11) Time: 16 Oct 2018 18:45:29
The process for the kdeconnect://80ce0f558246fead protocol died unexpectedly.
Not sure if this is related or not.
Definitely not. kdeinit is just a way to start (KDE) applications. And it is not kdeinit that crashes, but rather the application that's being started. In your case kdeconnect-kde crashes (to be exact the KIO slave it contains), in comment#0 it was kded5.
From your backtrace: #11 0x00007fa830171e69 in KCrash::setApplicationFilePath (filePath=...) at /usr/include/qt5/QtCore/qlist.h:115 #12 0x00007fa8301729f7 in KCrash::initialize () at /usr/src/debug/kcrash-5.50.0-1.1.x86_64/src/kcrash.cpp:138 #13 0x00007fa829f5f719 in KIO::SlaveBase::SlaveBase (this=0x7fff2d0b1b20, protocol=..., pool_socket=..., app_socket=...) at /usr/src/debug/kio-5.51.0-232.1.x86_64/src/core/slavebase.cpp:244 #14 0x00007fa82737f7e3 in KioKdeconnect::KioKdeconnect (this=0x7fff2d0b1b10, pool=..., app=...) at /usr/src/debug/kdeconnect-kde-1.3.1-1.2.x86_64/kio/kiokdeconnect.cpp:75
That shows that the crash is actually in KCrash::Initialize, it will likely be fixed by this change in kcrash-5.51.0 which should be in the next Tumbleweed snapshot: https://cgit.kde.org/kcrash.git/commit/?id=6dbd0edec10f65ff00341ccca94a052bb... As this bug report originally was filed against Leap 42.1, I'm going to close it though, it's probably no longer relevant anyway. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=964185 http://bugzilla.opensuse.org/show_bug.cgi?id=964185#c9 --- Comment #9 from Wolfgang Bauer <wbauer@tmo.at> --- (In reply to Wolfgang Bauer from comment #8)
As this bug report originally was filed against Leap 42.1
Ok, actually it was filed against Tumbleweed, but that was nearly 3 years ago and there was never a response by the reporter again. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=964185 http://bugzilla.opensuse.org/show_bug.cgi?id=964185#c10 --- Comment #10 from Wolfgang Bauer <wbauer@tmo.at> --- (In reply to Wolfgang Bauer from comment #8)
From your backtrace:
#11 0x00007fa830171e69 in KCrash::setApplicationFilePath (filePath=...) at /usr/include/qt5/QtCore/qlist.h:115 #12 0x00007fa8301729f7 in KCrash::initialize () at /usr/src/debug/kcrash-5.50.0-1.1.x86_64/src/kcrash.cpp:138 #13 0x00007fa829f5f719 in KIO::SlaveBase::SlaveBase (this=0x7fff2d0b1b20, protocol=..., pool_socket=..., app_socket=...) at /usr/src/debug/kio-5.51.0-232.1.x86_64/src/core/slavebase.cpp:244 #14 0x00007fa82737f7e3 in KioKdeconnect::KioKdeconnect (this=0x7fff2d0b1b10, pool=..., app=...) at /usr/src/debug/kdeconnect-kde-1.3.1-1.2.x86_64/kio/kiokdeconnect.cpp:75
That shows that the crash is actually in KCrash::Initialize, it will likely be fixed by this change in kcrash-5.51.0 which should be in the next Tumbleweed snapshot: https://cgit.kde.org/kcrash.git/commit/ ?id=6dbd0edec10f65ff00341ccca94a052bbd55a876
I'm just wondering why you have kio-5.51.0 installed though. Tumbleweed still has 5.50.0 at this point, which should not need that fix/should not crash AIUI. Are you maybe using some additional repo (like KDE:Frameworks5)? Better make sure that your system is consistent then, or better remove it (you get the latest versions in the standard repo anyway). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=964185 http://bugzilla.opensuse.org/show_bug.cgi?id=964185#c11 --- Comment #11 from Nathan Wolf <dev@cubiclenate.com> --- I disabled the KDE:Frameworks5 repository and reinstalled everything from the main Tumbleweed repository. Problem fixed. Thanks! -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com