[Bug 226324] New: Crash while forwarding a message (ASSERT: "format == Kleo::OpenPGPMIMEFormat || format == Kleo::InlineOpenPGPFormat || format == Kleo::SMIMEFormat || format == Kleo::SMIMEOpaqueFormat")

Christophe Giboudeaux cgiboudeaux at gmail.com
Thu Feb 11 14:22:16 GMT 2010


https://bugs.kde.org/show_bug.cgi?id=226324

           Summary: Crash while forwarding a message (ASSERT: "format ==
                    Kleo::OpenPGPMIMEFormat || format ==
                    Kleo::InlineOpenPGPFormat || format ==
                    Kleo::SMIMEFormat || format ==
                    Kleo::SMIMEOpaqueFormat")
           Product: kdepim
           Version: 4.5
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: crash
          Priority: NOR
         Component: messagecomposer
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: cgiboudeaux at gmail.com


Using trunk from this morning. I was forwarding the 'scary' message to togge
and KMail crash while I was typing.


Enchant dict for "en_US" 0x8c1a7e8 
kmail(32166) Sonnet::Highlighter::slotRehighlight:
Highlighter::slotRehighlight()
kmail(32166) Sonnet::Highlighter::slotRehighlight:
Highlighter::slotRehighlight()
kmail(32166) Sonnet::Highlighter::slotRehighlight:
Highlighter::slotRehighlight()
kmail(32166) KMComposeWin::rethinkFields:
kmail(32166) KMComposeWin::autoSaveMessage: Autosaving message
kmail(32166) CodecAction::mimeCharsets: current item 0 "Default"
kmail(32166) Message::ComposerPrivate::composeStep2: Checking attachment crypto
policy... true false
kmail(32166) Message::ComposerPrivate::composeStep2: got attachment with
different crypto policy!
kmail(32166) Message::Util::selectCharset: Chosen charset "utf-8"
kmail(32166) Message::MainTextJobPrivate::encodeTexts: Done.
kmail(32166) Message::MainTextJob::doStart: Making text/plain
kmail(32166) Message::ContentJobBasePrivate::doNextSubjob: Calling process.
kmail(32166) Message::SinglepartJobPrivate::chooseCTE: Settled on encoding
"7bit"
kmail(32166) Message::SinglepartJob::process: decoded true needToEncode false
kmail(32166) Message::SinglepartJob::process: encoded content "
[cut]

"
kmail(32166) Message::ContentJobBase::slotResult: A subjob finished. 0 more to
go.
kmail(32166) Message::ContentJobBasePrivate::doNextSubjob: Calling process.
kmail(32166) Message::ContentJobBase::slotResult: A subjob finished. 0 more to
go.
kmail(32166) Message::ContentJobBasePrivate::doNextSubjob: Calling process.
kmail(32166) Message::MultipartJob::process: Created "multipart/mixed" content
with 1 subjobContents.
kmail(32166) Message::ComposerPrivate::contentJobFinished: composing final
message
kmail(32166) Message::ComposerPrivate::composeWithLateAttachments: attaachment
encr key size: 0 ()
kmail(32166) Message::ComposerPrivate::composeWithLateAttachments: got a late
attachment
kmail(32166) Message::ComposerPrivate::composeWithLateAttachments: adding
signjob for late attachment
ASSERT: "format == Kleo::OpenPGPMIMEFormat || format ==
Kleo::InlineOpenPGPFormat || format == Kleo::SMIMEFormat || format ==
Kleo::SMIMEOpaqueFormat" in file
/kde/src/KDE/kdepim/messagecomposer/signjob.cpp, line 114

Program received signal SIGABRT, Aborted.
0xffffe430 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb65830cf in raise () from /lib/libc.so.6
#2  0xb65849e7 in abort () from /lib/libc.so.6
#3  0xb68237f4 in qt_message_output (msgType=QtFatalMsg, buf=0x6 <Address 0x6
out of bounds>) at global/qglobal.cpp:2250
#4  0xb6823a13 in qt_message (msgType=QtFatalMsg, msg=0xb699fbbc "ASSERT:
\"%s\" in file %s, line %d", ap=0xbfffcb24 "\270\f\262\265\200\f\262\265r")
    at global/qglobal.cpp:2296
#5  0xb6823b38 in qFatal (msg=0xb699fbbc "ASSERT: \"%s\" in file %s, line %d")
at global/qglobal.cpp:2479
#6  0xb6823bb5 in qt_assert (assertion=
    0xb5b20cb8 "format == Kleo::OpenPGPMIMEFormat || format ==
Kleo::InlineOpenPGPFormat || format == Kleo::SMIMEFormat || format ==
Kleo::SMIMEOpaqueFormat", file=
    0xb5b20c80 "/kde/src/KDE/kdepim/messagecomposer/signjob.cpp", line=114) at
