Bug 277881 - Crash when try to froward an encrypted message
Summary: Crash when try to froward an encrypted message
Status: RESOLVED WORKSFORME
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-16 08:52 UTC by Marcello Ceschia
Modified: 2011-09-27 08:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (7.33 KB, text/plain)
2011-09-27 08:20 UTC, Marcello Ceschia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcello Ceschia 2011-07-16 08:52:48 UTC
Application: kontact (4.7 rc2)
KDE Platform Version: 4.6.95 (4.7 RC2) "release 1"
Qt Version: 4.7.3
Operating System: Linux 2.6.37.6-0.5-default x86_64
Distribution: "openSUSE 11.4 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
1) decrypt the message in the window
2) use forward -> inline from the toolbar
3) crash

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f6feb265760 (LWP 21988))]

Thread 2 (Thread 0x7f6fd4e90700 (LWP 21989)):
#0  0x00007f6fe365338c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f6fe7ca51d4 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f6fe364ea3f in start_thread () from /lib64/libpthread.so.0
#3  0x00007f6fe884767d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f6feb265760 (LWP 21988)):
[KCrash Handler]
#6  0x0000000000000021 in ?? ()
#7  0x00007f6fe051bc11 in KMime::Content::removeContent(KMime::Content*, bool) () from /usr/lib64/libkmime.so.4
#8  0x00007f6fcec439eb in TemplateParser::TemplateParser::addProcessedBodyToMessage(QString const&) () from /usr/lib64/libtemplateparser.so.4
#9  0x00007f6fcec45a65 in TemplateParser::TemplateParser::processWithTemplate(QString const&) () from /usr/lib64/libtemplateparser.so.4
#10 0x00007f6fcec413ad in TemplateParser::TemplateParser::process(boost::shared_ptr<KMime::Message> const&, Akonadi::Collection const&) () from /usr/lib64/libtemplateparser.so.4
#11 0x00007f6fcf1a8e07 in MessageComposer::MessageFactory::createForward() () from /usr/lib64/libmessagecomposer.so.4
#12 0x00007f6fcfc88d78 in KMForwardCommand::execute() () from /usr/lib64/libkmailprivate.so.4
#13 0x00007f6fcfc80641 in KMCommand::slotPostTransfer(KMCommand::Result) () from /usr/lib64/libkmailprivate.so.4
#14 0x00007f6fcfc87b53 in KMCommand::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkmailprivate.so.4
#15 0x00007f6fe9c00a5f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#16 0x00007f6fcfc8048e in KMCommand::messagesTransfered(KMCommand::Result) () from /usr/lib64/libkmailprivate.so.4
#17 0x00007f6fcfc86d02 in KMCommand::slotJobFinished() () from /usr/lib64/libkmailprivate.so.4
#18 0x00007f6fcfc87b1c in KMCommand::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkmailprivate.so.4
#19 0x00007f6fe9c00a5f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#20 0x00007f6fea056552 in KJob::result(KJob*) () from /usr/lib64/libkdecore.so.5
#21 0x00007f6fea056590 in KJob::emitResult() () from /usr/lib64/libkdecore.so.5
#22 0x00007f6fe5a2fd7d in Akonadi::Job::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libakonadi-kde.so.4
#23 0x00007f6fe5a8ae45 in Akonadi::ItemFetchJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libakonadi-kde.so.4
#24 0x00007f6fe9c0037a in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#25 0x00007f6fe8fb4144 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#26 0x00007f6fe8fbc6fa in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#27 0x00007f6fea632656 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#28 0x00007f6fe9bec47c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#29 0x00007f6fe9befc75 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#30 0x00007f6fe9c17093 in ?? () from /usr/lib64/libQtCore.so.4
#31 0x00007f6fe22ddbd3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#32 0x00007f6fe22de3b0 in ?? () from /lib64/libglib-2.0.so.0
#33 0x00007f6fe22de650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#34 0x00007f6fe9c1722f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#35 0x00007f6fe9059bae in ?? () from /usr/lib64/libQtGui.so.4
#36 0x00007f6fe9beb8d2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#37 0x00007f6fe9bebae5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#38 0x00007f6fe9beff2b in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#39 0x000000000040416f in _start ()

Possible duplicates by query: bug 272062.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-07-16 09:06:55 UTC
I cannot reproduce with a very simple email.

Can you install the missing debug packages to get a better backtrace please (kdepimlibs-debuginfo, kmail-debuginfo and kdepim-debuginfo)
Comment 2 Christophe Marin 2011-09-24 15:43:19 UTC
No feedback, closing
Comment 3 Marcello Ceschia 2011-09-27 08:20:32 UTC
Created attachment 64003 [details]
New crash information added by DrKonqi

kontact (4.7.1) on KDE Platform 4.7.1 (4.7.1) "release 8" using Qt 4.7.4

- What I was doing when the application crashed:
1) decrypt the message in the window (SMIME)
2) use forward -> inline from the toolbar
3) crash

-- Backtrace (Reduced):
#7  0x00007f61c0365588 in QByteArray::realloc (this=0x7fff92ecb270, alloc=134217696) at /usr/include/bits/string3.h:52
#8  0x00007f61c036650f in QByteArray::append (this=0x7fff92ecb270, ch=10 '\n') at tools/qbytearray.cpp:1660
#9  0x00007f61b5bf550a in KMime::Content::encodedContent(bool) () from /usr/lib64/libkmime.so.4
#10 0x00007f61b5bf51c2 in KMime::Content::encodedBody() () from /usr/lib64/libkmime.so.4
#11 0x00007f61b5bf5515 in KMime::Content::encodedContent(bool) () from /usr/lib64/libkmime.so.4