Bug 243397 - KMail can segfault when unsubscribing folders from #shared namespace
Summary: KMail can segfault when unsubscribing folders from #shared namespace
Status: RESOLVED DUPLICATE of bug 191345
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.4.3
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-02 01:25 UTC by Kai Krakow
Modified: 2010-07-05 14:38 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 Kai Krakow 2010-07-02 01:25:33 UTC
Application: kontact (4.4.3)
KDE Platform Version: 4.4.4 (KDE 4.4.4) (Compiled from sources)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-gentoo-r7 i686
Distribution (Platform): Gentoo Packages

-- Information about the crash:
I tried to unsubscribe a no longer existing IMAP folder in the shared namespace. After hitting ok, KMail segfaulted.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#6  QBasicAtomicInt::operator!= (this=0x9c8ef28, kiddo=0xcde33d8) at /usr/include/qt4/QtCore/qbasicatomic.h:75
#7  QMap<KPIM::ProgressItem*, bool>::detach (this=0x9c8ef28, kiddo=0xcde33d8) at /usr/include/qt4/QtCore/qmap.h:182
#8  QMap<KPIM::ProgressItem*, bool>::remove (this=0x9c8ef28, kiddo=0xcde33d8) at /usr/include/qt4/QtCore/qmap.h:638
#9  KPIM::ProgressItem::removeChild (this=0x9c8ef28, kiddo=0xcde33d8) at /var/tmp/portage/kde-base/libkdepim-4.4.4/work/libkdepim-4.4.4/libkdepim/progressmanager.cpp:73
#10 0xb7799879 in KPIM::ProgressItem::setComplete (this=0xcde33d8) at /var/tmp/portage/kde-base/libkdepim-4.4.4/work/libkdepim-4.4.4/libkdepim/progressmanager.cpp:58
#11 0xafe45fdb in KMail::ImapAccountBase::removeJob (this=0x95e6278, it=...) at /var/tmp/portage/kde-base/kmail-4.4.4/work/kmail-4.4.4/kmail/imapaccountbase.cpp:1375
#12 0xafd4351a in KMail::ListJob::slotListResult (this=0xd33da00, job=0x9aa2568) at /var/tmp/portage/kde-base/kmail-4.4.4/work/kmail-4.4.4/kmail/listjob.cpp:182
#13 0xafd43fad in KMail::ListJob::qt_metacall (this=0xd33da00, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xbf8c4f08)
    at /var/tmp/portage/kde-base/kmail-4.4.4/work/kmail-4.4.4_build/kmail/listjob.moc:83
#14 0xb633b04d in QMetaObject::metacall (object=0xd33da00, cl=QMetaObject::ReadProperty, idx=13, argv=0xbf8c4f08) at kernel/qmetaobject.cpp:237
#15 0xb634a47c in QMetaObject::activate (sender=0x9aa2568, m=0xb7140c88, local_signal_index=3, argv=<value optimized out>) at kernel/qobject.cpp:3287
#16 0xb6fc4554 in KJob::result (this=0x9aa2568, _t1=0x9aa2568) at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4_build/kdecore/kjob.moc:194
#17 0xb6fc48f8 in KJob::emitResult (this=0x9aa2568) at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/jobs/kjob.cpp:312
#18 0xb5654973 in KIO::SimpleJob::slotFinished (this=0x9aa2568) at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kio/job.cpp:517
#19 0xb5654af2 in KIO::ListJob::slotFinished (this=0x9aa2568) at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kio/job.cpp:2544
#20 0xb5658a4d in KIO::ListJob::qt_metacall (this=0x9aa2568, _c=QMetaObject::InvokeMetaMethod, _id=43, _a=0xbf8c515c)
    at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4_build/kio/jobclasses.moc:818
#21 0xb633b04d in QMetaObject::metacall (object=0x9aa2568, cl=QMetaObject::ReadProperty, idx=43, argv=0xbf8c515c) at kernel/qmetaobject.cpp:237
#22 0xb634a47c in QMetaObject::activate (sender=0x99f31c0, m=0xb5812f44, local_signal_index=4, argv=<value optimized out>) at kernel/qobject.cpp:3287
#23 0xb57286a4 in KIO::SlaveInterface::finished (this=0x99f31c0) at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4_build/kio/slaveinterface.moc:171
#24 0xb572bd43 in KIO::SlaveInterface::dispatch (this=0x99f31c0, _cmd=104, rawdata=...) at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kio/slaveinterface.cpp:175
#25 0xb5728c16 in KIO::SlaveInterface::dispatch (this=0x99f31c0) at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kio/slaveinterface.cpp:91
#26 0xb571b888 in KIO::Slave::gotInput (this=0x99f31c0) at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kio/slave.cpp:324
#27 0xb571badc in KIO::Slave::qt_metacall (this=0x99f31c0, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbf8c545c)
    at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4_build/kio/slave.moc:82
