Bug 266639

Summary: Kmail crashed after repeated attempts to open email not responding in imap account
Product: [Unmaintained] kmail Reporter: Con Kolivas <kde>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 1.13.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Con Kolivas 2011-02-19 02:59:38 UTC
Application: kmail (1.13.5)
KDE Platform Version: 4.6.00 (4.6.0)
Qt Version: 4.7.0
Operating System: Linux 2.6.35.11-ck1-1 x86_64
Distribution: Ubuntu 10.10

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

I have a recurring issue where I use 2 separate kmail instances (one from my lan and one remotely when I'm away) to connect to my home imap server. The issue is that once I connect with the 2nd kmail instance, the 1st instance stops being able to reconnect to the imap server. It continually shows the update throbber but no progress ensues unless I quit and restart kmail. When I click on an existing message,either it fails to retrieve it, or the messages start magically disappearing from the inbox list and don't return until I restart kmail. This time I clicked repeatedly on a message that wouldn't open (for the reason above of there being 2 instances) but it crashed on the repeat attempt.

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

Thread 3 (Thread 0x7f55d2d8c700 (LWP 5051)):
#0  0x00007f55f39d2203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f55eb56e009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f55eb56e45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f55f432c1e6 in QEventDispatcherGlib::processEvents (this=0xe1f9b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f55f42fea02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f55f42fedec in QEventLoop::exec (this=0x7f55d2d8bcf0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f55f42092fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f55f42de5f8 in QInotifyFileSystemWatcherEngine::run (this=0xf1fb70) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f55f420c27e in QThreadPrivate::start (arg=0xf1fb70) at thread/qthread_unix.cpp:266
#9  0x00007f55f15bc971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007f55f39de92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f55cb7fe700 (LWP 19293)):
#0  0x00007f55f15be665 in __pthread_mutex_lock (mutex=0x25abfe8) at pthread_mutex_lock.c:61
#1  0x00007f55eb56dfc6 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f55eb56e45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f55f432c1e6 in QEventDispatcherGlib::processEvents (this=0x190a5c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f55f42fea02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f55f42fedec in QEventLoop::exec (this=0x7f55cb7fdcf0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f55f42092fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f55f42de5f8 in QInotifyFileSystemWatcherEngine::run (this=0x25ab560) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f55f420c27e in QThreadPrivate::start (arg=0x25ab560) at thread/qthread_unix.cpp:266
#9  0x00007f55f15bc971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007f55f39de92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f55f703a820 (LWP 5048)):
[KCrash Handler]
#6  0x00007f55f5b5352e in KMail::ISubject::notify (this=0x258b610) at ../../kmail/isubject.cpp:33
#7  0x00007f55f584005c in KMMessage::updateBodyPart (this=0x258b540, partSpecifier=) at ../../kmail/kmmessage.cpp:3185
#8  0x00007f55f5b28fc9 in KMail::ImapJob::slotGetMessageResult (this=0x243c610, job=<value optimized out>) at ../../kmail/imapjob.cpp:435
#9  0x00007f55f5b2ad9b in KMail::ImapJob::qt_metacall (this=0x243c610, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6a71f250) at ./imapjob.moc:88
#10 0x00007f55f4317b27 in QMetaObject::activate (sender=0x109c230, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x6) at kernel/qobject.cpp:3280
#11 0x00007f55f642ba82 in KJob::result (this=0x2b53458, _t1=0x109c230) at ./kjob.moc:194
#12 0x00007f55f642bd20 in KJob::emitResult (this=0x109c230) at ../../kdecore/jobs/kjob.cpp:312
#13 0x00007f55f0f85083 in KIO::SimpleJob::slotFinished (this=0x109c230) at ../../kio/kio/job.cpp:525
#14 0x00007f55f0f85992 in KIO::TransferJob::slotFinished (this=0x109c230) at ../../kio/kio/job.cpp:1118
#15 0x00007f55f0f83471 in KIO::TransferJob::qt_metacall (this=0x109c230, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6a71f690) at ./jobclasses.moc:367
#16 0x00007f55f4317b27 in QMetaObject::activate (sender=0x163e110, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x6) at kernel/qobject.cpp:3280
#17 0x00007f55f10370be in KIO::SlaveInterface::dispatch (this=0x163e110, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:173
#18 0x00007f55f1034103 in KIO::SlaveInterface::dispatch (this=0x163e110) at ../../kio/kio/slaveinterface.cpp:89
#19 0x00007f55f1027a96 in KIO::Slave::gotInput (this=0x163e110) at ../../kio/kio/slave.cpp:348
#20 0x00007f55f1027c7c in KIO::Slave::qt_metacall (this=0x163e110, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6a71fb10) at ./slave.moc:82
#21 0x00007f55f4317b27 in QMetaObject::activate (sender=0x29a8910, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x6) at kernel/qobject.cpp:3280
#22 0x00007f55f0f51c67 in KIO::ConnectionPrivate::dequeue (this=0xe2bbb0) at ../../kio/kio/connection.cpp:82
#23 0x00007f55f0f51d8d in KIO::Connection::qt_metacall (this=0x29a8910, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xf08d80) at ./connection.moc:79
#24 0x00007f55f4311bde in QObject::event (this=0x29a8910, e=0x2b53458) at kernel/qobject.cpp:1219
#25 0x00007f55f47eafdc in QApplicationPrivate::notify_helper (this=0x7d02b0, receiver=0x29a8910, e=0x261af40) at kernel/qapplication.cpp:4396
#26 0x00007f55f47f0aed in QApplication::notify (this=0x7fff6a720730, receiver=0x29a8910, e=0x261af40) at kernel/qapplication.cpp:4277
#27 0x00007f55f6a47a36 in KApplication::notify (this=0x7fff6a720730, receiver=0x29a8910, event=0x261af40) at ../../kdeui/kernel/kapplication.cpp:311
#28 0x00007f55f42ffcdc in QCoreApplication::notifyInternal (this=0x7fff6a720730, receiver=0x29a8910, event=0x261af40) at kernel/qcoreapplication.cpp:732
#29 0x00007f55f4302c22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x76a250) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x76a250) at kernel/qcoreapplication.cpp:1373
#31 0x00007f55f432c653 in sendPostedEvents (s=0x7ce3c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#32 postEventSourceDispatch (s=0x7ce3c0) at kernel/qeventdispatcher_glib.cpp:277
#33 0x00007f55eb56a342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#34 0x00007f55eb56e2a8 in ?? () from /lib/libglib-2.0.so.0
#35 0x00007f55eb56e45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#36 0x00007f55f432c193 in QEventDispatcherGlib::processEvents (this=0x7699b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#37 0x00007f55f489da4e in QGuiEventDispatcherGlib::processEvents (this=0x2b53458, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007f55f42fea02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#39 0x00007f55f42fedec in QEventLoop::exec (this=0x7fff6a720560, flags=) at kernel/qeventloop.cpp:201
#40 0x00007f55f4302ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#41 0x0000000000403212 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:156

Possible duplicates by query: bug 250929.

Reported using DrKonqi
Comment 1 Pino Toscano 2011-02-19 09:48:48 UTC

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