Bug 252547

Summary: Kontact crashes on opening large file
Product: [Applications] kontact Reporter: flo.w.121at
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.4.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description flo.w.121at 2010-09-27 15:12:50 UTC
Application: kontact (4.4.5)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-24-generic i686
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
Kontact crashed after opening a video file from an imap account.

While downloading the attachment I switched to my second IMAP Inbox for reading mails

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

Thread 6 (Thread 0xb14d3b70 (LWP 19496)):
#0  0x0610296f in g_main_context_prepare () from /lib/libglib-2.0.so.0
#1  0x06102ee9 in ?? () from /lib/libglib-2.0.so.0
#2  0x061034b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00bf3e6f in QEventDispatcherGlib::processEvents (this=0x97a8510, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00bc6759 in QEventLoop::processEvents (this=0xb14d3270, flags=) at kernel/qeventloop.cpp:149
#5  0x00bc6baa in QEventLoop::exec (this=0xb14d3270, flags=...) at kernel/qeventloop.cpp:201
#6  0x00ac7fc9 in QThread::exec (this=0x9860b58) at thread/qthread.cpp:487
#7  0x00ba61db in QInotifyFileSystemWatcherEngine::run (this=0x9860b58) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00aca97e in QThreadPrivate::start (arg=0x9860b58) at thread/qthread_unix.cpp:248
#9  0x0115596e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0x008e2a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xb0cc7b70 (LWP 19497)):
#0  0x007bb422 in __kernel_vsyscall ()
#1  0x0115a015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x008ef9dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x00acb997 in QWaitConditionPrivate::wait (this=0x94ee780, mutex=0x93731f8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x94ee780, mutex=0x93731f8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x024c4870 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x94ee768, th=0x9766410) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x024c738c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9457ad0, th=0x9766410) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x024c327b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x94ee768, th=0x9766410) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x024c7482 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9457ad0, th=0x9766410) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x024c44d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x94ee768, th=0x9766410, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x024c74a1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9457ad0, th=0x9766410) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x024c44d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x94ee768, th=0x9766410, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x024c74a1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9457ad0, th=0x9766410) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#13 0x024c44d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x94ee768, th=0x9766410, previous=0x9c01378) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#14 0x024c551e in ThreadWeaver::ThreadRunHelper::run (this=0xb0cc72d4, parent=0x94ee768, th=0x9766410) at ../../../threadweaver/Weaver/Thread.cpp:87
#15 0x024c5c3b in ThreadWeaver::Thread::run (this=0x9766410) at ../../../threadweaver/Weaver/Thread.cpp:142
#16 0x00aca97e in QThreadPrivate::start (arg=0x9766410) at thread/qthread_unix.cpp:248
#17 0x0115596e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#18 0x008e2a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xb4279b70 (LWP 19509)):
#0  0x007bb422 in __kernel_vsyscall ()
#1  0x0115a015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x008ef9dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x00acb997 in QWaitConditionPrivate::wait (this=0x94ee780, mutex=0x93731f8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x94ee780, mutex=0x93731f8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x024c4870 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x94ee768, th=0x99edde8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x024c738c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9457ad0, th=0x99edde8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x024c327b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x94ee768, th=0x99edde8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x024c7482 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9457ad0, th=0x99edde8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x024c44d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x94ee768, th=0x99edde8, previous=0x9edadd8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x024c551e in ThreadWeaver::ThreadRunHelper::run (this=0xb42792d4, parent=0x94ee768, th=0x99edde8) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x024c5c3b in ThreadWeaver::Thread::run (this=0x99edde8) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x00aca97e in QThreadPrivate::start (arg=0x99edde8) at thread/qthread_unix.cpp:248
#13 0x0115596e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0x008e2a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xb3a78b70 (LWP 19519)):
#0  0x007bb422 in __kernel_vsyscall ()
#1  0x0115a015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x008ef9dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x00acb997 in QWaitConditionPrivate::wait (this=0x94ee780, mutex=0x93731f8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x94ee780, mutex=0x93731f8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x024c4870 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x94ee768, th=0x9c03190) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x024c738c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9457ad0, th=0x9c03190) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x024c327b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x94ee768, th=0x9c03190) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x024c7482 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9457ad0, th=0x9c03190) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x024c44d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x94ee768, th=0x9c03190, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x024c74a1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9457ad0, th=0x9c03190) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x024c44d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x94ee768, th=0x9c03190, previous=0x94450d8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x024c551e in ThreadWeaver::ThreadRunHelper::run (this=0xb3a782d4, parent=0x94ee768, th=0x9c03190) at ../../../threadweaver/Weaver/Thread.cpp:87
#13 0x024c5c3b in ThreadWeaver::Thread::run (this=0x9c03190) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0x00aca97e in QThreadPrivate::start (arg=0x9c03190) at thread/qthread_unix.cpp:248
#15 0x0115596e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0x008e2a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb04c5b70 (LWP 19548)):
#0  0x007bb422 in __kernel_vsyscall ()
#1  0x0115a015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x008ef9dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x00acb997 in QWaitConditionPrivate::wait (this=0x94ee780, mutex=0x93731f8, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x94ee780, mutex=0x93731f8, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x024c4870 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x94ee768, th=0x9df9a00) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x024c738c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9457ad0, th=0x9df9a00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x024c327b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x94ee768, th=0x9df9a00) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x024c7482 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9457ad0, th=0x9df9a00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x024c44d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x94ee768, th=0x9df9a00, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x024c74a1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9457ad0, th=0x9df9a00) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x024c44d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x94ee768, th=0x9df9a00, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x024c551e in ThreadWeaver::ThreadRunHelper::run (this=0xb04c52d4, parent=0x94ee768, th=0x9df9a00) at ../../../threadweaver/Weaver/Thread.cpp:87
#13 0x024c5c3b in ThreadWeaver::Thread::run (this=0x9df9a00) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0x00aca97e in QThreadPrivate::start (arg=0x9df9a00) at thread/qthread_unix.cpp:248
#15 0x0115596e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0x008e2a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7804990 (LWP 19477)):
[KCrash Handler]
#6  0xb47a014e in DwString::c_str (this=0x9f9c8b0, msg=0xa05b9f0, partSpecifier=...) at ../../mimelib/mimelib/string.h:618
#7  DwMessageComponent::partId (this=0x9f9c8b0, msg=0xa05b9f0, partSpecifier=...) at ../../mimelib/mimelib/msgcmp.h:259
#8  KMLoadPartsCommand::slotPartRetrieved (this=0x9f9c8b0, msg=0xa05b9f0, partSpecifier=...) at ../../kmail/kmcommands.cpp:2872
#9  0xb47a36db in KMLoadPartsCommand::qt_metacall (this=0x9f9c8b0, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0xbf8f19a4) at ./kmcommands.moc:2141
#10 0x00bcd47a in QMetaObject::metacall (object=0x9f9c8b0, cl=164877136, idx=14, argv=0xbf8f19a4) at kernel/qmetaobject.cpp:237
#11 0x00bdbfbb in QMetaObject::activate (sender=0x97761a0, m=0xb4b940b0, local_signal_index=1, argv=0xbf8f19a4) at kernel/qobject.cpp:3295
#12 0xb47f3449 in KMail::FolderJob::messageUpdated (this=0x97761a0, _t1=0xa05b9f0, _t2=...) at ./folderjob.moc:112
#13 0xb4800443 in KMail::ImapJob::slotGetMessageResult (this=0x97761a0, job=0x9946b18) at ../../kmail/imapjob.cpp:476
#14 0xb480225f in KMail::ImapJob::qt_metacall (this=0x97761a0, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbf8f1b58) at ./imapjob.moc:88
#15 0x00bcd47a in QMetaObject::metacall (object=0x97761a0, cl=164877136, idx=12, argv=0xbf8f1b58) at kernel/qmetaobject.cpp:237
#16 0x00bdbfbb in QMetaObject::activate (sender=0x9946b18, m=0x68dc88, local_signal_index=3, argv=0xbf8f1b58) at kernel/qobject.cpp:3295
#17 0x0051f1e3 in KJob::result (this=0x9946b18, _t1=0x9946b18) at ./kjob.moc:194
#18 0x0051f548 in KJob::emitResult (this=0x9946b18) at ../../kdecore/jobs/kjob.cpp:312
#19 0x03950c60 in KIO::SimpleJob::slotFinished (this=0x9946b18) at ../../kio/kio/job.cpp:517
#20 0x039516a0 in KIO::TransferJob::slotFinished (this=0x9946b18) at ../../kio/kio/job.cpp:1097
#21 0x0394eac3 in KIO::TransferJob::qt_metacall (this=0x9946b18, _c=QMetaObject::InvokeMetaMethod, _id=47, _a=0xbf8f1dec) at ./jobclasses.moc:367
#22 0x00bcd47a in QMetaObject::metacall (object=0x9946b18, cl=164877136, idx=47, argv=0xbf8f1dec) at kernel/qmetaobject.cpp:237
#23 0x00bdbfbb in QMetaObject::activate (sender=0x95d61a8, m=0x3afff44, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3295
#24 0x03a1b2a7 in KIO::SlaveInterface::finished (this=0x95d61a8) at ./slaveinterface.moc:171
#25 0x03a1e5cd in KIO::SlaveInterface::dispatch (this=0x95d61a8, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:175
#26 0x03a1b763 in KIO::SlaveInterface::dispatch (this=0x95d61a8) at ../../kio/kio/slaveinterface.cpp:91
#27 0x03a0ec28 in KIO::Slave::gotInput (this=0x95d61a8) at ../../kio/kio/slave.cpp:324
#28 0x03a0ee33 in KIO::Slave::qt_metacall (this=0x95d61a8, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbf8f20fc) at ./slave.moc:82
#29 0x00bcd47a in QMetaObject::metacall (object=0x95d61a8, cl=164877136, idx=30, argv=0xbf8f20fc) at kernel/qmetaobject.cpp:237
#30 0x00bdbfbb in QMetaObject::activate (sender=0x95d9e70, m=0x3afc820, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3295
#31 0x03918bd7 in KIO::Connection::readyRead (this=0x95d9e70) at ./connection.moc:92
#32 0x0391af8e in KIO::ConnectionPrivate::dequeue (this=0x95da0a0) at ../../kio/kio/connection.cpp:82
#33 0x0391b0be in KIO::Connection::qt_metacall (this=0x95d9e70, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x99dfe48) at ./connection.moc:79
#34 0x00bcd47a in QMetaObject::metacall (object=0x95d9e70, cl=164877136, idx=5, argv=0x99dfe48) at kernel/qmetaobject.cpp:237
#35 0x00bd7b46 in QMetaCallEvent::placeMetaCall (this=0x97ae810, object=0x95d9e70) at kernel/qobject.cpp:561
#36 0x00bd8c0e in QObject::event (this=0x95d9e70, e=0x97ae810) at kernel/qobject.cpp:1248
#37 0x015d9e8c in QApplicationPrivate::notify_helper (this=0x8f543a8, receiver=0x95d9e70, e=0x97ae810) at kernel/qapplication.cpp:4302
#38 0x015e0a0e in QApplication::notify (this=0xbf8f2a54, receiver=0x95d9e70, e=0x97ae810) at kernel/qapplication.cpp:3706
#39 0x00f3340a in KApplication::notify (this=0xbf8f2a54, receiver=0x95d9e70, event=0x97ae810) at ../../kdeui/kernel/kapplication.cpp:302
#40 0x00bc813b in QCoreApplication::notifyInternal (this=0xbf8f2a54, receiver=0x95d9e70, event=0x97ae810) at kernel/qcoreapplication.cpp:726
#41 0x00bcbbfc in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x8f2f4d8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#42 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8f2f4d8) at kernel/qcoreapplication.cpp:1367
#43 0x00bcbd7d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1260
#44 0x00bf433f in QCoreApplication::sendPostedEvents (s=0x8f56510) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#45 postEventSourceDispatch (s=0x8f56510) at kernel/qeventdispatcher_glib.cpp:276
#46 0x060ff5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#47 0x061032d8 in ?? () from /lib/libglib-2.0.so.0
#48 0x061034b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#49 0x00bf3e35 in QEventDispatcherGlib::processEvents (this=0x8f2f070, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#50 0x01699e15 in QGuiEventDispatcherGlib::processEvents (this=0x8f2f070, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#51 0x00bc6759 in QEventLoop::processEvents (this=0xbf8f29b4, flags=) at kernel/qeventloop.cpp:149
#52 0x00bc6baa in QEventLoop::exec (this=0xbf8f29b4, flags=...) at kernel/qeventloop.cpp:201
#53 0x00bcbe3f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#54 0x015d9f27 in QApplication::exec () at kernel/qapplication.cpp:3581
#55 0x0804b472 in main (argc=1, argv=0xbf8f2c74) at ../../../kontact/src/main.cpp:224

This bug may be a duplicate of or related to bug 136145, bug 248172.

Possible duplicates by query: bug 249123, bug 248172, bug 244273, bug 241417, bug 238353.

Reported using DrKonqi
Comment 1 Christophe Marin 2010-09-29 13:16:45 UTC

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