Bug 271589 - Kmail crash while opening an attachment via IMAP
Summary: Kmail crash while opening an attachment via IMAP
Status: RESOLVED DUPLICATE of bug 194920
Alias: None
Product: kmail
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-24 00:18 UTC by Richard Weinberger
Modified: 2011-12-07 18:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (7.88 KB, text/plain)
2011-11-08 13:56 UTC, Dave Gordon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Weinberger 2011-04-24 00:18:32 UTC
Application: kmail (1.13.6)
KDE Platform Version: 4.6.00 (4.6.0) "release 6"
Qt Version: 4.7.1
Operating System: Linux 2.6.37.1-1.2-desktop x86_64
Distribution: "openSUSE 11.4 (x86_64)"

-- Information about the crash:
Kmail crashed while I was opening a attached PDF.
I reported such a bug a year ago...

Can't you fix the damn thing? Do I really have to drop Kmail?
Sorry, I'm pissed off...

The crash can be reproduced some of the time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#6  0x00007f016476a465 in memcpy () from /lib64/libc.so.6
#7  0x00007f0164fefb18 in QByteArray::realloc (this=0x1d1ee88, alloc=4) at /usr/include/bits/string3.h:52
#8  0x00007f0164fefe11 in QByteArray::operator= (this=0x1d1ee88, str=0x7f01669956c9 "7bit") at tools/qbytearray.cpp:892
#9  0x00007f0166668899 in KMMessagePart::clear (this=0x1d1ee68) at /usr/src/debug/kdepim-4.4.10/kmail/kmmsgpart.cpp:68
#10 0x00007f016658626a in KMMessage::bodyPart (aDwBodyPart=0x0, aPart=0x1d1ee68, withBody=true) at /usr/src/debug/kdepim-4.4.10/kmail/kmmessage.cpp:2670
#11 0x00007f01667c4aea in msgPart (this=0x1ceaf70) at /usr/src/debug/kdepim-4.4.10/kmail/partNode.h:103
#12 KMHandleAttachmentCommand::createAtmFileLink (this=0x1ceaf70) at /usr/src/debug/kdepim-4.4.10/kmail/kmcommands.cpp:3095
#13 0x00007f01667cabe5 in KMHandleAttachmentCommand::atmOpen (this=0x1ceaf70) at /usr/src/debug/kdepim-4.4.10/kmail/kmcommands.cpp:3158
#14 0x00007f01667d684d in KMHandleAttachmentCommand::execute (this=0x1ceaf70) at /usr/src/debug/kdepim-4.4.10/kmail/kmcommands.cpp:3059
#15 0x00007f01667d487c in KMHandleAttachmentCommand::qt_metacall (this=0x1ceaf70, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffc1a9bd40) at /usr/src/debug/kdepim-4.4.10/build/kmail/kmcommands.moc:2572
#16 0x00007f01650ebdef in QMetaObject::activate (sender=0x185a8f0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3272
#17 0x00007f01667c5fe9 in KMLoadPartsCommand::execute (this=0x185a8f0) at /usr/src/debug/kdepim-4.4.10/kmail/kmcommands.cpp:2893
#18 0x00007f01667c449e in KMLoadPartsCommand::slotPartRetrieved (this=0x185a8f0, msg=<value optimized out>, partSpecifier=<value optimized out>) at /usr/src/debug/kdepim-4.4.10/kmail/kmcommands.cpp:2888
#19 0x00007f01667d4a06 in KMLoadPartsCommand::qt_metacall (this=0x185a8f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffc1a9bf10) at /usr/src/debug/kdepim-4.4.10/build/kmail/kmcommands.moc:2141
#20 0x00007f01650ebdef in QMetaObject::activate (sender=0x1800760, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffc1a9bf10) at kernel/qobject.cpp:3272
#21 0x00007f016680f7b7 in KMail::FolderJob::messageUpdated (this=<value optimized out>, _t1=0x1b255c0, _t2=<value optimized out>) at /usr/src/debug/kdepim-4.4.10/build/kmail/folderjob.moc:112
#22 0x00007f016681bcd6 in KMail::ImapJob::slotGetMessageResult (this=0x1800760, job=<value optimized out>) at /usr/src/debug/kdepim-4.4.10/kmail/imapjob.cpp:476
#23 0x00007f016681f8db in KMail::ImapJob::qt_metacall (this=0x1800760, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffc1a9c170) at /usr/src/debug/kdepim-4.4.10/build/kmail/imapjob.moc:88
#24 0x00007f01650ebdef in QMetaObject::activate (sender=0x1a0eee0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffc1a9c170) at kernel/qobject.cpp:3272
#25 0x00007f0166ff2362 in KJob::result (this=<value optimized out>, _t1=0x1a0eee0) at /usr/src/debug/kdelibs-4.6.0/build/kdecore/kjob.moc:194
#26 0x00007f0166ff23a0 in KJob::emitResult (this=0x1a0eee0) at /usr/src/debug/kdelibs-4.6.0/kdecore/jobs/kjob.cpp:312
#27 0x00007f016168b6dd in KIO::SimpleJob::slotFinished (this=0x1a0eee0) at /usr/src/debug/kdelibs-4.6.0/kio/kio/job.cpp:525
#28 0x00007f016168bb42 in KIO::TransferJob::slotFinished (this=0x1a0eee0) at /usr/src/debug/kdelibs-4.6.0/kio/kio/job.cpp:1118
#29 0x00007f016166e841 in KIO::TransferJob::qt_metacall (this=0x1a0eee0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffc1a9c5d0) at /usr/src/debug/kdelibs-4.6.0/build/kio/jobclasses.moc:367
#30 0x00007f01650ebdef in QMetaObject::activate (sender=0xc89a60, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3272
#31 0x00007f01616a2902 in KIO::SlaveInterface::dispatch (this=<value optimized out>, _cmd=<value optimized out>, rawdata=...) at /usr/src/debug/kdelibs-4.6.0/kio/kio/slaveinterface.cpp:173
#32 0x00007f0161645c43 in KIO::SlaveInterface::dispatch (this=<value optimized out>) at /usr/src/debug/kdelibs-4.6.0/kio/kio/slaveinterface.cpp:89
#33 0x00007f0161644c36 in KIO::Slave::gotInput (this=0xc89a60) at /usr/src/debug/kdelibs-4.6.0/kio/kio/slave.cpp:348
#34 0x00007f0161649b3c in KIO::Slave::qt_metacall (this=0xc89a60, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffc1a9ca10) at /usr/src/debug/kdelibs-4.6.0/build/kio/slave.moc:82
#35 0x00007f01650ebdef in QMetaObject::activate (sender=0xc51b60, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3272
#36 0x00007f0161649917 in KIO::ConnectionPrivate::dequeue (this=0xd5ace0) at /usr/src/debug/kdelibs-4.6.0/kio/kio/connection.cpp:82
#37 0x00007f01616499cd in KIO::Connection::qt_metacall (this=0xc51b60, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x135fe10) at /usr/src/debug/kdelibs-4.6.0/build/kio/connection.moc:79
#38 0x00007f01650eaa6a in QObject::event (this=0xc51b60, e=<value optimized out>) at kernel/qobject.cpp:1211
#39 0x00007f01655d4d14 in QApplicationPrivate::notify_helper (this=0x687250, receiver=0xc51b60, e=0x1d5fd50) at kernel/qapplication.cpp:4445
#40 0x00007f01655dd22a in QApplication::notify (this=<value optimized out>, receiver=0xc51b60, e=0x1d5fd50) at kernel/qapplication.cpp:4324
#41 0x00007f016755e9e6 in KApplication::notify (this=0x7fffc1a9d620, receiver=0xc51b60, event=0x1d5fd50) at /usr/src/debug/kdelibs-4.6.0/kdeui/kernel/kapplication.cpp:311
#42 0x00007f01650d6bfc in QCoreApplication::notifyInternal (this=0x7fffc1a9d620, receiver=0xc51b60, event=0x1d5fd50) at kernel/qcoreapplication.cpp:732
#43 0x00007f01650da3f5 in sendEvent (receiver=0x0, event_type=0, data=0x60cf50) at kernel/qcoreapplication.h:215
#44 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60cf50) at kernel/qcoreapplication.cpp:1373
#45 0x00007f0165101783 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#46 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#47 0x00007f015c2ddbd3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#48 0x00007f015c2de3b0 in ?? () from /lib64/libglib-2.0.so.0
#49 0x00007f015c2de650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#50 0x00007f016510191f in QEventDispatcherGlib::processEvents (this=0x6125e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#51 0x00007f0165679d8e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#52 0x00007f01650d6052 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#53 0x00007f01650d6265 in QEventLoop::exec (this=0x7fffc1a9d450, flags=...) at kernel/qeventloop.cpp:201
#54 0x00007f01650da6ab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#55 0x00000000004033e8 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/kdepim-4.4.10/kmail/main.cpp:156

