Bug 201950

Summary: Kmail crased when trying to open an attachment in GwenView
Product: [Unmaintained] kmail Reporter: Darek <gdarecki>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Darek 2009-07-30 01:34:23 UTC
Application that crashed: kontact
Version of the application: 4.3.0 rc3
KDE Version: 4.2.98 (KDE 4.2.98 (KDE 4.3 RC3))
Qt Version: 4.5.0
Operating System: Linux 2.6.28-14-generic i686
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
When I clicked on "Open in Gwenview" (context menu on attachment) Kontact crashed without opening the  attachment.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 0 (LWP 4028)]

Thread 5 (Thread 0xa9bb1b90 (LWP 4404)):
#0  0xb7ef5430 in __kernel_vsyscall ()
#1  0xb50180e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb583e2ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5a299b2 in QWaitCondition::wait (this=0x87f83b0, mutex=0x87f7c28, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb0a0b148 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x87f8398, th=0x947f588) at /build/buildd/kde4libs-4.2.98a/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb0a0deec in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x87fef28, th=0x947f588) at /build/buildd/kde4libs-4.2.98a/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb0a09d2b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x87f8398, th=0x947f588) at /build/buildd/kde4libs-4.2.98a/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb0a0dfea in ThreadWeaver::WorkingHardState::applyForWork (this=0x87fef28, th=0x947f588) at /build/buildd/kde4libs-4.2.98a/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb0a0b6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x87f8398, th=0x947f588, previous=0x847f270) at /build/buildd/kde4libs-4.2.98a/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb0a0bfbe in ThreadWeaver::ThreadRunHelper::run (this=0xa9bb1330, parent=0x87f8398, th=0x947f588) at /build/buildd/kde4libs-4.2.98a/threadweaver/Weaver/Thread.cpp:87
#10 0xb0a0c5fb in ThreadWeaver::Thread::run (this=0x947f588) at /build/buildd/kde4libs-4.2.98a/threadweaver/Weaver/Thread.cpp:142
#11 0xb5a2896e in QThreadPrivate::start (arg=0x947f588) at thread/qthread_unix.cpp:189
#12 0xb50144ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#13 0xb582f49e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xa93b0b90 (LWP 4407)):
#0  0xb7ef5430 in __kernel_vsyscall ()
#1  0xb50180e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb583e2ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5a299b2 in QWaitCondition::wait (this=0x87f83b0, mutex=0x87f7c28, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb0a0b148 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x87f8398, th=0x943c2a8) at /build/buildd/kde4libs-4.2.98a/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb0a0deec in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x87fef28, th=0x943c2a8) at /build/buildd/kde4libs-4.2.98a/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb0a09d2b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x87f8398, th=0x943c2a8) at /build/buildd/kde4libs-4.2.98a/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb0a0dfea in ThreadWeaver::WorkingHardState::applyForWork (this=0x87fef28, th=0x943c2a8) at /build/buildd/kde4libs-4.2.98a/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb0a0b6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x87f8398, th=0x943c2a8, previous=0x945e5d0) at /build/buildd/kde4libs-4.2.98a/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb0a0bfbe in ThreadWeaver::ThreadRunHelper::run (this=0xa93b0330, parent=0x87f8398, th=0x943c2a8) at /build/buildd/kde4libs-4.2.98a/threadweaver/Weaver/Thread.cpp:87
#10 0xb0a0c5fb in ThreadWeaver::Thread::run (this=0x943c2a8) at /build/buildd/kde4libs-4.2.98a/threadweaver/Weaver/Thread.cpp:142
#11 0xb5a2896e in QThreadPrivate::start (arg=0x943c2a8) at thread/qthread_unix.cpp:189
#12 0xb50144ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#13 0xb582f49e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xab8ffb90 (LWP 23990)):
#0  0xb7ef5430 in __kernel_vsyscall ()
#1  0xb50180e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb583e2ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5a299b2 in QWaitCondition::wait (this=0x87f83b0, mutex=0x87f7c28, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb0a0b148 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x87f8398, th=0x9155cd8) at /build/buildd/kde4libs-4.2.98a/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb0a0deec in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x87fef28, th=0x9155cd8) at /build/buildd/kde4libs-4.2.98a/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb0a09d2b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x87f8398, th=0x9155cd8) at /build/buildd/kde4libs-4.2.98a/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb0a0dfea in ThreadWeaver::WorkingHardState::applyForWork (this=0x87fef28, th=0x9155cd8) at /build/buildd/kde4libs-4.2.98a/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb0a0b6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x87f8398, th=0x9155cd8, previous=0x0) at /build/buildd/kde4libs-4.2.98a/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb0a0e009 in ThreadWeaver::WorkingHardState::applyForWork (this=0x87fef28, th=0x9155cd8) at /build/buildd/kde4libs-4.2.98a/threadweaver/Weaver/WorkingHardState.cpp:74
#10 0xb0a0b6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x87f8398, th=0x9155cd8, previous=0x0) at /build/buildd/kde4libs-4.2.98a/threadweaver/Weaver/WeaverImpl.cpp:351
#11 0xb0a0bfbe in ThreadWeaver::ThreadRunHelper::run (this=0xab8ff330, parent=0x87f8398, th=0x9155cd8) at /build/buildd/kde4libs-4.2.98a/threadweaver/Weaver/Thread.cpp:87
#12 0xb0a0c5fb in ThreadWeaver::Thread::run (this=0x9155cd8) at /build/buildd/kde4libs-4.2.98a/threadweaver/Weaver/Thread.cpp:142
#13 0xb5a2896e in QThreadPrivate::start (arg=0x9155cd8) at thread/qthread_unix.cpp:189
#14 0xb50144ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#15 0xb582f49e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xab0feb90 (LWP 23993)):
#0  0xb7ef5430 in __kernel_vsyscall ()
#1  0xb50180e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb583e2ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5a299b2 in QWaitCondition::wait (this=0x87f83b0, mutex=0x87f7c28, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb0a0b148 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x87f8398, th=0x93817a0) at /build/buildd/kde4libs-4.2.98a/threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb0a0deec in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x87fef28, th=0x93817a0) at /build/buildd/kde4libs-4.2.98a/threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb0a09d2b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x87f8398, th=0x93817a0) at /build/buildd/kde4libs-4.2.98a/threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb0a0dfea in ThreadWeaver::WorkingHardState::applyForWork (this=0x87fef28, th=0x93817a0) at /build/buildd/kde4libs-4.2.98a/threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb0a0b6d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x87f8398, th=0x93817a0, previous=0x0) at /build/buildd/kde4libs-4.2.98a/threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb0a0bfbe in ThreadWeaver::ThreadRunHelper::run (this=0xab0fe330, parent=0x87f8398, th=0x93817a0) at /build/buildd/kde4libs-4.2.98a/threadweaver/Weaver/Thread.cpp:87
#10 0xb0a0c5fb in ThreadWeaver::Thread::run (this=0x93817a0) at /build/buildd/kde4libs-4.2.98a/threadweaver/Weaver/Thread.cpp:142
#11 0xb5a2896e in QThreadPrivate::start (arg=0x93817a0) at thread/qthread_unix.cpp:189
#12 0xb50144ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#13 0xb582f49e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb472bb30 (LWP 4028)):
[KCrash Handler]
#6  0xb0ed7a31 in KMHandleAttachmentCommand::slotStart (this=0x9c623b0) at /build/buildd/kdepim-4.2.98/kmail/kmcommands.cpp:2885
#7  0xb0ec53f3 in KMHandleAttachmentCommand::qt_metacall (this=0x9c623b0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfa12058)
    at /build/buildd/kdepim-4.2.98/obj-i486-linux-gnu/kmail/kmcommands.moc:2240
