Bug 279242

Summary: Kmail crashed when opening two jpg attachments in a row
Product: [Unmaintained] kmail Reporter: Filipe <piovisqui>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: montel
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Filipe 2011-08-03 02:19:31 UTC
Application: kmail (1.13.6)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-10-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:

Kmail crashed when opening two jpg attachments in a row
Third time that I report a bug like this :(.
 A complete backtrace for you.

By the way, doesn't kmail store imap attachments on the computer? Every time I request to open an attachment, it downloads it again!

The crash can be reproduced some of the time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f275acba840 (LWP 3463))]

Thread 3 (Thread 0x7f2737fff700 (LWP 3480)):
#0  0x00007f2757c11f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f274fb18104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f274fb189f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2746d49c44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f274fb3f3e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f27557ced8c in start_thread (arg=0x7f2737fff700) at pthread_create.c:304
#6  0x00007f2757c1f04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2731f4b700 (LWP 3840)):
#0  0x00007f2757c11f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f274fb18104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f274fb18639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f275856f446 in QEventDispatcherGlib::processEvents (this=0x12712c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f2758543882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f2758543abc in QEventLoop::exec (this=0x7f2731f4ad10, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f275845a924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f2758525c2f in QInotifyFileSystemWatcherEngine::run (this=0x1270640) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f275845d175 in QThreadPrivate::start (arg=0x1270640) at thread/qthread_unix.cpp:320
#9  0x00007f27557ced8c in start_thread (arg=0x7f2731f4b700) at pthread_create.c:304
#10 0x00007f2757c1f04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f275acba840 (LWP 3463)):
[KCrash Handler]
#6  0x00007f27596f7e5c in KMMessagePart::type (this=<value optimized out>) at ../../kmail/kmmsgpart.cpp:334
#7  0x00007f275985b809 in KMHandleAttachmentCommand::createAtmFileLink (this=0x187f380) at ../../kmail/kmcommands.cpp:3096
#8  0x00007f2759861d7e in KMHandleAttachmentCommand::atmOpen (this=0x187f380) at ../../kmail/kmcommands.cpp:3158
#9  0x00007f275986cd85 in KMHandleAttachmentCommand::execute (this=0x187f380) at ../../kmail/kmcommands.cpp:3059
#10 0x00007f275986ef8c in KMHandleAttachmentCommand::qt_metacall (this=0x187f380, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd3488f40) at ./kmcommands.moc:2572
#11 0x00007f27585595f8 in QMetaObject::activate (sender=0x193f130, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#12 0x00007f275985d039 in KMLoadPartsCommand::execute (this=0x193f130) at ../../kmail/kmcommands.cpp:2893
#13 0x00007f275985b51e in KMLoadPartsCommand::slotPartRetrieved (this=0x193f130, msg=<value optimized out>, partSpecifier=<value optimized out>) at ../../kmail/kmcommands.cpp:2888
#14 0x00007f275986f116 in KMLoadPartsCommand::qt_metacall (this=0x193f130, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd3489100) at ./kmcommands.moc:2141
#15 0x00007f27585595f8 in QMetaObject::activate (sender=0x194d4c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffd3489100) at kernel/qobject.cpp:3287
#16 0x00007f27598a7af7 in KMail::FolderJob::messageUpdated (this=<value optimized out>, _t1=0x18be5e0, _t2=<value optimized out>) at ./folderjob.moc:112
#17 0x00007f27598b3f65 in KMail::ImapJob::slotGetMessageResult (this=0x194d4c0, job=<value optimized out>) at ../../kmail/imapjob.cpp:476
#18 0x00007f27598b803b in KMail::ImapJob::qt_metacall (this=0x194d4c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd3489350) at ./imapjob.moc:88
#19 0x00007f27585595f8 in QMetaObject::activate (sender=0x122fcd0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffd3489350) at kernel/qobject.cpp:3287
#20 0x00007f275a10dd32 in KJob::result (this=<value optimized out>, _t1=0x122fcd0) at ./kjob.moc:194
#21 0x00007f275a10dd70 in KJob::emitResult (this=0x122fcd0) at ../../kdecore/jobs/kjob.cpp:312
#22 0x00007f27551bb28b in KIO::SimpleJob::slotFinished (this=0x122fcd0) at ../../kio/kio/job.cpp:525
#23 0x00007f27551c0312 in KIO::TransferJob::slotFinished (this=0x122fcd0) at ../../kio/kio/job.cpp:1120
#24 0x00007f27551c3861 in KIO::TransferJob::qt_metacall (this=0x122fcd0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd3489760) at ./jobclasses.moc:367
#25 0x00007f27585595f8 in QMetaObject::activate (sender=0x10a5f10, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#26 0x00007f2755261791 in KIO::SlaveInterface::dispatch (this=<value optimized out>, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:173
#27 0x00007f275525e715 in KIO::SlaveInterface::dispatch (this=0x10a5f10) at ../../kio/kio/slaveinterface.cpp:89
#28 0x00007f27552520be in KIO::Slave::gotInput (this=0x10a5f10) at ../../kio/kio/slave.cpp:348
#29 0x00007f275525270c in KIO::Slave::qt_metacall (this=0x10a5f10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd3489b70) at ./slave.moc:82
#30 0x00007f27585595f8 in QMetaObject::activate (sender=0xbb41b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#31 0x00007f275518c597 in KIO::ConnectionPrivate::dequeue (this=0x109d640) at ../../kio/kio/connection.cpp:82
#32 0x00007f275518c63d in KIO::Connection::qt_metacall (this=0xbb41b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x16a6ba0) at ./connection.moc:79
#33 0x00007f275855849a in QObject::event (this=0xbb41b0, e=<value optimized out>) at kernel/qobject.cpp:1226
#34 0x00007f2758a329f4 in QApplicationPrivate::notify_helper (this=0x8e5dc0, receiver=0xbb41b0, e=0x18f62a0) at kernel/qapplication.cpp:4462
#35 0x00007f2758a373ba in QApplication::notify (this=<value optimized out>, receiver=0xbb41b0, e=0x18f62a0) at kernel/qapplication.cpp:4341
#36 0x00007f275a6e36c6 in KApplication::notify (this=0x7fffd348a710, receiver=0xbb41b0, event=0x18f62a0) at ../../kdeui/kernel/kapplication.cpp:311
#37 0x00007f275854449c in QCoreApplication::notifyInternal (this=0x7fffd348a710, receiver=0xbb41b0, event=0x18f62a0) at kernel/qcoreapplication.cpp:731
#38 0x00007f2758547c25 in sendEvent (receiver=0x0, event_type=0, data=0x83fb30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#39 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x83fb30) at kernel/qcoreapplication.cpp:1372
#40 0x00007f275856f253 in sendPostedEvents (s=0x8db370) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#41 postEventSourceDispatch (s=0x8db370) at kernel/qeventdispatcher_glib.cpp:277
#42 0x00007f274fb17bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007f274fb183a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007f274fb18639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007f275856f3ef in QEventDispatcherGlib::processEvents (this=0x83f310, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#46 0x00007f2758adc4de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x00007f2758543882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#48 0x00007f2758543abc in QEventLoop::exec (this=0x7fffd348a550, flags=...) at kernel/qeventloop.cpp:201
#49 0x00007f2758547ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#50 0x0000000000403175 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:158

Reported using DrKonqi
Comment 1 Laurent Montel 2011-08-03 07:57:03 UTC
kmail1
Comment 2 Christophe Marin 2011-08-03 09:42:23 UTC

*** This bug has been marked as a duplicate of bug 194920 ***