Bug 181581 - kmail crashs on imap access
Summary: kmail crashs on imap access
Status: RESOLVED DUPLICATE of bug 179765
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-22 10:45 UTC by Roland Wolters
Modified: 2009-03-19 00:39 UTC (History)
1 user (show)

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 Roland Wolters 2009-01-22 10:45:21 UTC
Version:            (using Devel)
Installed from:    Compiled sources

Situation:
I have an imap account set up with shared folders. One of these shared folders is oftn used by me with read/write access. In the past kmail often crashed when I copied something to that folder or tried to access the folder.
Now kmail crashed regularly during start up, and I decided to create a crash report with gdb and the dbg packages.

After gdb I tried to re-create the same crash with valgrind, but that didn't work, kmail didn't crash again at start up, instead, it worked. It also works now without valgrind in the background.

Backtrace:
(gdb) thread apply all backtrace                                                                                                                                                        

Thread 3 (Thread 0x411fb950 (LWP 6801)):
#0  0x00007ff24d6be55d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ff2526b1327 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4            
#2  0x00007ff2526a7509 in ?? () from /usr/lib/libQtCore.so.4                              
#3  0x00007ff2526b0362 in ?? () from /usr/lib/libQtCore.so.4                              
#4  0x00007ff24d6ba3ea in start_thread () from /lib/libpthread.so.0                       
#5  0x00007ff251c0ec6d in clone () from /lib/libc.so.6                                    
#6  0x0000000000000000 in ?? ()                                                           

Thread 2 (Thread 0x4275e950 (LWP 6800)):
#0  0x00007ff24d6be55d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ff2526b1327 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007ff2526a7509 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007ff2526b0362 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007ff24d6ba3ea in start_thread () from /lib/libpthread.so.0
#5  0x00007ff251c0ec6d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff2570ee6f0 (LWP 6794)):
#0  0x00007ff255d5f5d9 in KMFolderImap::slotListFolderResult (this=0x1797ae0, job=0x1fa12a0) at /build/buildd/kdepim-4.1.96/kmail/kmfolderimap.cpp:1355
#1  0x00007ff255d63ce4 in KMFolderImap::qt_metacall (this=0x1797ae0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff5f135200)
    at /build/buildd/kdepim-4.1.96/obj-x86_64-linux-gnu/kmail/kmfolderimap.moc:181
#2  0x00007ff2527ad134 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#3  0x00007ff2565908e2 in KJob::result (this=0x1fa9f10, _t1=0x1fa12a0) at /build/buildd/kde4libs-4.1.96/obj-x86_64-linux-gnu/kdecore/kjob.moc:186
#4  0x00007ff256590caf in KJob::emitResult (this=0x1fa12a0) at /build/buildd/kde4libs-4.1.96/kdecore/jobs/kjob.cpp:294
#5  0x00007ff2540cf600 in KIO::SimpleJob::slotFinished (this=0x1fa12a0) at /build/buildd/kde4libs-4.1.96/kio/kio/job.cpp:489
#6  0x00007ff2540cf735 in KIO::ListJob::slotFinished (this=0x1fa12a0) at /build/buildd/kde4libs-4.1.96/kio/kio/job.cpp:2416
#7  0x00007ff2540d1f8d in KIO::ListJob::qt_metacall (this=0x1fa12a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff5f135540)
    at /build/buildd/kde4libs-4.1.96/obj-x86_64-linux-gnu/kio/jobclasses.moc:747
#8  0x00007ff2527ad134 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#9  0x00007ff25418e701 in KIO::SlaveInterface::dispatch (this=0x1e02f00, _cmd=104, rawdata=<value optimized out>) at /build/buildd/kde4libs-4.1.96/kio/kio/slaveinterface.cpp:175
#10 0x00007ff25418b1f2 in KIO::SlaveInterface::dispatch (this=0x1e02f00) at /build/buildd/kde4libs-4.1.96/kio/kio/slaveinterface.cpp:91
#11 0x00007ff25417d3e3 in KIO::Slave::gotInput (this=0x1e02f00) at /build/buildd/kde4libs-4.1.96/kio/kio/slave.cpp:322
#12 0x00007ff25417e418 in KIO::Slave::qt_metacall (this=0x1e02f00, _c=QMetaObject::InvokeMetaMethod, _id=34303648, _a=0x7fff5f135960)
    at /build/buildd/kde4libs-4.1.96/obj-x86_64-linux-gnu/kio/slave.moc:75
#13 0x00007ff2527ad134 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#14 0x00007ff25409ada0 in KIO::ConnectionPrivate::dequeue (this=0x1e07ef0) at /build/buildd/kde4libs-4.1.96/kio/kio/connection.cpp:82
#15 0x00007ff25409aeda in KIO::Connection::qt_metacall (this=0x1e07d60, _c=QMetaObject::InvokeMetaMethod, _id=34303648, _a=0x22f1750)
    at /build/buildd/kde4libs-4.1.96/obj-x86_64-linux-gnu/kio/connection.moc:72
#16 0x00007ff2527a7da5 in QObject::event () from /usr/lib/libQtCore.so.4
#17 0x00007ff252ebcc3d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#18 0x00007ff252ec49ba in QApplication::notify () from /usr/lib/libQtGui.so.4
#19 0x00007ff256b223cb in KApplication::notify (this=0x7fff5f1364d0, receiver=0x1e07d60, event=0x2123200) at /build/buildd/kde4libs-4.1.96/kdeui/kernel/kapplication.cpp:307
#20 0x00007ff252798d61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#21 0x00007ff2527999fa in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#22 0x00007ff2527c14d3 in ?? () from /usr/lib/libQtCore.so.4
#23 0x00007ff249bb1d3b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#24 0x00007ff249bb550d in ?? () from /usr/lib/libglib-2.0.so.0
#25 0x00007ff249bb56cb in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#26 0x00007ff2527c115f in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#27 0x00007ff252f4ea6f in ?? () from /usr/lib/libQtGui.so.4
#28 0x00007ff252797682 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#29 0x00007ff25279780d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#30 0x00007ff252799cbd in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#31 0x000000000040309b in main (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/kdepim-4.1.96/kmail/main.cpp:146
Comment 1 Dario Andres 2009-01-22 10:46:51 UTC
Already fixed for KDE4.2 final :) Thanks

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