Bug 295083

Summary: KMail crashed when deleted mails from list
Product: [Applications] kmail2 Reporter: Peter Buckenleib <peter.buckenleib>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: joerg
Priority: NOR    
Version: 4.8.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Peter Buckenleib 2012-02-29 18:14:19 UTC
Application: kmail (4.8.0)
KDE Platform Version: 4.8.00 (4.8.0 "release 462"
Qt Version: 4.8.0
Operating System: Linux 3.1.9-1.4-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

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

stepped thru the list of mails and deleted ( sent to thrash ) items

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f4cebdc9780 (LWP 6026))]

Thread 5 (Thread 0x7f4ccdb9d700 (LWP 6041)):
#0  0x00007f4ce6f13e6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f4cdd5dfc12 in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f4cdd5dfc49 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007f4ce6f0ff05 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f4ce910663d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f4ccd29c700 (LWP 6042)):
#0  0x00007f4ce9113736 in pthread_mutex_lock () from /lib64/libc.so.6
#1  0x00007f4ce15f728f in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f4ce15f7ab2 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f4ce15f7f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f4cea763956 in QEventDispatcherGlib::processEvents (this=0x7f4cc80008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f4cea733682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f4cea7338d7 in QEventLoop::exec (this=0x7f4ccd29be00, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f4cea634537 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f4cea63755b in QThreadPrivate::start (arg=0xb73440) at thread/qthread_unix.cpp:298
#9  0x00007f4ce6f0ff05 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f4ce910663d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f4c86610700 (LWP 6113)):
#0  0x00007f4ce6f141eb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f4cea6379cf in wait (time=30000, this=0xc0a980) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0xc0a928, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f4cea62addf in QThreadPoolThread::run (this=0xc1dfb0) at concurrent/qthreadpool.cpp:141
#4  0x00007f4cea63755b in QThreadPrivate::start (arg=0xc1dfb0) at thread/qthread_unix.cpp:298
#5  0x00007f4ce6f0ff05 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f4ce910663d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f4c87581700 (LWP 6116)):
#0  0x00007f4ce9103209 in syscall () from /lib64/libc.so.6
#1  0x00007f4cea63602b in _q_futex (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0xb3b400) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=0xb3b400, timeout=<optimized out>) at thread/qmutex_unix.cpp:113
#3  0x00007f4cea631ded in QMutex::lockInternal (this=<optimized out>) at thread/qmutex.cpp:450
#4  0x00007f4ce21ecbb0 in Nepomuk::ResourceManager::initialized() const () from /usr/lib64/libnepomuk.so.4
#5  0x00007f4ce21eccad in Nepomuk::ResourceManager::mainModel() () from /usr/lib64/libnepomuk.so.4
#6  0x00007f4ce21e96ad in ?? () from /usr/lib64/libnepomuk.so.4
#7  0x00007f4ce21fdec5 in Nepomuk::Resource::determineFinalResourceData() const () from /usr/lib64/libnepomuk.so.4
#8  0x00007f4ce21fe6a4 in Nepomuk::Resource::property(QUrl const&) const () from /usr/lib64/libnepomuk.so.4
#9  0x00007f4ce52560ca in ?? () from /usr/lib64/libmessagecore.so.4
#10 0x00007f4cea62ad12 in QThreadPoolThread::run (this=0xe9ccb0) at concurrent/qthreadpool.cpp:107
#11 0x00007f4cea63755b in QThreadPrivate::start (arg=0xe9ccb0) at thread/qthread_unix.cpp:298
#12 0x00007f4ce6f0ff05 in start_thread () from /lib64/libpthread.so.0
#13 0x00007f4ce910663d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f4cebdc9780 (LWP 6026)):
[KCrash Handler]
#6  0x00007f4cdad127ca in lockInline (this=0xb38068) at /usr/include/QtCore/qmutex.h:187
#7  QMutexLocker (m=0xb38068, this=<synthetic pointer>) at /usr/include/QtCore/qmutex.h:109
#8  Soprano::Client::SocketHandler::~SocketHandler (this=0xe86a80, __in_chrg=<optimized out>) at /usr/src/debug/soprano-2.7.4/client/clientconnection.cpp:58
#9  0x00007f4cdad12909 in Soprano::Client::SocketHandler::~SocketHandler (this=0xe86a80, __in_chrg=<optimized out>) at /usr/src/debug/soprano-2.7.4/client/clientconnection.cpp:61
#10 0x00007f4cea63552d in QThreadStorageData::set (this=0x1292cf0, p=0xc5f560) at thread/qthreadstorage.cpp:165
#11 0x00007f4cdad10290 in qThreadStorage_setLocalData<Soprano::Client::SocketHandler> (d=<optimized out>, t=<optimized out>) at /usr/include/QtCore/qthreadstorage.h:92
#12 setLocalData (t=0xc5f560, this=<optimized out>) at /usr/include/QtCore/qthreadstorage.h:155
#13 Soprano::Client::ClientConnection::socketForCurrentThread (this=0xb3e850) at /usr/src/debug/soprano-2.7.4/client/clientconnection.cpp:95
#14 0x00007f4cdad10309 in Soprano::Client::ClientConnection::connectInCurrentThread (this=<optimized out>) at /usr/src/debug/soprano-2.7.4/client/clientconnection.cpp:800
#15 0x00007f4cdad0f8ca in Soprano::Client::LocalSocketClient::connect (this=0xb36d58, name=...) at /usr/src/debug/soprano-2.7.4/client/localsocketclient.cpp:141
#16 0x00007f4ce21f6b41 in ?? () from /usr/lib64/libnepomuk.so.4
#17 0x00007f4ce21ec779 in Nepomuk::ResourceManager::init() () from /usr/lib64/libnepomuk.so.4
#18 0x00007f4ce21efa85 in ?? () from /usr/lib64/libnepomuk.so.4
#19 0x00007f4ce21efbdb in Nepomuk::ResourceManager::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libnepomuk.so.4
#20 0x00007f4ce7149f6b in QDBusConnectionPrivate::deliverCall (this=0x647280, object=0x9fda20, msg=..., metaTypes=..., slotIdx=9) at qdbusintegrator.cpp:947
#21 0x00007f4cea74d926 in QObject::event (this=0x9fda20, e=<optimized out>) at kernel/qobject.cpp:1204
#22 0x00007f4ce9ab9e84 in notify_helper (e=0x1409720, receiver=0x9fda20, this=0x64ff80) at kernel/qapplication.cpp:4550
#23 QApplicationPrivate::notify_helper (this=0x64ff80, receiver=0x9fda20, e=0x1409720) at kernel/qapplication.cpp:4522
#24 0x00007f4ce9abed03 in QApplication::notify (this=0x7fff057f7520, receiver=0x9fda20, e=0x1409720) at kernel/qapplication.cpp:4411
#25 0x00007f4ceb7de786 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#26 0x00007f4cea73489c in QCoreApplication::notifyInternal (this=0x7fff057f7520, receiver=0x9fda20, event=0x1409720) at kernel/qcoreapplication.cpp:876
#27 0x00007f4cea73813a in sendEvent (event=0x1409720, receiver=0x9fda20) at kernel/qcoreapplication.h:231
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60b740) at kernel/qcoreapplication.cpp:1500
#29 0x00007f4cea7634c3 in sendPostedEvents () at kernel/qcoreapplication.h:236
#30 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#31 0x00007f4ce15f758d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#32 0x00007f4ce15f7d88 in ?? () from /usr/lib64/libglib-2.0.so.0
#33 0x00007f4ce15f7f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#34 0x00007f4cea7638ef in QEventDispatcherGlib::processEvents (this=0x60b000, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#35 0x00007f4ce9b5d2de in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007f4cea733682 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007f4cea7338d7 in QEventLoop::exec (this=0x7fff057f7400, flags=...) at kernel/qeventloop.cpp:204
#38 0x00007f4cea738435 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#39 0x0000000000402df3 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdepim-4.8.0/kmail/main.cpp:145

Possible duplicates by query: bug 294849, bug 294765, bug 294571, bug 291935, bug 290260.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-07-03 16:56:29 UTC
*** Bug 297563 has been marked as a duplicate of this bug. ***
Comment 2 Jekyll Wu 2012-07-10 20:58:46 UTC

*** This bug has been marked as a duplicate of bug 286627 ***