Bug 194920 - kmail crashed during opening big email (cca 8MB)
Summary: kmail crashed during opening big email (cca 8MB)
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.11.3
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 212993 225460 242066 Csabi82 266374 266606 271589 276763 279242 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-01 22:17 UTC by mirek
Modified: 2012-08-19 10:58 UTC (History)
11 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (4.45 KB, text/plain)
2010-10-19 13:59 UTC, Davide Castellone
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mirek 2009-06-01 22:17:14 UTC
Version:           1.11.3 (using KDE 4.2.3)
Compiler:           gcc -v Using built-in specs. Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.3.2/work/gcc-4.3.2/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.2 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.2 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.2/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.2/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --enable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --enable-cld --enable-objc-gc --enable-languages=c,c++,java,objc,obj-c++,treelang,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.3.2 p1.1' Thread model: posix gcc version 4.3.2 (Gentoo 4.3.2 p1.1) 
OS:                Linux
Installed from:    Unlisted Binary Package

uname -ra
Linux domi 2.6.29-sabayon #1 SMP Fri Apr 24 08:20:50 UTC 2009 x86_64 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz GenuineIntel GNU/Linux

top
top - 20:14:13 up  5:00, 10 users,  load average: 1.10, 1.14, 0.93
Tasks: 220 total,   1 running, 219 sleeping,   0 stopped,   0 zombie
Cpu(s):  1.3%us,  0.7%sy,  0.0%ni, 97.9%id,  0.1%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   6061784k total,  4811116k used,  1250668k free,    52720k buffers
Swap:  8193140k total,        0k used,  8193140k free,  3714224k cached



Aplikace: KMail (kmail), signál SIGSEGV
0x00007ffbf7fecc11 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 8300)]

