Bug 283303 - sycoca crash
Summary: sycoca crash
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-04 09:48 UTC by Christoph Feck
Modified: 2011-10-06 19:44 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Feck 2011-10-04 09:48:33 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.7.2 (4.7.2) (Compiled from sources)
Qt Version: 4.7.4
Operating System: Linux 3.1.0-rc7-3-desktop i686
Distribution: "openSUSE 12.1 Beta 1 (i586)"

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

Got a nickname notification in Konversation, that caused Plasma to crash with this backtrace. I had deleted the ksycoca file before log in into KDE.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Plasma Desktop Shell (kdeinit4), signal: Aborted
[Current thread is 1 (Thread 0xb5449710 (LWP 23136))]

Thread 4 (Thread 0xaf800b70 (LWP 23140)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb6a6eb2c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0xb3be9c27 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /local/qt4/lib/libQtWebKit.so.4
#3  0xb6a6ada1 in start_thread (arg=0xaf800b70) at pthread_create.c:301
#4  0xb5bc188e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xaee93b70 (LWP 23141)):
#0  0xb56fadd1 in __GI_clock_gettime (clock_id=1, tp=0xaee93050) at ../sysdeps/unix/clock_gettime.c:116
#1  0xb6b559cf in do_gettime (sec=0xaee93088, frac=0xaee93080) at /local/git/Qt/qt/src/corelib/tools/qelapsedtimer_unix.cpp:123
#2  0xb6b55a4e in qt_gettime () at /local/git/Qt/qt/src/corelib/tools/qelapsedtimer_unix.cpp:140
#3  0xb6c32d49 in QTimerInfoList::updateCurrentTime (this=0x8357c4c) at /local/git/Qt/qt/src/corelib/kernel/qeventdispatcher_unix.cpp:339
#4  0xb6c302a2 in timerSourceCheckHelper (src=0x8357c18) at /local/git/Qt/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:150
#5  0xb6c303fd in idleTimerSourceCheck (source=0x82c7930) at /local/git/Qt/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:225
#6  0xb5641aa4 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#7  0xb5642470 in ?? () from /usr/lib/libglib-2.0.so.0
#8  0xb56427aa in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#9  0xb6c30ce2 in QEventDispatcherGlib::processEvents (this=0x82d0358, flags=...) at /local/git/Qt/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:424
#10 0xb6bfa8e9 in QEventLoop::processEvents (this=0xaee932c8, flags=...) at /local/git/Qt/qt/src/corelib/kernel/qeventloop.cpp:149
#11 0xb6bfaa29 in QEventLoop::exec (this=0xaee932c8, flags=...) at /local/git/Qt/qt/src/corelib/kernel/qeventloop.cpp:201
#12 0xb6af26c7 in QThread::exec (this=0x82da0d0) at /local/git/Qt/qt/src/corelib/thread/qthread.cpp:498
#13 0xb6af2847 in QThread::run (this=0x82da0d0) at /local/git/Qt/qt/src/corelib/thread/qthread.cpp:565
#14 0xb6af4de0 in QThreadPrivate::start (arg=0x82da0d0) at /local/git/Qt/qt/src/corelib/thread/qthread_unix.cpp:331
#15 0xb6a6ada1 in start_thread (arg=0xaee93b70) at pthread_create.c:301
#16 0xb5bc188e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xa8453b70 (LWP 23157)):
#0  0xb6a6ce5d in __pthread_mutex_lock (mutex=0x86ebde4) at pthread_mutex_lock.c:61
#1  0xb5640c87 in g_main_context_release () from /usr/lib/libglib-2.0.so.0
#2  0xb5642486 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb56427aa in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0xb6c30ce2 in QEventDispatcherGlib::processEvents (this=0x85f5ed0, flags=...) at /local/git/Qt/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:424
#5  0xb6bfa8e9 in QEventLoop::processEvents (this=0xa8453298, flags=...) at /local/git/Qt/qt/src/corelib/kernel/qeventloop.cpp:149
#6  0xb6bfaa29 in QEventLoop::exec (this=0xa8453298, flags=...) at /local/git/Qt/qt/src/corelib/kernel/qeventloop.cpp:201
#7  0xb6af26c7 in QThread::exec (this=0x85f5f38) at /local/git/Qt/qt/src/corelib/thread/qthread.cpp:498
#8  0xb6bdc2e6 in QInotifyFileSystemWatcherEngine::run (this=0x85f5f38) at /local/git/Qt/qt/src/corelib/io/qfilesystemwatcher_inotify.cpp:248
#9  0xb6af4de0 in QThreadPrivate::start (arg=0x85f5f38) at /local/git/Qt/qt/src/corelib/thread/qthread_unix.cpp:331
#10 0xb6a6ada1 in start_thread (arg=0xa8453b70) at pthread_create.c:301
#11 0xb5bc188e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb5449710 (LWP 23136)):
[KCrash Handler]
#7  0xffffe424 in __kernel_vsyscall ()
#8  0xb5b19dcf in raise () from /lib/libc.so.6
#9  0xb5b1b765 in abort () from /lib/libc.so.6
#10 0xb6ae8b2b in qt_message_output (msgType=QtFatalMsg, buf=0x8fff7a8 "ASSERT: \"item_exists()\" in file /local/qt4/include/QtCore/qhash.h, line 1034") at /local/git/Qt/qt/src/corelib/global/qglobal.cpp:2291
#11 0xb6ae8c93 in qt_message (msgType=QtFatalMsg, msg=0xb6c722d4 "ASSERT: \"%s\" in file %s, line %d", ap=0xbff78cf4 "r\326h\264P\326h\264\n\004") at /local/git/Qt/qt/src/corelib/global/qglobal.cpp:2337
#12 0xb6ae90bf in qFatal (msg=0xb6c722d4 "ASSERT: \"%s\" in file %s, line %d") at /local/git/Qt/qt/src/corelib/global/qglobal.cpp:2520
#13 0xb6ae86e2 in qt_assert (assertion=0xb468d672 "item_exists()", file=0xb468d650 "/local/qt4/include/QtCore/qhash.h", line=1034) at /local/git/Qt/qt/src/corelib/global/qglobal.cpp:2036
#14 0xb4500504 in QMutableHashIterator<QString, Plasma::DataContainer*>::key (this=0xbff78d4c) at /local/qt4/include/QtCore/qhash.h:1034
#15 0xb44fdb4f in Plasma::DataEngine::removeAllSources (this=0x8817a88) at /local/git/KDE/libs/kdelibs/plasma/dataengine.cpp:335
#16 0xa8758761 in AppsEngine::sycocaChanged (this=0x8817a88, changes=...) at /local/git/KDE/base/kde-workspace/plasma/generic/dataengines/apps/appsengine.cpp:43
#17 0xa8759176 in AppsEngine::qt_metacall (this=0x8817a88, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbff78eb8) at /local/build/KDE/base/kde-workspace/plasma/generic/dataengines/apps/appsengine.moc:74
#18 0xb6c040ba in QMetaObject::metacall (object=0x8817a88, cl=QMetaObject::InvokeMetaMethod, idx=24, argv=0xbff78eb8) at /local/git/Qt/qt/src/corelib/kernel/qmetaobject.cpp:237
#19 0xb6c16f07 in QMetaObject::activate (sender=0x80aea38, m=0xb710f504, local_signal_index=1, argv=0xbff78eb8) at /local/git/Qt/qt/src/corelib/kernel/qobject.cpp:3278
#20 0xb70112ce in KSycoca::databaseChanged (this=0x80aea38, _t1=...) at /local/build/KDE/libs/kdelibs/kdecore/ksycoca.moc:98
#21 0xb70100c9 in KSycoca::notifyDatabaseChanged (this=0x80aea38, changeList=...) at /local/git/KDE/libs/kdelibs/kdecore/sycoca/ksycoca.cpp:367
#22 0xb7011238 in KSycoca::qt_metacall (this=0x80aea38, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbff78f44) at /local/build/KDE/libs/kdelibs/kdecore/ksycoca.moc:80
#23 0xb6d9ec10 in QDBusConnectionPrivate::deliverCall (this=0x810a888, object=0x80aea38, msg=..., metaTypes=..., slotIdx=6) at /local/git/Qt/qt/src/dbus/qdbusintegrator.cpp:942
#24 0xb6da943e in QDBusCallDeliveryEvent::placeMetaCall (this=0x8a77f20, object=0x80aea38) at /local/git/Qt/qt/src/dbus/qdbusintegrator_p.h:103
#25 0xb6c13121 in QObject::event (this=0x80aea38, e=0x8a77f20) at /local/git/Qt/qt/src/corelib/kernel/qobject.cpp:1217
#26 0xb5f8e2b0 in QApplicationPrivate::notify_helper (this=0x8118bf8, receiver=0x80aea38, e=0x8a77f20) at /local/git/Qt/qt/src/gui/kernel/qapplication.cpp:4481
#27 0xb5f8bbbf in QApplication::notify (this=0x80e6f08, receiver=0x80aea38, e=0x8a77f20) at /local/git/Qt/qt/src/gui/kernel/qapplication.cpp:3881
#28 0xb747722a in KApplication::notify (this=0x80e6f08, receiver=0x80aea38, event=0x8a77f20) at /local/git/KDE/libs/kdelibs/kdeui/kernel/kapplication.cpp:311
#29 0xb6bfcb2e in QCoreApplication::notifyInternal (this=0x80e6f08, receiver=0x80aea38, event=0x8a77f20) at /local/git/Qt/qt/src/corelib/kernel/qcoreapplication.cpp:787
#30 0xb6c0037f in QCoreApplication::sendEvent (receiver=0x80aea38, event=0x8a77f20) at ../../include/QtCore/../../../../git/Qt/qt/src/corelib/kernel/qcoreapplication.h:215
#31 0xb6bfdbc0 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x805e568) at /local/git/Qt/qt/src/corelib/kernel/qcoreapplication.cpp:1428
#32 0xb6bfd87d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /local/git/Qt/qt/src/corelib/kernel/qcoreapplication.cpp:1321
#33 0xb6c31392 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../../../git/Qt/qt/src/corelib/kernel/qcoreapplication.h:220
#34 0xb6c30510 in postEventSourceDispatch (s=0x8118b78) at /local/git/Qt/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:277
#35 0xb5641ddf in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#36 0xb5642510 in ?? () from /usr/lib/libglib-2.0.so.0
#37 0xb56427aa in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#38 0xb6c30cc2 in QEventDispatcherGlib::processEvents (this=0x8116548, flags=...) at /local/git/Qt/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:422
#39 0xb6055f42 in QGuiEventDispatcherGlib::processEvents (this=0x8116548, flags=...) at /local/git/Qt/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:204
#40 0xb6bfa8e9 in QEventLoop::processEvents (this=0xbff798ec, flags=...) at /local/git/Qt/qt/src/corelib/kernel/qeventloop.cpp:149
#41 0xb6bfaa29 in QEventLoop::exec (this=0xbff798ec, flags=...) at /local/git/Qt/qt/src/corelib/kernel/qeventloop.cpp:201
#42 0xb6bfd214 in QCoreApplication::exec () at /local/git/Qt/qt/src/corelib/kernel/qcoreapplication.cpp:1064
#43 0xb5f8b7f0 in QApplication::exec () at /local/git/Qt/qt/src/gui/kernel/qapplication.cpp:3755
#44 0xb0e41466 in kdemain (argc=1, argv=0x80af100) at /local/git/KDE/base/kde-workspace/plasma/desktop/shell/main.cpp:120
#45 0x0804dd98 in launch (argc=1, _name=0x80ae864 "/local/kde4/bin/plasma-desktop", args=0x80ae883 "", cwd=0x0, envc=0, envs=0x80ae887 "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x80535a9 "0") at /local/git/KDE/libs/kdelibs/kinit/kinit.cpp:734
#46 0x0804edfd in handle_launcher_request (sock=8, who=0x8053844 "launcher") at /local/git/KDE/libs/kdelibs/kinit/kinit.cpp:1226
#47 0x0804f579 in handle_requests (waitForPid=0) at /local/git/KDE/libs/kdelibs/kinit/kinit.cpp:1419
#48 0x08050e6e in main (argc=4, argv=0xbff7a0d4, envp=0xbff7a0e8) at /local/git/KDE/libs/kdelibs/kinit/kinit.cpp:1907

Reported using DrKonqi
Comment 1 Christoph Feck 2011-10-04 09:50:02 UTC
I hope it isn't related to the sycoca optimization patch...
Comment 2 Christoph Feck 2011-10-06 19:44:25 UTC
I don't use Qt 4.8, but e56c8a16 seems to have fixed it. Thanks Valentin!

http://commits.kde.org/kdelibs/e56c8a163572b20aa1a3eead07ea2b6f58afb118