Bug 168909

Summary: Kontact crashed when fetching new mail at startup
Product: [Unmaintained] kmail Reporter: Oliver Putz <Regnaron>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, craig.magina, dominik, schwarzer
Priority: NOR    
Version: 1.10.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Oliver Putz 2008-08-11 14:13:26 UTC
Version:           1.10.0 (using 4.1.00 (KDE 4.1.0), Gentoo)
Compiler:          i686-pc-linux-gnu-gcc
OS:                Linux (i686) release 2.6.25-gentoo-r7

I started kontact, entered the password for my IMAP account, and as soon as kontact was fired up, I hit CTRL+L to fetch all mails. Kontact responed by crashing with the backtrace below. This normally works and I regrettably am not able to reproduce this crash (maybe some race condition somewhere?)

Anyway, the backtrace is:

Application: Kontact (kontact), signal SIGABRT
[Thread debugging using libthread_db enabled]
[New Thread 0xb4d7e720 (LWP 8490)]
[KCrash handler]
#6  0xffffe424 in __kernel_vsyscall ()
#7  0xb540f690 in *__GI_raise (sig=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0xb5410ed8 in *__GI_abort () at abort.c:88
#9  0xb69f0097 in qt_message_output (msgType=QtFatalMsg, 
    buf=0xbfa6499c "ASSERT: \"!mSlave\" in file /var/tmp/portage/kde-base/kmail-4.1.0/work/kmail-4.1.0/kmail/imapaccountbase.cpp, line 304")
    at global/qglobal.cpp:2058
#10 0xb69f014f in qFatal (msg=0xb6b43ab4 "ASSERT: \"%s\" in file %s, line %d")
    at global/qglobal.cpp:2260
#11 0xb69f05cb in qt_assert (assertion=0xb21eb014 "!mSlave", 
    file=0xb21ea608 "/var/tmp/portage/kde-base/kmail-4.1.0/work/kmail-4.1.0/kmail/imapaccountbase.cpp", line=304) at global/qglobal.cpp:1828
#12 0xb1fa04be in KMail::ImapAccountBase::makeConnection (this=0x84d8b88)
    at /var/tmp/portage/kde-base/kmail-4.1.0/work/kmail-4.1.0/kmail/imapaccountbase.cpp:304
#13 0xb1fa7571 in KMAcctImap::makeConnection (this=0x0)
    at /var/tmp/portage/kde-base/kmail-4.1.0/work/kmail-4.1.0/kmail/kmacctimap.cpp:561
#14 0xb1fa8545 in KMAcctImap::processNewMail (this=0x84d8b88, 
    interactive=true)
    at /var/tmp/portage/kde-base/kmail-4.1.0/work/kmail-4.1.0/kmail/kmacctimap.cpp:278
#15 0xb1f4b6b9 in KMail::AccountManager::processNextCheck (this=0x83cdb10, 
    _newMail=false)
    at /var/tmp/portage/kde-base/kmail-4.1.0/work/kmail-4.1.0/kmail/accountmanager.cpp:216
#16 0xb1f4b864 in KMail::AccountManager::singleCheckMail (this=0x83cdb10, 
    account=0x84d8b88, interactive=true)
    at /var/tmp/portage/kde-base/kmail-4.1.0/work/kmail-4.1.0/kmail/accountmanager.cpp:143
#17 0xb1f9b8c8 in KMail::ImapAccountBase::slotCheckQueuedFolders (
    this=0x84d8b88)
    at /var/tmp/portage/kde-base/kmail-4.1.0/work/kmail-4.1.0/kmail/imapaccountbase.cpp:1134
#18 0xb1fa1a74 in KMail::ImapAccountBase::qt_metacall (this=0x84d8b88, 
    _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0xbfa66e68)
    at /var/tmp/portage/kde-base/kmail-4.1.0/work/kmail_build/kmail/imapaccountbase.moc:127
#19 0xb1fa841a in KMAcctImap::qt_metacall (this=0x84d8b88, 
    _c=QMetaObject::InvokeMetaMethod, _id=20, _a=0xbfa66e68)
    at /var/tmp/portage/kde-base/kmail-4.1.0/work/kmail_build/kmail/kmacctimap.moc:76
#20 0xb6b03530 in QMetaObject::activate (sender=0x84d8b88, 
    from_signal_index=<value optimized out>, to_signal_index=4, 
    argv=<value optimized out>) at kernel/qobject.cpp:3001