Reported using DrKonqi
Comment 1 Christophe Marin 2011-04-24 00:33:10 UTC

*** This bug has been marked as a duplicate of bug 194920 ***
Comment 2 Dave Gordon 2011-11-08 13:56:12 UTC
Created attachment 65390 [details]
New crash information added by DrKonqi

kmail (1.13.6) on KDE Platform 4.6.00 (4.6.0) "release 6" using Qt 4.7.1

- What I was doing when the application crashed:
Opening a PDF, of about 3.5MB, attached to a piece of email held on an IMAP sever.
The attachment opened (in Okular) but at the same time KMail crashed.
Sometimes repeatable, with different attachments in different pieces of email - maybe only when mail item (and attachment) haven't already been cached locally, and so have to be fetched over IMAP at the point of opening?

-- Backtrace (Reduced):
#6  memcpy () at ../sysdeps/x86_64/memcpy.S:66
#7  0x00007fdb10186b18 in QByteArray::realloc (this=0x23490e0, alloc=5) at /usr/include/bits/string3.h:52
#8  0x00007fdb10186e11 in QByteArray::operator= (this=0x23490e0, str=0x7fdb11b2c8c0 "plain") at tools/qbytearray.cpp:892
#9  0x00007fdb117ff889 in KMMessagePart::clear (this=0x23490c8) at /usr/src/debug/kdepim-4.4.10/kmail/kmmsgpart.cpp:67
#10 0x00007fdb1171d26a in KMMessage::bodyPart (aDwBodyPart=0x0, aPart=0x23490c8, withBody=true) at /usr/src/debug/kdepim-4.4.10/kmail/kmmessage.cpp:2670