Bug 316579

Summary: Crash when closing application
Product: [Applications] kmail2 Reporter: Ralsa <ralsa>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.10.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ralsa 2013-03-12 08:55:11 UTC
Application: kmail (4.10.1)
KDE Platform Version: 4.10.1
Qt Version: 4.8.3
Operating System: Linux 3.5.0-25-generic i686
Distribution: Ubuntu 12.10

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

I was trying to read some IMAP mails. The mails was unable to load (in a a reasonable time) in imap folders (a very usual problem). I need restart Kmail to load the emails often.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb1460b00 (LWP 8946))]

Thread 4 (Thread 0xae73cb40 (LWP 8949)):
#0  0xb7729424 in __kernel_vsyscall ()
#1  0xb580b96b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb5e7864c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb363a0e9 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0xb363a1df in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0xb5807d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0xb5e6ad3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xade13b40 (LWP 8950)):
#0  QThreadData::current () at thread/qthread_unix.cpp:209
#1  0xb61da26f in postEventSourcePrepare (s=0xad500da8, timeout=0xade130bc) at kernel/qeventdispatcher_glib.cpp:256
#2  0xb439c52a in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb439cbff in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb439ce61 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb61da9bf in QEventDispatcherGlib::processEvents (this=0xad500468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb61a728c in QEventLoop::processEvents (this=this@entry=0xade13258, flags=...) at kernel/qeventloop.cpp:149
#7  0xb61a7581 in QEventLoop::exec (this=0xade13258, flags=...) at kernel/qeventloop.cpp:204
#8  0xb609268c in QThread::exec (this=this@entry=0x964d620) at thread/qthread.cpp:501
#9  0xb60927eb in QThread::run (this=0x964d620) at thread/qthread.cpp:568
#10 0xb6095a78 in QThreadPrivate::start (arg=0x964d620) at thread/qthread_unix.cpp:338
#11 0xb5807d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0xb5e6ad3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xad3f5b40 (LWP 8951)):
#0  0xb5809cab in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#1  0xb5e78864 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#2  0xb43dded0 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb439ce4a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb61da9bf in QEventDispatcherGlib::processEvents (this=0xaca00468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0xb61a728c in QEventLoop::processEvents (this=this@entry=0xad3f5228, flags=...) at kernel/qeventloop.cpp:149
#6  0xb61a7581 in QEventLoop::exec (this=0xad3f5228, flags=...) at kernel/qeventloop.cpp:204
#7  0xb609268c in QThread::exec (this=0x9688168) at thread/qthread.cpp:501
#8  0xb61857dd in QInotifyFileSystemWatcherEngine::run (this=0x9688168) at io/qfilesystemwatcher_inotify.cpp:248
#9  0xb6095a78 in QThreadPrivate::start (arg=0x9688168) at thread/qthread_unix.cpp:338
#10 0xb5807d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#11 0xb5e6ad3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb1460b00 (LWP 8946)):
[KCrash Handler]
#7  KStatusNotifierItem::setStatus (this=0x9740ce0, status=KStatusNotifierItem::Active) at ../../kdeui/notifications/kstatusnotifieritem.cpp:160
#8  0xb6e95ab1 in KMail::KMSystemTray::setMode (this=0x9740ce0, newMode=1) at ../../kmail/kmsystemtray.cpp:164
#9  0xb6ea4fae in KMKernel::toggleSystemTray (this=0xbfa8824c) at ../../kmail/kmkernel.cpp:2063
#10 0xb6efd599 in KMMainWidget::readConfig (this=0x93e9840) at ../../kmail/kmmainwidget.cpp:979
#11 0xb6efdae5 in KMMainWidget::KMMainWidget (this=0x93e9840, parent=0xb6a49210 <QItemSelectionModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, aGUIClient=0xb6a49210 <QItemSelectionModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, actionCollection=0xb6a49210 <QItemSelectionModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, config=...) at ../../kmail/kmmainwidget.cpp:267
#12 0xb6e4c00f in KMMainWin::KMMainWin (this=0x973ccd0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmmainwin.cpp:67
#13 0xb6ea6f56 in KMKernel::openReader (this=0xbfa8824c, onlyCheck=false) at ../../kmail/kmkernel.cpp:578
#14 0xb6ea8385 in KMKernel::action (this=0xbfa8824c, mailto=false, check=false, to=..., cc=..., bcc=..., subj=..., body=..., messageFile=..., attachURLs=..., customHeaders=...) at ../../kmail/kmkernel.cpp:1373
#15 0xb6ea8bb6 in KMKernel::handleCommandLine (this=0xbfa8824c, noArgsOpensReader=true) at ../../kmail/kmkernel.cpp:494
#16 0x0804aa91 in KMailApplication::newInstance (this=0xbfa88234) at ../../kmail/main.cpp:87
#17 0xb74c04c7 in KUniqueApplicationAdaptor::newInstance (this=this@entry=0x9160ec8, asn_id=..., args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:442
#18 0xb74c0576 in qt_static_metacall (_a=0xbfa877bc, _id=0, _o=0x9160ec8, _c=<optimized out>) at ./kuniqueapplication_p.moc:58
#19 KUniqueApplicationAdaptor::qt_static_metacall (_o=0x9160ec8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfa877bc) at ./kuniqueapplication_p.moc:52
#20 0xb74c06fc in KUniqueApplicationAdaptor::qt_metacall (this=0x9160ec8, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfa877bc) at ./kuniqueapplication_p.moc:102
#21 0xb58b86ae in QDBusConnectionPrivate::deliverCall (this=0x914cde0, object=0x9160ec8, msg=..., metaTypes=..., slotIdx=917508) at qdbusintegrator.cpp:947
#22 0xb58b9834 in QDBusConnectionPrivate::activateCall (this=0x914cde0, object=0x9160ec8, flags=337, msg=...) at qdbusintegrator.cpp:857
#23 0xb58b9f12 in QDBusConnectionPrivate::activateObject (this=0x914cde0, node=..., msg=..., pathStartPos=155806465) at qdbusintegrator.cpp:1423
#24 0xb58ba308 in QDBusActivateObjectEvent::placeMetaCall (this=0x97bd678) at qdbusintegrator.cpp:1537
#25 0xb61bef0b in QObject::event (this=0xbfa88234, e=0x97bd678) at kernel/qobject.cpp:1195
#26 0xb61a8d5a in QCoreApplication::event (this=0xbfa88234, e=0x97bd678) at kernel/qcoreapplication.cpp:1727
#27 0xb644d61d in QApplication::event (this=0xbfa88234, e=0x97bd678) at kernel/qapplication.cpp:2544
#28 0xb644b39c in QApplicationPrivate::notify_helper (this=0x916d6c8, receiver=0xbfa88234, e=0x97bd678) at kernel/qapplication.cpp:4562
#29 0xb644fdaf in QApplication::notify (this=0x97bd678, receiver=0xbfa88234, e=0x97bd678) at kernel/qapplication.cpp:3944
#30 0xb74b98b1 in KApplication::notify (this=0xbfa88234, receiver=0xbfa88234, event=0x97bd678) at ../../kdeui/kernel/kapplication.cpp:311
#31 0xb61a87ae in QCoreApplication::notifyInternal (this=0xbfa88234, receiver=0xbfa88234, event=0x97bd678) at kernel/qcoreapplication.cpp:915
#32 0xb61ac99d in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#33 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9104150) at kernel/qcoreapplication.cpp:1539
#34 0xb61acc2c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1432
#35 0xb61da824 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#36 postEventSourceDispatch (s=0x9151e30) at kernel/qeventdispatcher_glib.cpp:279
#37 0xb439c9e3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#38 0xb439cd80 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#39 0xb439ce61 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#40 0xb61da9a1 in QEventDispatcherGlib::processEvents (this=0x9104ed8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#41 0xb65019aa in QGuiEventDispatcherGlib::processEvents (this=0x9104ed8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#42 0xb61a728c in QEventLoop::processEvents (this=this@entry=0xbfa880f8, flags=...) at kernel/qeventloop.cpp:149
#43 0xb61a7581 in QEventLoop::exec (this=0xbfa880f8, flags=...) at kernel/qeventloop.cpp:204
#44 0xb61accda in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#45 0xb6448fc4 in QApplication::exec () at kernel/qapplication.cpp:3823
#46 0x0804a3c2 in main (argc=3, argv=0xbfa88384) at ../../kmail/main.cpp:146

Possible duplicates by query: bug 316424, bug 315835, bug 315568, bug 313679.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-03-12 09:00:35 UTC

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