Bug 294522

Summary: Kmail crashed after marked message as spam and switched to other message
Product: [Applications] kmail2 Reporter: David Kredba <kredba>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: adaptee
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description David Kredba 2012-02-20 19:39:07 UTC
Application: kmail (4.8.0)
KDE Platform Version: 4.8.00 (4.8.0 (Compiled from sources)
Qt Version: 4.8.0
Operating System: Linux 3.2.6-gentoo x86_64
Distribution: "Gentoo Base System release 2.1"

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

Kmail crashed after I marked message in IMAP Inbox folder as spam and switched to other message to view its content. In a status bar there were showing something like Filtering 1 message from 1 and after crash handler started I found Kmail asking for conflict resolution twice.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f607e7b4780 (LWP 12497))]

Thread 4 (Thread 0x7f60730dc700 (LWP 13062)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00000031525851bc in WTF::TCMalloc_PageHeap::scavengerThread (this=0x3152f3c200) at wtf/FastMalloc.cpp:2495
#2  0x00000031525852e9 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1618
#3  0x0000003002408e2c in start_thread (arg=0x7f60730dc700) at pthread_create.c:301
#4  0x00000030018da6bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f60727db700 (LWP 13063)):
#0  g_main_context_iterate (context=0x7f606c000990, block=1, dispatch=1, self=<optimized out>) at gmain.c:3019
#1  0x0000003005847ae9 in g_main_context_iteration (context=0x7f606c000990, may_block=1) at gmain.c:3152
#2  0x00000030075af0f6 in QEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#3  0x000000300757ef42 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#4  0x000000300757f197 in QEventLoop::exec (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:204
#5  0x000000300747f067 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#6  0x000000300748208b in QThreadPrivate::start (arg=<optimized out>) at thread/qthread_unix.cpp:298
#7  0x0000003002408e2c in start_thread (arg=0x7f60727db700) at pthread_create.c:301
#8  0x00000030018da6bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f607133b700 (LWP 14800)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00000030074824ff in wait (time=30000, this=0x1359960) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1359908, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x000000300747594f in QThreadPoolThread::run (this=<optimized out>) at concurrent/qthreadpool.cpp:141
#4  0x000000300748208b in QThreadPrivate::start (arg=<optimized out>) at thread/qthread_unix.cpp:298
#5  0x0000003002408e2c in start_thread (arg=0x7f607133b700) at pthread_create.c:301
#6  0x00000030018da6bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f607e7b4780 (LWP 12497)):
[KCrash Handler]
#6  QMutex::lock (this=0x126ce88) at thread/qmutex.cpp:153
#7  0x000000314c41784d in QMutexLocker (m=<optimized out>, this=<synthetic pointer>) at /usr/include/qt4/QtCore/qmutex.h:102
#8  Soprano::Client::SocketHandler::~SocketHandler (this=<optimized out>, __in_chrg=<optimized out>) at /var/tmp/portage/dev-libs/soprano-2.7.4/work/soprano-2.7.4/client/clientconnection.cpp:58
#9  0x000000314c417979 in Soprano::Client::SocketHandler::~SocketHandler (this=<optimized out>, __in_chrg=<optimized out>) at /var/tmp/portage/dev-libs/soprano-2.7.4/work/soprano-2.7.4/client/clientconnection.cpp:61
#10 0x000000300748005d in QThreadStorageData::set (this=<optimized out>, p=<optimized out>) at thread/qthreadstorage.cpp:165
#11 0x000000314c41533f in qThreadStorage_setLocalData<Soprano::Client::SocketHandler> (d=..., t=<optimized out>) at /usr/include/qt4/QtCore/qthreadstorage.h:92
#12 setLocalData (t=<optimized out>, this=<optimized out>) at /usr/include/qt4/QtCore/qthreadstorage.h:148
#13 Soprano::Client::ClientConnection::socketForCurrentThread (this=<optimized out>) at /var/tmp/portage/dev-libs/soprano-2.7.4/work/soprano-2.7.4/client/clientconnection.cpp:95
#14 0x000000314c4153a9 in Soprano::Client::ClientConnection::connectInCurrentThread (this=<optimized out>) at /var/tmp/portage/dev-libs/soprano-2.7.4/work/soprano-2.7.4/client/clientconnection.cpp:800
#15 0x000000314c414a2a in Soprano::Client::LocalSocketClient::connect (this=<optimized out>, name=...) at /var/tmp/portage/dev-libs/soprano-2.7.4/work/soprano-2.7.4/client/localsocketclient.cpp:141
#16 0x000000314c058161 in init (forced=<optimized out>, this=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.8.0-r1/work/kdelibs-4.8.0/nepomuk/core/nepomukmainmodel.cpp:102
#17 Nepomuk::MainModel::init (this=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.8.0-r1/work/kdelibs-4.8.0/nepomuk/core/nepomukmainmodel.cpp:176
#18 0x000000314c04e899 in Nepomuk::ResourceManager::init (this=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.8.0-r1/work/kdelibs-4.8.0/nepomuk/core/resourcemanager.cpp:331
#19 0x000000314c051b85 in Nepomuk::ResourceManagerPrivate::_k_storageServiceInitialized (this=<optimized out>, success=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.8.0-r1/work/kdelibs-4.8.0/nepomuk/core/resourcemanager.cpp:221
#20 0x000000314c051cdb in Nepomuk::ResourceManager::qt_metacall (this=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.8.0-r1/work/kdelibs-4.8.0_build/nepomuk/resourcemanager.moc:107
#21 0x0000003149a24e51 in QDBusConnectionPrivate::deliverCall (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at qdbusintegrator.cpp:947
#22 0x00000030075990a6 in QObject::event (this=<optimized out>, e=<optimized out>) at kernel/qobject.cpp:1195
#23 0x0000003147dd9974 in notify_helper (e=<optimized out>, receiver=<optimized out>, this=<optimized out>) at kernel/qapplication.cpp:4550
#24 QApplicationPrivate::notify_helper (this=<optimized out>, receiver=<optimized out>, e=<optimized out>) at kernel/qapplication.cpp:4522
#25 0x0000003147dde7f3 in QApplication::notify (this=<optimized out>, receiver=<optimized out>, e=<optimized out>) at kernel/qapplication.cpp:4411
#26 0x000000314b2604f6 in KApplication::notify (this=<optimized out>, receiver=<optimized out>, event=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.8.0-r1/work/kdelibs-4.8.0/kdeui/kernel/kapplication.cpp:311
#27 0x000000300758015c in QCoreApplication::notifyInternal (this=<optimized out>, receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:876
#28 0x00000030075839fa in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#29 QCoreApplicationPrivate::sendPostedEvents (receiver=<optimized out>, event_type=<optimized out>, data=<optimized out>) at kernel/qcoreapplication.cpp:1500
#30 0x00000030075aec63 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#31 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#32 0x000000300584711d in g_main_dispatch (context=0xdd58e0) at gmain.c:2441
#33 g_main_context_dispatch (context=0xdd58e0) at gmain.c:3011
#34 0x0000003005847918 in g_main_context_iterate (context=0xdd58e0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3089
#35 0x0000003005847ae9 in g_main_context_iteration (context=0xdd58e0, may_block=1) at gmain.c:3152
#36 0x00000030075af08f in QEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#37 0x0000003147e7c83e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x000000300757ef42 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#39 0x000000300757f197 in QEventLoop::exec (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:204
#40 0x0000003007583cf5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#41 0x0000000000403053 in main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-base/kmail-4.8.0/work/kmail-4.8.0/kmail/main.cpp:145

Possible duplicates by query: bug 293255, bug 283868, bug 268369.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-07-03 16:36:50 UTC

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