Bug 282565 - Kmail failed to start
Summary: Kmail failed to start
Status: RESOLVED NOT A BUG
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-22 16:28 UTC by Adrien Bellanger
Modified: 2012-02-13 11:21 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adrien Bellanger 2011-09-22 16:28:39 UTC
Application: kontact (4.8 pre)
KDE Platform Version: 4.7.41 (4.7.41 (KDE 4.8 >= 20110807)
Qt Version: 4.7.1
Operating System: Linux 2.6.38-11-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
Every time I start kmail, it crashes. I have just add 3 IMAP accounts. One manually, and the two others using web provider datas.

I see that problem after the add of the manually added IMAP account, but delete it using the akonadiconsole doesn't solve the problem.
I had no idea where I could find information to know more about the bug. I am on a project neon platform.

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Aborted
[Current thread is 1 (Thread 0x7f61437d07a0 (LWP 3286))]

Thread 4 (Thread 0x7f6129e66700 (LWP 3290)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6142bb9d6f in WTF::TCMalloc_PageHeap::scavengerThread() () from /opt/project-neon/lib/libQtWebKit.so.4
#2  0x00007f6142bb9360 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /opt/project-neon/lib/libQtWebKit.so.4
#3  0x00007f613cd0cd8c in start_thread (arg=0x7f6129e66700) at pthread_create.c:304
#4  0x00007f613ab5e04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f6120847700 (LWP 3938)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007f613cfa6d4d in QWaitConditionPrivate::wait (this=0x24d1620, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  0x00007f613cfa6b11 in QWaitCondition::wait (this=0x24d1558, mutex=0x24d1550, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f613cf97065 in QThreadPoolThread::run (this=0x24df920) at concurrent/qthreadpool.cpp:140
#4  0x00007f613cfa5828 in QThreadPrivate::start (arg=0x24df920) at thread/qthread_unix.cpp:285
#5  0x00007f613cd0cd8c in start_thread (arg=0x7f6120847700) at pthread_create.c:304
#6  0x00007f613ab5e04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f611a56c700 (LWP 3950)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007f613cfa6d4d in QWaitConditionPrivate::wait (this=0x2764750, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  0x00007f613cfa6b11 in QWaitCondition::wait (this=0x2766dc8, mutex=0x2766dc0, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f613cf97065 in QThreadPoolThread::run (this=0x2766070) at concurrent/qthreadpool.cpp:140
#4  0x00007f613cfa5828 in QThreadPrivate::start (arg=0x2766070) at thread/qthread_unix.cpp:285
#5  0x00007f613cd0cd8c in start_thread (arg=0x7f611a56c700) at pthread_create.c:304
#6  0x00007f613ab5e04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f61437d07a0 (LWP 3286)):
[KCrash Handler]
#6  0x00007f613aaabd05 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f613aaafab6 in abort () at abort.c:92
#8  0x00007f613cf9a896 in qt_message_output (msgType=QtFatalMsg, buf=0x263c798 "ASSERT failure in QCoreApplication::sendEvent: \"Cannot send events to objects owned by a different thread. Current thread 1e326b0. Receiver '' (of type 'QNativeSocketEngine') was created in thread 24d"...) at global/qglobal.cpp:2282
#9  0x00007f613cf9aa2c in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7f613d1422a0 "ASSERT failure in %s: \"%s\", file %s, line %d", ap=0x7fff05065f80) at global/qglobal.cpp:2328
#10 0x00007f613cf9b216 in qFatal (msg=0x7f613d1422a0 "ASSERT failure in %s: \"%s\", file %s, line %d") at global/qglobal.cpp:2511
#11 0x00007f613cf9a48e in qt_assert_x (where=0x7f613d1a2254 "QCoreApplication::sendEvent", what=0x22d1878 "Cannot send events to objects owned by a different thread. Current thread 1e326b0. Receiver '' (of type 'QNativeSocketEngine') was created in thread 24df920", file=0x7f613d1a219f "kernel/qcoreapplication.cpp", line=349) at global/qglobal.cpp:2035
#12 0x00007f613d0c1fbd in QCoreApplicationPrivate::checkReceiverThread (this=0x1e86f40, receiver=0x250b350) at kernel/qcoreapplication.cpp:341
#13 0x00007f613bd03f55 in QApplication::notify (this=0x7fff05068ce0, receiver=0x250b350, e=0x7fff050667f0) at kernel/qapplication.cpp:3737
#14 0x00007f613dbe56ac in KApplication::notify (this=0x7fff05068ce0, receiver=0x250b350, event=0x7fff050667f0) at /build/buildd/project-neon-kdelibs-2+git20110918+r92127/kdeui/kernel/kapplication.cpp:311
#15 0x00007f613d0c299a in QCoreApplication::notifyInternal (this=0x7fff05068ce0, receiver=0x250b350, event=0x7fff050667f0) at kernel/qcoreapplication.cpp:732
#16 0x00007f613d0c66e7 in QCoreApplication::sendEvent (receiver=0x250b350, event=0x7fff050667f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#17 0x00007f613d0dc6d4 in QObjectPrivate::setParent_helper (this=0x2510390, o=0x0) at kernel/qobject.cpp:1983
#18 0x00007f613d0dac4a in QObject::~QObject (this=0x2510360, __in_chrg=<value optimized out>) at kernel/qobject.cpp:953
#19 0x00007f613d0e7eb8 in QSocketNotifier::~QSocketNotifier (this=0x2510360, __in_chrg=<value optimized out>) at kernel/qsocketnotifier.cpp:226
#20 0x00007f613e636656 in QReadNotifier::~QReadNotifier (this=0x2510360, __in_chrg=<value optimized out>) at socket/qnativesocketengine.cpp:1088
#21 0x00007f613e636688 in QReadNotifier::~QReadNotifier (this=0x2510360, __in_chrg=<value optimized out>) at socket/qnativesocketengine.cpp:1088
#22 0x00007f613d0e0e9e in qDeleteInEventHandler (o=0x2510360) at kernel/qobject.cpp:3988
#23 0x00007f613e63576f in QNativeSocketEngine::close (this=0x250b350) at socket/qnativesocketengine.cpp:821
#24 0x00007f613e643be9 in QAbstractSocketPrivate::resetSocketLayer (this=0x250fc20) at socket/qabstractsocket.cpp:508
#25 0x00007f613e648888 in QAbstractSocket::disconnectFromHostImplementation (this=0x250fbc0) at socket/qabstractsocket.cpp:2434
#26 0x00007f613e6491bc in QAbstractSocket::qt_metacall (this=0x250fbc0, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7fff05066b30) at .moc/debug-shared/moc_qabstractsocket.cpp:114
#27 0x00007f613e673510 in QTcpSocket::qt_metacall (this=0x250fbc0, _c=QMetaObject::InvokeMetaMethod, _id=18, _a=0x7fff05066b30) at .moc/debug-shared/moc_qtcpsocket.cpp:64
#28 0x00007f613d0cab3e in QMetaObject::metacall (object=0x250fbc0, cl=QMetaObject::InvokeMetaMethod, idx=18, argv=0x7fff05066b30) at kernel/qmetaobject.cpp:237
#29 0x00007f613d0cd771 in QMetaMethod::invoke (this=0x7fff05066dc0, object=0x250fbc0, connectionType=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1578
#30 0x00007f613d0ccb34 in QMetaObject::invokeMethod (obj=0x250fbc0, member=0x7f613e680fe8 "disconnectFromHostImplementation", type=Qt::DirectConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1151
#31 0x00007f613e5c48fb in QMetaObject::invokeMethod (obj=0x250fbc0, member=0x7f613e680fe8 "disconnectFromHostImplementation", type=Qt::DirectConnection, val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs.h:408
#32 0x00007f613e648572 in QAbstractSocket::disconnectFromHost (this=0x250fbc0) at socket/qabstractsocket.cpp:2343
#33 0x00007f613e648341 in QAbstractSocket::close (this=0x250fbc0) at socket/qabstractsocket.cpp:2321
#34 0x00007f613e65327a in QLocalSocket::close (this=0x245d7c0) at socket/qlocalsocket_unix.cpp:436
#35 0x00007f61382bff18 in ?? () from /opt/project-neon/lib/libsopranoclient.so.1
#36 0x00007f61382becfe in ?? () from /opt/project-neon/lib/libsopranoclient.so.1
#37 0x00007f61382bed5a in ?? () from /opt/project-neon/lib/libsopranoclient.so.1
#38 0x00007f613d0dc538 in QObjectPrivate::deleteChildren (this=0x2426600) at kernel/qobject.cpp:1957
#39 0x00007f613d0dabfe in QObject::~QObject (this=0x2425ca8, __in_chrg=<value optimized out>) at kernel/qobject.cpp:945
#40 0x00007f61382bf1fb in Soprano::Client::LocalSocketClient::~LocalSocketClient() () from /opt/project-neon/lib/libsopranoclient.so.1
#41 0x00007f613f571068 in (anonymous namespace)::GlobalModelContainer::~GlobalModelContainer (this=0x2425c80, __in_chrg=<value optimized out>) at /build/buildd/project-neon-kdelibs-2+git20110918+r92127/nepomuk/core/nepomukmainmodel.cpp:68
#42 0x00007f613f571682 in destroy () at /build/buildd/project-neon-kdelibs-2+git20110918+r92127/nepomuk/core/nepomukmainmodel.cpp:138
#43 0x00007f613f5721d1 in KCleanUpGlobalStatic::~KCleanUpGlobalStatic (this=0x7f613f80bd58, __in_chrg=<value optimized out>) at /build/buildd/project-neon-kdelibs-2+git20110918+r92127/kdecore/kernel/kglobal.h:62
#44 0x00007f613aab1961 in __run_exit_handlers (status=1) at exit.c:78
#45 exit (status=1) at exit.c:100
#46 0x00007f61236d6164 in MailCommon::Kernel::emergencyExit (this=0x22c89f0, reason=...) at /build/buildd/project-neon-kdepim-2+git20110918+r53729/mailcommon/mailkernel.cpp:195
#47 0x00007f61236d5ea4 in MailCommon::Kernel::createDefaultCollectionDone (this=0x22c89f0, job=0x1f37dd0) at /build/buildd/project-neon-kdepim-2+git20110918+r53729/mailcommon/mailkernel.cpp:159
#48 0x00007f61236d7426 in MailCommon::Kernel::qt_metacall (this=0x22c89f0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff05067790) at /build/buildd/project-neon-kdepim-2+git20110918+r53729/obj-x86_64-linux-gnu/mailcommon/mailkernel.moc:82
#49 0x00007f613d0cab3e in QMetaObject::metacall (object=0x22c89f0, cl=QMetaObject::InvokeMetaMethod, idx=6, argv=0x7fff05067790) at kernel/qmetaobject.cpp:237
#50 0x00007f613d0df7b8 in QMetaObject::activate (sender=0x1f37dd0, m=0x7f613d97c820, local_signal_index=3, argv=0x7fff05067790) at kernel/qobject.cpp:3280
#51 0x00007f613d598d65 in KJob::result (this=0x1f37dd0, _t1=0x1f37dd0) at /build/buildd/project-neon-kdelibs-2+git20110918+r92127/obj-x86_64-linux-gnu/kdecore/kjob.moc:194
#52 0x00007f613d598225 in KJob::emitResult (this=0x1f37dd0) at /build/buildd/project-neon-kdelibs-2+git20110918+r92127/kdecore/jobs/kjob.cpp:312
#53 0x00007f613fc9c454 in Akonadi::TransactionSequence::slotResult (this=0x1f37dd0, job=0x2057060) at /build/buildd/project-neon-kdepimlibs-2+git20110922+r12321/akonadi/transactionsequence.cpp:132
#54 0x00007f613fc7dac7 in Akonadi::SpecialCollectionsRequestJob::slotResult (this=0x1f37dd0, job=0x2057060) at /build/buildd/project-neon-kdepimlibs-2+git20110922+r12321/akonadi/specialcollectionsrequestjob.cpp:365
#55 0x00007f613fc9c945 in Akonadi::TransactionSequence::qt_metacall (this=0x1f37dd0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff05067a80) at /build/buildd/project-neon-kdepimlibs-2+git20110922+r12321/obj-x86_64-linux-gnu/akonadi/transactionsequence.moc:76
#56 0x00007f613fc7dbba in Akonadi::SpecialCollectionsRequestJob::qt_metacall (this=0x1f37dd0, _c=QMetaObject::InvokeMetaMethod, _id=35, _a=0x7fff05067a80) at /build/buildd/project-neon-kdepimlibs-2+git20110922+r12321/obj-x86_64-linux-gnu/akonadi/specialcollectionsrequestjob.moc:73
#57 0x00007f612585b584 in Akonadi::SpecialMailCollectionsRequestJob::qt_metacall (this=0x1f37dd0, _c=QMetaObject::InvokeMetaMethod, _id=35, _a=0x7fff05067a80) at /build/buildd/project-neon-kdepimlibs-2+git20110922+r12321/obj-x86_64-linux-gnu/akonadi/kmime/specialmailcollectionsrequestjob.moc:64
#58 0x00007f613d0cab3e in QMetaObject::metacall (object=0x1f37dd0, cl=QMetaObject::InvokeMetaMethod, idx=35, argv=0x7fff05067a80) at kernel/qmetaobject.cpp:237
#59 0x00007f613d0df7b8 in QMetaObject::activate (sender=0x2057060, m=0x7f613d97c820, local_signal_index=3, argv=0x7fff05067a80) at kernel/qobject.cpp:3280
#60 0x00007f613d598d65 in KJob::result (this=0x2057060, _t1=0x2057060) at /build/buildd/project-neon-kdelibs-2+git20110918+r92127/obj-x86_64-linux-gnu/kdecore/kjob.moc:194
#61 0x00007f613d598225 in KJob::emitResult (this=0x2057060) at /build/buildd/project-neon-kdelibs-2+git20110918+r92127/kdecore/jobs/kjob.cpp:312
#62 0x00007f613fc78682 in Akonadi::DefaultResourceJobPrivate::collectionFetchResult (this=0x22dbec0, job=0x2652500) at /build/buildd/project-neon-kdepimlibs-2+git20110922+r12321/akonadi/specialcollectionshelperjobs.cpp:407
#63 0x00007f613fc7a4f9 in Akonadi::DefaultResourceJob::qt_metacall (this=0x2057060, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff05067ef0) at /build/buildd/project-neon-kdepimlibs-2+git20110922+r12321/obj-x86_64-linux-gnu/akonadi/specialcollectionshelperjobs_p.moc:140
#64 0x00007f613d0cab3e in QMetaObject::metacall (object=0x2057060, cl=QMetaObject::InvokeMetaMethod, idx=38, argv=0x7fff05067ef0) at kernel/qmetaobject.cpp:237
#65 0x00007f613d0df7b8 in QMetaObject::activate (sender=0x2652500, m=0x7f613d97c820, local_signal_index=3, argv=0x7fff05067ef0) at kernel/qobject.cpp:3280
#66 0x00007f613d598d65 in KJob::result (this=0x2652500, _t1=0x2652500) at /build/buildd/project-neon-kdelibs-2+git20110918+r92127/obj-x86_64-linux-gnu/kdecore/kjob.moc:194
#67 0x00007f613d598225 in KJob::emitResult (this=0x2652500) at /build/buildd/project-neon-kdelibs-2+git20110918+r92127/kdecore/jobs/kjob.cpp:312
#68 0x00007f613fc3881a in Akonadi::JobPrivate::delayedEmitResult (this=0x2039be0) at /build/buildd/project-neon-kdepimlibs-2+git20110922+r12321/akonadi/job.cpp:144
#69 0x00007f613fc39998 in Akonadi::Job::qt_metacall (this=0x2652500, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x25562d0) at /build/buildd/project-neon-kdepimlibs-2+git20110922+r12321/obj-x86_64-linux-gnu/akonadi/job.moc:91
#70 0x00007f613fbb7bc3 in Akonadi::CollectionFetchJob::qt_metacall (this=0x2652500, _c=QMetaObject::InvokeMetaMethod, _id=34, _a=0x25562d0) at /build/buildd/project-neon-kdepimlibs-2+git20110922+r12321/obj-x86_64-linux-gnu/akonadi/collectionfetchjob.moc:75
#71 0x00007f613d0cab3e in QMetaObject::metacall (object=0x2652500, cl=QMetaObject::InvokeMetaMethod, idx=34, argv=0x25562d0) at kernel/qmetaobject.cpp:237
#72 0x00007f613d0d9f8a in QMetaCallEvent::placeMetaCall (this=0x2039b90, object=0x2652500) at kernel/qobject.cpp:534
#73 0x00007f613d0db1f7 in QObject::event (this=0x2652500, e=0x2039b90) at kernel/qobject.cpp:1219
#74 0x00007f613bd06d46 in QApplicationPrivate::notify_helper (this=0x1e86f40, receiver=0x2652500, e=0x2039b90) at kernel/qapplication.cpp:4445
#75 0x00007f613bd04334 in QApplication::notify (this=0x7fff05068ce0, receiver=0x2652500, e=0x2039b90) at kernel/qapplication.cpp:3845
#76 0x00007f613dbe56ac in KApplication::notify (this=0x7fff05068ce0, receiver=0x2652500, event=0x2039b90) at /build/buildd/project-neon-kdelibs-2+git20110918+r92127/kdeui/kernel/kapplication.cpp:311
#77 0x00007f613d0c299a in QCoreApplication::notifyInternal (this=0x7fff05068ce0, receiver=0x2652500, event=0x2039b90) at kernel/qcoreapplication.cpp:732
#78 0x00007f613d0c66e7 in QCoreApplication::sendEvent (receiver=0x2652500, event=0x2039b90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#79 0x00007f613d0c3bb2 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1e32540) at kernel/qcoreapplication.cpp:1373
#80 0x00007f613d0c37d3 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#81 0x00007f613d0fbd2d in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#82 0x00007f613d0fad0e in postEventSourceDispatch (s=0x1e822e0) at kernel/qeventdispatcher_glib.cpp:277
#83 0x00007f613499cbcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#84 0x00007f613499d3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#85 0x00007f613499d639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#86 0x00007f613d0fb5d7 in QEventDispatcherGlib::processEvents (this=0x1e31c30, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#87 0x00007f613bddf0d2 in QGuiEventDispatcherGlib::processEvents (this=0x1e31c30, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#88 0x00007f613d0c0532 in QEventLoop::processEvents (this=0x7fff05068c40, flags=...) at kernel/qeventloop.cpp:149
#89 0x00007f613d0c0686 in QEventLoop::exec (this=0x7fff05068c40, flags=...) at kernel/qeventloop.cpp:201
#90 0x00007f613d0c308c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#91 0x00007f613bd03ebe in QApplication::exec () at kernel/qapplication.cpp:3719
#92 0x000000000040405d in main (argc=1, argv=0x7fff05069238) at /build/buildd/project-neon-kdepim-2+git20110918+r53729/kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Christophe Marin 2012-01-12 22:32:49 UTC
Still valid with more recent versions ?
Comment 2 Christophe Marin 2012-02-13 11:21:46 UTC
No feedback. Closing