Bug 286508

Summary: Printing an unsent email results in a Message Disposition Query which crashes kmail
Product: [I don't know] kde Reporter: Simon Reed <BugZilla>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Simon Reed 2011-11-13 17:28:37 UTC
Application: kmail (1.13.5)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-35-generic i686
Distribution: Ubuntu 10.04.3 LTS

-- Information about the crash:
I wrote an email and turned on the Message Disposition Notification flag.  I printed the email, and was then prompted whether to send it or deny it!

I clicked on "Send" to send the email, and kmail instantly died, without sending the email.

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#6  DwEntity::Headers (this=0xbffce96c) at ../../mimelib/entity.cpp:250
#7  0x00fc3b45 in KMMessage::cc (this=0x9a96f10) at ../../kmail/kmmessage.cpp:1596
#8  0x00fc5a24 in KMMessage::identityUoid (this=0x9a96f10) at ../../kmail/kmmessage.cpp:1384
#9  0x00fd60e8 in KMMessage::createMDN (this=0x9a96f10, a=KMime::MDN::ManualAction, d=KMime::MDN::Displayed, allowGUI=true, m=...) at ../../kmail/kmmessage.cpp:1159
#10 0x010b953f in KMReaderWin::slotTouchMessage (this=0x9889338) at ../../kmail/kmreaderwin.cpp:1889
#11 0x010bfe6f in KMReaderWin::setMsg (this=0x9889338, aMsg=0x9a96f10, force=true) at ../../kmail/kmreaderwin.cpp:1297
#12 0x010b6d05 in KMReaderWin::printMsg (this=0x9889338, aMsg=0x9a96f10) at ../../kmail/kmreaderwin.cpp:1811
#13 0x01289b98 in KMPrintCommand::execute (this=0xa08bde0) at ../../kmail/kmcommands.cpp:1675
#14 0x0128cc22 in KMCommand::slotPostTransfer (this=0xa08bde0, result=KMCommand::OK) at ../../kmail/kmcommands.cpp:295
#15 0x01296d5f in KMCommand::qt_metacall (this=0xa08bde0, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbffcefb8) at ./kmcommands.moc:93
#16 0x012974c2 in KMPrintCommand::qt_metacall (this=0xa08bde0, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbffcefb8) at ./kmcommands.moc:1485
#17 0x00c49c9a in QMetaObject::metacall (object=0xa08bde0, cl=QMetaObject::WriteProperty, idx=9, argv=0xbffcefb8) at kernel/qmetaobject.cpp:237
#18 0x00c583d5 in QMetaObject::activate (sender=0xa08bde0, m=0x16861d4, local_signal_index=0, argv=0xbffcefb8) at kernel/qobject.cpp:3293
#19 0x01286623 in KMCommand::messagesTransfered (this=0xa08bde0, _t1=KMCommand::OK) at ./kmcommands.moc:108
#20 0x0129f578 in KMCommand::slotStart (this=0xa08bde0) at ../../kmail/kmcommands.cpp:270
#21 0x01296d3b in KMCommand::qt_metacall (this=0xa08bde0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbffcf13c) at ./kmcommands.moc:92
#22 0x012974c2 in KMPrintCommand::qt_metacall (this=0xa08bde0, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbffcf13c) at ./kmcommands.moc:1485
#23 0x00c49c9a in QMetaObject::metacall (object=0xa08bde0, cl=QMetaObject::WriteProperty, idx=8, argv=0xbffcf13c) at kernel/qmetaobject.cpp:237
#24 0x00c583d5 in QMetaObject::activate (sender=0x99abdd0, m=0xd57188, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#25 0x00c5ffe7 in QSingleShotTimer::timeout (this=0x99abdd0) at .moc/release-shared/qtimer.moc:82
#26 0x00c600fc in QSingleShotTimer::timerEvent (this=0x99abdd0) at kernel/qtimer.cpp:308
#27 0x00c55254 in QObject::event (this=0x99abdd0, e=0xa15cd88) at kernel/qobject.cpp:1212
#28 0x064c74dc in QApplicationPrivate::notify_helper (this=0x8c65db8, receiver=0x99abdd0, e=0xbffcf670) at kernel/qapplication.cpp:4300
#29 0x064ce05e in QApplication::notify (this=0xbffcfa80, receiver=0x99abdd0, e=0xbffcf670) at kernel/qapplication.cpp:3704
#30 0x002f040a in KApplication::notify (this=0xbffcfa80, receiver=0x99abdd0, event=0xbffcf670) at ../../kdeui/kernel/kapplication.cpp:302
#31 0x00c44a3b in QCoreApplication::notifyInternal (this=0xbffcfa80, receiver=0x99abdd0, event=0xbffcf670) at kernel/qcoreapplication.cpp:704
#32 0x00c73d66 in QCoreApplication::sendEvent (this=0x8bfb244) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#33 QTimerInfoList::activateTimers (this=0x8bfb244) at kernel/qeventdispatcher_unix.cpp:603
#34 0x00c708e4 in timerSourceDispatch (source=0x8bfb210) at kernel/qeventdispatcher_glib.cpp:184
#35 0x0297a5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#36 0x0297e2d8 in ?? () from /lib/libglib-2.0.so.0
#37 0x0297e4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#38 0x00c705d5 in QEventDispatcherGlib::processEvents (this=0x8bcb790, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#39 0x06587135 in QGuiEventDispatcherGlib::processEvents (this=0x8bcb790, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00c43059 in QEventLoop::processEvents (this=0xbffcf934, flags=) at kernel/qeventloop.cpp:149
#41 0x00c434aa in QEventLoop::exec (this=0xbffcf934, flags=...) at kernel/qeventloop.cpp:201
#42 0x00c4769f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#43 0x064c7577 in QApplication::exec () at kernel/qapplication.cpp:3579
#44 0x0804ab0e in main (argc=3, argv=0xbffcfc44) at ../../kmail/main.cpp:156

Possible duplicates by query: bug 252408, bug 244430, bug 230355.

Reported using DrKonqi
Comment 1 Christoph Feck 2011-11-14 02:43:02 UTC

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