#28 0xb633b04d in QMetaObject::metacall (object=0x99f31c0, cl=QMetaObject::ReadProperty, idx=30, argv=0xbf8c545c) at kernel/qmetaobject.cpp:237
#29 0xb634a47c in QMetaObject::activate (sender=0x961e8a0, m=0xb580f820, local_signal_index=0, argv=<value optimized out>) at kernel/qobject.cpp:3287
#30 0xb561a1f1 in KIO::Connection::readyRead (this=0x961e8a0) at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4_build/kio/connection.moc:92
#31 0xb561c5c6 in KIO::ConnectionPrivate::dequeue (this=0x99d99a0) at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kio/connection.cpp:82
#32 0xb561c70f in KIO::Connection::qt_metacall (this=0x961e8a0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xcb27f30)
    at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4_build/kio/connection.moc:79
#33 0xb633b04d in QMetaObject::metacall (object=0x961e8a0, cl=QMetaObject::ReadProperty, idx=5, argv=0xcb27f30) at kernel/qmetaobject.cpp:237
#34 0xb6345b03 in QMetaCallEvent::placeMetaCall (this=0xd370938, object=0x961e8a0) at kernel/qobject.cpp:561
#35 0xb6346cd0 in QObject::event (this=0x961e8a0, e=0xd370938) at kernel/qobject.cpp:1240
#36 0xb6583e6c in QApplicationPrivate::notify_helper (this=0x9097c08, receiver=0x961e8a0, e=0xd370938) at kernel/qapplication.cpp:4302
#37 0xb658ad28 in QApplication::notify (this=0xbf8c731c, receiver=0x961e8a0, e=0xd370938) at kernel/qapplication.cpp:3706
#38 0xb732b661 in KApplication::notify (this=0xbf8c731c, receiver=0x961e8a0, event=0xd370938) at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdeui/kernel/kapplication.cpp:302
#39 0xb6335a6d in QCoreApplication::notifyInternal (this=0xbf8c731c, receiver=0x961e8a0, event=0xd370938) at kernel/qcoreapplication.cpp:726
#40 0xb63395de in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9077dc8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#41 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9077dc8) at kernel/qcoreapplication.cpp:1367
#42 0xb633975c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1260
#43 0xb636377b in QCoreApplication::sendPostedEvents (s=0x9099d10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#44 postEventSourceDispatch (s=0x9099d10) at kernel/qeventdispatcher_glib.cpp:276
#45 0xb41844fb in g_main_dispatch (context=0x9099c90) at gmain.c:1960
#46 IA__g_main_context_dispatch (context=0x9099c90) at gmain.c:2513
#47 0xb4187df8 in g_main_context_iterate (context=0x9099c90, block=1, dispatch=1, self=0x9094a78) at gmain.c:2591
#48 0xb4187f7f in IA__g_main_context_iteration (context=0x9099c90, may_block=1) at gmain.c:2654
#49 0xb6363151 in QEventDispatcherGlib::processEvents (this=0x9077890, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#50 0xb664748a in QGuiEventDispatcherGlib::processEvents (this=0x9077890, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#51 0xb6333fcd in QEventLoop::processEvents (this=0xbf8c5cc0, flags=) at kernel/qeventloop.cpp:149
#52 0xb6334429 in QEventLoop::exec (this=0xbf8c5cc0, flags=...) at kernel/qeventloop.cpp:201
#53 0xb6aca882 in QDialog::exec (this=0xcb4b4f8) at dialogs/qdialog.cpp:546
#54 0xb729cf45 in KMessageBox::createKMessageBox (dialog=0xcb4b4f8, icon=..., text=..., strlist=..., ask=..., checkboxReturn=0xbf8c605f, options=..., details=..., notifyType=QMessageBox::Warning)
    at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdeui/dialogs/kmessagebox.cpp:333
#55 0xb729e48e in KMessageBox::createKMessageBox (dialog=0xcb4b4f8, icon=QMessageBox::Warning, text=..., strlist=..., ask=..., checkboxReturn=0xbf8c605f, options=..., details=...)
    at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdeui/dialogs/kmessagebox.cpp:151
