Bug 211803 - Deleting attachment of a sent message [KMTrashMsgCommand, AttachmentModifyCommand::messageStoreResult, AttachmentModifyCommand::storeChangedMessage]
Summary: Deleting attachment of a sent message [KMTrashMsgCommand, AttachmentModifyCom...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Unmaintained
Component: general (show other bugs)
Version: 1.12.2
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 219457 220569 223917 228048 230571 244842 247524 253243 265113 266384 276473 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-25 18:15 UTC by Дмитрий Комаров
Modified: 2012-08-19 11:03 UTC (History)
12 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (4.93 KB, text/plain)
2010-06-09 14:15 UTC, Fabio Puddu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Дмитрий Комаров 2009-10-25 18:15:37 UTC
Application that crashed: kmail
Version of the application: 1.12.2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-14-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
I opened a message from the sent-mail folder in a separate window and wanted to delete one of attached jpeg images. Right-clicked the attachment and selected to remove it from the message. Then warning about invalidating digital signature followed, pressed delete, but the message wan not deleted. After second attempt to delete this attachment kmail crashed.

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#5  0x00007f88b5bdb641 in KMTrashMsgCommand::KMTrashMsgCommand(unsigned int) () from /usr/lib/libkmailprivate.so.4
#6  0x00007f88b5bdb8b2 in AttachmentModifyCommand::messageStoreResult(KMFolderImap*, bool) () from /usr/lib/libkmailprivate.so.4
#7  0x00007f88b5bdbb49 in AttachmentModifyCommand::storeChangedMessage(KMMessage*) () from /usr/lib/libkmailprivate.so.4
#8  0x00007f88b5bdc32e in KMDeleteAttachmentCommand::doAttachmentModify() () from /usr/lib/libkmailprivate.so.4
#9  0x00007f88b5bda96b in AttachmentModifyCommand::execute() () from /usr/lib/libkmailprivate.so.4
#10 0x00007f88b5bbd2ca in KMCommand::slotPostTransfer(KMCommand::Result) () from /usr/lib/libkmailprivate.so.4
#11 0x00007f88b5bc74d3 in KMCommand::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkmailprivate.so.4
#12 0x00007f88b5bdc370 in AttachmentModifyCommand::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkmailprivate.so.4
#13 0x00007f88b4661ddc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#14 0x00007f88b5bba44e in KMCommand::messagesTransfered(KMCommand::Result) () from /usr/lib/libkmailprivate.so.4
#15 0x00007f88b5bd5648 in KMCommand::transferSelectedMsgs() () from /usr/lib/libkmailprivate.so.4
#16 0x00007f88b5bd586f in KMCommand::slotStart() () from /usr/lib/libkmailprivate.so.4
#17 0x00007f88b5bc74b6 in KMCommand::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkmailprivate.so.4
#18 0x00007f88b5bdc370 in AttachmentModifyCommand::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkmailprivate.so.4
#19 0x00007f88b4661ddc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#20 0x00007f88b4666e1f in ?? () from /usr/lib/libQtCore.so.4
#21 0x00007f88b465bd83 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#22 0x00007f88b4adfefc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#23 0x00007f88b4ae71ce in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#24 0x00007f88b68a2ab6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#25 0x00007f88b464cc2c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#26 0x00007f88b4677862 in ?? () from /usr/lib/libQtCore.so.4
#27 0x00007f88b467525d in ?? () from /usr/lib/libQtCore.so.4
#28 0x00007f88ab8e5bbe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#29 0x00007f88ab8e9588 in ?? () from /lib/libglib-2.0.so.0
#30 0x00007f88ab8e96b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#31 0x00007f88b46751a6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#32 0x00007f88b4b744be in ?? () from /usr/lib/libQtGui.so.4
#33 0x00007f88b464b532 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#34 0x00007f88b464b904 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#35 0x00007f88b464dab9 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#36 0x0000000000402fe9 in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2009-12-22 00:03:00 UTC
From bug 219457:
---
What I was doing when the application crashed:
In Kontact, i want to delete 3 attached files of one message (minder memory).
The first one it is Ok, but the second one give an error
Comment 2 Dario Andres 2009-12-22 00:03:04 UTC
*** Bug 219457 has been marked as a duplicate of this bug. ***
Comment 3 Jonathan Thomas 2009-12-29 21:40:27 UTC
*** Bug 220569 has been marked as a duplicate of this bug. ***
Comment 4 Björn Ruberg 2010-03-14 00:52:42 UTC
*** Bug 223917 has been marked as a duplicate of this bug. ***
Comment 5 Björn Ruberg 2010-03-14 00:57:12 UTC
*** Bug 228048 has been marked as a duplicate of this bug. ***
Comment 6 Dario Andres 2010-03-16 13:02:11 UTC
*** Bug 230571 has been marked as a duplicate of this bug. ***
Comment 7 Fabio Puddu 2010-06-09 14:15:39 UTC
Created attachment 47825 [details]
New crash information added by DrKonqi

I can confirm this bug.
I was deleting an attachment in a mail containing 8 attachments. Deleting the first one didn't cause problems, but the attachment apparently wasn't deleted. On deleting the second attachment the application crashes. This happens only when deleting attachment in the mail window and not when deleting them from the preview panel.
Comment 8 Björn Ruberg 2010-08-06 21:04:29 UTC
*** Bug 244842 has been marked as a duplicate of this bug. ***
Comment 9 Christophe Marin 2010-09-19 14:23:43 UTC
*** Bug 247524 has been marked as a duplicate of this bug. ***
Comment 10 Torgny Nyblom 2010-10-06 09:49:04 UTC
*** Bug 253243 has been marked as a duplicate of this bug. ***
Comment 11 Christophe Marin 2011-02-14 13:00:33 UTC
*** Bug 265113 has been marked as a duplicate of this bug. ***
Comment 12 Christophe Marin 2011-02-15 16:01:21 UTC
from bug 266384

I deleted an attachment and then I closed the window containing the letter. I
opened the same letter once again and found the attachment was still there.
Then I clicked on the attachment icon and kmail launched gwenview displaying
the attached picture correctly. Immediately after kmail crashed.
Comment 13 Christophe Marin 2011-02-15 16:01:26 UTC
*** Bug 266384 has been marked as a duplicate of this bug. ***
Comment 14 Christophe Marin 2011-07-08 09:02:40 UTC
*** Bug 276473 has been marked as a duplicate of this bug. ***
Comment 15 Myriam Schweingruber 2012-08-19 11:03:03 UTC
Thank you for your report. Kmail1 is currently unmaintained and the code has changed sufficiently in Kmail2 so the backtraces are not really useful anymore. Should you experience the same crash in Kmail 4.8.5 or later, please open a new report for Kmail2. Thank you for your understanding