Bug 236316 - crash when trying to change the settings of an imap folder
Summary: crash when trying to change the settings of an imap folder
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Unmaintained
Component: IMAP (show other bugs)
Version: 1.13.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-04 14:25 UTC by Kai Bolte
Modified: 2010-09-30 12:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Bolte 2010-05-04 14:25:51 UTC
Application: kontact (4.4.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.31.12-0.2-desktop i686
Distribution: "openSUSE 11.2 (i586)"

-- Information about the crash:
I changed the settings of some imap folders of a newly created  account with rightclick on folder -> settings. Trying this with the 3rd folder of the same account, KMail / Kontact crashed.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#6  deref (this=<value optimized out>) at ../../src/corelib/arch/qatomic_i386.h:132
#7  QString::operator= (this=<value optimized out>) at tools/qstring.cpp:1281
#8  0xb7773491 in KPIM::ProgressItem::setStatus(QString const&) () from /usr/lib/libkdepim.so.4
#9  0xaf4df40a in KMail::ImapJob::slotPutMessageResult (this=0x8967940, job=0x95de0f8) at /usr/src/debug/kdepim-4.4.2/kmail/imapjob.cpp:560
#10 0xaf4e226d in KMail::ImapJob::qt_metacall (this=0x8967940, _c=InvokeMetaMethod, _id=16, _a=0xbfc619f8) at /usr/src/debug/kdepim-4.4.2/build/kmail/imapjob.moc:92
#11 0xb6d6514d in QMetaObject::metacall (object=0x8967940, cl=3053826976, idx=16, argv=0xbfc619f8) at kernel/qmetaobject.cpp:237
#12 0xb6d73faa in QMetaObject::activate (sender=0x95de0f8, m=0xb70f78b0, local_signal_index=3, argv=0xbfc619f8) at kernel/qobject.cpp:3293
#13 0xb6efdac5 in KJob::result(KJob*) () from /usr/lib/libkdecore.so.5
#14 0xb6f08388 in KJob::emitResult() () from /usr/lib/libkdecore.so.5
#15 0xb563a71f in KIO::SimpleJob::slotFinished (this=0x95de0f8) at /usr/src/debug/kdelibs-4.4.2/kio/kio/job.cpp:486
#16 0xb56e06e1 in KIO::TransferJob::slotFinished (this=0x95de0f8) at /usr/src/debug/kdelibs-4.4.2/kio/kio/job.cpp:1058
#17 0xb56c72d4 in KIO::TransferJob::qt_metacall (this=0x95de0f8, _c=InvokeMetaMethod, _id=47, _a=0xbfc61c7c) at /usr/src/debug/kdelibs-4.4.2/build/kio/jobclasses.moc:367
#18 0xb6d6514d in QMetaObject::metacall (object=0x95de0f8, cl=3053826976, idx=47, argv=0xbfc61c7c) at kernel/qmetaobject.cpp:237
#19 0xb6d73faa in QMetaObject::activate (sender=0x92d56e8, m=0xb57e78fc, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3293
#20 0xb55cf5f5 in KIO::SlaveInterface::finished (this=0x92d56e8) at /usr/src/debug/kdelibs-4.4.2/build/kio/slaveinterface.moc:171
#21 0xb5724358 in KIO::SlaveInterface::dispatch (this=0x92d56e8, _cmd=104, rawdata=...) at /usr/src/debug/kdelibs-4.4.2/kio/kio/slaveinterface.cpp:175
#22 0xb55f36ea in KIO::SlaveInterface::dispatch (this=0x92d56e8) at /usr/src/debug/kdelibs-4.4.2/kio/kio/slaveinterface.cpp:91
#23 0xb563d5f8 in KIO::Slave::gotInput (this=0x92d56e8) at /usr/src/debug/kdelibs-4.4.2/kio/kio/slave.cpp:324
#24 0xb563d824 in KIO::Slave::qt_metacall (this=0x92d56e8, _c=InvokeMetaMethod, _id=30, _a=0xbfc61f6c) at /usr/src/debug/kdelibs-4.4.2/build/kio/slave.moc:82
#25 0xb6d6514d in QMetaObject::metacall (object=0x92d56e8, cl=3053826976, idx=30, argv=0xbfc61f6c) at kernel/qmetaobject.cpp:237
#26 0xb6d73faa in QMetaObject::activate (sender=0x93bb220, m=0xb57e750c, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#27 0xb55d2125 in KIO::Connection::readyRead (this=0x93bb220) at /usr/src/debug/kdelibs-4.4.2/build/kio/connection.moc:92
#28 0xb55f60ca in KIO::ConnectionPrivate::dequeue (this=0x8c2b848) at /usr/src/debug/kdelibs-4.4.2/kio/kio/connection.cpp:82
#29 0xb55f61a7 in KIO::Connection::qt_metacall (this=0x93bb220, _c=InvokeMetaMethod, _id=5, _a=0x8c4f718) at /usr/src/debug/kdelibs-4.4.2/build/kio/connection.moc:79
#30 0xb6d6514d in QMetaObject::metacall (object=0x93bb220, cl=3053826976, idx=5, argv=0x8c4f718) at kernel/qmetaobject.cpp:237
#31 0xb6d6fad5 in QMetaCallEvent::placeMetaCall (this=0x8b92950, object=0x93bb220) at kernel/qobject.cpp:561
#32 0xb6d70c7f in QObject::event (this=0x93bb220, e=0x8b92950) at kernel/qobject.cpp:1248
#33 0xb62873fc in QApplicationPrivate::notify_helper (this=0x80799a0, receiver=0x93bb220, e=0x8b92950) at kernel/qapplication.cpp:4300
#34 0xb628e248 in QApplication::notify (this=0xbfc63984, receiver=0x93bb220, e=0x8b92950) at kernel/qapplication.cpp:4183
#35 0xb727bc01 in KApplication::notify (this=0xbfc63984, receiver=0x93bb220, event=0x8b92950) at /usr/src/debug/kdelibs-4.4.2/kdeui/kernel/kapplication.cpp:302
#36 0xb6d5fdde in QCoreApplication::notifyInternal (this=0xbfc63984, receiver=0x93bb220, event=0x8b92950) at kernel/qcoreapplication.cpp:704
#37 0xb6d627e3 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:215
#38 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1345
#39 0xb6d6293c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#40 0xb6d8ce4d in sendPostedEvents () at kernel/qcoreapplication.h:220
#41 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:276
#42 0xb410e4f2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#43 0xb4111dc8 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#44 0xb4111eee in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#45 0xb6d8c931 in QEventDispatcherGlib::processEvents (this=0x8056b50, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#46 0xb6347e0a in QGuiEventDispatcherGlib::processEvents (this=0x8056b50, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#47 0xb6d5e44d in QEventLoop::processEvents (this=0xbfc627e0, flags=) at kernel/qeventloop.cpp:149
#48 0xb6d5e899 in QEventLoop::exec (this=0xbfc627e0, flags=...) at kernel/qeventloop.cpp:201
#49 0xb673d097 in QMenu::exec (this=0x8e9de70, p=..., action=0x0) at widgets/qmenu.cpp:2063
#50 0xaf23f727 in KMail::FolderView::contextMenuEvent (this=0x85931d8, e=0xbfc63148) at /usr/src/debug/kdepim-4.4.2/kmail/folderview.cpp:1574
#51 0xb62e798d in QWidget::event (this=0x85931d8, event=0xbfc63148) at kernel/qwidget.cpp:8165
#52 0xb66f4155 in QFrame::event (this=0x85931d8, e=0xbfc63148) at widgets/qframe.cpp:557
#53 0xb6790e01 in QAbstractScrollArea::viewportEvent (this=0xb605b3a0, e=0xffffff01) at widgets/qabstractscrollarea.cpp:1036
#54 0xb6849aec in QAbstractItemView::viewportEvent (this=0x85931d8, event=0xbfc63148) at itemviews/qabstractitemview.cpp:1610
#55 0xb688a78c in QTreeView::viewportEvent (this=0x85931d8, event=0xbfc63148) at itemviews/qtreeview.cpp:1248
#56 0xb67936f6 in viewportEvent (event=<value optimized out>, this=<value optimized out>) at widgets/qabstractscrollarea_p.h:100
#57 QAbstractScrollAreaFilter::eventFilter (event=<value optimized out>, this=<value optimized out>) at widgets/qabstractscrollarea_p.h:116
#58 0xb6d5f0ae in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x80799a0, receiver=0x858f570, event=0xbfc63148) at kernel/qcoreapplication.cpp:819
#59 0xb62873cd in QApplicationPrivate::notify_helper (this=0x80799a0, receiver=0x858f570, e=0xbfc63148) at kernel/qapplication.cpp:4296
#60 0xb628e658 in QApplication::notify (this=0x858f570, receiver=0x858f570, e=0xbfc63148) at kernel/qapplication.cpp:3944
#61 0xb727bc01 in KApplication::notify (this=0xbfc63984, receiver=0x858f570, event=0xbfc63148) at /usr/src/debug/kdelibs-4.4.2/kdeui/kernel/kapplication.cpp:302
#62 0xb6d5fdde in QCoreApplication::notifyInternal (this=0xbfc63984, receiver=0x858f570, event=0xbfc63148) at kernel/qcoreapplication.cpp:704
#63 0xb6320bfd in QCoreApplication::sendSpontaneousEvent (receiver=0x858f570, event=0xffffff01) at ../../src/corelib/kernel/qcoreapplication.h:218
#64 0xb631bd00 in QETWidget::translateMouseEvent (this=0x858f570, event=0xbfc6362c) at kernel/qapplication_x11.cpp:4373
#65 0xb631ac44 in QApplication::x11ProcessEvent (this=0xbfc63984, event=0xbfc6362c) at kernel/qapplication_x11.cpp:3379
#66 0xb63482b8 in x11EventSourceDispatch (s=0x8080b00, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#67 0xb410e4f2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#68 0xb4111dc8 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#69 0xb4111eee in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#70 0xb6d8c931 in QEventDispatcherGlib::processEvents (this=0x8056b50, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#71 0xb6347e0a in QGuiEventDispatcherGlib::processEvents (this=0x8056b50, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#72 0xb6d5e44d in QEventLoop::processEvents (this=0xbfc638e4, flags=) at kernel/qeventloop.cpp:149
#73 0xb6d5e899 in QEventLoop::exec (this=0xbfc638e4, flags=...) at kernel/qeventloop.cpp:201
#74 0xb6d62a10 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#75 0xb62874a4 in QApplication::exec () at kernel/qapplication.cpp:3579
#76 0x0804b512 in main (argc=3, argv=0xbfc63b94) at /usr/src/debug/kdepim-4.4.2/kontact/src/main.cpp:224

This bug may be a duplicate of or related to bug 207996.

Possible duplicates by query: bug 234200, bug 234138, bug 227210, bug 216892, bug 207996.

Reported using DrKonqi
Comment 1 Laurent Montel 2010-09-30 11:22:39 UTC
SVN commit 1181156 by mlaurent:

Use QPointer, a progressItem can be deleted in progressmanager directly
I think it will fix 236316 and other similar bugs
BUG: 236316


 M  +2 -3      backupjob.cpp  
 M  +4 -6      backupjob.h  
 M  +4 -3      imapaccountbase.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1181156
Comment 2 Gökçen Eraslan 2010-09-30 12:05:49 UTC
Any ideas about releasing a 4.4.7 tarball for KDEPIM family?