Bug 261499

Summary: Application: KMail (kmail), signal: Aborted (issue startup/exit kmail2)
Product: [Applications] kmail2 Reporter: omega <biasquez>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: tokoe
Priority: NOR    
Version: 2.0.89   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description omega 2010-12-28 23:36:43 UTC
Application: kmail (2.0.89)
KDE Platform Version: 4.5.90 (4.6 RC1)
Qt Version: 4.7.1
Operating System: Linux 2.6.37-11-generic x86_64
Distribution: Ubuntu natty (development branch)

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

i try to run new kmail but it doesn't run, but when i try to reboot my pc, kmail crashed closing kde session.

The crash can be reproduced some of the time.

-- Backtrace:
Application: KMail (kmail), signal: Aborted
[Current thread is 1 (Thread 0x7f0dace4c7e0 (LWP 6630))]

Thread 3 (Thread 0x7f0d89e7b700 (LWP 10193)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f0d9ee90542 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib/libQtWebKit.so.4
#2  0x00007f0da7a0fd8c in start_thread (arg=0x7f0d89e7b700) at pthread_create.c:304
#3  0x00007f0daa01d61d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f0d069ba700 (LWP 10194)):
#0  0x00007f0daa89fc9c in unixCheckClockType () at tools/qelapsedtimer_unix.cpp:76
#1  0x00007f0daa89fcd9 in QElapsedTimer::isMonotonic () at tools/qelapsedtimer_unix.cpp:107
#2  0x00007f0daa961c2d in QTimerInfoList::repairTimersIfNeeded (this=0x182f3a0) at kernel/qeventdispatcher_unix.cpp:395
#3  0x00007f0daa961c96 in QTimerInfoList::timerWait (this=0x182f3a0, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0x00007f0daa96071c in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7f0d069b9bec) at kernel/qeventdispatcher_glib.cpp:136
#5  0x00007f0daa9607c5 in timerSourcePrepare (source=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#6  0x00007f0da2b91122 in g_main_context_prepare (context=0x1836970, priority=0x7f0d069b9c5c) at /build/buildd/glib2.0-2.27.5/glib/gmain.c:2761
#7  0x00007f0da2b92024 in g_main_context_iterate (context=0x1836970, block=1, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.27.5/glib/gmain.c:3071
#8  0x00007f0da2b926c9 in g_main_context_iteration (context=0x1836970, may_block=1) at /build/buildd/glib2.0-2.27.5/glib/gmain.c:3154
#9  0x00007f0daa960f26 in QEventDispatcherGlib::processEvents (this=0x16d77e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#10 0x00007f0daa935362 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#11 0x00007f0daa93559c in QEventLoop::exec (this=0x7f0d069b9d70, flags=...) at kernel/qeventloop.cpp:201
#12 0x00007f0daa84c274 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#13 0x00007f0daa91782f in QInotifyFileSystemWatcherEngine::run (this=0x1678490) at io/qfilesystemwatcher_inotify.cpp:248
#14 0x00007f0daa84ea2e in QThreadPrivate::start (arg=0x1678490) at thread/qthread_unix.cpp:285
#15 0x00007f0da7a0fd8c in start_thread (arg=0x7f0d069ba700) at pthread_create.c:304
#16 0x00007f0daa01d61d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f0dace4c7e0 (LWP 6630)):
[KCrash Handler]
#6  0x00007f0da9f70ba5 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f0da9f744f6 in abort () at abort.c:92
#8  0x00007f0daa8469c4 in qt_message_output (msgType=<value optimized out>, buf=<value optimized out>) at global/qglobal.cpp:2282
#9  0x00007f0daa846b7f in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7f0dab4b6078 "QWidget: Must construct a QApplication before a QPaintDevice", ap=0x7fffc7e03d40) at global/qglobal.cpp:2328
#10 0x00007f0daa846d25 in qFatal (msg=<value optimized out>) at global/qglobal.cpp:2511
#11 0x00007f0daae6c3ee in QWidgetPrivate::QWidgetPrivate (this=0xedf2f0, version=17041153) at kernel/qwidget.cpp:291
#12 0x00007f0dab2e464a in QDialogPrivate (this=0x117d050, parent=0x0, f=<value optimized out>) at ../../include/QtGui/private/../../../src/gui/dialogs/qdialog_p.h:77
#13 QDialog::QDialog (this=0x117d050, parent=0x0, f=<value optimized out>) at dialogs/qdialog.cpp:260
#14 0x00007f0dac5d87fd in KDialog::KDialog (this=0x117d050, parent=<value optimized out>, flags=<value optimized out>) at ../../kdeui/dialogs/kdialog.cpp:190
#15 0x00007f0dac5e95bb in KMessageBox::errorListWId (parent_id=0, text=..., strlist=..., caption=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:833
#16 0x00007f0dac5e98cb in KMessageBox::error (parent=<value optimized out>, text=<value optimized out>, caption=..., options=<value optimized out>) at ../../kdeui/dialogs/kmessagebox.cpp:814
#17 0x00007f0da5d96ffa in MailCommon::Kernel::emergencyExit (this=<value optimized out>, reason=<value optimized out>) at ../../mailcommon/mailkernel.cpp:213
#18 0x00007f0da5d97572 in MailCommon::Kernel::createDefaultCollectionDone (this=0xe26480, job=0x126b8e0) at ../../mailcommon/mailkernel.cpp:178
#19 0x00007f0da5d97fa4 in MailCommon::Kernel::qt_metacall (this=0xe26480, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffc7e04230) at ./mailkernel.moc:82
#20 0x00007f0daa94b098 in QMetaObject::activate (sender=0x126b8e0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffc7e04230) at kernel/qobject.cpp:3280
#21 0x00007f0dac0a5bb2 in KJob::result (this=<value optimized out>, _t1=0x126b8e0) at ./kjob.moc:194
#22 0x00007f0dac0a5bf0 in KJob::emitResult (this=0x126b8e0) at ../../kdecore/jobs/kjob.cpp:312
#23 0x00007f0dac0a5c9e in KJob::kill (this=0x126b8e0, verbosity=KJob::EmitResult) at ../../kdecore/jobs/kjob.cpp:112
#24 0x00007f0da6baf6b7 in Akonadi::Session::clear (this=0xf36280) at ../../akonadi/session.cpp:425
#25 0x00007f0da6bafa4b in Akonadi::Session::~Session (this=0xf36280, __in_chrg=<value optimized out>) at ../../akonadi/session.cpp:394
#26 0x00007f0da6bafa99 in Akonadi::Session::~Session (this=0xf36280, __in_chrg=<value optimized out>) at ../../akonadi/session.cpp:396
#27 0x00007f0daa84ceb8 in QThreadStorageData::finish (p=0xd962d0) at thread/qthreadstorage.cpp:185
#28 0x00007f0daa938bdd in QCoreApplicationPrivate::~QCoreApplicationPrivate (this=0xde88a0, __in_chrg=<value optimized out>) at kernel/qcoreapplication.cpp:291
#29 0x00007f0daae23ea9 in QApplicationPrivate::~QApplicationPrivate (this=0xde88a0, __in_chrg=<value optimized out>) at kernel/qapplication.cpp:217
#30 0x00007f0daa94d0e5 in cleanup (this=0x7fffc7e046e0, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#31 ~QScopedPointer (this=0x7fffc7e046e0, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#32 QObject::~QObject (this=0x7fffc7e046e0, __in_chrg=<value optimized out>) at kernel/qobject.cpp:817
#33 0x00007f0daae2e1f4 in QApplication::~QApplication (this=0x7fffc7e046e0, __in_chrg=<value optimized out>) at kernel/qapplication.cpp:1071
#34 0x000000000040303c in ~KMailApplication (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:43
#35 main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:113

Reported using DrKonqi
Comment 1 Tobias Koenig 2011-01-02 17:05:27 UTC
Seems to be a duplicate of 258449, something goes wrong when cleaning up the session object.

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