Bug 273032 - Crash when opening LKML folder with IMAP
Summary: Crash when opening LKML folder with IMAP
Status: RESOLVED DUPLICATE of bug 191345
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-11 13:34 UTC by cnu
Modified: 2011-12-07 18:26 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 cnu 2011-05-11 13:34:38 UTC
Application: kmail (1.13.7)
KDE Platform Version: 4.6.3 (4.6.3) (Compiled from sources)
Qt Version: 4.7.2
Operating System: Linux 2.6.38.4-ck3 x86_64
Distribution: "Gentoo Base System release 2.0.2"

-- Information about the crash:
- What I was doing when the application crashed:
Clicked LKML in the folder list. KMail complains about IMAP transport and then dies. When I peeked with wireshark it looked like this:

8 LIST "" "INBOX.Mailing Lists.lkml"
* LIST (\HasNoChildren) "." "INBOX.Mailing Lists.lkml"
8 OK List completed.
9 NOOP
9 OK NOOP completed.
10 SELECT "INBOX.Mailing Lists.lkml"
* OK [CLOSED] Previous mailbox closed.
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags permitted.
* 94288 EXISTS
* 0 RECENT
* OK [UNSEEN 93016] First unseen.
* OK [UIDVALIDITY 1298023376] UIDs valid
* OK [UIDNEXT 94690] Predicted next UID
* OK [HIGHESTMODSEQ 65067] Highest
10 OK [READ-WRITE] Select completed.
11 UID FETCH 1:* (UID FLAGS)
* 1 FETCH (UID 1 FLAGS (\Seen))
* 2 FETCH (UID 2 FLAGS (\Seen))
* 3 FETCH (UID 3 FLAGS (\Seen))
* 4 FETCH (UID 4 FLAGS (\Seen))
* 5 FETCH (UID 5 FLAGS (\Seen))
* 6 FETCH (UID 6 FLAGS (\Seen))
* 7 FETCH (UID 7 FLAGS (\Seen))
* 8 FETCH (UID 8 FLAGS (\Seen))
* 9 FETCH (UID 9 FLAGS (\Seen))
...
* 59899 FETCH (UID 59928 FLAGS (\Seen))
* 59900 F

At some point Kmail starts sending RST stuff killing the connection.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0x7ff0f7e63760 (LWP 30642))]

Thread 2 (Thread 0x7ff0d71c9700 (LWP 30782)):
#0  0x00007ff0f04338eb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ff0f06bbed1 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007ff0f06afad1 in QThreadPoolThread::run() () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007ff0f06bb395 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007ff0f042ec1a in start_thread () from /lib64/libpthread.so.0
#5  0x00007ff0ef77466d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ff0f7e63760 (LWP 30642)):
[KCrash Handler]
#4  0x00007ff0f60f2d08 in KPIM::ProgressItem::setComplete() () from /usr/lib64/libkdepim.so.4
#5  0x00007ff0f68518d5 in KMail::ImapAccountBase::removeJob(QMap<KJob*, KMail::ImapAccountBase::jobData>::iterator&) () from /usr/lib64/libkmailprivate.so.4
#6  0x00007ff0f688266a in KMFolderImap::slotListFolderResult(KJob*) () from /usr/lib64/libkmailprivate.so.4
#7  0x00007ff0f688b5ee in KMFolderImap::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkmailprivate.so.4
#8  0x00007ff0f07c486f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007ff0f72bb1f2 in KJob::result(KJob*) () from /usr/lib64/libkdecore.so.5
#10 0x00007ff0f72bb230 in KJob::emitResult() () from /usr/lib64/libkdecore.so.5
#11 0x00007ff0f2dbc80d in KIO::SimpleJob::slotFinished() () from /usr/lib64/libkio.so.5
#12 0x00007ff0f2dbf215 in KIO::ListJob::slotFinished() () from /usr/lib64/libkio.so.5
#13 0x00007ff0f2dbc936 in KIO::SimpleJob::slotError(int, QString const&) () from /usr/lib64/libkio.so.5
#14 0x00007ff0f2dbdca8 in KIO::SimpleJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkio.so.5
#15 0x00007ff0f2dc2b20 in KIO::ListJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkio.so.5
#16 0x00007ff0f07c486f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#17 0x00007ff0f2e62cc6 in KIO::SlaveInterface::error(int, QString const&) () from /usr/lib64/libkio.so.5
#18 0x00007ff0f2e55f38 in KIO::Slave::gotInput() () from /usr/lib64/libkio.so.5
#19 0x00007ff0f2e564dc in KIO::Slave::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkio.so.5
#20 0x00007ff0f07c486f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#21 0x00007ff0f2d8dab8 in KIO::Connection::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkio.so.5
#22 0x00007ff0f07be91e in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#23 0x00007ff0f174989c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#24 0x00007ff0f175011d in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#25 0x00007ff0f7896436 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#26 0x00007ff0f07acb8b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#27 0x00007ff0f07afb11 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#28 0x00007ff0f07d9133 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtCore.so.4
#29 0x00007ff0e86aba2e in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#30 0x00007ff0e86ac218 in g_main_context_iterate.clone.6 () from /usr/lib64/libglib-2.0.so.0
#31 0x00007ff0e86ac4ad in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#32 0x00007ff0f07d8c73 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#33 0x00007ff0f17fc9ce in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#34 0x00007ff0f07ab8e2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#35 0x00007ff0f07abcc4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#36 0x00007ff0f07afd3b in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#37 0x0000000000403239 in main ()

Reported using DrKonqi
Comment 1 Christophe Marin 2011-05-11 13:55:41 UTC

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