Bug 261938

Summary: crash when opening or trying to save attached image
Product: [Unmaintained] kmail Reporter: admin
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: dominic.schrader, robert.downing, volker
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description admin 2011-01-03 10:56:28 UTC
Application: kontact (4.4.6)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-24-generic-pae i686
Distribution: Ubuntu 10.10

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

i tried to open or save an attached image - original email was created with "X-Mailer: GeMail 2.5.0.1 (R)(6)  http://www.gemail.de"

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0xb302a730 (LWP 4403))]

Thread 3 (Thread 0xad723b70 (LWP 4412)):
#0  0xb77f3424 in __kernel_vsyscall ()
#1  0xb445c884 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5f40df4 in pthread_cond_timedwait () from /lib/libc.so.6
#3  0xb610d94f in wait (this=0xa564f4c, mutex=0xa564f48, time=30000) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0xa564f4c, mutex=0xa564f48, time=30000) at thread/qwaitcondition_unix.cpp:160
#5  0xb61015b3 in QThreadPoolThread::run (this=0xa5938f0) at concurrent/qthreadpool.cpp:140
#6  0xb610cdf9 in QThreadPrivate::start (arg=0xa5938f0) at thread/qthread_unix.cpp:266
#7  0xb4457cc9 in start_thread () from /lib/libpthread.so.0
#8  0xb5f3369e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xaae38b70 (LWP 4424)):
#0  0xb3fcee36 in clock_gettime () from /lib/librt.so.1
#1  0xb616850b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0xb623f6e5 in QTimerInfoList::updateCurrentTime (this=0xace02474) at kernel/qeventdispatcher_unix.cpp:339
#4  0xb623f72a in QTimerInfoList::timerWait (this=0xace02474, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb623d7a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xaae3809c) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb623d83d in timerSourcePrepare (source=0x0, timeout=0xb3fd2ff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb415be6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0xb415c279 in ?? () from /lib/libglib-2.0.so.0
#9  0xb415c848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0xb623d59f in QEventDispatcherGlib::processEvents (this=0xa494ae0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0xb620d609 in QEventLoop::processEvents (this=0xaae38270, flags=) at kernel/qeventloop.cpp:149
#12 0xb620da8a in QEventLoop::exec (this=0xaae38270, flags=...) at kernel/qeventloop.cpp:201
#13 0xb6109b7e in QThread::exec (this=0xaaed920) at thread/qthread.cpp:490
#14 0xb61ec35b in QInotifyFileSystemWatcherEngine::run (this=0xaaed920) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb610cdf9 in QThreadPrivate::start (arg=0xaaed920) at thread/qthread_unix.cpp:266
#16 0xb4457cc9 in start_thread () from /lib/libpthread.so.0
#17 0xb5f3369e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb302a730 (LWP 4403)):
[KCrash Handler]
#7  c_str (this=0xa9bcad8, part=0xaae8308) at ../../mimelib/mimelib/string.h:618
#8  partId (this=0xa9bcad8, part=0xaae8308) at ../../mimelib/mimelib/msgcmp.h:259
#9  partNode::findNodeForDwPart (this=0xa9bcad8, part=0xaae8308) at ../../kmail/partNode.cpp:463
#10 0xae41ebaa in partNode::findNodeForDwPart (this=0xaa98d20, part=0xaae8308) at ../../kmail/partNode.cpp:466
#11 0xae41ebaa in partNode::findNodeForDwPart (this=0xaad53f8, part=0xaae8308) at ../../kmail/partNode.cpp:466
#12 0xae250dcc in KMReaderWin::update (this=0xa204560, observable=0xaa38d90) at ../../kmail/kmreaderwin.cpp:919
#13 0xae4bf832 in KMail::ISubject::notify (this=0xaa38d90) at ../../kmail/isubject.cpp:33
#14 0xae156842 in KMMessage::updateBodyPart (this=0xaa38d20, partSpecifier=..., data=...) at ../../kmail/kmmessage.cpp:3185
#15 0xae4920ea in KMail::ImapJob::slotGetMessageResult (this=0xab1e538, job=0xa6908d8) at ../../kmail/imapjob.cpp:435
#16 0xae49445f in KMail::ImapJob::qt_metacall (this=0xab1e538, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfe53418) at ./imapjob.moc:88
#17 0xb62148ca in QMetaObject::metacall (object=0xab1e538, cl=177982168, idx=12, argv=0xbfe53418) at kernel/qmetaobject.cpp:237
#18 0xb62276ad in QMetaObject::activate (sender=0xa6908d8, m=0xb65c2b48, local_signal_index=3, argv=0xa8c5998) at kernel/qobject.cpp:3280
#19 0xb644f8a3 in KJob::result (this=0xa6908d8, _t1=0xa6908d8) at ./kjob.moc:194
#20 0xb644fc08 in KJob::emitResult (this=0xa6908d8) at ../../kdecore/jobs/kjob.cpp:312
#21 0xb5577480 in KIO::SimpleJob::slotFinished (this=0xa6908d8) at ../../kio/kio/job.cpp:522
#22 0xb5577960 in KIO::TransferJob::slotFinished (this=0xa6908d8) at ../../kio/kio/job.cpp:1111
#23 0xb5575453 in KIO::TransferJob::qt_metacall (this=0xa6908d8, _c=QMetaObject::InvokeMetaMethod, _id=47, _a=0xbfe536bc) at ./jobclasses.moc:367
#24 0xb62148ca in QMetaObject::metacall (object=0xa6908d8, cl=177982168, idx=47, argv=0xbfe536bc) at kernel/qmetaobject.cpp:237
#25 0xb62276ad in QMetaObject::activate (sender=0xa4f33e0, m=0xb5726944, local_signal_index=4, argv=0xa8c5998) at kernel/qobject.cpp:3280
#26 0xb562ffc7 in KIO::SlaveInterface::finished (this=0xa4f33e0) at ./slaveinterface.moc:171
#27 0xb5633768 in KIO::SlaveInterface::dispatch (this=0xa4f33e0, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:175
#28 0xb5630483 in KIO::SlaveInterface::dispatch (this=0xa4f33e0) at ../../kio/kio/slaveinterface.cpp:91
#29 0xb5622fe8 in KIO::Slave::gotInput (this=0xa4f33e0) at ../../kio/kio/slave.cpp:344
#30 0xb56231f3 in KIO::Slave::qt_metacall (this=0xa4f33e0, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbfe539dc) at ./slave.moc:82
#31 0xb62148ca in QMetaObject::metacall (object=0xa4f33e0, cl=177982168, idx=30, argv=0xbfe539dc) at kernel/qmetaobject.cpp:237
#32 0xb62276ad in QMetaObject::activate (sender=0xa4f3978, m=0xb5723500, local_signal_index=0, argv=0xa8c5998) at kernel/qobject.cpp:3280
#33 0xb553ce17 in KIO::Connection::readyRead (this=0xa4f3978) at ./connection.moc:92
#34 0xb553f17e in KIO::ConnectionPrivate::dequeue (this=0xa4f39e0) at ../../kio/kio/connection.cpp:82
#35 0xb553f2ae in KIO::Connection::qt_metacall (this=0xa4f3978, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xa9d5c50) at ./connection.moc:79
#36 0xb62148ca in QMetaObject::metacall (object=0xa4f3978, cl=177982168, idx=5, argv=0xa9d5c50) at kernel/qmetaobject.cpp:237
#37 0xb621fdf6 in QMetaCallEvent::placeMetaCall (this=0xa8c2930, object=0xa4f3978) at kernel/qobject.cpp:534
#38 0xb62216a2 in QObject::event (this=0xa4f3978, e=0x0) at kernel/qobject.cpp:1219
#39 0xb66f5fdc in QApplicationPrivate::notify_helper (this=0x9d2dce0, receiver=0xa4f3978, e=0xa8c2930) at kernel/qapplication.cpp:4396
#40 0xb66fc04e in QApplication::notify (this=0xbfe54334, receiver=0xa4f3978, e=0xa8c2930) at kernel/qapplication.cpp:3798
#41 0xb726b68a in KApplication::notify (this=0xbfe54334, receiver=0xa4f3978, event=0xa8c2930) at ../../kdeui/kernel/kapplication.cpp:310
#42 0xb620eb3b in QCoreApplication::notifyInternal (this=0xbfe54334, receiver=0xa4f3978, event=0xa8c2930) at kernel/qcoreapplication.cpp:732
#43 0xb6211d8b in sendEvent (receiver=0x0, event_type=0, data=0x9d06ea0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#44 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9d06ea0) at kernel/qcoreapplication.cpp:1373
#45 0xb6211f4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#46 0xb623da74 in sendPostedEvents (s=0x9d29f10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#47 postEventSourceDispatch (s=0x9d29f10) at kernel/qeventdispatcher_glib.cpp:277
#48 0xb4158855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#49 0xb415c668 in ?? () from /lib/libglib-2.0.so.0
#50 0xb415c848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#51 0xb623d565 in QEventDispatcherGlib::processEvents (this=0x9d06b60, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#52 0xb67b7be5 in QGuiEventDispatcherGlib::processEvents (this=0x9d06b60, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#53 0xb620d609 in QEventLoop::processEvents (this=0xbfe54294, flags=) at kernel/qeventloop.cpp:149
#54 0xb620da8a in QEventLoop::exec (this=0xbfe54294, flags=...) at kernel/qeventloop.cpp:201
#55 0xb621200f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#56 0xb66f4e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#57 0x0804b132 in main (argc=1, argv=0xbfe54554) at ../../../kontact/src/main.cpp:224

Reported using DrKonqi
Comment 1 Christophe Marin 2011-01-06 11:36:52 UTC
*** Bug 262235 has been marked as a duplicate of this bug. ***
Comment 2 Christophe Marin 2011-07-08 08:51:17 UTC
*** Bug 275882 has been marked as a duplicate of this bug. ***
Comment 3 Myriam Schweingruber 2012-08-19 11:04:44 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