Bug 274585

Summary: crash of kmail when saving a pdf attachment
Product: [Unmaintained] kmail Reporter: Dominic Hosler <dominichosler>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dominic Hosler 2011-05-31 11:31:19 UTC
Application: kmail (1.13.5)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-28-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
With the email open in the main screen I clicked on the title of a pdf attachment to download it.
Then when the pop-up window opened i chose "save as..." at which point kmail crashed.

The crash can be reproduced every time.

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

Thread 4 (Thread 0xb251fb70 (LWP 4218)):
#0  0x00ab9711 in idleTimerSourceCheck (source=0x9800f48) at kernel/qeventdispatcher_glib.cpp:218
#1  0x02140b39 in g_main_context_check () from /lib/libglib-2.0.so.0
#2  0x0214145e in ?? () from /lib/libglib-2.0.so.0
#3  0x02141848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00ab959f in QEventDispatcherGlib::processEvents (this=0x9859228, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#5  0x00a89609 in QEventLoop::processEvents (this=0xb251f220, flags=) at kernel/qeventloop.cpp:149
#6  0x00a89a8a in QEventLoop::exec (this=0xb251f220, flags=...) at kernel/qeventloop.cpp:201
#7  0x00985b7e in QThread::exec (this=0x985b380) at thread/qthread.cpp:490
#8  0x00a6835b in QInotifyFileSystemWatcherEngine::run (this=0x985b380) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00988df9 in QThreadPrivate::start (arg=0x985b380) at thread/qthread_unix.cpp:266
#10 0x00f25cc9 in start_thread (arg=0xb251fb70) at pthread_create.c:304
#11 0x023cf69e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xb1bffb70 (LWP 4219)):
#0  0x005f2416 in __kernel_vsyscall ()
#1  0x00f2a884 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236
#2  0x023dcdf4 in __pthread_cond_timedwait (cond=0xb1c0aa80, mutex=0xb1c0aa68, abstime=0xb1bff230) at forward.c:152
#3  0x0098994f in wait (this=0xb1c0a9cc, mutex=0xb1c0a9c8, time=30000) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0xb1c0a9cc, mutex=0xb1c0a9c8, time=30000) at thread/qwaitcondition_unix.cpp:160
#5  0x0097d5b3 in QThreadPoolThread::run (this=0xb1c061b8) at concurrent/qthreadpool.cpp:140
#6  0x00988df9 in QThreadPrivate::start (arg=0xb1c061b8) at thread/qthread_unix.cpp:266
#7  0x00f25cc9 in start_thread (arg=0xb1bffb70) at pthread_create.c:304
#8  0x023cf69e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb13feb70 (LWP 4220)):
#0  0x005f2416 in __kernel_vsyscall ()
#1  0x00f2a884 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236
#2  0x023dcdf4 in __pthread_cond_timedwait (cond=0xb1c0aa80, mutex=0xb1c0aa68, abstime=0xb13fe230) at forward.c:152
#3  0x0098994f in wait (this=0xb1c0a9cc, mutex=0xb1c0a9c8, time=30000) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0xb1c0a9cc, mutex=0xb1c0a9c8, time=30000) at thread/qwaitcondition_unix.cpp:160
#5  0x0097d5b3 in QThreadPoolThread::run (this=0xb1c0b388) at concurrent/qthreadpool.cpp:140
#6  0x00988df9 in QThreadPrivate::start (arg=0xb1c0b388) at thread/qthread_unix.cpp:266
#7  0x00f25cc9 in start_thread (arg=0xb13feb70) at pthread_create.c:304
#8  0x023cf69e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb77a1780 (LWP 4216)):
[KCrash Handler]
#7  deref (this=0x9c6bee8, other=...) at ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:132
#8  QByteArray::operator= (this=0x9c6bee8, other=...) at tools/qbytearray.cpp:869
#9  0x0111e26b in KMMessagePart::clear (this=0x9c6bee4) at ../../kmail/kmmsgpart.cpp:65
#10 0x00ff2b31 in KMMessage::bodyPart (aDwBodyPart=0x0, aPart=0x9c6bee4, withBody=true) at ../../kmail/kmmessage.cpp:2670
#11 0x012d0900 in msgPart (this=0x9cb2690) at ../../kmail/partNode.h:103
#12 KMHandleAttachmentCommand::slotStart (this=0x9cb2690) at ../../kmail/kmcommands.cpp:3035
#13 0x012d2f8b in KMHandleAttachmentCommand::qt_metacall (this=0x9cb2690, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x989ed88) at ./kmcommands.moc:2571
#14 0x00a908ca in QMetaObject::metacall (object=0x9cb2690, cl=160034184, idx=14, argv=0x989ed88) at kernel/qmetaobject.cpp:237
#15 0x00a9bdf6 in QMetaCallEvent::placeMetaCall (this=0x9cf8378, object=0x9cb2690) at kernel/qobject.cpp:534
#16 0x00a9d6a2 in QObject::event (this=0x9cb2690, e=0x16d6601) at kernel/qobject.cpp:1219
#17 0x06475fdc in QApplicationPrivate::notify_helper (this=0x8dbc558, receiver=0x9cb2690, e=0x9cf8378) at kernel/qapplication.cpp:4396
#18 0x0647c04e in QApplication::notify (this=0xbf811ab0, receiver=0x9cb2690, e=0x9cf8378) at kernel/qapplication.cpp:3798
#19 0x0031a82a in KApplication::notify (this=0xbf811ab0, receiver=0x9cb2690, event=0x9cf8378) at ../../kdeui/kernel/kapplication.cpp:311
#20 0x00a8ab3b in QCoreApplication::notifyInternal (this=0xbf811ab0, receiver=0x9cb2690, event=0x9cf8378) at kernel/qcoreapplication.cpp:732
#21 0x00a8dd8b in sendEvent (receiver=0x0, event_type=0, data=0x8d743a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8d743a0) at kernel/qcoreapplication.cpp:1373
#23 0x00a8df4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#24 0x00ab9a74 in sendPostedEvents (s=0x8dbed10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#25 postEventSourceDispatch (s=0x8dbed10) at kernel/qeventdispatcher_glib.cpp:277
#26 0x0213d855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#27 0x02141668 in ?? () from /lib/libglib-2.0.so.0
#28 0x02141848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#29 0x00ab9565 in QEventDispatcherGlib::processEvents (this=0x8d74080, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#30 0x06537be5 in QGuiEventDispatcherGlib::processEvents (this=0x8d74080, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00a89609 in QEventLoop::processEvents (this=0xbf811964, flags=) at kernel/qeventloop.cpp:149
#32 0x00a89a8a in QEventLoop::exec (this=0xbf811964, flags=...) at kernel/qeventloop.cpp:201
#33 0x00a8e00f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#34 0x06474e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#35 0x0804a88e in main (argc=3, argv=0xbf811c74) at ../../kmail/main.cpp:156

Reported using DrKonqi
Comment 1 Tobias Koenig 2011-06-04 12:36:17 UTC
This is about KMail1 which is not maintained any longer.
Comment 2 Christophe Marin 2011-06-06 17:53:41 UTC

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