#21 0xb6b03c92 in QMetaObject::activate (sender=0x84d8b88, m=0xb22f7c14, 
    local_signal_index=0, argv=0xbfa66e68) at kernel/qobject.cpp:3071
#22 0xb1ec6dc5 in KMAccount::finishedCheck (this=0x84d8b88, _t1=false, 
    _t2=KMAccount::CheckOK)
    at /var/tmp/portage/kde-base/kmail-4.1.0/work/kmail_build/kmail/kmaccount.moc:158
#23 0xb1ec6e60 in KMAccount::checkDone (this=0x84d8b88, newmail=false, 
    status=KMAccount::CheckOK)
    at /var/tmp/portage/kde-base/kmail-4.1.0/work/kmail-4.1.0/kmail/kmaccount.cpp:497
#24 0xb1fa9593 in KMAcctImap::killAllJobs (this=0x84d8b88, 
    disconnectSlave=true)
    at /var/tmp/portage/kde-base/kmail-4.1.0/work/kmail-4.1.0/kmail/kmacctimap.cpp:198
#25 0xb1f9ce07 in KMail::ImapAccountBase::handleError (this=0x84d8b88, 
    errorCode=146, errorMsg=@0xbfa67410, job=0x0, context=@0xbfa670b8, 
    abortSync=true)
    at /var/tmp/portage/kde-base/kmail-4.1.0/work/kmail-4.1.0/kmail/imapaccountbase.cpp:1009
#26 0xb1fa967c in KMAcctImap::handleError (this=0x84d8b88, errorCode=6, 
    errorMsg=@0xbfa67410, job=0x0, context=@0xbfa670b8, 
    abortSync=<value optimized out>)
    at /var/tmp/portage/kde-base/kmail-4.1.0/work/kmail-4.1.0/kmail/kmacctimap.cpp:131
#27 0xb1fa1844 in KMail::ImapAccountBase::slotSchedulerSlaveError (
    this=0x84d8b88, aSlave=0x85c9690, errorCode=146, errorMsg=@0xbfa67410)
    at /var/tmp/portage/kde-base/kmail-4.1.0/work/kmail-4.1.0/kmail/imapaccountbase.cpp:630
#28 0xb1fa1aba in KMail::ImapAccountBase::qt_metacall (this=0x84d8b88, 
    _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfa671d4)
    at /var/tmp/portage/kde-base/kmail-4.1.0/work/kmail_build/kmail/imapaccountbase.moc:129
#29 0xb1fa841a in KMAcctImap::qt_metacall (this=0x84d8b88, 
    _c=QMetaObject::InvokeMetaMethod, _id=22, _a=0xbfa671d4)
    at /var/tmp/portage/kde-base/kmail-4.1.0/work/kmail_build/kmail/kmacctimap.moc:76
#30 0xb6b03530 in QMetaObject::activate (sender=0x8471fe0, 
    from_signal_index=<value optimized out>, to_signal_index=5, 
    argv=<value optimized out>) at kernel/qobject.cpp:3001
#31 0xb6b03c92 in QMetaObject::activate (sender=0x8471fe0, m=0xb7509bd0, 
    local_signal_index=1, argv=0xbfa671d4) at kernel/qobject.cpp:3071
#32 0xb74326f5 in KIO::Scheduler::slaveError (this=0x8471fe0, _t1=0x85c9690, 
    _t2=146, _t3=@0xbfa67410)
    at /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs_build/kio/scheduler.moc:124
#33 0xb7433256 in KIO::SchedulerPrivate::slotSlaveError (this=0x84d35b8, 
    errorNr=146, errorMsg=@0xbfa67410)
    at /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs-4.1.0/kio/kio/scheduler.cpp:931
#34 0xb743647a in KIO::Scheduler::qt_metacall (this=0x8471fe0, 
    _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbfa67308)
    at /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs_build/kio/scheduler.moc:104
#35 0xb6b03530 in QMetaObject::activate (sender=0x85c9690, 
    from_signal_index=<value optimized out>, to_signal_index=6, 
    argv=<value optimized out>) at kernel/qobject.cpp:3001
#36 0xb6b03c92 in QMetaObject::activate (sender=0x85c9690, m=0xb7509f44, 
    local_signal_index=2, argv=0xbfa67308) at kernel/qobject.cpp:3071
#37 0xb7445a8d in KIO::SlaveInterface::error (this=0x85c9690, _t1=146, 
    _t2=@0xbfa67410)
    at /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs_build/kio/slaveinterface.moc:149
