Bug 291670 - Plasma keeps crashing, file:// protocol disappear?
Summary: Plasma keeps crashing, file:// protocol disappear?
Status: RESOLVED WORKSFORME
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: 4.7
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-16 16:44 UTC by Nicolas Bigaouette
Modified: 2018-11-29 09:37 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (23.75 KB, text/plain)
2013-10-26 20:20 UTC, Alex
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Bigaouette 2012-01-16 16:44:02 UTC
Version:           4.7 (using KDE 4.7.4) 
OS:                Linux

Many times a day, plasma crash. Seems to happen when opening Kate, but also happen when kate is already open.

After the crash, I cannot browse files: opening Dolphin fails, and clicking the "save as" or "open" button in already opened application results in the following error prompt:
Could not start process Unable to create io-slave:
klauncher said: Unknown protocol 'file'.
.

After the crash, the only way to get back working desktop is to logout and log back in.

The backtrace is:

Application: Plasma Desktop Shell (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f3abb4b0760 (LWP 30782))]

Thread 2 (Thread 0x7f3a93776700 (LWP 30797)):
#0  0x00007f3ab8ac2fb3 in poll () from /lib64/libc.so.6
#1  0x00007f3ab5cd0554 in g_main_context_iterate.clone.6 () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f3ab5cd09bf in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f3aba0f6c56 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f3aba0cae12 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007f3aba0cb094 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007f3ab9fe0ee4 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f3aba0acaa0 in QInotifyFileSystemWatcherEngine::run() () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f3ab9fe3765 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007f3aad86c2da in ?? () from /usr/lib64/opengl/nvidia/lib/libGL.so.1
#10 0x00007f3ab9d53dbc in start_thread () from /lib64/libpthread.so.0
#11 0x00007f3ab8acbded in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f3abb4b0760 (LWP 30782)):
[KCrash Handler]
#6  0x00007f3aba0536ec in QDataStream::operator>>(int&) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f3aba59e965 in KServiceGroupFactory::KServiceGroupFactory() () from /usr/lib64/libkdecore.so.5
#8  0x00007f3aba59ead3 in KServiceGroupFactory::self() () from /usr/lib64/libkdecore.so.5
#9  0x00007f3aba599872 in KServiceGroup::root() () from /usr/lib64/libkdecore.so.5
#10 0x00007f3aba599925 in KServiceGroup::group(QString const&) () from /usr/lib64/libkdecore.so.5
#11 0x00007f3a9d821ec9 in Kickoff::ApplicationModelPrivate::fillNode(QString const&, Kickoff::AppNode*) () from /usr/lib64/libkickoff.so
#12 0x00007f3a9d823a69 in Kickoff::ApplicationModel::reloadMenu() () from /usr/lib64/libkickoff.so
#13 0x00007f3a9d823ba0 in Kickoff::ApplicationModel::checkSycocaChange(QStringList const&) () from /usr/lib64/libkickoff.so
#14 0x00007f3a9d823c19 in Kickoff::ApplicationModel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkickoff.so
#15 0x00007f3aba0e049f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#16 0x00007f3aba6185c5 in KSycoca::databaseChanged(QStringList const&) () from /usr/lib64/libkdecore.so.5
#17 0x00007f3aba619919 in KSycoca::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkdecore.so.5
#18 0x00007f3ab6eb0552 in QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QList<int> const&, int) () from /usr/lib64/qt4/libQtDBus.so.4
#19 0x00007f3ab6eba3bf in QDBusCallDeliveryEvent::placeMetaCall(QObject*) () from /usr/lib64/qt4/libQtDBus.so.4
#20 0x00007f3aba0dff62 in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#21 0x00007f3ab9259b3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#22 0x00007f3ab925e69a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#23 0x00007f3abae948e8 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#24 0x00007f3aba0cbacb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007f3aba0cf2e4 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#26 0x00007f3aba0f6ab3 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtCore.so.4
#27 0x00007f3ab5cd001a in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#28 0x00007f3ab5cd0828 in g_main_context_iterate.clone.6 () from /usr/lib64/libglib-2.0.so.0
#29 0x00007f3ab5cd09bf in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#30 0x00007f3aba0f6c1a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#31 0x00007f3ab92fff86 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#32 0x00007f3aba0cae12 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#33 0x00007f3aba0cb094 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#34 0x00007f3aba0cf57b in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#35 0x00007f3aa9230403 in kdemain () from /usr/lib64/libkdeinit4_plasma-desktop.so
#36 0x0000000000407566 in launch(int, char const*, char const*, char const*, int, char const*, bool, char const*, bool, char const*) ()
#37 0x0000000000408120 in handle_launcher_request ()
#38 0x0000000000408845 in handle_requests(int) ()
#39 0x0000000000409491 in main ()


Reproducible: Sometimes

Steps to Reproduce:
Open kate and select a session from the popup (before kate starts)

Actual Results:  
Plasma crash, desktop becomes unusable.

Expected Results:  
Working desktop. At least being able to continue to work without having to logout/login.

Running 4.7.4 on Gentoo x86_64 (amd64).
Comment 1 Nicolas Bigaouette 2012-01-16 18:25:43 UTC
I might have found the issue: a bad package was changing owners in /var/tmp and /tmp. I have not experienced the issue since a couple of hours. I will report back if I'm hit with the crash again.

This open another question though. Instead of crashing, KDE should report what is wrong. I remember having been hit by another problem: I couldn't logging at all. KDE was reporting cryptic error and sending me back to KDM. The problem was that /tmp was full.

It would be nice if KDE could detect these kind of problems and report to the user: clean up /tmp, wrong permissions, etc.

Thanks
Comment 2 Alex 2013-10-26 20:20:58 UTC
Created attachment 83136 [details]
New crash information added by DrKonqi

plasma-desktop (4.11.2) on KDE Platform 4.11.2 using Qt 4.8.4

When my Kubuntu hust started, Dolphin (file browser) works fine, but suddenly it says, that it's wrong protocol "file".

-- Backtrace (Reduced):
#7  QDataStream::operator>> (this=this@entry=0x0, i=@0xbfb0c00c: -1254483273) at io/qdatastream.cpp:722
#8  0xb63b06a1 in KServiceGroupFactory::KServiceGroupFactory (this=0xc282b98) at ../../kdecore/services/kservicegroupfactory.cpp:43
#9  0xb63b093c in self (this=0x989f368) at ../../kdecore/sycoca/ksycocafactory.h:200
#10 KServiceGroupFactory::self () at ../../kdecore/services/kservicegroupfactory.cpp:62
#11 0xb63ab2bc in KServiceGroup::root () at ../../kdecore/services/kservicegroup.cpp:714
Comment 3 Andrew Crouthamel 2018-10-30 00:03:10 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2018-11-14 11:28:47 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2018-11-29 09:37:10 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!