#56 0xb72a15fa in KMessageBox::warningContinueCancelListWId (parent_id=37748761, text=..., strlist=..., caption=..., buttonContinue_=..., buttonCancel_=..., dontAskAgainName=..., options=...)
    at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdeui/dialogs/kmessagebox.cpp:704
#57 0xb72a180b in KMessageBox::warningContinueCancelList (parent=0x9123a78, text=..., strlist=..., caption=..., buttonContinue=..., buttonCancel=..., dontAskAgainName=..., options=...)
    at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdeui/dialogs/kmessagebox.cpp:666
#58 0xb72a187e in KMessageBox::warningContinueCancel (parent=0x9123a78, text=..., caption=..., buttonContinue=..., buttonCancel=..., dontAskAgainName=..., options=...)
    at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdeui/dialogs/kmessagebox.cpp:642
#59 0xafe4fde5 in KMail::ImapAccountBase::handleError (this=0x95e6278, errorCode=163, errorMsg=..., job=0xd80c008, context=..., abortSync=48)
    at /var/tmp/portage/kde-base/kmail-4.4.4/work/kmail-4.4.4/kmail/imapaccountbase.cpp:1077
#60 0xafe52d8b in KMAcctImap::handleError (this=0x1, errorCode=-1236997712, errorMsg=..., job=0xd80c008, context=..., abortSync=<value optimized out>)
    at /var/tmp/portage/kde-base/kmail-4.4.4/work/kmail-4.4.4/kmail/kmacctimap.cpp:131
#61 0xafe478d8 in KMail::ImapAccountBase::handleJobError (this=0x95e6278, job=0xd80c008, context=..., abortSync=false)
    at /var/tmp/portage/kde-base/kmail-4.4.4/work/kmail-4.4.4/kmail/imapaccountbase.cpp:378
#62 0xafe75f79 in KMFolderImap::slotStatResult (this=0x95ae0d0, job=0xd80c008) at /var/tmp/portage/kde-base/kmail-4.4.4/work/kmail-4.4.4/kmail/kmfolderimap.cpp:2202
#63 0xafe81d7d in KMFolderImap::qt_metacall (this=0x95ae0d0, _c=QMetaObject::InvokeMetaMethod, _id=35, _a=0xbf8c6478)
    at /var/tmp/portage/kde-base/kmail-4.4.4/work/kmail-4.4.4_build/kmail/kmfolderimap.moc:196
#64 0xb633b04d in QMetaObject::metacall (object=0x95ae0d0, cl=QMetaObject::ReadProperty, idx=71, argv=0xbf8c6478) at kernel/qmetaobject.cpp:237
#65 0xb634a47c in QMetaObject::activate (sender=0xd80c008, m=0xb7140c88, local_signal_index=3, argv=<value optimized out>) at kernel/qobject.cpp:3287
#66 0xb6fc4554 in KJob::result (this=0xd80c008, _t1=0xd80c008) at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4_build/kdecore/kjob.moc:194
#67 0xb6fc48f8 in KJob::emitResult (this=0xd80c008) at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdecore/jobs/kjob.cpp:312
#68 0xb5654973 in KIO::SimpleJob::slotFinished (this=0xd80c008) at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kio/job.cpp:517
#69 0xb5654ee2 in KIO::StatJob::slotFinished (this=0xd80c008) at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kio/job.cpp:900
#70 0xb56520c6 in KIO::SimpleJob::slotError (this=0xd80c008, err=163, errorText=...) at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kio/job.cpp:529
#71 0xb5652244 in KIO::SimpleJob::qt_metacall (this=0xd80c008, _c=QMetaObject::InvokeMetaMethod, _id=31, _a=0xbf8c6744)
    at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4_build/kio/jobclasses.moc:170
#72 0xb56535c2 in KIO::StatJob::qt_metacall (this=0xd80c008, _c=QMetaObject::InvokeMetaMethod, _id=31, _a=0xbf8c6744)
    at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4_build/kio/jobclasses.moc:245
#73 0xb633b04d in QMetaObject::metacall (object=0xd80c008, cl=QMetaObject::ReadProperty, idx=31, argv=0xbf8c6744) at kernel/qmetaobject.cpp:237
#74 0xb634a47c in QMetaObject::activate (sender=0x99f31c0, m=0xb5812f44, local_signal_index=2, argv=<value optimized out>) at kernel/qobject.cpp:3287
#75 0xb572873c in KIO::SlaveInterface::error (this=0x99f31c0, _t1=163, _t2=...) at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4_build/kio/slaveinterface.moc:159
#76 0xb572bdd1 in KIO::SlaveInterface::dispatch (this=0x99f31c0, _cmd=102, rawdata=...) at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kio/slaveinterface.cpp:208
#77 0xb5728c16 in KIO::SlaveInterface::dispatch (this=0x99f31c0) at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kio/slaveinterface.cpp:91
#78 0xb571b888 in KIO::Slave::gotInput (this=0x99f31c0) at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kio/slave.cpp:324
#79 0xb571badc in KIO::Slave::qt_metacall (this=0x99f31c0, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbf8c6a1c)
    at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4_build/kio/slave.moc:82
