Bug 314512

Summary: kmail crash on startup !
Product: [Applications] kmail2 Reporter: jajaX <jajaxor>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andysem
Priority: NOR    
Version: 4.10   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description jajaX 2013-02-06 13:03:42 UTC
Application: kmail (4.10)
KDE Platform Version: 4.10.00
Qt Version: 4.8.3
Operating System: Linux 3.5.0-23-generic i686
Distribution: Ubuntu 12.10

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

Hi ! (sorry for my bd english !)

Kmail crash on startup after 4.10 upgrade

The crash can be reproduced every time.

-- 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 0xb1419b00 (LWP 3530))]

Thread 4 (Thread 0xae7bcb40 (LWP 3536)):
#0  0xb76e7424 in __kernel_vsyscall ()
#1  0xb57c096b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb5e2d64c in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb35f20e9 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0xb35f21df in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0xb57bcd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0xb5e1fd3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xade93b40 (LWP 3537)):
#0  0xb76e7424 in __kernel_vsyscall ()
#1  0xb5e115f0 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb436374b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb4354d00 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb4354e61 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb618f99f in QEventDispatcherGlib::processEvents (this=0xad500468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb615c26c in QEventLoop::processEvents (this=this@entry=0xade93258, flags=...) at kernel/qeventloop.cpp:149
#7  0xb615c561 in QEventLoop::exec (this=0xade93258, flags=...) at kernel/qeventloop.cpp:204
#8  0xb604766c in QThread::exec (this=this@entry=0x8f1d1a0) at thread/qthread.cpp:501
#9  0xb60477cb in QThread::run (this=0x8f1d1a0) at thread/qthread.cpp:568
#10 0xb604aa58 in QThreadPrivate::start (arg=0x8f1d1a0) at thread/qthread_unix.cpp:338
#11 0xb57bcd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0xb5e1fd3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xad462b40 (LWP 3538)):
#0  0xb76e7424 in __kernel_vsyscall ()
#1  0xb5e115f0 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb436374b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb4354d00 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb4354e61 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb618f99f in QEventDispatcherGlib::processEvents (this=0xacb00468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb615c26c in QEventLoop::processEvents (this=this@entry=0xad462228, flags=...) at kernel/qeventloop.cpp:149
#7  0xb615c561 in QEventLoop::exec (this=0xad462228, flags=...) at kernel/qeventloop.cpp:204
#8  0xb604766c in QThread::exec (this=0x8f547f8) at thread/qthread.cpp:501
#9  0xb613a7bd in QInotifyFileSystemWatcherEngine::run (this=0x8f547f8) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb604aa58 in QThreadPrivate::start (arg=0x8f547f8) at thread/qthread_unix.cpp:338
#11 0xb57bcd4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0xb5e1fd3e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb1419b00 (LWP 3530)):
[KCrash Handler]
#7  0xb62c3460 in QMapData::shared_null () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#8  0xb6178c49 in QObject::connect (sender=0x8fca680, signal=0x4 <Address 0x4 out of bounds>, receiver=0x9022bd0, method=0xb6f32b10 "1initListOfCollection()", type=Qt::AutoConnection) at kernel/qobject.cpp:2588
#9  0xb617cf68 in QSingleShotTimer::QSingleShotTimer (this=0x8fca680, msec=1000, receiver=0x9022bd0, member=0xb6f32b10 "1initListOfCollection()") at kernel/qtimer.cpp:300
#10 0xb617d190 in QTimer::singleShot (msec=1000, receiver=0x9022bd0, member=0xb6f32b10 "1initListOfCollection()") at kernel/qtimer.cpp:363
#11 0xb6e4bd5a in KMail::KMSystemTray::initListOfCollection (this=0x9022bd0) at ../../kmail/kmsystemtray.cpp:348
#12 0xb6e59efb in KMKernel::toggleSystemTray (this=0xbfac7c5c) at ../../kmail/kmkernel.cpp:2058
#13 0xb6eb2649 in KMMainWidget::readConfig (this=0x8feab20) at ../../kmail/kmmainwidget.cpp:979
#14 0xb6eb2b95 in KMMainWidget::KMMainWidget (this=0x8feab20, parent=0xb62c3460 <QMapData::shared_null>, aGUIClient=0xb62c3460 <QMapData::shared_null>, actionCollection=0xb62c3460 <QMapData::shared_null>, config=...) at ../../kmail/kmmainwidget.cpp:267
#15 0xb6e0107f in KMMainWin::KMMainWin (this=0x8eef760, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmmainwin.cpp:67
#16 0xb6e5bb26 in KMKernel::openReader (this=0xbfac7c5c, onlyCheck=false) at ../../kmail/kmkernel.cpp:578
#17 0xb6e5cf65 in KMKernel::action (this=0xbfac7c5c, mailto=false, check=false, to=..., cc=..., bcc=..., subj=..., body=..., messageFile=..., attachURLs=..., customHeaders=...) at ../../kmail/kmkernel.cpp:1369
#18 0xb6e5d796 in KMKernel::handleCommandLine (this=0xbfac7c5c, noArgsOpensReader=true) at ../../kmail/kmkernel.cpp:494
#19 0x0804aa91 in KMailApplication::newInstance (this=0xbfac7c44) at ../../kmail/main.cpp:87
#20 0xb7474f37 in KUniqueApplicationAdaptor::newInstance (this=this@entry=0x89d8438, asn_id=..., args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:442
#21 0xb7474fe6 in qt_static_metacall (_a=0xbfac71cc, _id=0, _o=0x89d8438, _c=<optimized out>) at ./kuniqueapplication_p.moc:58
#22 KUniqueApplicationAdaptor::qt_static_metacall (_o=0x89d8438, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfac71cc) at ./kuniqueapplication_p.moc:52
#23 0xb747516c in KUniqueApplicationAdaptor::qt_metacall (this=0x89d8438, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfac71cc) at ./kuniqueapplication_p.moc:102
#24 0xb586d6ae in QDBusConnectionPrivate::deliverCall (this=0x899b7e0, object=0x89d8438, msg=..., metaTypes=..., slotIdx=-1079219756) at qdbusintegrator.cpp:947
#25 0xb586e834 in QDBusConnectionPrivate::activateCall (this=0x899b7e0, object=0x89d8438, flags=337, msg=...) at qdbusintegrator.cpp:857
#26 0xb586ef12 in QDBusConnectionPrivate::activateObject (this=0x899b7e0, node=..., msg=..., pathStartPos=151227905) at qdbusintegrator.cpp:1423
#27 0xb586f308 in QDBusActivateObjectEvent::placeMetaCall (this=0x909f0f8) at qdbusintegrator.cpp:1537
#28 0xb6173eeb in QObject::event (this=0xbfac7c44, e=0x909f0f8) at kernel/qobject.cpp:1195
#29 0xb615dd3a in QCoreApplication::event (this=0xbfac7c44, e=0x909f0f8) at kernel/qcoreapplication.cpp:1727
#30 0xb640261d in QApplication::event (this=0xbfac7c44, e=0x909f0f8) at kernel/qapplication.cpp:2544
#31 0xb640039c in QApplicationPrivate::notify_helper (this=0x89a7050, receiver=0xbfac7c44, e=0x909f0f8) at kernel/qapplication.cpp:4562
#32 0xb6404daf in QApplication::notify (this=0x909f0f8, receiver=0xbfac7c44, e=0x909f0f8) at kernel/qapplication.cpp:3944
#33 0xb746e321 in KApplication::notify (this=0xbfac7c44, receiver=0xbfac7c44, event=0x909f0f8) at ../../kdeui/kernel/kapplication.cpp:311
#34 0xb615d78e in QCoreApplication::notifyInternal (this=0xbfac7c44, receiver=0xbfac7c44, event=0x909f0f8) at kernel/qcoreapplication.cpp:915
#35 0xb616197d in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#36 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8952150) at kernel/qcoreapplication.cpp:1539
#37 0xb6161c0c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1432
#38 0xb618f804 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#39 postEventSourceDispatch (s=0x89a8320) at kernel/qeventdispatcher_glib.cpp:279
#40 0xb43549e3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#41 0xb4354d80 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#42 0xb4354e61 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#43 0xb618f981 in QEventDispatcherGlib::processEvents (this=0x8952ec0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#44 0xb64b69aa in QGuiEventDispatcherGlib::processEvents (this=0x8952ec0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#45 0xb615c26c in QEventLoop::processEvents (this=this@entry=0xbfac7b08, flags=...) at kernel/qeventloop.cpp:149
#46 0xb615c561 in QEventLoop::exec (this=0xbfac7b08, flags=...) at kernel/qeventloop.cpp:204
#47 0xb6161cba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#48 0xb63fdfc4 in QApplication::exec () at kernel/qapplication.cpp:3823
#49 0x0804a3c2 in main (argc=3, argv=0xbfac7d94) at ../../kmail/main.cpp:146

