Bug 250701 - knode crash on posting followup with attachment
Summary: knode crash on posting followup with attachment
Status: RESOLVED WORKSFORME
Alias: None
Product: knode
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-09 21:24 UTC by Rex Dieter
Modified: 2011-03-03 19:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (4.91 KB, text/plain)
2010-09-14 22:09 UTC, Rex Dieter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rex Dieter 2010-09-09 21:24:28 UTC
Application: knode (4.5 beta1)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.6.3
Operating System: Linux 2.6.34.6-54.fc13.x86_64 x86_64
Distribution: "Fedora release 13 (Goddard)"

-- Information about the crash:
I was attempting to post a followup on news.gmane.org  with a smallish (patch) attachment.  Tried 4 times, crash repeatable.

The crash can be reproduced every time.

-- Backtrace:
Application: KNode (knode), signal: Segmentation fault
[KCrash Handler]
#6  0x0000000002b6e89a in ?? ()
#7  0x00007f991e5866fa in KMime::Headers::Base::is(char const*) const () from /usr/lib64/libkmime.so.4
#8  0x00007f991e57e3bf in KMime::Content::removeHeader(char const*) () from /usr/lib64/libkmime.so.4
#9  0x00007f991e57e492 in KMime::Content::setHeader(KMime::Headers::Base*) () from /usr/lib64/libkmime.so.4
#10 0x00007f991e581435 in KMime::Content::addContent(KMime::Content*, bool) () from /usr/lib64/libkmime.so.4
#11 0x00007f9920e97c3f in KNAttachment::attach (this=0x2e04b70, c=0x31d1c80) at /usr/src/debug/kdepim-4.4.93/knode/knarticle.cpp:441
#12 0x00007f9920ea6599 in KNComposer::applyChanges (this=0x2aa7db0) at /usr/src/debug/kdepim-4.4.93/knode/kncomposer.cpp:810
#13 0x00007f9920ec3297 in KNArticleFactory::slotComposerDone (this=0x270d490, com=0x2aa7db0) at /usr/src/debug/kdepim-4.4.93/knode/knarticlefactory.cpp:973
#14 0x00007f9920ec3370 in KNArticleFactory::qt_metacall (this=0x270d490, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbd414070)
    at /usr/src/debug/kdepim-4.4.93/x86_64-redhat-linux-gnu/knode/knarticlefactory.moc:77
#15 0x00007f991cd64a36 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#16 0x00007f9920e9f59f in KNComposer::composerDone (this=<value optimized out>, _t1=0x2aa7db0) at /usr/src/debug/kdepim-4.4.93/x86_64-redhat-linux-gnu/knode/kncomposer.moc:187
#17 0x00007f9920ea85e9 in KNComposer::qt_metacall (this=0x2aa7db0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fffbd4141c0)
    at /usr/src/debug/kdepim-4.4.93/x86_64-redhat-linux-gnu/knode/kncomposer.moc:140
#18 0x00007f991cd64a36 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#19 0x00007f991bd01422 in QAction::triggered(bool) () from /usr/lib64/libQtGui.so.4
#20 0x00007f991bd02b5b in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQtGui.so.4
#21 0x00007f991c08d3ea in ?? () from /usr/lib64/libQtGui.so.4
#22 0x00007f991c08d69c in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQtGui.so.4
#23 0x00007f991c14889a in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQtGui.so.4
#24 0x00007f991bd5148a in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#25 0x00007f991bd0639c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#26 0x00007f991bd0ce2d in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#27 0x00007f991d4ede66 in KApplication::notify (this=0x7fffbd4157c0, receiver=0x3118960, event=0x7fffbd414b20) at /usr/src/debug/kdelibs-4.5.1/kdeui/kernel/kapplication.cpp:310
#28 0x00007f991cd51ddc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#29 0x00007f991bd0c01e in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQtGui.so.4
#30 0x00007f991bd7e155 in ?? () from /usr/lib64/libQtGui.so.4
#31 0x00007f991bd7cacc in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#32 0x00007f991bda5b92 in ?? () from /usr/lib64/libQtGui.so.4
#33 0x00007f9916c5cd02 in g_main_dispatch (context=0x2323e20) at gmain.c:1960
#34 IA__g_main_context_dispatch (context=0x2323e20) at gmain.c:2513
#35 0x00007f9916c60ae8 in g_main_context_iterate (context=0x2323e20, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2591
#36 0x00007f9916c60c9c in IA__g_main_context_iteration (context=0x2323e20, may_block=1) at gmain.c:2654
#37 0x00007f991cd77863 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#38 0x00007f991bda584e in ?? () from /usr/lib64/libQtGui.so.4
#39 0x00007f991cd50822 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#40 0x00007f991cd50aec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#41 0x00007f991cd541bb in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#42 0x0000000000407554 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.4.93/knode/main.cpp:46

Reported using DrKonqi
Comment 1 Rex Dieter 2010-09-09 21:25:34 UTC
Using kdepim/kdepim-runtime 4.4.93 here.
Comment 2 Rex Dieter 2010-09-14 22:09:26 UTC
Created attachment 51650 [details]
New crash information added by DrKonqi

knode (4.4.6) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.6.3

Boo, dowgraded to kdepim-4.4.6 , and still seeing crashes trying to make any post that includes an attachment.

-- Backtrace (Reduced):
#7  0x00007f479e0a96fa in KMime::Headers::Base::is (this=<value optimized out>, t=0x7f479e0c1691 "Content-Transfer-Encoding") at /usr/src/debug/kdepimlibs-4.5.1/kmime/kmime_headers.cpp:206
#8  0x00007f479e0a13bf in KMime::Content::removeHeader (this=0x28c9690, type=0x7f479e0c1691 "Content-Transfer-Encoding") at /usr/src/debug/kdepimlibs-4.5.1/kmime/kmime_content.cpp:712
#9  0x00007f479e0a1492 in KMime::Content::setHeader (this=0x28c9690, h=0x1e18fc0) at /usr/src/debug/kdepimlibs-4.5.1/kmime/kmime_content.cpp:692
#10 0x00007f479e0a4435 in KMime::Content::addContent (this=0x1deff10, c=0x1e0c3e0, prepend=false) at /usr/src/debug/kdepimlibs-4.5.1/kmime/kmime_content.cpp:514
#11 0x00007f47a511cab3 in KNAttachment::attach (this=0x27b5d60, c=0x1deff10) at /usr/src/debug/kdepim-4.4.6/knode/knarticle.cpp:467
Comment 3 Rex Dieter 2011-03-03 19:31:00 UTC
Can't reproduce any more since downgrade back to kdepim-4.4