Bug 282423 - KMail crash when changing folder while fetching IMAP mail.
Summary: KMail crash when changing folder while fetching IMAP mail.
Status: RESOLVED DUPLICATE of bug 153411
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-20 17:15 UTC by P. Varet
Modified: 2011-12-07 18:26 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 P. Varet 2011-09-20 17:15:06 UTC
Application: kmail (1.13.6)
KDE Platform Version: 4.7.00 (4.7.0)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:

I had just pressed the 'fetch all' button, and switched to a different IMAP folder immediately afterward.

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

Thread 3 (Thread 0x7f40755d1700 (LWP 8265)):
#0  __libc_enable_asynccancel () at ../nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S:66
#1  0x00007f409003dee8 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:85
#2  0x00007f4087d8f104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4087d8f9f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f407efdec44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#5  0x00007f4087db63e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f408dbfad8c in start_thread (arg=0x7f40755d1700) at pthread_create.c:304
#7  0x00007f409004b04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f4070235700 (LWP 8269)):
#0  0x00007fff57fff861 in clock_gettime ()
#1  0x00007f4086c0c146 in clock_gettime (clock_id=1, tp=0x7f4070234a70) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007f40908da304 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f409099be3d in QTimerInfoList::updateCurrentTime (this=0x1406460) at kernel/qeventdispatcher_unix.cpp:339
#5  0x00007f409099c1a5 in QTimerInfoList::timerWait (this=0x1406460, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#6  0x00007f409099ac2c in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7f4070234b8c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f409099acd5 in timerSourcePrepare (source=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f4087d8e0a2 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f4087d8ef9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f4087d8f639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f409099b446 in QEventDispatcherGlib::processEvents (this=0xf89260, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#12 0x00007f409096f882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f409096fabc in QEventLoop::exec (this=0x7f4070234d10, flags=...) at kernel/qeventloop.cpp:201
#14 0x00007f4090886924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#15 0x00007f4090951c2f in QInotifyFileSystemWatcherEngine::run (this=0x1405800) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007f4090889175 in QThreadPrivate::start (arg=0x1405800) at thread/qthread_unix.cpp:320
#17 0x00007f408dbfad8c in start_thread (arg=0x7f4070235700) at pthread_create.c:304
#18 0x00007f409004b04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f40930db840 (LWP 8263)):
[KCrash Handler]
#6  0x00007f408aa9fa10 in vtable for DwString () from /usr/lib/libmimelib.so.4
#7  0x00007f4091d060b1 in KMail::ISubject::notify (this=0x1d2fd20) at ../../kmail/isubject.cpp:33
#8  0x00007f4091a4a6c0 in KMMessage::updateBodyPart (this=0x1d2fc50, partSpecifier=..., data=<value optimized out>) at ../../kmail/kmmessage.cpp:3185
#9  0x00007f4091cdfde8 in KMail::ImapJob::slotGetMessageResult (this=0x2421480, job=<value optimized out>) at ../../kmail/imapjob.cpp:435
#10 0x00007f4091ce403b in KMail::ImapJob::qt_metacall (this=0x2421480, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff57ff07e0) at ./imapjob.moc:88
#11 0x00007f40909855f8 in QMetaObject::activate (sender=0x24041c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff57ff07e0) at kernel/qobject.cpp:3287
#12 0x00007f4092530db2 in KJob::result (this=<value optimized out>, _t1=0x24041c0) at ./kjob.moc:194
#13 0x00007f4092530df0 in KJob::emitResult (this=0x24041c0) at ../../kdecore/jobs/kjob.cpp:312
#14 0x00007f408d3e611b in KIO::SimpleJob::slotFinished (this=0x24041c0) at ../../kio/kio/job.cpp:494
#15 0x00007f408d3e9fbd in KIO::TransferJob::slotFinished (this=0x24041c0) at ../../kio/kio/job.cpp:1081
#16 0x00007f408d3ee691 in KIO::TransferJob::qt_metacall (this=0x24041c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff57ff0bb0) at ./jobclasses.moc:369
#17 0x00007f40909855f8 in QMetaObject::activate (sender=0x223c720, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#18 0x00007f408d48ddb1 in KIO::SlaveInterface::dispatch (this=<value optimized out>, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:172
#19 0x00007f408d48ad35 in KIO::SlaveInterface::dispatch (this=<value optimized out>) at ../../kio/kio/slaveinterface.cpp:88
#20 0x00007f408d47e06e in KIO::Slave::gotInput (this=0x223c720) at ../../kio/kio/slave.cpp:344
#21 0x00007f408d47e7bc in KIO::Slave::qt_metacall (this=0x223c720, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff57ff0fd0) at ./slave.moc:82
#22 0x00007f40909855f8 in QMetaObject::activate (sender=0x223d380, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#23 0x00007f408d3b72b7 in KIO::ConnectionPrivate::dequeue (this=0x223d440) at ../../kio/kio/connection.cpp:82
#24 0x00007f408d3b735d in KIO::Connection::qt_metacall (this=0x223d380, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x2329a70) at ./connection.moc:79
#25 0x00007f409098449a in QObject::event (this=0x223d380, e=<value optimized out>) at kernel/qobject.cpp:1226
#26 0x00007f4090e5e9f4 in QApplicationPrivate::notify_helper (this=0x760000, receiver=0x223d380, e=0x2229250) at kernel/qapplication.cpp:4462
#27 0x00007f4090e633ba in QApplication::notify (this=<value optimized out>, receiver=0x223d380, e=0x2229250) at kernel/qapplication.cpp:4341
#28 0x00007f4092af6796 in KApplication::notify (this=0x7fff57ff1b70, receiver=0x223d380, event=0x2229250) at ../../kdeui/kernel/kapplication.cpp:311
#29 0x00007f409097049c in QCoreApplication::notifyInternal (this=0x7fff57ff1b70, receiver=0x223d380, event=0x2229250) at kernel/qcoreapplication.cpp:731
#30 0x00007f4090973c25 in sendEvent (receiver=0x0, event_type=0, data=0x6b7b30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x6b7b30) at kernel/qcoreapplication.cpp:1372
#32 0x00007f409099b253 in sendPostedEvents (s=0x7dbdb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#33 postEventSourceDispatch (s=0x7dbdb0) at kernel/qeventdispatcher_glib.cpp:277
#34 0x00007f4087d8ebcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f4087d8f3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f4087d8f639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f409099b3ef in QEventDispatcherGlib::processEvents (this=0x6b7310, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#38 0x00007f4090f084de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007f409096f882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007f409096fabc in QEventLoop::exec (this=0x7fff57ff19b0, flags=...) at kernel/qeventloop.cpp:201
#41 0x00007f4090973ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#42 0x0000000000403175 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:158

Reported using DrKonqi
Comment 1 Laurent Montel 2011-09-21 08:18:14 UTC
kmail1
Comment 2 Christophe Marin 2011-09-21 10:24:30 UTC

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