Bug 180522

Summary: Crashes when clicking on IMAP inbox folder
Product: [Unmaintained] kmail Reporter: Rich Hughes <richhughes>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, richhughes
Priority: NOR    
Version: 1.10.92   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Rich Hughes 2009-01-13 04:17:42 UTC
Version:           1.10.92 (using Devel)
Compiler:          gcc 4.3.3_20081022-9.8 
OS:                Linux
Installed from:    Compiled sources

I start Kmail, click on my Inbox folder and it crashes immediately. I have more than one Inbox folder and clicking either one causes a crash. Both are IMAP folders. Oddly, I can click on other subfolders and Kmail doesn't crash. 

Here is the backtrace:
Application: KMail (kmail), signal SIGSEGV
[?1034h[Thread debugging using libthread_db enabled]
0x00007f707a5f3ce1 in nanosleep () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f707fc0d750 (LWP 7104))]

Thread 2 (Thread 0x7f7065623950 (LWP 7108)):
#0  0x00007f707c15cfdd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f707c3ccbe7 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f707c3c2899 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f707c3cbb12 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f707c159070 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f707a6250ed in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f707fc0d750 (LWP 7104)):
[KCrash Handler]
#5  0x0000000800000001 in ?? ()
#6  0x00007f707e93e732 in KMFolderImap::slotListFolderResult (this=0x9769a0, job=0x1308200) at /usr/src/debug/kdepim-4.1.87/kmail/kmfolderimap.cpp:1355
#7  0x00007f707e9482b4 in KMFolderImap::qt_metacall (this=0x9769a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff87c65290)
    at /usr/src/debug/kdepim-4.1.87/build/kmail/kmfolderimap.moc:182
#8  0x00007f707c4cb53a in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#9  0x00007f707f0fb602 in KJob::result (this=0x11bd120, _t1=0x1308200) at /usr/src/debug/kdelibs-4.1.87/build/kdecore/kjob.moc:188
#10 0x00007f707f0fb97f in KJob::emitResult (this=0x1308200) at /usr/src/debug/kdelibs-4.1.87/kdecore/jobs/kjob.cpp:294
#11 0x00007f707cd4ea00 in KIO::SimpleJob::slotFinished (this=0x1308200) at /usr/src/debug/kdelibs-4.1.87/kio/kio/job.cpp:489
#12 0x00007f707cd4eb35 in KIO::ListJob::slotFinished (this=0x1308200) at /usr/src/debug/kdelibs-4.1.87/kio/kio/job.cpp:2416
#13 0x00007f707cd537fd in KIO::ListJob::qt_metacall (this=0x1308200, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff87c655d0)
    at /usr/src/debug/kdelibs-4.1.87/build/kio/jobclasses.moc:764
#14 0x00007f707c4cb53a in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#15 0x00007f707cdf87c1 in KIO::SlaveInterface::dispatch (this=0x107e640, _cmd=104, rawdata=<value optimized out>) at /usr/src/debug/kdelibs-4.1.87/kio/kio/slaveinterface.cpp:175
#16 0x00007f707cdf63e2 in KIO::SlaveInterface::dispatch (this=0x107e640) at /usr/src/debug/kdelibs-4.1.87/kio/kio/slaveinterface.cpp:91
#17 0x00007f707cde98ae in KIO::Slave::gotInput (this=0x107e640) at /usr/src/debug/kdelibs-4.1.87/kio/kio/slave.cpp:322
#18 0x00007f707cde9bb8 in KIO::Slave::qt_metacall (this=0x107e640, _c=QMetaObject::InvokeMetaMethod, _id=20255968, _a=0x7fff87c65940) at /usr/src/debug/kdelibs-4.1.87/build/kio/slave.moc:76
#19 0x00007f707c4cb53a in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#20 0x00007f707cd21471 in KIO::ConnectionPrivate::dequeue (this=0x107acb0) at /usr/src/debug/kdelibs-4.1.87/kio/kio/connection.cpp:82
#21 0x00007f707cd21b1a in KIO::Connection::qt_metacall (this=0x107e5f0, _c=QMetaObject::InvokeMetaMethod, _id=20255968, _a=0x1319980) at /usr/src/debug/kdelibs-4.1.87/build/kio/connection.moc:73
#22 0x00007f707c4c5bed in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#23 0x00007f707b1c0ddd in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#24 0x00007f707b1c8d4a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#25 0x00007f707f668c1b in KApplication::notify (this=0x7fff87c666c0, receiver=0x107e5f0, event=0x11c6340) at /usr/src/debug/kdelibs-4.1.87/kdeui/kernel/kapplication.cpp:307
#26 0x00007f707c4b5b5c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#27 0x00007f707c4b671a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#28 0x00007f707b2570bd in ?? () from /usr/lib64/libQtGui.so.4
#29 0x00007f707c4b43f2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#30 0x00007f707c4b47bd in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#31 0x00007f707c4b69e4 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#32 0x0000000000402deb in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.1.87/kmail/main.cpp:146

Expected Behavior: no crash.
Comment 1 Dario Andres 2009-01-13 15:49:18 UTC
Same assert as bug 180554. Merging

*** This bug has been marked as a duplicate of bug 180554 ***
Comment 2 Dario Andres 2009-01-13 15:49:49 UTC
"assert" -> I mean same line number and same situation