#80 0xb633b04d in QMetaObject::metacall (object=0x99f31c0, cl=QMetaObject::ReadProperty, idx=30, argv=0xbf8c6a1c) at kernel/qmetaobject.cpp:237
#81 0xb634a47c in QMetaObject::activate (sender=0x961e8a0, m=0xb580f820, local_signal_index=0, argv=<value optimized out>) at kernel/qobject.cpp:3287
#82 0xb561a1f1 in KIO::Connection::readyRead (this=0x961e8a0) at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4_build/kio/connection.moc:92
#83 0xb561c5c6 in KIO::ConnectionPrivate::dequeue (this=0x99d99a0) at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kio/kio/connection.cpp:82
#84 0xb561c70f in KIO::Connection::qt_metacall (this=0x961e8a0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xcdfdb10)
    at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4_build/kio/connection.moc:79
#85 0xb633b04d in QMetaObject::metacall (object=0x961e8a0, cl=QMetaObject::ReadProperty, idx=5, argv=0xcdfdb10) at kernel/qmetaobject.cpp:237
#86 0xb6345b03 in QMetaCallEvent::placeMetaCall (this=0xcba60f0, object=0x961e8a0) at kernel/qobject.cpp:561
#87 0xb6346cd0 in QObject::event (this=0x961e8a0, e=0xcba60f0) at kernel/qobject.cpp:1240
#88 0xb6583e6c in QApplicationPrivate::notify_helper (this=0x9097c08, receiver=0x961e8a0, e=0xcba60f0) at kernel/qapplication.cpp:4302
#89 0xb658ad28 in QApplication::notify (this=0xbf8c731c, receiver=0x961e8a0, e=0xcba60f0) at kernel/qapplication.cpp:3706
#90 0xb732b661 in KApplication::notify (this=0xbf8c731c, receiver=0x961e8a0, event=0xcba60f0) at /var/tmp/portage/kde-base/kdelibs-4.4.4/work/kdelibs-4.4.4/kdeui/kernel/kapplication.cpp:302
#91 0xb6335a6d in QCoreApplication::notifyInternal (this=0xbf8c731c, receiver=0x961e8a0, event=0xcba60f0) at kernel/qcoreapplication.cpp:726
#92 0xb63395de in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9077dc8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#93 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9077dc8) at kernel/qcoreapplication.cpp:1367
#94 0xb633975c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1260
#95 0xb636377b in QCoreApplication::sendPostedEvents (s=0x9099d10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#96 postEventSourceDispatch (s=0x9099d10) at kernel/qeventdispatcher_glib.cpp:276
#97 0xb41844fb in g_main_dispatch (context=0x9099c90) at gmain.c:1960
#98 IA__g_main_context_dispatch (context=0x9099c90) at gmain.c:2513
#99 0xb4187df8 in g_main_context_iterate (context=0x9099c90, block=1, dispatch=1, self=0x9094a78) at gmain.c:2591
#100 0xb4187f7f in IA__g_main_context_iteration (context=0x9099c90, may_block=1) at gmain.c:2654
#101 0xb6363151 in QEventDispatcherGlib::processEvents (this=0x9077890, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#102 0xb664748a in QGuiEventDispatcherGlib::processEvents (this=0x9077890, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#103 0xb6333fcd in QEventLoop::processEvents (this=0xbf8c7284, flags=) at kernel/qeventloop.cpp:149
#104 0xb6334429 in QEventLoop::exec (this=0xbf8c7284, flags=...) at kernel/qeventloop.cpp:201
#105 0xb633982a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#106 0xb6583f14 in QApplication::exec () at kernel/qapplication.cpp:3581
#107 0x0804bedd in main (argc=-1081314028, argv=0xbf8c7350) at /var/tmp/portage/kde-base/kontact-4.4.4/work/kontact-4.4.4/kontact/src/main.cpp:224

Possible duplicates by query: bug 236892.

Reported using DrKonqi
Comment 1 Christophe Marin 2010-07-05 14:38:33 UTC

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