Thread 2 (Thread 0x4237a950 (LWP 8425)):
#0  0x00007ffbf80167a2 in select () from /lib/libc.so.6
#1  0x00007ffbf9db2a76 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007ffbf9cfa959 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007ffbf9a8a037 in start_thread () from /lib/libpthread.so.0
#4  0x00007ffbf801d03d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffbfde43780 (LWP 8300)):
[KCrash Handler]
#5  0x00007ffbfcdc972c in ?? () from /usr/kde/4.2/lib64/libkmailprivate.so.4
#6  0x00007ffbfceab19c in KMHandleAttachmentCommand::createAtmFileLink () from /usr/kde/4.2/lib64/libkmailprivate.so.4
#7  0x00007ffbfceab71d in KMHandleAttachmentCommand::atmOpen () from /usr/kde/4.2/lib64/libkmailprivate.so.4
#8  0x00007ffbfceb572c in KMHandleAttachmentCommand::execute () from /usr/kde/4.2/lib64/libkmailprivate.so.4
#9  0x00007ffbfcebb3ea in KMHandleAttachmentCommand::qt_metacall () from /usr/kde/4.2/lib64/libkmailprivate.so.4
#10 0x00007ffbf9de1b2d in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4
#11 0x00007ffbfcea9689 in KMLoadPartsCommand::execute () from /usr/kde/4.2/lib64/libkmailprivate.so.4
#12 0x00007ffbfceabd96 in KMLoadPartsCommand::slotPartRetrieved () from /usr/kde/4.2/lib64/libkmailprivate.so.4
#13 0x00007ffbfcebb4cf in KMLoadPartsCommand::qt_metacall () from /usr/kde/4.2/lib64/libkmailprivate.so.4
#14 0x00007ffbf9de1b2d in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4
#15 0x00007ffbfcee343f in ?? () from /usr/kde/4.2/lib64/libkmailprivate.so.4
#16 0x00007ffbfceea452 in ?? () from /usr/kde/4.2/lib64/libkmailprivate.so.4
#17 0x00007ffbfceeac3a in ?? () from /usr/kde/4.2/lib64/libkmailprivate.so.4
#18 0x00007ffbf9de1b2d in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4
#19 0x00007ffbfd419296 in KJob::result () from /usr/kde/4.2/lib64/libkdecore.so.5
#20 0x00007ffbfd4195c3 in KJob::emitResult () from /usr/kde/4.2/lib64/libkdecore.so.5
#21 0x00007ffbfa626a2c in KIO::SimpleJob::slotFinished () from /usr/kde/4.2/lib64/libkio.so.5
#22 0x00007ffbfa626d05 in KIO::TransferJob::slotFinished () from /usr/kde/4.2/lib64/libkio.so.5
#23 0x00007ffbfa62b83d in KIO::TransferJob::qt_metacall () from /usr/kde/4.2/lib64/libkio.so.5
#24 0x00007ffbf9de1b2d in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007ffbfa695b05 in KIO::SlaveInterface::dispatch () from /usr/kde/4.2/lib64/libkio.so.5
#26 0x00007ffbfa6964aa in KIO::SlaveInterface::dispatch () from /usr/kde/4.2/lib64/libkio.so.5
#27 0x00007ffbfa68ba68 in KIO::Slave::gotInput () from /usr/kde/4.2/lib64/libkio.so.5
#28 0x00007ffbfa68cb5d in KIO::Slave::qt_metacall () from /usr/kde/4.2/lib64/libkio.so.5
#29 0x00007ffbf9de1b2d in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4
#30 0x00007ffbfa6093b1 in ?? () from /usr/kde/4.2/lib64/libkio.so.5
#31 0x00007ffbfa609fe3 in KIO::Connection::qt_metacall () from /usr/kde/4.2/lib64/libkio.so.5
#32 0x00007ffbf9dde4a1 in QObject::event () from /usr/lib64/qt4/libQtCore.so.4
#33 0x00007ffbf8be6a1d in QApplicationPrivate::notify_helper () from /usr/lib64/qt4/libQtGui.so.4
#34 0x00007ffbf8bef44a in QApplication::notify () from /usr/lib64/qt4/libQtGui.so.4
#35 0x00007ffbfd8f9ade in KApplication::notify () from /usr/kde/4.2/lib64/libkdeui.so.5
#36 0x00007ffbf9dcf5bc in QCoreApplication::notifyInternal () from /usr/lib64/qt4/libQtCore.so.4
#37 0x00007ffbf9dcff17 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib64/qt4/libQtCore.so.4
#38 0x00007ffbf9df5003 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#39 0x00007ffbf15326c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#40 0x00007ffbf153449e in ?? () from /usr/lib/libglib-2.0.so.0
#41 0x00007ffbf153457e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#42 0x00007ffbf9df4c9f in QEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#43 0x00007ffbf8c6d3bf in ?? () from /usr/lib64/qt4/libQtGui.so.4
#44 0x00007ffbf9dcdf62 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#45 0x00007ffbf9dce0f5 in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#46 0x00007ffbf8fbbc17 in QMenu::exec () from /usr/lib64/qt4/libQtGui.so.4
#47 0x00007ffbfcf8a66d in ?? () from /usr/kde/4.2/lib64/libkmailprivate.so.4
#48 0x00007ffbfcfbdfbf in ?? () from /usr/kde/4.2/lib64/libkmailprivate.so.4
#49 0x00007ffbf8c3461c in QWidget::event () from /usr/lib64/qt4/libQtGui.so.4
#50 0x00007ffbf8f7cafb in QFrame::event () from /usr/lib64/qt4/libQtGui.so.4
#51 0x00007ffbf9093b8d in QAbstractItemView::viewportEvent () from /usr/lib64/qt4/libQtGui.so.4
#52 0x00007ffbf90c9953 in QTreeView::viewportEvent () from /usr/lib64/qt4/libQtGui.so.4
#53 0x00007ffbf9dce8e8 in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib64/qt4/libQtCore.so.4
#54 0x00007ffbf8be69ec in QApplicationPrivate::notify_helper () from /usr/lib64/qt4/libQtGui.so.4
#55 0x00007ffbf8befba9 in QApplication::notify () from /usr/lib64/qt4/libQtGui.so.4
#56 0x00007ffbfd8f9ade in KApplication::notify () from /usr/kde/4.2/lib64/libkdeui.so.5
#57 0x00007ffbf9dcf5bc in QCoreApplication::notifyInternal () from /usr/lib64/qt4/libQtCore.so.4
#58 0x00007ffbf8beee58 in QApplicationPrivate::sendMouseEvent () from /usr/lib64/qt4/libQtGui.so.4
#59 0x00007ffbf8c49f6c in ?? () from /usr/lib64/qt4/libQtGui.so.4
#60 0x00007ffbf8c48aa5 in QApplication::x11ProcessEvent () from /usr/lib64/qt4/libQtGui.so.4
#61 0x00007ffbf8c6db04 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#62 0x00007ffbf15326c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#63 0x00007ffbf153449e in ?? () from /usr/lib/libglib-2.0.so.0
#64 0x00007ffbf153457e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#65 0x00007ffbf9df4c9f in QEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#66 0x00007ffbf8c6d3bf in ?? () from /usr/lib64/qt4/libQtGui.so.4
#67 0x00007ffbf9dcdf62 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#68 0x00007ffbf9dce0f5 in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#69 0x00007ffbf9dd01bc in QCoreApplication::exec () from /usr/lib64/qt4/libQtCore.so.4
#70 0x0000000000403493 in _start ()
Comment 1 Martin Koller 2009-09-27 22:05:08 UTC
Please try to reproduce with current 4.3.1.
If this still happens, please attach the mail here.
Also, install the debug packages on your system so that the backtrace shows us also the line numbers, and attach a new backtrace here.
See also http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Thanks.
Comment 2 Christophe Marin 2009-11-04 18:23:20 UTC
BT from bug 212993:

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#6  KMMessagePart::contentTransferEncoding (this=0x937b404) at
../../kmail/kmmsgpart.cpp:392
#7  0xb45f9dfd in KMMessagePart::cte (this=0x937b404) at
../../kmail/kmmsgpart.h:157
#8  KMMessagePart::bodyDecodedBinary (this=0x937b404) at
../../kmail/kmmsgpart.cpp:255
#9  0xb47af7ff in KMHandleAttachmentCommand::createAtmFileLink (this=0xa3c6df8)
at ../../kmail/kmcommands.cpp:2976
#10 0xb47b1cd4 in KMHandleAttachmentCommand::atmOpen (this=0xa3c6df8) at
../../kmail/kmcommands.cpp:3039
#11 0xb47b2260 in KMHandleAttachmentCommand::execute (this=0xa3c6df8) at
../../kmail/kmcommands.cpp:2940
#12 0xb47b01d0 in KMHandleAttachmentCommand::slotStart (this=0xa3c6df8) at
../../kmail/kmcommands.cpp:2926
#13 0xb479d29b in KMHandleAttachmentCommand::qt_metacall (this=0xa3c6df8,
_c=QMetaObject::InvokeMetaMethod, _id=14, _a=0xbffa178c) at
./kmcommands.moc:2240
#14 0x00b74263 in QMetaObject::activate (sender=0xa3c63e0, from_signal_index=4,
to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#15 0x00b74ec2 in QMetaObject::activate (sender=0xa3c63e0, m=0xc4e908,
local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#16 0x00b79387 in QSingleShotTimer::timeout (this=0xa3c63e0) at
.moc/release-shared/qtimer.moc:76
#17 0x00b7949c in QSingleShotTimer::timerEvent (this=0xa3c63e0) at
kernel/qtimer.cpp:298
#18 0x00b6e3bf in QObject::event (this=0xa3c63e0, e=0xbffa1c20) at
kernel/qobject.cpp:1075
#19 0x010e7f54 in QApplicationPrivate::notify_helper (this=0x90a9c50,
receiver=0xa3c63e0, e=0xbffa1c20) at kernel/qapplication.cpp:4056
#20 0x010ef67c in QApplication::notify (this=0xbffa1f84, receiver=0xa3c63e0,
e=0xbffa1c20) at kernel/qapplication.cpp:3603
#21 0x002e2bfa in KApplication::notify (this=0xbffa1f84, receiver=0xa3c63e0,
event=0xbffa1c20) at ../../kdeui/kernel/kapplication.cpp:302
#22 0x00b5e6cb in QCoreApplication::notifyInternal (this=0xbffa1f84,
receiver=0xa3c63e0, event=0xbffa1c20) at kernel/qcoreapplication.cpp:610
#23 0x00b8b7ce in QCoreApplication::sendEvent (this=0x90a2d44) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#24 QTimerInfoList::activateTimers (this=0x90a2d44) at
kernel/qeventdispatcher_unix.cpp:572
#25 0x00b890e0 in timerSourceDispatch (source=0x90a2d10) at
kernel/qeventdispatcher_glib.cpp:165
#26 0x07f15e78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#27 0x07f19720 in ?? () from /lib/libglib-2.0.so.0
#28 0x07f19853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#29 0x00b8902c in QEventDispatcherGlib::processEvents (this=0x90819f8,
flags=...) at kernel/qeventdispatcher_glib.cpp:327
#30 0x01188be5 in QGuiEventDispatcherGlib::processEvents (this=0x90819f8,
flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#31 0x00b5cc79 in QEventLoop::processEvents (this=0xbffa1ee4, flags=) at
kernel/qeventloop.cpp:149
#32 0x00b5d0ca in QEventLoop::exec (this=0xbffa1ee4, flags=...) at
kernel/qeventloop.cpp:201
#33 0x00b5f53f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#34 0x010e7dd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#35 0x0804b4e6 in main (argc=1, argv=0xbffa21a4) at
../../../kontact/src/main.cpp:218
Comment 3 Christophe Marin 2009-11-04 18:23:27 UTC
*** Bug 212993 has been marked as a duplicate of this bug. ***
Comment 4 Dario Andres 2010-02-05 15:17:31 UTC
From bug 225460:
---
I had already previously opened the message and its attachment earlier in the
day.  When I went to do so again, I didn't leave much time between opening the
email and opening its attachment, so it may not have had time to load fully.

