Bug 336882

Summary: KDE desktop shell died whilst logging on
Product: [Unmaintained] kdelibs Reporter: David Timber <mieabby>
Component: kshareddatacacheAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash CC: mpyne, nico.kruber
Priority: NOR Keywords: drkonqi
Version: 4.12.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description David Timber 2014-06-30 01:18:06 UTC
Application: plasma-desktop (4.11.10)
KDE Platform Version: 4.12.5
Qt Version: 4.8.6
Operating System: Linux 3.14.8-200.fc20.x86_64 x86_64
Distribution: "Fedora release 20 (Heisenbug)"

-- Information about the crash:
- What I was doing when the application crashed:

When it is loading up, I right clicked to open up the menu. Then, it crashed.
Desktop appeared but it was not fully loaded that I could see my HDD was working hard.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Plasma 데스크톱 셸 (plasma-desktop), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fe137923900 (LWP 1664))]

Thread 4 (Thread 0x7fe119412700 (LWP 1674)):
#0  0x0000003c8d88a2ea in g_mutex_get_impl (mutex=0x7fe10c0009c0) at gthread-posix.c:124
#1  0x0000003c8d88a599 in g_mutex_lock (mutex=mutex@entry=0x7fe10c0009c0) at gthread-posix.c:213
#2  0x0000003c8d848ab7 in g_main_context_prepare (context=context@entry=0x7fe10c0009c0, priority=priority@entry=0x7fe119411b40) at gmain.c:3280
#3  0x0000003c8d8494bb in g_main_context_iterate (context=context@entry=0x7fe10c0009c0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3693
#4  0x0000003c8d8496dc in g_main_context_iteration (context=0x7fe10c0009c0, may_block=1) at gmain.c:3774
#5  0x0000003d177b5a7e in QEventDispatcherGlib::processEvents (this=0x7fe10c0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#6  0x0000003d1778595f in QEventLoop::processEvents (this=this@entry=0x7fe119411c80, flags=...) at kernel/qeventloop.cpp:149
#7  0x0000003d17785cad in QEventLoop::exec (this=this@entry=0x7fe119411c80, flags=...) at kernel/qeventloop.cpp:204
#8  0x0000003d17679e8f in QThread::exec (this=this@entry=0x2084ad0) at thread/qthread.cpp:538
#9  0x0000003d177662e3 in QInotifyFileSystemWatcherEngine::run (this=0x2084ad0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x0000003d1767c6bf in QThreadPrivate::start (arg=0x2084ad0) at thread/qthread_unix.cpp:349
#11 0x0000003c8b007f33 in start_thread (arg=0x7fe119412700) at pthread_create.c:309
#12 0x0000003c8a8f4ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fe118c11700 (LWP 1675)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x0000003d1ff8ef2b in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x3d2028df00 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x0000003d1ff8ef69 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x0000003c8b007f33 in start_thread (arg=0x7fe118c11700) at pthread_create.c:309
#4  0x0000003c8a8f4ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fe08a0d2700 (LWP 1676)):
#0  0x0000003c8a8ea9dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x0000003c8d8495b4 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7fe084002be0, timeout=-1, context=0x7fe0840009c0) at gmain.c:4007
#2  g_main_context_iterate (context=context@entry=0x7fe0840009c0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3708
#3  0x0000003c8d8496dc in g_main_context_iteration (context=0x7fe0840009c0, may_block=1) at gmain.c:3774
#4  0x0000003d177b5a7e in QEventDispatcherGlib::processEvents (this=0x7fe0840008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x0000003d1778595f in QEventLoop::processEvents (this=this@entry=0x7fe08a0d1c80, flags=...) at kernel/qeventloop.cpp:149
#6  0x0000003d17785cad in QEventLoop::exec (this=this@entry=0x7fe08a0d1c80, flags=...) at kernel/qeventloop.cpp:204
#7  0x0000003d17679e8f in QThread::exec (this=this@entry=0x25113b0) at thread/qthread.cpp:538
#8  0x0000003d177662e3 in QInotifyFileSystemWatcherEngine::run (this=0x25113b0) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x0000003d1767c6bf in QThreadPrivate::start (arg=0x25113b0) at thread/qthread_unix.cpp:349
#10 0x0000003c8b007f33 in start_thread (arg=0x7fe08a0d2700) at pthread_create.c:309
#11 0x0000003c8a8f4ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fe137923900 (LWP 1664)):
[KCrash Handler]
#6  0x0000003c8b011298 in _xend () at ../nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c:33
#7  __lll_unlock_elision (lock=0x7fe12689a008, private=128) at ../nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c:29
#8  0x0000003f5a83c32b in unlock (this=0x250ffd0) at /usr/src/debug/kdelibs-4.12.5/kdecore/util/kshareddatacache.cpp:1245
#9  ~CacheLocker (this=<synthetic pointer>, __in_chrg=<optimized out>) at /usr/src/debug/kdelibs-4.12.5/kdecore/util/kshareddatacache.cpp:1317
#10 KSharedDataCache::find (this=this@entry=0x1ed55e0, key=..., destination=destination@entry=0x7fffb05ef880) at /usr/src/debug/kdelibs-4.12.5/kdecore/util/kshareddatacache.cpp:1608
#11 0x0000003f5b2ae6c5 in KImageCache::findPixmap (this=0x1ed55e0, key=..., destination=destination@entry=0x7fffb05ef8e0) at /usr/src/debug/kdelibs-4.12.5/kdeui/util/kimagecache.cpp:150
#12 0x0000003f66bd5463 in Plasma::Theme::findInCache (this=this@entry=0x18e1c40, key=..., pix=...) at /usr/src/debug/kdelibs-4.12.5/plasma/theme.cpp:1035
#13 0x0000003f66b66bd0 in Plasma::FrameSvgPrivate::generateBackground (this=0x2f16590, frame=frame@entry=0x42830c0) at /usr/src/debug/kdelibs-4.12.5/plasma/framesvg.cpp:671
#14 0x0000003f66b67637 in Plasma::FrameSvg::framePixmap (this=this@entry=0x2f163d0) at /usr/src/debug/kdelibs-4.12.5/plasma/framesvg.cpp:503
#15 0x0000003f66b68bb8 in Plasma::FrameSvg::qt_static_metacall (_o=_o@entry=0x2f163d0, _id=_id@entry=17, _a=_a@entry=0x7fffb05efd10, _c=QMetaObject::InvokeMetaMethod) at /usr/src/debug/kdelibs-4.12.5/x86_64-redhat-linux-gnu/plasma/framesvg.moc:132
#16 0x0000003f66b68f26 in qt_static_metacall (_a=0x7fffb05efd10, _id=17, _c=QMetaObject::InvokeMetaMethod, _o=0x2f163d0) at /usr/src/debug/kdelibs-4.12.5/x86_64-redhat-linux-gnu/plasma/framesvg.moc:175
#17 Plasma::FrameSvg::qt_metacall (this=0x2f163d0, _c=QMetaObject::InvokeMetaMethod, _id=17, _a=0x7fffb05efd10) at /usr/src/debug/kdelibs-4.12.5/x86_64-redhat-linux-gnu/plasma/framesvg.moc:176
#18 0x0000003f5f859c24 in QDeclarativeObjectMethodScriptClass::callMethod (this=this@entry=0x2646e10, object=0x2f163d0, index=43, returnType=<optimized out>, argCount=argCount@entry=0, argTypes=argTypes@entry=0x0, ctxt=ctxt@entry=0x7fe088d401a8) at qml/qdeclarativeobjectscriptclass.cpp:986
#19 0x0000003f5f85b24b in QDeclarativeObjectMethodScriptClass::callPrecise (this=0x2646e10, object=0x2f163d0, data=..., ctxt=0x7fe088d401a8) at qml/qdeclarativeobjectscriptclass.cpp:953
#20 0x0000003f5f85bcbb in QDeclarativeObjectMethodScriptClass::call (this=<optimized out>, o=<optimized out>, ctxt=<optimized out>) at qml/qdeclarativeobjectscriptclass.cpp:922
#21 0x0000003d200089d4 in QScript::DeclarativeObjectDelegate::call (exec=<optimized out>, callee=<optimized out>, thisValue=..., args=...) at bridge/qscriptdeclarativeobject.cpp:154
#22 0x0000003d1fefde40 in QTJSC::NativeFuncWrapper::operator() (this=this@entry=0x7fffb05f0140, exec=0x7fe088d401a8, jsobj=jsobj@entry=0x7fe088ceb8c0, thisValue=..., argList=...) at ../3rdparty/javascriptcore/JavaScriptCore/runtime/CallData.cpp:46
#23 0x0000003d1feda9f4 in QTJSC::cti_op_call_NotJSFunction (args=0x7fffb05f01a0) at ../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:1780
#24 0x00007fe08c06eb19 in ?? ()
#25 0x0000000000000000 in ?? ()