Reported using DrKonqi
Comment 1 Lastique 2013-11-23 23:41:38 UTC
Created attachment 83723 [details]
New crash information added by DrKonqi

kmail (4.11.2) on KDE Platform 4.11.2 using Qt 4.8.4

- What I was doing when the application crashed:

Kmail crashed on the very startup. Due to bug #327411 I killed all Akonadi processes before starting Kmail and was hoping that starting Kmail will restart Akonadi.

-- Backtrace (Reduced):
#7  0x00007f8ace33ac09 in QObject::connect (sender=sender@entry=0x2ecaf40, signal=0x7f8ace3ff6ad "timeout()", signal@entry=0x7f8ace3ff6ac "2timeout()", receiver=receiver@entry=0x2c7c260, method=0x7f8ace83e541 "initListOfCollection()", method@entry=0x7f8ace83e540 "1initListOfCollection()", type=Qt::AutoConnection, type@entry=Qt::AutoCompatConnection) at kernel/qobject.cpp:2587
#8  0x00007f8ace342b0c in QSingleShotTimer::QSingleShotTimer (this=0x2ecaf40, msec=1000, receiver=0x2c7c260, member=0x7f8ace83e540 "1initListOfCollection()") at kernel/qtimer.cpp:300
#9  0x00007f8ace342bce in QTimer::singleShot (msec=msec@entry=1000, receiver=receiver@entry=0x2c7c260, member=member@entry=0x7f8ace83e540 "1initListOfCollection()") at kernel/qtimer.cpp:363
#10 0x00007f8ace769fc4 in KMail::KMSystemTray::initListOfCollection (this=0x2c7c260) at ../../kmail/kmsystemtray.cpp:348
#11 0x00007f8ace76a44f in updateSystemTray (this=<optimized out>) at ../../kmail/kmsystemtray.cpp:413
Comment 2 Jekyll Wu 2014-04-06 14:17:18 UTC

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