Bug 297331 - Kmail crashed when trying saving an attachement
Summary: Kmail crashed when trying saving an attachement
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Mageia RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-02 18:08 UTC by Dimitrios Glentadakis
Modified: 2012-05-13 12:12 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (5.43 KB, text/plain)
2012-04-04 17:22 UTC, Dimitrios Glentadakis
Details
New crash information added by DrKonqi (6.34 KB, text/plain)
2012-04-05 16:04 UTC, Dimitrios Glentadakis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dimitrios Glentadakis 2012-04-02 18:08:09 UTC
Application: kmail (1.13.7)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.4
Operating System: Linux 2.6.38.8-desktop-10.mga x86_64
Distribution: "Mageia 1"

-- Information about the crash:
- What I was doing when the application crashed:
I try to save an attachement. I tried many times same result.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#6  deref (this=0x30cfff0, other=...) at ../../src/corelib/arch/qatomic_x86_64.h:133
#7  QByteArray::operator= (this=0x30cfff0, other=...) at tools/qbytearray.cpp:868
#8  0x00007fb381f95eaa in KMMessagePart::clear (this=0x30cffe8) at /usr/src/debug/kdepim-4.4.11.1/kmail/kmmsgpart.cpp:65
#9  0x00007fb381eae87a in KMMessage::bodyPart (aDwBodyPart=0x790078006f002f, aPart=0x30cffe8, withBody=true) at /usr/src/debug/kdepim-4.4.11.1/kmail/kmmessage.cpp:2670
#10 0x00007fb38210a608 in msgPart (this=0x31011d0) at /usr/src/debug/kdepim-4.4.11.1/kmail/partNode.h:103
#11 KMHandleAttachmentCommand::slotStart (this=0x31011d0) at /usr/src/debug/kdepim-4.4.11.1/kmail/kmcommands.cpp:3035
#12 0x00007fb38210ccf6 in KMHandleAttachmentCommand::qt_metacall (this=0x31011d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x31c37d0)
    at /usr/src/debug/kdepim-4.4.11.1/build/kmail/kmcommands.moc:2571
#13 0x00007fb380df38ba in QObject::event (this=0x31011d0, e=<value optimized out>) at kernel/qobject.cpp:1217
#14 0x00007fb3812ce794 in QApplicationPrivate::notify_helper (this=0x2551a50, receiver=0x31011d0, e=0x30f7390) at kernel/qapplication.cpp:4481
#15 0x00007fb3812d336a in QApplication::notify (this=<value optimized out>, receiver=0x31011d0, e=0x30f7390) at kernel/qapplication.cpp:4360
#16 0x00007fb382f87e06 in KApplication::notify (this=0x7fff85305670, receiver=0x31011d0, event=0x30f7390) at /usr/src/debug/kdelibs-4.6.5/kdeui/kernel/kapplication.cpp:311
#17 0x00007fb380ddf31c in QCoreApplication::notifyInternal (this=0x7fff85305670, receiver=0x31011d0, event=0x30f7390) at kernel/qcoreapplication.cpp:787
#18 0x00007fb380de2b25 in sendEvent (receiver=0x0, event_type=0, data=0x245a540) at kernel/qcoreapplication.h:215
#19 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x245a540) at kernel/qcoreapplication.cpp:1428
#20 0x00007fb380e0a793 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#21 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#22 0x00007fb37841edc3 in g_main_dispatch (context=0x24f3a90) at gmain.c:2440
#23 g_main_context_dispatch (context=0x24f3a90) at gmain.c:3013
#24 0x00007fb37841f5a0 in g_main_context_iterate (context=0x24f3a90, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3091
#25 0x00007fb37841f83d in g_main_context_iteration (context=0x24f3a90, may_block=1) at gmain.c:3154
#26 0x00007fb380e0a92f in QEventDispatcherGlib::processEvents (this=0x2459d50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#27 0x00007fb3813753ae in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#28 0x00007fb380dde6d2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#29 0x00007fb380dde91c in QEventLoop::exec (this=0x7fff853054a0, flags=...) at kernel/qeventloop.cpp:201
#30 0x00007fb380de2ddb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#31 0x000000000040310b in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.4.11.1/kmail/main.cpp:158

Reported using DrKonqi
Comment 1 Dimitrios Glentadakis 2012-04-03 16:25:18 UTC
After reboot i dont have the crash anymore
Comment 2 Dimitrios Glentadakis 2012-04-04 17:22:01 UTC
Created attachment 70153 [details]
New crash information added by DrKonqi

kmail (1.13.7) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.4

- What I was doing when the application crashed:

I was trying to download an attachement
I have gmail with imap

-- Backtrace (Reduced):
#6  foldCase (haystack=0x29827ca, haystackLen=<value optimized out>, haystackOffset=<value optimized out>, needle=0x1f212ba, needleLen=9, cs=<value optimized out>) at tools/qchar.cpp:1202
#7  bm_find (haystack=0x29827ca, haystackLen=<value optimized out>, haystackOffset=<value optimized out>, needle=0x1f212ba, needleLen=9, cs=<value optimized out>) at tools/qstringmatcher.cpp:100
#8  qFindStringBoyerMoore (haystack=0x29827ca, haystackLen=<value optimized out>, haystackOffset=<value optimized out>, needle=0x1f212ba, needleLen=9, cs=<value optimized out>)
    at tools/qstringmatcher.cpp:319
#9  0x00007f9c073bef5f in contains (this=0x28f34d0) at /usr/lib/qt4/include/QtCore/qstring.h:904
#10 KMail::ImapJob::slotGetNextMessage (this=0x28f34d0) at /usr/src/debug/kdepim-4.4.11.1/kmail/imapjob.cpp:311
Comment 3 Dimitrios Glentadakis 2012-04-04 17:22:59 UTC
i reopened as today i have again the crash
Comment 4 Dimitrios Glentadakis 2012-04-05 16:04:51 UTC
Created attachment 70179 [details]
New crash information added by DrKonqi

kmail (1.13.7) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.4

Same situation, crash when trying to save an attachement.
I will no provide more crash backtraces except you asked me to provide more infos

-- Backtrace (Reduced):
#6  c_str (this=0x3022700, msg=<value optimized out>, partSpecifier=<value optimized out>) at /usr/src/debug/kdepim-4.4.11.1/mimelib/mimelib/string.h:618
#7  partId (this=0x3022700, msg=<value optimized out>, partSpecifier=<value optimized out>) at /usr/src/debug/kdepim-4.4.11.1/mimelib/mimelib/msgcmp.h:259
#8  KMLoadPartsCommand::slotPartRetrieved (this=0x3022700, msg=<value optimized out>, partSpecifier=<value optimized out>) at /usr/src/debug/kdepim-4.4.11.1/kmail/kmcommands.cpp:2880
#9  0x00007f2c168d3e66 in KMLoadPartsCommand::qt_metacall (this=0x3022700, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1a14e4e0)
    at /usr/src/debug/kdepim-4.4.11.1/build/kmail/kmcommands.moc:2141
[...]
#11 0x00007f2c1690bf77 in KMail::FolderJob::messageUpdated (this=<value optimized out>, _t1=0x28019e0, _t2=<value optimized out>) at /usr/src/debug/kdepim-4.4.11.1/build/kmail/folderjob.moc:112
Comment 5 Dimitrios Glentadakis 2012-04-05 16:18:18 UTC
Until now, i had this incident only with po (translation) files
Comment 6 Dimitrios Glentadakis 2012-05-13 12:12:05 UTC
After 1 month i dont have any more this problem