Bug 301572 - Plasma crashed [@ Plasma::StorageThread::~StorageThread]
Summary: Plasma crashed [@ Plasma::StorageThread::~StorageThread]
Status: RESOLVED UNMAINTAINED
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: 4.9.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 306731 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-06-10 13:06 UTC by Harald Haas
Modified: 2013-05-29 13:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harald Haas 2012-06-10 13:06:12 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.7.4 (4.7.4) "release 5"
Qt Version: 4.7.4
Operating System: Linux 2.6.37.6-0.11-desktop i686
Distribution: "openSUSE 11.4 (i586)"

-- Information about the crash:
- What I was doing when the application crashed: I did just a copy & paste between 2 scanned jpeg files in Gimp 2.6.11.

-- Backtrace:
Application: Plasma-Desktop-Umgebung (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0xb58d3710 (LWP 17791))]

Thread 5 (Thread 0xaacecb70 (LWP 17838)):
#0  0xb5b3bf9c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#1  0xb6f0c247 in QEventDispatcherGlib::processEvents (this=0x8824600, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#2  0xb6edcc5d in QEventLoop::processEvents (this=0xaacec2b0, flags=...) at kernel/qeventloop.cpp:149
#3  0xb6edce89 in QEventLoop::exec (this=0xaacec2b0, flags=...) at kernel/qeventloop.cpp:201
#4  0xb6dddfd9 in QThread::exec (this=0x8812450) at thread/qthread.cpp:498
#5  0xb6ebc9ed in QInotifyFileSystemWatcherEngine::run (this=0x8812450) at io/qfilesystemwatcher_inotify.cpp:248
#6  0xb6de0c23 in QThreadPrivate::start (arg=0x8812450) at thread/qthread_unix.cpp:331
#7  0xb6d63b05 in start_thread () from /lib/libpthread.so.0
#8  0xb6114d5e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xa920fb70 (LWP 17847)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb6d68105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb43bb7c7 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0xb6d63b05 in start_thread () from /lib/libpthread.so.0
#4  0xb6114d5e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xa88e6b70 (LWP 17848)):
#0  0xb5bf022b in clock_gettime () from /lib/librt.so.1
#1  0xb6e3a345 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb6f0ce26 in QTimerInfoList::updateCurrentTime (this=0x8b570cc) at kernel/qeventdispatcher_unix.cpp:339
#4  0xb6f0c87e in timerSourceCheckHelper (src=0x8b57098) at kernel/qeventdispatcher_glib.cpp:150
#5  0xb5b3b180 in g_main_context_check () from /lib/libglib-2.0.so.0
#6  0xb5b3bac8 in ?? () from /lib/libglib-2.0.so.0
#7  0xb5b3bfce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#8  0xb6f0c247 in QEventDispatcherGlib::processEvents (this=0x8b567d8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#9  0xb6edcc5d in QEventLoop::processEvents (this=0xa88e62e0, flags=...) at kernel/qeventloop.cpp:149
#10 0xb6edce89 in QEventLoop::exec (this=0xa88e62e0, flags=...) at kernel/qeventloop.cpp:201
#11 0xb6dddfd9 in QThread::exec (this=0x8b55ac8) at thread/qthread.cpp:498
#12 0xb6dde06b in QThread::run (this=0x8b55ac8) at thread/qthread.cpp:565
#13 0xb6de0c23 in QThreadPrivate::start (arg=0x8b55ac8) at thread/qthread_unix.cpp:331
#14 0xb6d63b05 in start_thread () from /lib/libpthread.so.0
#15 0xb6114d5e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xa68f5b70 (LWP 17865)):
#0  0xb6d67474 in __pthread_mutex_unlock_usercnt () from /lib/libpthread.so.0
#1  0xb5b3ae4c in g_main_context_query () from /lib/libglib-2.0.so.0
#2  0xb5b3b92c in ?? () from /lib/libglib-2.0.so.0
#3  0xb5b3bfce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0xb6f0c247 in QEventDispatcherGlib::processEvents (this=0x89f4408, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0xb6edcc5d in QEventLoop::processEvents (this=0xa68f52e0, flags=...) at kernel/qeventloop.cpp:149
#6  0xb6edce89 in QEventLoop::exec (this=0xa68f52e0, flags=...) at kernel/qeventloop.cpp:201
#7  0xb6dddfd9 in QThread::exec (this=0x8a21ba8) at thread/qthread.cpp:498
#8  0xb4c96fbb in Plasma::StorageThread::run (this=0x8a21ba8) at /usr/src/debug/kdelibs-4.7.4/plasma/private/storagethread.cpp:326
#9  0xb6de0c23 in QThreadPrivate::start (arg=0x8a21ba8) at thread/qthread_unix.cpp:331
#10 0xb6d63b05 in start_thread () from /lib/libpthread.so.0
#11 0xb6114d5e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb58d3710 (LWP 17791)):
[KCrash Handler]
#7  QReadWriteLock::lockForWrite (this=0x4) at thread/qreadwritelock.cpp:277
#8  0xb312f8bb in relock (name=...) at ../../src/corelib/thread/qreadwritelock.h:155
#9  QWriteLocker (name=...) at ../../src/corelib/thread/qreadwritelock.h:175
#10 QSqlDatabasePrivate::removeDatabase (name=...) at kernel/qsqldatabase.cpp:249
#11 0xb4c9703b in Plasma::StorageThread::~StorageThread (this=0x8a21ba8, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.7.4/plasma/private/storagethread.cpp:57
#12 0xb4c970d9 in ~StorageThreadSingleton () at /usr/src/debug/kdelibs-4.7.4/plasma/private/storagethread.cpp:36
#13 destroy () at /usr/src/debug/kdelibs-4.7.4/plasma/private/storagethread.cpp:45
#14 0xb4be2bf9 in KCleanUpGlobalStatic::~KCleanUpGlobalStatic (this=0xb4e463bc, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.7.4/kdecore/kernel/kglobal.h:62
#15 0xb606f89f in __run_exit_handlers () from /lib/libc.so.6
#16 0xb606f8fd in exit () from /lib/libc.so.6
#17 0xa3719711 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#18 0xb733444b in _XError () from /usr/lib/libX11.so.6
#19 0xb7331585 in ?? () from /usr/lib/libX11.so.6
#20 0xb7332131 in _XReply () from /usr/lib/libX11.so.6
#21 0xb7316786 in XGetWindowProperty () from /usr/lib/libX11.so.6
#22 0xb7798580 in NETWinInfo::update (this=0xbf8ea180, dirty_props=0xa8b89d8) at /usr/src/debug/kdelibs-4.7.4/kdeui/windowmanagement/netwm.cpp:4357
#23 0xb779c285 in NETWinInfo::NETWinInfo (this=0xbf8ea180, display=0x80f3630, window=161489514, rootWindow=180, properties=0xbf8ea188, properties_size=<value optimized out>, role=NET::Client) at /usr/src/debug/kdelibs-4.7.4/kdeui/windowmanagement/netwm.cpp:2823
#24 0xb09f0d47 in ?? () from /usr/lib/kde4/plasma_applet_pager.so
#25 0xb09f1c54 in ?? () from /usr/lib/kde4/plasma_applet_pager.so
#26 0xb6ee426d in QMetaObject::metacall (object=0x84aaed0, cl=QMetaObject::InvokeMetaMethod, idx=67, argv=0xbf8ea29c) at kernel/qmetaobject.cpp:237
#27 0xb6ef379c in QMetaObject::activate (sender=0x8583770, m=0xb70185a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3287
#28 0xb6f43935 in QTimer::timeout (this=0x8583770) at .moc/release-shared/moc_qtimer.cpp:134
#29 0xb6efab26 in QTimer::timerEvent (this=0x8583770, e=0xbf8ea7dc) at kernel/qtimer.cpp:271
#30 0xb6ef2ed4 in QObject::event (this=0x8583770, e=0xbf8ea7dc) at kernel/qobject.cpp:1190
#31 0xb63de604 in QApplicationPrivate::notify_helper (this=0x80dcff8, receiver=0x8583770, e=0xbf8ea7dc) at kernel/qapplication.cpp:4481
#32 0xb63e73a7 in QApplication::notify (this=0x80c5120, receiver=0x8583770, e=0xbf8ea7dc) at kernel/qapplication.cpp:3881
#33 0xb7626e51 in KApplication::notify (this=0x80c5120, receiver=0x8583770, event=0xbf8ea7dc) at /usr/src/debug/kdelibs-4.7.4/kdeui/kernel/kapplication.cpp:311
#34 0xb6edd97e in QCoreApplication::notifyInternal (this=0x80c5120, receiver=0x8583770, event=0xbf8ea7dc) at kernel/qcoreapplication.cpp:787
#35 0xb6f0ee09 in sendEvent (this=0x80d9304) at kernel/qcoreapplication.h:215
#36 QTimerInfoList::activateTimers (this=0x80d9304) at kernel/qeventdispatcher_unix.cpp:618
#37 0xb6f0bb05 in timerSourceDispatch (source=0x80d9d00) at kernel/qeventdispatcher_glib.cpp:184
#38 idleTimerSourceDispatch (source=0x80d9d00) at kernel/qeventdispatcher_glib.cpp:231
#39 0xb5b3b509 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#40 0xb5b3bd10 in ?? () from /lib/libglib-2.0.so.0
#41 0xb5b3bfce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#42 0xb6f0c1fb in QEventDispatcherGlib::processEvents (this=0x80d40f8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#43 0xb64958fa in QGuiEventDispatcherGlib::processEvents (this=0x80d40f8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#44 0xb6edcc5d in QEventLoop::processEvents (this=0xbf8eaa84, flags=...) at kernel/qeventloop.cpp:149
#45 0xb6edce89 in QEventLoop::exec (this=0xbf8eaa84, flags=...) at kernel/qeventloop.cpp:201
#46 0xb6ee1930 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#47 0xb63dc354 in QApplication::exec () at kernel/qapplication.cpp:3755
#48 0xb1f0169b in kdemain (argc=1, argv=0x809d748) at /usr/src/debug/kde-workspace-4.7.4/plasma/desktop/shell/main.cpp:120
#49 0x0804e2a4 in _start ()

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2012-06-10 15:36:14 UTC
Is this crash reproducible?
Comment 2 Harald Haas 2012-06-10 17:36:05 UTC
No, not until now. A few minutes after the plasma restart, i tried to perform the same steps in gimp with the same files an there was no crash - so i could finish my work.
Comment 3 Myriam Schweingruber 2012-06-13 08:03:05 UTC
Thank you for the fast feedback. I close this for now, as a crash that is not reproducible is hard to fix. Please feel free to reopen this as soon as you can reproduce it.
Comment 4 Myriam Schweingruber 2012-09-14 09:54:33 UTC
*** Bug 306731 has been marked as a duplicate of this bug. ***
Comment 5 Myriam Schweingruber 2012-09-14 09:55:06 UTC
(In reply to comment #4)
> *** Bug 306731 has been marked as a duplicate of this bug. ***

Backtrace:

Thread 1 (Thread 0x7f49930a07c0 (LWP 3329)):
[KCrash Handler]
#6  QReadWriteLock::lockForWrite (this=0x8) at thread/qreadwritelock.cpp:277
#7  0x00007f4985ed5751 in relock (this=0x7fffec890960) at ../../include/QtCore/../../src/corelib/thread/qreadwritelock.h:155
#8  QWriteLocker (this=0x7fffec890960, areadWriteLock=<optimized out>) at ../../include/QtCore/../../src/corelib/thread/qreadwritelock.h:175
#9  QWriteLocker (areadWriteLock=<optimized out>, this=0x7fffec890960) at kernel/qsqldatabase.cpp:242
#10 QSqlDatabasePrivate::removeDatabase (name=...) at kernel/qsqldatabase.cpp:246
#11 0x00007f491f256833 in Plasma::StorageThread::~StorageThread (this=0xbb0eb30, __in_chrg=<optimized out>) at ../../plasma/private/storagethread.cpp:57
#12 0x00007f491f256897 in ~StorageThreadSingleton (this=0xbb0eb30, __in_chrg=<optimized out>) at ../../plasma/private/storagethread.cpp:35
#13 destroy () at ../../plasma/private/storagethread.cpp:45
#14 0x00007f4990519921 in __run_exit_handlers (status=1, listp=0x7f4990894688, run_list_atexit=true) at exit.c:78
#15 0x00007f49905199a5 in __GI_exit (status=<optimized out>) at exit.c:100
#16 0x00007f492c60dcf9 in MailCommon::Kernel::emergencyExit(QString const&) () from /usr/lib/libmailcommon.so.4
#17 0x00007f492c60e09e in MailCommon::Kernel::createDefaultCollectionDone(KJob*) () from /usr/lib/libmailcommon.so.4
#18 0x00007f4990d2a841 in QMetaObject::activate (sender=0x31792d0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffec890ca0) at kernel/qobject.cpp:3547
#19 0x00007f49911a1192 in KJob::result (this=<optimized out>, _t1=0x31792d0) at ./kjob.moc:208
#20 0x00007f49911a11d0 in KJob::emitResult (this=0x31792d0) at ../../kdecore/jobs/kjob.cpp:318
#21 0x00007f498d19399e in Akonadi::SpecialCollectionsRequestJobPrivate::lockResult (this=0x3185000, job=0x4c25820) at ../../akonadi/specialcollectionsrequestjob.cpp:121
#22 0x00007f4990d2a841 in QMetaObject::activate (sender=0x4c25820, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffec890e80) at kernel/qobject.cpp:3547
#23 0x00007f49911a1192 in KJob::result (this=<optimized out>, _t1=0x4c25820) at ./kjob.moc:208
#24 0x00007f49911a11d0 in KJob::emitResult (this=0x4c25820) at ../../kdecore/jobs/kjob.cpp:318
#25 0x00007f498d18c9aa in Akonadi::GetLockJob::Private::timeout (this=0x279d780) at ../../akonadi/specialcollectionshelperjobs.cpp:610
#26 0x00007f4990d2a841 in QMetaObject::activate (sender=0x33ddb30, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#27 0x00007f4990d2f739 in QObject::event (this=0x33ddb30, e=<optimized out>) at kernel/qobject.cpp:1157
#28 0x00007f49917107b4 in notify_helper (e=0x7fffec8916f0, receiver=0x33ddb30, this=0x111bca0) at kernel/qapplication.cpp:4556
#29 QApplicationPrivate::notify_helper (this=0x111bca0, receiver=0x33ddb30, e=0x7fffec8916f0) at kernel/qapplication.cpp:4528
#30 0x00007f4991715583 in QApplication::notify (this=0x7fffec8919c0, receiver=0x33ddb30, e=0x7fffec8916f0) at kernel/qapplication.cpp:4417
#31 0x00007f499244b456 in KApplication::notify (this=0x7fffec8919c0, receiver=0x33ddb30, event=0x7fffec8916f0) at ../../kdeui/kernel/kapplication.cpp:311
#32 0x00007f4990d163ec in QCoreApplication::notifyInternal (this=0x7fffec8919c0, receiver=0x33ddb30, event=0x7fffec8916f0) at kernel/qcoreapplication.cpp:915
#33 0x00007f4990d477b2 in sendEvent (event=0x7fffec8916f0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#34 QTimerInfoList::activateTimers (this=0x111fdb0) at kernel/qeventdispatcher_unix.cpp:611
#35 0x00007f4990d451cd in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#36 timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:180
#37 0x00007f498a880d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f498a8810a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f498a881164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007f4990d4597f in QEventDispatcherGlib::processEvents (this=0x10e4c10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#41 0x00007f49917b8cde in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x00007f4990d14f22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#43 0x00007f4990d15177 in QEventLoop::exec (this=0x7fffec891950, flags=...) at kernel/qeventloop.cpp:204
#44 0x00007f4990d1a4c7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#45 0x00000000004035c9 in ?? ()
#46 0x00007f49904ff76d in __libc_start_main (main=0x402ae0, argc=1, ubp_av=0x7fffec891fe8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffec891fd8) at libc-start.c:226
#47 0x0000000000403b31 in _start ()
Comment 6 Martin Flöser 2013-05-29 13:23:02 UTC
Thank you for this crash report and helping to improve our software. Unfortunately we were not able to work on this specific report yet. Nowadays the version this crash was reported against is no longer maintained and this makes it very difficult to work on this report as the source code might have changed and the information in the backtrace is no longer valid. 

Also it is quite likely that this problem got fixed in a later version. Crash reports are very often reported multiple times.

If you are able to reproduce this crash with the latest version of KDE Plasma (4.10.3) please reopen this report and adjust the version information in the dropdown above and please also include a new backtrace as generated by the crash reporting tool. Please also make sure that the steps on how to reproduce the crash are precise and correct. Thank you!