#6  0x00c10fdb in strlen () from /lib/libc.so.6
#7  0x02f47968 in DwString::DwString (this=0xbfae2b60, aCstr=0x958bffff
<Address 0x958bffff out of bounds>) at
/usr/src/debug/kdepim-4.3.4/mimelib/dwstring.cpp:402
#8  0xb468aa02 in KMMessagePart::contentTransferEncoding (this=0xb050534) at
/usr/src/debug/kdepim-4.3.4/kmail/kmmsgpart.cpp:392
#9  0xb468ca0d in KMMessagePart::cte (this=<value optimized out>) at
/usr/src/debug/kdepim-4.3.4/kmail/kmmsgpart.h:157
#10 KMMessagePart::bodyDecodedBinary (this=<value optimized out>) at
/usr/src/debug/kdepim-4.3.4/kmail/kmmsgpart.cpp:255
#11 0xb4842f3f in KMHandleAttachmentCommand::createAtmFileLink (this=0xb607720)
at /usr/src/debug/kdepim-4.3.4/kmail/kmcommands.cpp:2977
#12 0xb4845164 in KMHandleAttachmentCommand::atmOpen (this=0xb607720) at
/usr/src/debug/kdepim-4.3.4/kmail/kmcommands.cpp:3040
#13 0xb48456f0 in KMHandleAttachmentCommand::execute (this=0xb607720) at
/usr/src/debug/kdepim-4.3.4/kmail/kmcommands.cpp:2941
#14 0xb4842cd0 in KMHandleAttachmentCommand::slotStart (this=0xb607720) at
/usr/src/debug/kdepim-4.3.4/kmail/kmcommands.cpp:2927
...
Comment 5 Dario Andres 2010-02-05 15:17:34 UTC
*** Bug 225460 has been marked as a duplicate of this bug. ***
Comment 6 Christophe Marin 2010-06-19 11:21:56 UTC
*** Bug 242066 has been marked as a duplicate of this bug. ***
Comment 7 Davide Castellone 2010-10-19 13:59:25 UTC
Created attachment 52677 [details]
New crash information added by DrKonqi

