[Bug 236149] New: Crash: Automatic mail-check for removed disconnected IMAP account

Michiel Helvensteijn mhelvens at gmail.com
Mon May 3 10:46:11 BST 2010


https://bugs.kde.org/show_bug.cgi?id=236149

           Summary: Crash: Automatic mail-check for removed disconnected
                    IMAP account
           Product: kmail
           Version: 1.13.2
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: mhelvens at gmail.com


Application: kmail (1.13.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.33-gentoo-r1 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
I have several disconnected IMAP accounts in kmail. I recently removed one from
the settings/accounts window. But it appears as though automatic mail-checks
for this account are still on. So if I do not restart kmail, it will crash when
the next automatic mail-check comes around.

Just before the crash, I get several error messages about expected mail
directories not existing, which makes sense. The automatic mail check should
just not check mail in removed accounts.

I suspect the same thing won't happen for regular IMAP accounts (since they
have no local mail directories). Experience tells me it doesn't happen with POP
accounts either.

The crash can be reproduced every time.

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#5  0x00007ff9ffb1e397 in QListData::begin (this=0x290d340, folderNames=...,
folderPaths=..., folderMimeTypes=..., folderAttributes=..., jobData=<value
optimized out>)
    at /usr/include/qt4/QtCore/qlist.h:93
#6  QList<KMFolderNode*>::constBegin (this=0x290d340, folderNames=...,
folderPaths=..., folderMimeTypes=..., folderAttributes=..., jobData=<value
optimized out>)
    at /usr/include/qt4/QtCore/qlist.h:250
#7  KMFolderCachedImap::slotListResult (this=0x290d340, folderNames=...,
folderPaths=..., folderMimeTypes=..., folderAttributes=..., jobData=<value
optimized out>)
    at
/var/tmp/portage/kde-base/kmail-4.4.2/work/kmail-4.4.2/kmail/kmfoldercachedimap.cpp:2172
#8  0x00007ff9ffb26a16 in KMFolderCachedImap::qt_metacall (this=0x290d340,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff688e7340)
    at
/var/tmp/portage/kde-base/kmail-4.4.2/work/kmail-4.4.2_build/kmail/kmfoldercachedimap.moc:240
#9  0x00007ff9fb959bff in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#10 0x00007ff9ff9f0f64 in KMail::ListJob::receivedFolders (this=0x1, _t1=<value
optimized out>, _t2=<value optimized out>, _t3=..., _t4=..., _t5=...)
    at
/var/tmp/portage/kde-base/kmail-4.4.2/work/kmail-4.4.2_build/kmail/listjob.moc:97
#11 0x00007ff9ff9f18b4 in KMail::ListJob::slotListResult (this=0x2106570,
job=0x3f28ce0) at
/var/tmp/portage/kde-base/kmail-4.4.2/work/kmail-4.4.2/kmail/listjob.cpp:181
#12 0x00007ff9ff9f21f3 in KMail::ListJob::qt_metacall (this=0x2106570,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff688e7520)
    at
/var/tmp/portage/kde-base/kmail-4.4.2/work/kmail-4.4.2_build/kmail/listjob.moc:83
#13 0x00007ff9fb959bff in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#14 0x00007ffa004f92f2 in KJob::result (this=0x14379a0, _t1=0x3f28ce0) at
/var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2_build/kdecore/kjob.moc:194
#15 0x00007ffa004f9590 in KJob::emitResult (this=0x3f28ce0) at
/var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/kdecore/jobs/kjob.cpp:312
#16 0x00007ff9fc223733 in KIO::SimpleJob::slotFinished (this=0x3f28ce0) at
/var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/kio/kio/job.cpp:486
#17 0x00007ff9fc223870 in KIO::ListJob::slotFinished (this=0x3f28ce0) at
/var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/kio/kio/job.cpp:2505
#18 0x00007ff9fc227569 in KIO::ListJob::qt_metacall (this=0x3f28ce0,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff688e7850)
    at
/var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2_build/kio/jobclasses.moc:818
#19 0x00007ff9fb959bff in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#20 0x00007ff9fc2e4d31 in KIO::SlaveInterface::dispatch (this=0x1b73030,
_cmd=104, rawdata=...) at
/var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/kio/kio/slaveinterface.cpp:175
#21 0x00007ff9fc2e20a3 in KIO::SlaveInterface::dispatch (this=0x1b73030) at
/var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/kio/kio/slaveinterface.cpp:91
#22 0x00007ff9fc2d6516 in KIO::Slave::gotInput (this=0x1b73030) at
/var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/kio/kio/slave.cpp:324
#23 0x00007ff9fc2d66fc in KIO::Slave::qt_metacall (this=0x1b73030,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff688e7c70)
    at
/var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2_build/kio/slave.moc:82
#24 0x00007ff9fb959bff in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007ff9fc1f2c17 in KIO::ConnectionPrivate::dequeue (this=0x1d903a0) at
/var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/kio/kio/connection.cpp:82
#26 0x00007ff9fc1f2d3d in KIO::Connection::qt_metacall (this=0x1b5f210,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x3d82d50)
    at
/var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2_build/kio/connection.moc:79
#27 0x00007ff9fb956b39 in QObject::event(QEvent*) () from
/usr/lib64/qt4/libQtCore.so.4
#28 0x00007ff9fab07c2c in QApplicationPrivate::notify_helper (this=0x107a0c0,
receiver=0x1b5f210, e=0x3cace80) at kernel/qapplication.cpp:4300
#29 0x00007ff9fab0e22b in QApplication::notify (this=0x7fff688e8890,
receiver=0x1b5f210, e=0x3cace80) at kernel/qapplication.cpp:4183
#30 0x00007ffa00abfba6 in KApplication::notify (this=0x7fff688e8890,
receiver=0x1b5f210, event=0x3cace80)
    at
/var/tmp/portage/kde-base/kdelibs-4.4.2/work/kdelibs-4.4.2/kdeui/kernel/kapplication.cpp:302
#31 0x00007ff9fb946ebc in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib64/qt4/libQtCore.so.4
#32 0x00007ff9fb949637 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#33 0x00007ff9fb9707a3 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#34 0x00007ff9f357178e in g_main_dispatch (context=0x107c840) at gmain.c:1960
#35 IA__g_main_context_dispatch (context=0x107c840) at gmain.c:2513
#36 0x00007ff9f3575148 in g_main_context_iterate (context=0x107c840,
block=<value optimized out>, dispatch=<value optimized out>, self=<value
optimized out>) at gmain.c:2591
#37 0x00007ff9f3575270 in IA__g_main_context_iteration (context=0x107c840,
may_block=1) at gmain.c:2654
#38 0x00007ff9fb9702e3 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/qt4/libQtCore.so.4
#39 0x00007ff9fabb5efe in QGuiEventDispatcherGlib::processEvents
(this=0x14379a0, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007ff9fb9457e2 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/qt4/libQtCore.so.4
#41 0x00007ff9fb945bbc in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/qt4/libQtCore.so.4
#42 0x00007ff9fb9498fb in QCoreApplication::exec() () from
/usr/lib64/qt4/libQtCore.so.4
#43 0x0000000000403882 in main (argc=<value optimized out>, argv=<value
optimized out>) at
/var/tmp/portage/kde-base/kmail-4.4.2/work/kmail-4.4.2/kmail/main.cpp:156

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list