Bug 260924

Summary: KMail crash when canceling replying to email
Product: [Unmaintained] kmail Reporter: Mitch Oliver <mitch.oliver>
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 Mitch Oliver 2010-12-21 23:11:02 UTC
Application: kmail (1.13.5)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-23-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
I repiled to an email hosted in Exchange (accessed via IMAP).  A progress dialog appeared indicating that KMail was fetching the email.  When I clicked "Cancel" KMail crashed.

The crash can be reproduced some of the time.

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

Thread 2 (Thread 0x7f52be266700 (LWP 4800)):
#0  0x00007f52de304203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f52d53bf009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f52d53bf45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f52dec5e1e6 in QEventDispatcherGlib::processEvents (this=0x1386920, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f52dec30a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f52dec30dec in QEventLoop::exec (this=0x7f52be265cf0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f52deb3b2fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f52dec105f8 in QInotifyFileSystemWatcherEngine::run (this=0x14b3050) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f52deb3e27e in QThreadPrivate::start (arg=0x14b3050) at thread/qthread_unix.cpp:266
#9  0x00007f52dbe0a971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007f52de31092d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f52e18a8820 (LWP 4799)):
[KCrash Handler]
#6  parent (this=0x1938610) at ../../kmail/kmmsgbase.h:110
#7  KMCommand::slotTransferCancelled (this=0x1938610) at ../../kmail/kmcommands.cpp:469
#8  0x00007f52e03ba874 in KMCommand::qt_metacall (this=0x1938610, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff7bb01a0) at ./kmcommands.moc:96
#9  0x00007f52dec49b27 in QMetaObject::activate (sender=0x10b6580, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x31) at kernel/qobject.cpp:3280
#10 0x00007f52e121eb78 in KDialog::slotButtonClicked (this=0x10b6580, button=32) at ../../kdeui/dialogs/kdialog.cpp:898
#11 0x00007f52e1220af9 in KDialog::qt_metacall (this=0x10b6580, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff7bb0380) at ./kdialog.moc:190
#12 0x00007f52e12404f0 in KProgressDialog::qt_metacall (this=0x7f52e0653f68, _c=3764731752, _id=17207184, _a=0x31) at ./kprogressdialog.moc:69
#13 0x00007f52dec49b27 in QMetaObject::activate (sender=0x1761878, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x31) at kernel/qobject.cpp:3280
#14 0x00007f52dec4c7fe in QSignalMapper::mapped (this=0x7f52e0653f68, _t1=32) at .moc/release-shared/moc_qsignalmapper.cpp:101
#15 0x00007f52dec4da12 in QSignalMapper::map (this=0x1761878, sender=0x1339910) at kernel/qsignalmapper.cpp:266
#16 0x00007f52dec4dc90 in QSignalMapper::qt_metacall (this=0x1761878, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff7bb0510) at .moc/release-shared/moc_qsignalmapper.cpp:87
#17 0x00007f52dec49b27 in QMetaObject::activate (sender=0x1339910, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x31) at kernel/qobject.cpp:3280
#18 0x00007f52df7fa402 in QAbstractButton::clicked (this=0x7f52e0653f68, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#19 0x00007f52df4f4eeb in QAbstractButtonPrivate::emitClicked (this=0x169d3d0) at widgets/qabstractbutton.cpp:546
#20 0x00007f52df4f65bb in QAbstractButtonPrivate::click (this=0x169d3d0) at widgets/qabstractbutton.cpp:539
#21 0x00007f52df4f682c in QAbstractButton::mouseReleaseEvent (this=0x1339910, e=0x7ffff7bb0e60) at widgets/qabstractbutton.cpp:1121
#22 0x00007f52df17304e in QWidget::event (this=0x1339910, event=0x7ffff7bb0e60) at kernel/qwidget.cpp:8187
#23 0x00007f52df11cfdc in QApplicationPrivate::notify_helper (this=0x94cab0, receiver=0x1339910, e=0x7ffff7bb0e60) at kernel/qapplication.cpp:4396
#24 0x00007f52df12330e in QApplication::notify (this=0x7ffff7bb1c80, receiver=0x1339910, e=0x7ffff7bb0e60) at kernel/qapplication.cpp:3959
#25 0x00007f52e12c5156 in KApplication::notify (this=0x7ffff7bb1c80, receiver=0x1339910, event=0x7ffff7bb0e60) at ../../kdeui/kernel/kapplication.cpp:310
#26 0x00007f52dec31cdc in QCoreApplication::notifyInternal (this=0x7ffff7bb1c80, receiver=0x1339910, event=0x7ffff7bb0e60) at kernel/qcoreapplication.cpp:732
#27 0x00007f52df121dbe in sendEvent (receiver=0x1339910, event=0x7ffff7bb0e60, alienWidget=0x1339910, nativeWidget=0x10b6580, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#28 QApplicationPrivate::sendMouseEvent (receiver=0x1339910, event=0x7ffff7bb0e60, alienWidget=0x1339910, nativeWidget=0x10b6580, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:3058
#29 0x00007f52df1a5345 in QETWidget::translateMouseEvent (this=0x10b6580, event=<value optimized out>) at kernel/qapplication_x11.cpp:4403
#30 0x00007f52df1a3c5c in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7ffff7bb1780) at kernel/qapplication_x11.cpp:3536
#31 0x00007f52df1d00e2 in x11EventSourceDispatch (s=0x950500, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#32 0x00007f52d53bb342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#33 0x00007f52d53bf2a8 in ?? () from /lib/libglib-2.0.so.0
#34 0x00007f52d53bf45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#35 0x00007f52dec5e193 in QEventDispatcherGlib::processEvents (this=0x90a8a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#36 0x00007f52df1cfa4e in QGuiEventDispatcherGlib::processEvents (this=0x7f52e0653f68, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007f52dec30a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#38 0x00007f52dec30dec in QEventLoop::exec (this=0x7ffff7bb1ab0, flags=) at kernel/qeventloop.cpp:201
#39 0x00007f52dec34ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#40 0x0000000000403212 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:156

Possible duplicates by query: bug 233742.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-02-14 15:16:40 UTC

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