global/qglobal.cpp:2013
#7  0xb5b19641 in Message::SignJob::setCryptoMessageFormat (this=0x8a9e3d8,
format=147287370) at /kde/src/KDE/kdepim/messagecomposer/signjob.cpp:114
#8  0xb5b08793 in Message::ComposerPrivate::composeWithLateAttachments
(this=0x8c76d38, headers=0x83640a8, content=0x8bd45e0, parts=
    QList<boost::shared_ptr<KPIM::AttachmentPart>> = {...}, keys=std::vector of
length 0, capacity 0, recipients=empty QList<QString>)
    at /kde/src/KDE/kdepim/messagecomposer/composer.cpp:394
#9  0xb5b0817a in Message::ComposerPrivate::contentJobFinished (this=0x8c76d38,
job=0x8b51620) at /kde/src/KDE/kdepim/messagecomposer/composer.cpp:366
#10 0xb5b09e53 in Message::Composer::qt_metacall (this=0x8aa5b98,
_c=InvokeMetaMethod, _id=3, _a=0xbfffced8) at
/kde/build/KDE/kdepim/messagecomposer/composer.moc:88
#11 0xb693af0d in QMetaObject::metacall (object=0x8aa5b98, cl=32166, idx=31,
argv=0xbfffced8) at kernel/qmetaobject.cpp:237
#12 0xb6949d3a in QMetaObject::activate (sender=0x8b51620, m=0xb7bb7c48,
local_signal_index=0, argv=0xbfffced8) at kernel/qobject.cpp:3285
#13 0xb7a04aa5 in KJob::finished (this=0x8b51620, _t1=0x8b51620) at
/usr/src/debug/kdelibs-4.4.63svn1087770/build/kdecore/kjob.moc:173
#14 0xb7a04c7c in KJob::emitResult (this=0x8b51620) at
/usr/src/debug/kdelibs-4.4.63svn1087770/kdecore/jobs/kjob.cpp:310
#15 0xb5b168ec in Message::MultipartJob::process (this=0x8b51620) at
/kde/src/KDE/kdepim/messagecomposer/multipartjob.cpp:80
#16 0xb5b12cae in Message::ContentJobBasePrivate::doNextSubjob (this=0x8aaa1f0)
at /kde/src/KDE/kdepim/messagecomposer/contentjobbase.cpp:48
#17 0xb5b13402 in Message::ContentJobBase::slotResult (this=0x8b51620,
job=0x89610c8) at /kde/src/KDE/kdepim/messagecomposer/contentjobbase.cpp:132
#18 0xb5b13552 in Message::ContentJobBase::qt_metacall (this=0x8b51620,
_c=InvokeMetaMethod, _id=2, _a=0xbfffd158)
    at /kde/build/KDE/kdepim/messagecomposer/contentjobbase.moc:77
#19 0xb5b169c1 in Message::MultipartJob::qt_metacall (this=0x8b51620,
_c=InvokeMetaMethod, _id=30, _a=0xbfffd158) at
/kde/build/KDE/kdepim/messagecomposer/multipartjob.moc:67
#20 0xb693af0d in QMetaObject::metacall (object=0x8b51620, cl=32166, idx=30,
argv=0xbfffd158) at kernel/qmetaobject.cpp:237
#21 0xb6949d3a in QMetaObject::activate (sender=0x89610c8, m=0xb7bb7c48,
local_signal_index=3, argv=0xbfffd158) at kernel/qobject.cpp:3285
#22 0xb7a048b5 in KJob::result (this=0x89610c8, _t1=0x89610c8) at
/usr/src/debug/kdelibs-4.4.63svn1087770/build/kdecore/kjob.moc:194
#23 0xb7a04c88 in KJob::emitResult (this=0x89610c8) at
/usr/src/debug/kdelibs-4.4.63svn1087770/kdecore/jobs/kjob.cpp:312
#24 0xb5b18d56 in Message::MainTextJob::process (this=0x89610c8) at
/kde/src/KDE/kdepim/messagecomposer/maintextjob.cpp:292
---Type <return> to continue, or q <return> to quit---
#25 0xb5b12cae in Message::ContentJobBasePrivate::doNextSubjob (this=0x8c92c40)
at /kde/src/KDE/kdepim/messagecomposer/contentjobbase.cpp:48
#26 0xb5b13402 in Message::ContentJobBase::slotResult (this=0x89610c8,
job=0x8a816f0) at /kde/src/KDE/kdepim/messagecomposer/contentjobbase.cpp:132
#27 0xb5b13552 in Message::ContentJobBase::qt_metacall (this=0x89610c8,
_c=InvokeMetaMethod, _id=2, _a=0xbfffd378)
    at /kde/build/KDE/kdepim/messagecomposer/contentjobbase.moc:77