#8  0xb5b32ca8 in QMetaObject::activate (sender=0x93d1b98, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3069
#9  0xb5b33932 in QMetaObject::activate (sender=0x93d1b98, m=0xb5c0e908, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3143
#10 0xb5b380a7 in QSingleShotTimer::timeout (this=0x93d1b98) at .moc/release-shared/qtimer.moc:76
#11 0xb5b381cc in QSingleShotTimer::timerEvent (this=0x93d1b98) at kernel/qtimer.cpp:298
#12 0xb5b2d15f in QObject::event (this=0x93d1b98, e=0xbfa124dc) at kernel/qobject.cpp:1082
#13 0xb5ffee9c in QApplicationPrivate::notify_helper (this=0x828af28, receiver=0x93d1b98, e=0xbfa124dc) at kernel/qapplication.cpp:4084
#14 0xb600719e in QApplication::notify (this=0xbfa12788, receiver=0x93d1b98, e=0xbfa124dc) at kernel/qapplication.cpp:3631
#15 0xb6c255cd in KApplication::notify (this=0xbfa12788, receiver=0x93d1b98, event=0xbfa124dc) at /build/buildd/kde4libs-4.2.98a/kdeui/kernel/kapplication.cpp:302
#16 0xb5b1ca3b in QCoreApplication::notifyInternal (this=0xbfa12788, receiver=0x93d1b98, event=0xbfa124dc) at kernel/qcoreapplication.cpp:602
#17 0xb5b4bd71 in QTimerInfoList::activateTimers (this=0x8292f3c) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#18 0xb5b484e0 in timerSourceDispatch (source=0x8292f08) at kernel/qeventdispatcher_glib.cpp:164
#19 0xb4be1b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#20 0xb4be50eb in ?? () from /usr/lib/libglib-2.0.so.0
#21 0xb4be5268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#22 0xb5b48438 in QEventDispatcherGlib::processEvents (this=0x8266028, flags={i = -1079957928}) at kernel/qeventdispatcher_glib.cpp:323
#23 0xb60a0365 in QGuiEventDispatcherGlib::processEvents (this=0x8266028, flags={i = -1079957880}) at kernel/qguieventdispatcher_glib.cpp:202
#24 0xb5b1b06a in QEventLoop::processEvents (this=0xbfa12700, flags={i = -1079957816}) at kernel/qeventloop.cpp:149
#25 0xb5b1b4aa in QEventLoop::exec (this=0xbfa12700, flags={i = -1079957752}) at kernel/qeventloop.cpp:200
#26 0xb5b1d959 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#27 0xb5ffed17 in QApplication::exec () at kernel/qapplication.cpp:3553
#28 0x0804bfef in main (argc=1, argv=0xbfa12a84) at /build/buildd/kdepim-4.2.98/kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Darek 2009-07-30 02:10:14 UTC
That happened not after invoking that from context menu, as I wrote above, but just after clicking on attachment: when a new window appeared asking if to save an attachment or to open it in Gwenview, I chose Gwenview, then Kontact crashed. Sorry, but I didn't remembered what exactly I had done before trying to do it again (I have succeeded this time).
Comment 2 Dario Andres 2009-07-31 15:37:51 UTC
Thanks. Merging with bug 188142.

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