Bug 204107 - Crash while closing Kontact (KMail::ListJob::slotListEntries, ..., KIO::ListJob::entries)
Summary: Crash while closing Kontact (KMail::ListJob::slotListEntries, ..., KIO::ListJ...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Unmaintained
Component: general (show other bugs)
Version: 1.12.0
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 203489 207541 212036 212578 214236 214329 215085 219657 220361 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-17 01:46 UTC by c0der
Modified: 2012-08-19 10:56 UTC (History)
11 users (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 c0der 2009-08-17 01:46:08 UTC
Application that crashed: kontact
Version of the application: 4.3.0
KDE Version: 4.3.00 (KDE 4.3.0)
Qt Version: 4.5.2
Operating System: Linux 2.6.28-14-generic x86_64
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
Kontact crashed right after I clicked on the exit button. This is happening roughly once a day.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#5  0x00007fea823456bf in KMail::ListJob::slotListEntries (this=0x33dea10, job=0x3527220, uds=@0x7fffa2d24320) at /usr/include/qt4/QtCore/qmap.h:420
#6  0x00007fea82346673 in KMail::ListJob::qt_metacall (this=0x33dea10, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fffa2d23d90)
    at /build/buildd/kdepim-4.3.0/obj-x86_64-linux-gnu/kmail/listjob.moc:78
#7  0x00007fea9527fea2 in QMetaObject::activate (sender=0x3527220, from_signal_index=<value optimized out>, to_signal_index=40, argv=0x7fffa2d23ac8) at kernel/qobject.cpp:3113
#8  0x00007fea976c7994 in KIO::ListJob::entries (this=0x2058530, _t1=0x3527220, _t2=<value optimized out>) at /build/buildd/kde4libs-4.3.0/obj-x86_64-linux-gnu/kio/jobclasses.moc:781
#9  0x00007fea976cf476 in KIO::ListJobPrivate::slotListEntries (this=0x3526bf0, list=@0x7fffa2d24320) at /build/buildd/kde4libs-4.3.0/kio/kio/job.cpp:2333
#10 0x00007fea976cf566 in KIO::ListJob::qt_metacall (this=0x3527220, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa2d24100)
    at /build/buildd/kde4libs-4.3.0/obj-x86_64-linux-gnu/kio/jobclasses.moc:767
#11 0x00007fea9527fea2 in QMetaObject::activate (sender=0x3302ad0, from_signal_index=<value optimized out>, to_signal_index=10, argv=0x7fffa2d23ac8) at kernel/qobject.cpp:3113
#12 0x00007fea9778b215 in KIO::SlaveInterface::listEntries (this=0x2058530, _t1=<value optimized out>) at /build/buildd/kde4libs-4.3.0/obj-x86_64-linux-gnu/kio/slaveinterface.moc:179
#13 0x00007fea9778e9ef in KIO::SlaveInterface::dispatch (this=0x3302ad0, _cmd=<value optimized out>, rawdata=@0x7fffa2d24390) at /build/buildd/kde4libs-4.3.0/kio/kio/slaveinterface.cpp:193
#14 0x00007fea9778b5e2 in KIO::SlaveInterface::dispatch (this=0x3302ad0) at /build/buildd/kde4libs-4.3.0/kio/kio/slaveinterface.cpp:91
#15 0x00007fea9777e163 in KIO::Slave::gotInput (this=0x3302ad0) at /build/buildd/kde4libs-4.3.0/kio/kio/slave.cpp:322
#16 0x00007fea977803c8 in KIO::Slave::qt_metacall (this=0x3302ad0, _c=QMetaObject::InvokeMetaMethod, _id=33916208, _a=0x7fffa2d244f0)
    at /build/buildd/kde4libs-4.3.0/obj-x86_64-linux-gnu/kio/slave.moc:76
#17 0x00007fea9527fea2 in QMetaObject::activate (sender=0x3302380, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x7fffa2d23ac8) at kernel/qobject.cpp:3113
#18 0x00007fea9769b801 in KIO::ConnectionPrivate::dequeue (this=0x3302e00) at /build/buildd/kde4libs-4.3.0/kio/kio/connection.cpp:82
#19 0x00007fea9769bc5a in KIO::Connection::qt_metacall (this=0x3302380, _c=QMetaObject::InvokeMetaMethod, _id=33916208, _a=0x2251210)
    at /build/buildd/kde4libs-4.3.0/obj-x86_64-linux-gnu/kio/connection.moc:73
#20 0x00007fea9527a5d8 in QObject::event (this=0x3302380, e=0x337b150) at kernel/qobject.cpp:1111
#21 0x00007fea95de8f4d in QApplicationPrivate::notify_helper (this=0x1ba15e0, receiver=0x3302380, e=0x337b150) at kernel/qapplication.cpp:4056
#22 0x00007fea95df118a in QApplication::notify (this=0x7fffa2d24f50, receiver=0x3302380, e=0x337b150) at kernel/qapplication.cpp:4021
#23 0x00007fea971ed71b in KApplication::notify (this=0x7fffa2d24f50, receiver=0x3302380, event=0x337b150) at /build/buildd/kde4libs-4.3.0/kdeui/kernel/kapplication.cpp:302
#24 0x00007fea9526a6ac in QCoreApplication::notifyInternal (this=0x7fffa2d24f50, receiver=0x3302380, event=0x337b150) at kernel/qcoreapplication.cpp:610
#25 0x00007fea9526b31a in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1b70850) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#26 0x00007fea95293e03 in postEventSourceDispatch (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#27 0x00007fea8e9bb20a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0x00007fea8e9be8e0 in ?? () from /usr/lib/libglib-2.0.so.0
#29 0x00007fea8e9bea7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#30 0x00007fea95293a8f in QEventDispatcherGlib::processEvents (this=0x1b700a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#31 0x00007fea95e81bdf in QGuiEventDispatcherGlib::processEvents (this=0x2058530, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#32 0x00007fea95268f42 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -1563275664}) at kernel/qeventloop.cpp:149
#33 0x00007fea95269314 in QEventLoop::exec (this=0x7fffa2d24eb0, flags={i = -1563275584}) at kernel/qeventloop.cpp:201
#34 0x00007fea9526b5e4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#35 0x0000000000404945 in main (argc=1, argv=0x7fffa2d25638) at /build/buildd/kdepim-4.3.0/kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Dario Andres 2009-08-17 02:38:52 UTC
*** Bug 203489 has been marked as a duplicate of this bug. ***
Comment 2 Maciej Mrozowski 2009-08-22 03:55:36 UTC
Kmail crashed here - kde 4.3 branch, recently (as of this post) synced from svn, from Gentoo live packages (so no dirty-build-dir issues), Qt-4.5.1, using IMAP.

Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#5  0x00007ffa0abd7720 in QListData::shared_null () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007ffa04ac073b in qDeleteAll<QList<KIO::Slave*>::const_iterator> (begin=..., end=...) at /usr/include/qt4/QtCore/qalgorithms.h:350
#7  0x00007ffa04ac1119 in qDeleteAll<SlaveList> (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:358
#8  0x00007ffa04ac1d56 in KIO::SchedulerPrivate::ProtocolInfo::~ProtocolInfo (this=0x171c370, __in_chrg=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.3.9999/work/kdelibs-4.3.9999/kio/kio/scheduler.cpp:171
#9  0x00007ffa04ac1ddd in qDeleteAll<QHash<QString, KIO::SchedulerPrivate::ProtocolInfo*>::const_iterator> (begin=..., end=...) at /usr/include/qt4/QtCore/qalgorithms.h:350
#10 0x00007ffa04ac1e2f in qDeleteAll<KIO::SchedulerPrivate::ProtocolInfoDict> (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:358
#11 0x00007ffa04ac2068 in KIO::SchedulerPrivate::~SchedulerPrivate (this=0x1283500, __in_chrg=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.3.9999/work/kdelibs-4.3.9999/kio/kio/scheduler.cpp:103
#12 0x00007ffa04abc511 in <anonymous struct>::destroy(void) () at /var/tmp/portage/kde-base/kdelibs-4.3.9999/work/kdelibs-4.3.9999/kio/kio/scheduler.cpp:209
#13 0x00007ffa04a15571 in KCleanUpGlobalStatic::~KCleanUpGlobalStatic (this=0x7ffa04df7c58, __in_chrg=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.3.9999/work/kdelibs-4.3.9999/kdecore/kernel/kglobal.h:62
#14 0x00007ffa09f926fd in exit () from /lib/libc.so.6
#15 0x00007ffa09f7a5cd in __libc_start_main () from /lib/libc.so.6
#16 0x00000000004024d9 in _start ()
Comment 3 Maciej Mrozowski 2009-08-22 03:57:07 UTC
Kmail crashed on exit that is.
Comment 4 Dario Andres 2009-09-16 15:38:41 UTC
@Maciej Mrozowski: the crash you posted is a different one already reported. Thanks
Comment 5 Maciej Mrozowski 2009-09-16 17:05:49 UTC
Some scenario but indeed backtrace is different - separate bug report then?
Comment 6 Dario Andres 2009-09-16 17:54:39 UTC
@Maciej: your crash is already reported at bug 199375. Thanks!
Comment 7 Christophe Marin 2009-10-27 10:19:29 UTC
*** Bug 207541 has been marked as a duplicate of this bug. ***
Comment 8 Christophe Marin 2009-10-27 10:20:32 UTC
*** Bug 212036 has been marked as a duplicate of this bug. ***
Comment 9 Dario Andres 2009-11-01 01:33:56 UTC
*** Bug 212578 has been marked as a duplicate of this bug. ***
Comment 10 Dario Andres 2009-11-12 14:09:31 UTC
*** Bug 214236 has been marked as a duplicate of this bug. ***
Comment 11 Dario Andres 2009-11-16 01:32:22 UTC
From bug 214329:
---
What I was doing when the application crashed:
After starting kmail i have heavy harddisk activity, i think kmail try to
reindexing all emails. In my lokal Mail-Folders i have over 11GB mails, so
kmail needs >30min for indexing. If I had not the time to wait, i try to close
kmail and than it crashed sometimes doing this.
---

Backtrace:
---

Application: Kontact (kontact), signal: Segmentation fault
The current source language is "auto; currently c".
[KCrash Handler]
#5  QBasicAtomicInt::operator!= (this=0x3e1ab40, job=0x3e38610) at
/usr/include/qt4/QtCore/qbasicatomic.h:69
#6  QMap<KJob*, KMail::ImapAccountBase::jobData>::detach (this=0x3e1ab40,
job=0x3e38610) at /usr/include/qt4/QtCore/qmap.h:172
#7  QMap<KJob*, KMail::ImapAccountBase::jobData>::find (this=0x3e1ab40,
job=0x3e38610) at /usr/include/qt4/QtCore/qmap.h:565
#8  KMail::ImapAccountBase::findJob (this=0x3e1ab40, job=0x3e38610) at
../../kmail/imapaccountbase.h:180
#9  KMail::ListJob::slotListResult (this=0x3e1ab40, job=0x3e38610) at
../../kmail/listjob.cpp:166
#10 0x00007f9ab9689c53 in KMail::ListJob::qt_metacall (this=0x3e1ab40,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3e9f36d0)
at ./listjob.moc:77
Comment 12 Dario Andres 2009-11-16 01:32:24 UTC
*** Bug 214329 has been marked as a duplicate of this bug. ***
Comment 13 Dario Andres 2009-11-18 12:54:44 UTC
From bug 215085, a more complete backtrace:
----
Thread 1 (Thread 0xb77d5700 (LWP 3244)):
[KCrash Handler]
#6  QBasicAtomicInt::ref (this=0xa061450, job=0xa062260, uds=...) at
/usr/include/qt4/QtCore/qatomic_i386.h:120
#7  QString (this=0xa061450, job=0xa062260, uds=...) at
/usr/include/qt4/QtCore/qstring.h:712
#8  jobData (this=0xa061450, job=0xa062260, uds=...) at
../../kmail/imapaccountbase.h:146
#9  QMap<KJob*, KMail::ImapAccountBase::jobData>::node_create (this=0xa061450,
job=0xa062260, uds=...) at /usr/include/qt4/QtCore/qmap.h:421
#10 QMap<KJob*, KMail::ImapAccountBase::jobData>::detach_helper
(this=0xa061450, job=0xa062260, uds=...) at /usr/include/qt4/QtCore/qmap.h:708
#11 QMap<KJob*, KMail::ImapAccountBase::jobData>::detach (this=0xa061450,
job=0xa062260, uds=...) at /usr/include/qt4/QtCore/qmap.h:172
#12 QMap<KJob*, KMail::ImapAccountBase::jobData>::find (this=0xa061450,
job=0xa062260, uds=...) at /usr/include/qt4/QtCore/qmap.h:565
#13 KMail::ImapAccountBase::findJob (this=0xa061450, job=0xa062260, uds=...) at
../../kmail/imapaccountbase.h:180
#14 KMail::ListJob::slotListEntries (this=0xa061450, job=0xa062260, uds=...) at
../../kmail/listjob.cpp:189
#15 0xb436ff86 in KMail::ListJob::qt_metacall (this=0xa061450,
_c=QMetaObject::InvokeMetaMethod, _id=14, _a=0xbfe17494) at ./listjob.moc:78
#16 0x0717d263 in QMetaObject::activate (sender=0xa062260,
from_signal_index=40, to_signal_index=40, argv=0xbfe17494) at
kernel/qobject.cpp:3113
#17 0x0717dec2 in QMetaObject::activate (sender=0xa062260, m=0x3e9d3a0,
local_signal_index=0, argv=0xbfe17494) at kernel/qobject.cpp:3187
#18 0x03ce53a9 in KIO::ListJob::entries (this=0xa062260, _t1=0xa062260,
_t2=...) at ./jobclasses.moc:781
#19 0x03cf40ab in KIO::ListJobPrivate::slotListEntries (this=0xa061eb8,
list=...) at ../../kio/kio/job.cpp:2333
#20 0x03cf4458 in KIO::ListJob::qt_metacall (this=0xa062260,
_c=QMetaObject::InvokeMetaMethod, _id=46, _a=0xbfe17698) at
./jobclasses.moc:767
...
Comment 14 Dario Andres 2009-11-18 12:54:46 UTC
*** Bug 215085 has been marked as a duplicate of this bug. ***
Comment 15 Dario Andres 2009-12-22 14:52:22 UTC
*** Bug 219657 has been marked as a duplicate of this bug. ***
Comment 16 Martin Steigerwald 2009-12-28 10:48:34 UTC
I can confirm this bug. I reported it as bug #220361. I was not sure whether it is a duplicate as for me it does not roughly happen once a day, but on reproducable conditions:

1) kontact crashes on quitting it *shortly* after starting it.
2) it does so when kmail part is being the one displayed initially, it doesn't crash when the summary page is being displayed instead.
3) it doesn't crash here when I wait a few seconds.
4) kmail started alone doesn't crash when quitting it shortly after starting.
Comment 17 Christophe Marin 2010-03-28 05:02:45 UTC
*** Bug 220361 has been marked as a duplicate of this bug. ***
Comment 18 Myriam Schweingruber 2012-08-19 10:56:29 UTC
Thank you for your report. Kmail1 is currently unmaintained and the code has changed sufficiently in Kmail2 so the backtraces are not really useful anymore. Should you experience the same crash in Kmail 4.8.5 or later, please open a new report for Kmail2. Thank you for your understanding