#28 0xb5b18e29 in Message::MainTextJob::qt_metacall (this=0x89610c8,
_c=InvokeMetaMethod, _id=30, _a=0xbfffd378) at
/kde/build/KDE/kdepim/messagecomposer/maintextjob.moc:69
#29 0xb693af0d in QMetaObject::metacall (object=0x89610c8, cl=32166, idx=30,
argv=0xbfffd378) at kernel/qmetaobject.cpp:237
#30 0xb6949d3a in QMetaObject::activate (sender=0x8a816f0, m=0xb7bb7c48,
local_signal_index=3, argv=0xbfffd378) at kernel/qobject.cpp:3285
#31 0xb7a048b5 in KJob::result (this=0x8a816f0, _t1=0x8a816f0) at
/usr/src/debug/kdelibs-4.4.63svn1087770/build/kdecore/kjob.moc:194
#32 0xb7a04c88 in KJob::emitResult (this=0x8a816f0) at
/usr/src/debug/kdelibs-4.4.63svn1087770/kdecore/jobs/kjob.cpp:312
#33 0xb5b15895 in Message::SinglepartJob::process (this=0x8a816f0) at
/kde/src/KDE/kdepim/messagecomposer/singlepartjob.cpp:210
#34 0xb5b12cae in Message::ContentJobBasePrivate::doNextSubjob (this=0x868db18)
at /kde/src/KDE/kdepim/messagecomposer/contentjobbase.cpp:48
#35 0xb5b1322a in Message::ContentJobBase::doStart (this=0x8a816f0) at
/kde/src/KDE/kdepim/messagecomposer/contentjobbase.cpp:117
#36 0xb5b13517 in Message::ContentJobBase::qt_metacall (this=0x8a816f0,
_c=InvokeMetaMethod, _id=0, _a=0xbfffd57c)
    at /kde/build/KDE/kdepim/messagecomposer/contentjobbase.moc:75
#37 0xb5b1596b in Message::SinglepartJob::qt_metacall (this=0x8a816f0,
_c=InvokeMetaMethod, _id=28, _a=0xbfffd57c)
    at /kde/build/KDE/kdepim/messagecomposer/singlepartjob.moc:67
#38 0xb693af0d in QMetaObject::metacall (object=0x8a816f0, cl=32166, idx=28,
argv=0xbfffd57c) at kernel/qmetaobject.cpp:237
#39 0xb6949d3a in QMetaObject::activate (sender=0x8c1bf38, m=0xb6a4b1a4,
local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3285
#40 0xb6951a25 in QSingleShotTimer::timeout (this=0x8c1bf38) at
.moc/release-shared/qtimer.moc:82
#41 0xb6951b5c in QSingleShotTimer::timerEvent (this=0x8c1bf38) at
kernel/qtimer.cpp:308
#42 0xb6946844 in QObject::event (this=0x8c1bf38, e=0x6) at
kernel/qobject.cpp:1204
#43 0xb6b8182c in QApplicationPrivate::notify_helper (this=0x80864d0,
receiver=0x8c1bf38, e=0xbfffdad4) at kernel/qapplication.cpp:4300
#44 0xb6b88678 in QApplication::notify (this=0xbfffde38, receiver=0x8c1bf38,
e=0xbfffdad4) at kernel/qapplication.cpp:4183
#45 0xb7d94951 in KApplication::notify(QObject*, QEvent*) () from
/usr/lib/libkdeui.so.5
#46 0xb6935b9e in QCoreApplication::notifyInternal (this=0xbfffde38,
receiver=0x8c1bf38, event=0xbfffdad4) at kernel/qcoreapplication.cpp:704
#47 0xb6965d8e in sendEvent (event=<value optimized out>, receiver=<value
optimized out>) at kernel/qcoreapplication.h:215
#48 QTimerInfoList::activateTimers (event=<value optimized out>,
receiver=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:617
#49 0xb696648f in QEventDispatcherUNIX::processEvents (this=0x80588b0,
flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone
or in conjuction with DW_OP_piece.
) at kernel/qeventdispatcher_unix.cpp:938
#50 0xb6c42aea in QEventDispatcherX11::processEvents (this=0x80588b0,
flags=...) at kernel/qeventdispatcher_x11.cpp:152
#51 0xb693420d in QEventLoop::processEvents (this=0xbfffdd44, flags=DWARF-2
expression error: DW_OP_reg operations must be used either alone or in
conjuction with DW_OP_piece.
) at kernel/qeventloop.cpp:149
#52 0xb6934659 in QEventLoop::exec (this=0xbfffdd44, flags=...) at
kernel/qeventloop.cpp:201
---Type <return> to continue, or q <return> to quit---
#53 0xb69387d0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#54 0xb6b818d4 in QApplication::exec () at kernel/qapplication.cpp:3579
#55 0x0804aeef in main (argc=2, argv=0xbfffdf34) at
/kde/src/KDE/kdepim/kmail/main.cpp:148

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list