Possible duplicates by query: bug 334846, bug 334674.

Reported using DrKonqi
Comment 1 Nico Kruber 2016-06-24 19:39:22 UTC
I just had a crash that looks like this one but with dolphin 16.04.2 and Qt 5.6.1
FYI: I always have the terminal open in dolphin

Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f4f706e6780 (LWP 3417))]

Thread 3 (Thread 0x7f4f5a1d6700 (LWP 3431)):
#0  0x00007f4f6ff8cbbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f4f62d7a422 in _xcb_conn_wait (__timeout=-1, __nfds=1, __fds=0x7f4f5a1d5d40) at /usr/include/bits/poll2.h:46
#2  0x00007f4f62d7a422 in _xcb_conn_wait (c=c@entry=0x2631750, cond=cond@entry=0x2631790, vector=vector@entry=0x0, count=count@entry=0x0) at xcb_conn.c:459
#3  0x00007f4f62d7c00f in xcb_wait_for_event (c=0x2631750) at xcb_in.c:693
#4  0x00007f4f5cd61579 in QXcbEventReader::run() (this=0x263dae0) at qxcbconnection.cpp:1325
#5  0x00007f4f6a074a29 in QThreadPrivate::start(void*) (arg=0x263dae0) at thread/qthread_unix.cpp:341
#6  0x00007f4f6592f0a4 in start_thread (arg=0x7f4f5a1d6700) at pthread_create.c:309
#7  0x00007f4f6ff94fed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f4f53fff700 (LWP 3616)):
#0  0x00007f4f6ff8cbbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f4f64da9e64 in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7f4f4c017ba0, timeout=-1, context=0x7f4f4c000990) at gmain.c:4103
#2  0x00007f4f64da9e64 in g_main_context_iterate (context=context@entry=0x7f4f4c000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3803
#3  0x00007f4f64da9f7c in g_main_context_iteration (context=0x7f4f4c000990, may_block=1) at gmain.c:3869
#4  0x00007f4f6a28734b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f4f4c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#5  0x00007f4f6a234fcb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f4f53ffee20, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f4f6a06ff5a in QThread::exec() (this=this@entry=0x7f4f6a903d00 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:500
#7  0x00007f4f6a69b225 in QDBusConnectionManager::run() (this=0x7f4f6a903d00 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:189
#8  0x00007f4f6a074a29 in QThreadPrivate::start(void*) (arg=0x7f4f6a903d00 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:341
#9  0x00007f4f6592f0a4 in start_thread (arg=0x7f4f53fff700) at pthread_create.c:309
#10 0x00007f4f6ff94fed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f4f706e6780 (LWP 3417)):
[KCrash Handler]
#6  0x00007f4f65938198 in __lll_unlock_elision () at ../nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c:33
#7  0x00007f4f65938198 in __lll_unlock_elision (lock=0x7f4f52def008, private=128) at ../nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c:29
#8  0x00007f4f6c020739 in KSharedDataCache::find(QString const&, QByteArray*) const (this=0x2695330) at /usr/src/debug/kcoreaddons-5.23.0/src/lib/caching/kshareddatacache.cpp:1225
#9  0x00007f4f6c020739 in KSharedDataCache::find(QString const&, QByteArray*) const (this=<synthetic pointer>, __in_chrg=<optimized out>) at /usr/src/debug/kcoreaddons-5.23.0/src/lib/caching/kshareddatacache.cpp:1297
#10 0x00007f4f6c020739 in KSharedDataCache::find(QString const&, QByteArray*) const (this=0x2676d50, key=..., destination=destination@entry=0x7ffd5d195050) at /usr/src/debug/kcoreaddons-5.23.0/src/lib/caching/kshareddatacache.cpp:1579
#11 0x00007f4f6d5c4618 in KIconLoaderPrivate::findCachedPixmapWithPath(QString const&, QPixmap&, QString&) (this=0x268db40, key=..., data=..., path=...) at /usr/src/debug/kiconthemes-5.23.0/src/kiconloader.cpp:946
#12 0x00007f4f6d5c551a in KIconLoader::loadIcon(QString const&, KIconLoader::Group, int, int, QStringList const&, QString*, bool) const (this=0x7f4f6d7dac90 <(anonymous namespace)::Q_QGS_globalIconLoader::innerFunction()::holder>, _name=..., group=group@entry=KIconLoader::Desktop, size=22, state=0, overlays=..., path_store=path_store@entry=0x0, canReturnNull=canReturnNull@entry=false) at /usr/src/debug/kiconthemes-5.23.0/src/kiconloader.cpp:1219
#13 0x00007f4f6d5bc7b8 in KIconEngine::pixmap(QSize const&, QIcon::Mode, QIcon::State) (this=<optimized out>, size=..., mode=<optimized out>, state=<optimized out>) at /usr/src/debug/kiconthemes-5.23.0/src/kiconengine.cpp:102
#14 0x00007f4f6ac9a909 in QIcon::pixmap(QWindow*, QSize const&, QIcon::Mode, QIcon::State) const (this=this@entry=0x7ffd5d195570, window=window@entry=0x0, size=..., mode=mode@entry=QIcon::Normal, state=state@entry=QIcon::Off) at image/qicon.cpp:839
#15 0x00007f4f6ac9a9aa in QIcon::pixmap(QSize const&, QIcon::Mode, QIcon::State) const (this=this@entry=0x7ffd5d195570, size=..., mode=mode@entry=QIcon::Normal, state=state@entry=QIcon::Off) at image/qicon.cpp:775
#16 0x00007f4f5cd78d6b in QXcbWindow::setWindowIcon(QIcon const&) (this=this@entry=0x28d7f30, icon=...) at qxcbwindow.cpp:1573
#17 0x00007f4f5cd7749b in QXcbWindow::create() (this=0x28d7f30) at qxcbwindow.cpp:612
#18 0x00007f4f5cd630c2 in QXcbIntegration::createPlatformWindow(QWindow*) const (this=<optimized out>, window=<optimized out>) at qxcbintegration.cpp:203
#19 0x00007f4f6ac28c4d in QWindowPrivate::create(bool) (this=0x29239a0, recursive=<optimized out>) at kernel/qwindow.cpp:395
#20 0x00007f4f6b4095e3 in QWidgetPrivate::create_sys(unsigned long long, bool, bool) () at /usr/lib64/libQt5Widgets.so.5
#21 0x00007f4f6b408cc9 in QWidget::create(unsigned long long, bool, bool) () at /usr/lib64/libQt5Widgets.so.5
#22 0x00007f4f6b4091e9 in QWidget::winId() const () at /usr/lib64/libQt5Widgets.so.5
#23 0x00007f4f6d855660 in KMainWindowPrivate::polish(KMainWindow*) (this=0x26d8b80, q=q@entry=0x26d8ac0) at /usr/src/debug/kxmlgui-5.23.0/src/kmainwindow.cpp:340
#24 0x00007f4f6d857f2c in KMainWindow::event(QEvent*) (this=this@entry=0x26d8ac0, ev=ev@entry=0x7ffd5d195c00) at /usr/src/debug/kxmlgui-5.23.0/src/kmainwindow.cpp:815
#25 0x00007f4f6d894165 in KXmlGuiWindow::event(QEvent*) (this=0x26d8ac0, ev=0x7ffd5d195c00) at /usr/src/debug/kxmlgui-5.23.0/src/kxmlguiwindow.cpp:118
#26 0x00007f4f6b3d2e9c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#27 0x00007f4f6b3d74fa in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#28 0x00007f4f6a236fb5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x26d8ac0, event=0x7ffd5d195c00) at kernel/qcoreapplication.cpp:1015
#29 0x00007f4f6b410863 in QWidget::ensurePolished() const () at /usr/lib64/libQt5Widgets.so.5
#30 0x00007f4f6b410a02 in QWidget::adjustSize() () at /usr/lib64/libQt5Widgets.so.5
#31 0x00007f4f6d8946b2 in KXmlGuiWindow::setupGUI(QSize const&, QFlags<KXmlGuiWindow::StandardWindowOption>, QString const&) (this=0x26d8ac0, defaultSize=..., options=..., xmlfile=...) at /usr/src/debug/kxmlgui-5.23.0/src/kxmlguiwindow.cpp:210
#32 0x00007f4f6d894842 in KXmlGuiWindow::setupGUI(QFlags<KXmlGuiWindow::StandardWindowOption>, QString const&) (this=<optimized out>, options=..., xmlfile=...) at /usr/src/debug/kxmlgui-5.23.0/src/kxmlguiwindow.cpp:179
#33 0x00007f4f702a648b in  () at /usr/lib64/libkdeinit5_dolphin.so
#34 0x00007f4f702b9ce6 in kdemain () at /usr/lib64/libkdeinit5_dolphin.so
#35 0x00007f4f6fed1b05 in __libc_start_main (main=0x400760, argc=3, argv=0x7ffd5d196188, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd5d196178) at libc-start.c:285
#36 0x000000000040078e in _start ()
Comment 2 Andrew Crouthamel 2018-11-01 13:48:57 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 3 Bug Janitor Service 2018-11-16 11:33:33 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 4 Bug Janitor Service 2018-12-01 03:47:58 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!