kontact (4.4.6) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:
Clicked on an attachment (IMAP protocol) to open it

- Unusual behavior I noticed:
Kontact crashed

-- Backtrace (Reduced):
#8  0x03d13488 in DwString::DwString (this=0xbfcf95b0, aCstr=0xa6005b38 <Address 0xa6005b38 out of bounds>) at ../../mimelib/dwstring.cpp:402
#9  0xb2521ce2 in KMMessagePart::contentTransferEncoding (this=0x9a882b4) at ../../kmail/kmmsgpart.cpp:390
#10 0xb2523d7d in cte (this=0x9a882b4) at ../../kmail/kmmsgpart.h:157
#11 KMMessagePart::bodyDecodedBinary (this=0x9a882b4) at ../../kmail/kmmsgpart.cpp:256
#12 0xb26d4c46 in KMHandleAttachmentCommand::createAtmFileLink (this=0x9a309b0) at ../../kmail/kmcommands.cpp:3094
Comment 8 Christophe Marin 2011-02-14 15:49:30 UTC
*** Bug 257021 has been marked as a duplicate of this bug. ***
Comment 9 Christophe Marin 2011-02-15 14:23:09 UTC
*** Bug 266374 has been marked as a duplicate of this bug. ***
Comment 10 Christophe Marin 2011-02-19 17:40:10 UTC
*** Bug 266606 has been marked as a duplicate of this bug. ***
Comment 11 Christophe Marin 2011-04-24 00:33:10 UTC
*** Bug 271589 has been marked as a duplicate of this bug. ***
Comment 12 Christophe Marin 2011-07-08 08:58:11 UTC
*** Bug 276763 has been marked as a duplicate of this bug. ***
Comment 13 Christophe Marin 2011-08-03 09:42:23 UTC
*** Bug 279242 has been marked as a duplicate of this bug. ***
Comment 14 Myriam Schweingruber 2012-08-19 10:58:13 UTC
Thank you for your report. Kmail1 is currently unmaintained and the code has changed sufficiently in Kmail2 so the backtraces are not really useful anymore. Should you experience the same crash in Kmail 4.8.5 or later, please open a new report for Kmail2. Thank you for your understanding