#38 0xb7447735 in KIO::SlaveInterface::dispatch (this=0x85c9690, _cmd=102, 
    rawdata=@0xbfa67464)
    at /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs-4.1.0/kio/kio/slaveinterface.cpp:212
#39 0xb7447f9b in KIO::SlaveInterface::dispatch (this=0x85c9690)
    at /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs-4.1.0/kio/kio/slaveinterface.cpp:90
#40 0xb743b115 in KIO::Slave::gotInput (this=0x85c9690)
    at /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs-4.1.0/kio/kio/slave.cpp:319
#41 0xb743c585 in KIO::Slave::qt_metacall (this=0x85c9690, 
    _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfa67568)
    at /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs_build/kio/slave.moc:75
#42 0xb6b03530 in QMetaObject::activate (sender=0x827cf60, 
    from_signal_index=<value optimized out>, to_signal_index=4, 
    argv=<value optimized out>) at kernel/qobject.cpp:3001
#43 0xb6b03c92 in QMetaObject::activate (sender=0x827cf60, m=0xb7506ba0, 
    local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3071
#44 0xb737bb6d in KIO::Connection::readyRead (this=0x827cf60)
    at /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs_build/kio/connection.moc:84
#45 0xb737c81d in KIO::ConnectionPrivate::dequeue (this=0x85d2ee0)
    at /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs-4.1.0/kio/kio/connection.cpp:82
#46 0xb737d595 in KIO::Connection::qt_metacall (this=0x827cf60, 
    _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x8826768)
    at /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs_build/kio/connection.moc:72
#47 0xb6afd249 in QMetaCallEvent::placeMetaCall (this=0x8828b50, 
    object=0x827cf60) at kernel/qobject.cpp:535
#48 0xb6aff309 in QObject::event (this=0x827cf60, e=0x8828b50)
    at kernel/qobject.cpp:1131
#49 0xb58268a4 in QApplicationPrivate::notify_helper (this=0x805f038, 
    receiver=0x827cf60, e=0x8828b50) at kernel/qapplication.cpp:3772
#50 0xb582aa75 in QApplication::notify (this=0xbfa67d18, receiver=0x827cf60, 
    e=0x8828b50) at kernel/qapplication.cpp:3366
#51 0xb714c6c3 in KApplication::notify (this=0xbfa67d18, receiver=0x827cf60, 
    event=0x8828b50)
    at /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs-4.1.0/kdeui/kernel/kapplication.cpp:311
#52 0xb6aedd59 in QCoreApplication::notifyInternal (this=0xbfa67d18, 
    receiver=0x827cf60, event=0x8828b50) at kernel/qcoreapplication.cpp:587
#53 0xb6aef006 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, 
    event_type=0, data=0x804f420) at kernel/qcoreapplication.h:215
#54 0xb6aef35d in QCoreApplication::sendPostedEvents (receiver=0x0, 
    event_type=0) at kernel/qcoreapplication.cpp:1091
#55 0xb58b6d7e in QEventDispatcherX11::processEvents (this=0x805dc18, 
    flags=@0xbfa67c38)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#56 0xb6aed0d3 in QEventLoop::processEvents (this=0xbfa67cb0, 
    flags=@0xbfa67c78) at kernel/qeventloop.cpp:149
#57 0xb6aed246 in QEventLoop::exec (this=0xbfa67cb0, flags=@0xbfa67cb8)
    at kernel/qeventloop.cpp:200
#58 0xb6aef401 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#59 0xb582623f in QApplication::exec () at kernel/qapplication.cpp:3304
#60 0x0804b901 in main (argc=1, argv=0xbfa67ed4)
    at /var/tmp/portage/kde-base/kontact-4.1.0/work/kontact-4.1.0/kontact/src/main.cpp:218
#0  0xffffe424 in __kernel_vsyscall ()
Comment 1 Thomas McGuire 2008-08-20 17:28:30 UTC

*** This bug has been marked as a duplicate of bug 168662 ***
Comment 2 Dario Andres 2009-01-19 21:47:37 UTC
*** Bug 181312 has been marked as a duplicate of this bug. ***
Comment 3 Dario Andres 2009-01-19 21:48:29 UTC
The assert in this bug is different to the one in the original report of bug 168662. Are they really duplicates? 
Comment 4 Christophe Marin 2010-03-28 20:47:35 UTC
*** Bug 190920 has been marked as a duplicate of this bug. ***
Comment 5 Jonathan Thomas 2010-05-27 20:44:09 UTC
*** Bug 238103 has been marked as a duplicate of this bug. ***