Bug 160532 - Crash when sending inline pgp encrypted mail
Summary: Crash when sending inline pgp encrypted mail
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: encryption (show other bugs)
Version: SVN trunk (KDE 4)
Platform: Compiled Sources Linux
: NOR crash (vote)
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2008-04-07 22:48 UTC by Martin Flöser
Modified: 2012-08-19 10:51 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 Martin Flöser 2008-04-07 22:48:32 UTC
Version:            (using Devel)
Installed from:    Compiled sources

I know it is deprecated, but OpenPGP/MIME leads to empty mail so I tried inline PGP resulting in this crash:

Application: Kontact (kontact), signal SIGABRT
[Thread debugging using libthread_db enabled]
[New Thread 0x7f80674ee780 (LWP 1905)]
[New Thread 0x40fc1950 (LWP 2801)]
[KCrash handler]
#5  0x00007f805c1e1095 in raise () from /lib/libc.so.6
#6  0x00007f805c1e2af0 in abort () from /lib/libc.so.6
#7  0x00007f805c1da2df in __assert_fail () from /lib/libc.so.6
#8  0x00007f8058235fd7 in MessageComposer::composeInlineOpenPGPMessage (
    this=0x3b00f50, theMessage=@0x3b46560, doSign=true, doEncrypt=true)
    at /home/kde-devel/kde/src/KDE/kdepim/kmail/messagecomposer.cpp:1292
#9  0x00007f805823ada3 in MessageComposer::composeMessage (this=0x3b00f50, 
    theMessage=@0x3b46560, doSign=true, doEncrypt=true, 
    format=Kleo::InlineOpenPGPFormat)
    at /home/kde-devel/kde/src/KDE/kdepim/kmail/messagecomposer.cpp:1406
#10 0x00007f805823d35b in MessageComposer::composeMessage (this=0x3b00f50)
    at /home/kde-devel/kde/src/KDE/kdepim/kmail/messagecomposer.cpp:1039
#11 0x00007f8058243137 in MessageComposerJob::composeMessage (this=0x2750840)
    at /home/kde-devel/kde/src/KDE/kdepim/kmail/messagecomposer.cpp:273
#12 0x00007f805824314f in ComposeMessageJob::execute (this=0x2750840)
    at /home/kde-devel/kde/src/KDE/kdepim/kmail/messagecomposer.cpp:311
#13 0x00007f805823f3db in MessageComposer::slotDoNextJob (this=0x3b00f50)
    at /home/kde-devel/kde/src/KDE/kdepim/kmail/messagecomposer.cpp:428
#14 0x00007f805823f471 in MessageComposer::qt_metacall (this=0x3b00f50, 
    _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fff6f535f00)
    at /home/kde-devel/kde/build/KDE/kdepim/kmail/messagecomposer.moc:69
#15 0x00007f806703a9c6 in QMetaObject::activate ()
   from /usr/lib/libQtCore.so.4
#16 0x00007f80670410ff in ?? () from /usr/lib/libQtCore.so.4
#17 0x00007f8067035475 in QObject::event () from /usr/lib/libQtCore.so.4
#18 0x00007f8064a2600f in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#19 0x00007f8064a2abd5 in QApplication::notify () from /usr/lib/libQtGui.so.4
#20 0x00007f806645b52e in KApplication::notify (this=0x7fff6f536890, 
    receiver=0x60bc40, event=0x7fff6f536570)
    at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311
#21 0x00007f8067026b09 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#22 0x00007f80670513bc in ?? () from /usr/lib/libQtCore.so.4
#23 0x00007f806704ef2d in ?? () from /usr/lib/libQtCore.so.4
#24 0x00007f805bb1b222 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#25 0x00007f805bb1e4d6 in ?? () from /usr/lib/libglib-2.0.so.0
#26 0x00007f805bb1e96f in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#27 0x00007f806704f38f in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#28 0x00007f8064aae3bf in ?? () from /usr/lib/libQtGui.so.4
#29 0x00007f8067025e98 in QEventLoop::processEvents ()
   from /usr/lib/libQtCore.so.4
#30 0x00007f8067025fdb in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#31 0x00007f8067027e79 in QCoreApplication::exec ()
   from /usr/lib/libQtCore.so.4
#32 0x0000000000404104 in main (argc=3, argv=0x7fff6f536cf8)
    at /home/kde-devel/kde/src/KDE/kdepim/kontact/src/main.cpp:175
#0  0x00007f805c24cb81 in nanosleep () from /lib/libc.so.6
Comment 1 Jan Essert 2009-04-04 13:06:23 UTC
Sending inline PGP encrypted and signed emails works just fine for me on kmail 1.11.1 on kde 4.2.1.
Comment 2 Myriam Schweingruber 2012-08-19 10:51:33 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