Bug 323190 - Kontact 4.10.5 has crashed when opening PDF attachment
Summary: Kontact 4.10.5 has crashed when opening PDF attachment
Status: RESOLVED DUPLICATE of bug 303990
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.10.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-05 12:44 UTC by Thomas Dreibholz
Modified: 2013-12-03 22:56 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (8.72 KB, text/plain)
2013-12-03 22:56 UTC, lozol
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Dreibholz 2013-08-05 12:44:29 UTC
Application: kontact (4.10.5)
KDE Platform Version: 4.10.5
Qt Version: 4.8.4
Operating System: Linux 3.8.0-27-generic x86_64
Distribution: Ubuntu 13.04

-- Information about the crash:
- What I was doing when the application crashed:
Kontact 4.10.5 has crashed when opening a PDF attachment. The attachment was okay (i.e. from a trustworthy source, no malvare/virus etc.).

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fbef0809800 (LWP 4898))]

Thread 6 (Thread 0x7fbed083e700 (LWP 4919)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fbeecf9f585 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fbeecf9f5d9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fbee79f4f8e in start_thread (arg=0x7fbed083e700) at pthread_create.c:311
#4  0x00007fbeedd97e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7fbe8ff1b700 (LWP 4922)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fbeecce5a09 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fbeecfcdcee in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fbee79f4f8e in start_thread (arg=0x7fbe8ff1b700) at pthread_create.c:311
#4  0x00007fbeedd97e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7fbe823f6700 (LWP 5064)):
#0  g_mutex_unlock (mutex=mutex@entry=0x7fbe7c0009a0) at /build/buildd/glib2.0-2.36.0/./glib/gthread-posix.c:231
#1  0x00007fbee733230e in g_main_context_iteration (context=0x7fbe7c0009a0, may_block=<optimized out>) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3763
#2  0x00007fbeef1bd036 in QEventDispatcherGlib::processEvents (this=0x7fbe7c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#3  0x00007fbeef18d38f in QEventLoop::processEvents (this=this@entry=0x7fbe823f5d50, flags=...) at kernel/qeventloop.cpp:149
#4  0x00007fbeef18d618 in QEventLoop::exec (this=this@entry=0x7fbe823f5d50, flags=...) at kernel/qeventloop.cpp:204
#5  0x00007fbeef08f410 in QThread::exec (this=this@entry=0x2dbb9c0) at thread/qthread.cpp:542
#6  0x00007fbeef16eedf in QInotifyFileSystemWatcherEngine::run (this=0x2dbb9c0) at io/qfilesystemwatcher_inotify.cpp:256
#7  0x00007fbeef091bec in QThreadPrivate::start (arg=0x2dbb9c0) at thread/qthread_unix.cpp:338
#8  0x00007fbee79f4f8e in start_thread (arg=0x7fbe823f6700) at pthread_create.c:311
#9  0x00007fbeedd97e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7fbe7399c700 (LWP 5066)):
#0  0x00007fbee737134a in g_mutex_get_impl (mutex=0x7fbe6c0009a0) at /build/buildd/glib2.0-2.36.0/./glib/gthread-posix.c:120
#1  0x00007fbee73715e9 in g_mutex_unlock (mutex=mutex@entry=0x7fbe6c0009a0) at /build/buildd/glib2.0-2.36.0/./glib/gthread-posix.c:229
#2  0x00007fbee7331d1a in g_main_context_check (context=context@entry=0x7fbe6c0009a0, max_priority=2147483647, fds=fds@entry=0x7fbe6c0029c0, n_fds=n_fds@entry=1) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3612
#3  0x00007fbee7332175 in g_main_context_iterate (context=context@entry=0x7fbe6c0009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3698
#4  0x00007fbee7332304 in g_main_context_iteration (context=0x7fbe6c0009a0, may_block=1) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3762
#5  0x00007fbeef1bd036 in QEventDispatcherGlib::processEvents (this=0x7fbe6c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fbeef18d38f in QEventLoop::processEvents (this=this@entry=0x7fbe7399bd80, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fbeef18d618 in QEventLoop::exec (this=this@entry=0x7fbe7399bd80, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fbeef08f410 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007fbeef091bec in QThreadPrivate::start (arg=0x27a2010) at thread/qthread_unix.cpp:338
#10 0x00007fbee79f4f8e in start_thread (arg=0x7fbe7399c700) at pthread_create.c:311
#11 0x00007fbeedd97e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fbe6bdef700 (LWP 1934)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007fbeef0920a7 in wait (time=30000, this=0x2ea4160) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2ea4848, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fbeef08564f in QThreadPoolThread::run (this=0x2eb68f0) at concurrent/qthreadpool.cpp:141
#4  0x00007fbeef091bec in QThreadPrivate::start (arg=0x2eb68f0) at thread/qthread_unix.cpp:338
#5  0x00007fbee79f4f8e in start_thread (arg=0x7fbe6bdef700) at pthread_create.c:311
#6  0x00007fbeedd97e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7fbef0809800 (LWP 4898)):
[KCrash Handler]
#6  KMime::Content::parent (this=this@entry=0x21) at ../../kmime/kmime_content.cpp:952
#7  0x00007fbee39b20fb in KMime::Content::topLevel (this=this@entry=0x39ec930) at ../../kmime/kmime_content.cpp:961
#8  0x00007fbee39b527c in KMime::Content::index (this=this@entry=0x39ec930) at ../../kmime/kmime_content.cpp:969
#9  0x00007fbe85abac48 in MessageViewer::NodeHelper::tempFileUrlFromNode (this=this@entry=0x2d80290, node=node@entry=0x39ec930) at ../../messageviewer/nodehelper.cpp:263
#10 0x00007fbe85abaee1 in MessageViewer::NodeHelper::writeNodeToTempFile (this=0x2d80290, node=0x39ec930) at ../../messageviewer/nodehelper.cpp:221
#11 0x00007fbe85afe0f2 in MessageViewer::ViewerPrivate::attachmentOpenWith (this=this@entry=0x2d7ff10, node=<optimized out>, offer=...) at ../../messageviewer/viewer_p.cpp:727
#12 0x00007fbe85b07edd in MessageViewer::ViewerPrivate::openAttachment (this=this@entry=0x2d7ff10, node=node@entry=0x39ec930, name=...) at ../../messageviewer/viewer_p.cpp:374
#13 0x00007fbe85ae6a3c in (anonymous namespace)::AttachmentURLHandler::handleClick (this=<optimized out>, url=..., w=0x2d7ff10) at ../../messageviewer/urlhandlermanager.cpp:789
#14 0x00007fbe85ae94a8 in MessageViewer::URLHandlerManager::handleClick (this=this@entry=0x33057b0, url=..., w=w@entry=0x2d7ff10) at ../../messageviewer/urlhandlermanager.cpp:371
#15 0x00007fbe85af6c22 in MessageViewer::ViewerPrivate::slotUrlOpen (this=0x2d7ff10, url=...) at ../../messageviewer/viewer_p.cpp:2017
#16 0x00007fbe85b0ba6e in MessageViewer::ViewerPrivate::qt_static_metacall (_o=0x2d7ff10, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./viewer_p.moc:225
#17 0x00007fbeef1a85be in QObject::event (this=0x2d7ff10, e=<optimized out>) at kernel/qobject.cpp:1194
#18 0x00007fbeee5348ec in QApplicationPrivate::notify_helper (this=this@entry=0x25f8580, receiver=receiver@entry=0x2d7ff10, e=e@entry=0x5947940) at kernel/qapplication.cpp:4567
#19 0x00007fbeee53725b in QApplication::notify (this=this@entry=0x7fff5fbc6cd0, receiver=receiver@entry=0x2d7ff10, e=e@entry=0x5947940) at kernel/qapplication.cpp:4428
#20 0x00007fbeefbd71a6 in KApplication::notify (this=0x7fff5fbc6cd0, receiver=0x2d7ff10, event=0x5947940) at ../../kdeui/kernel/kapplication.cpp:311
#21 0x00007fbeef18e63e in QCoreApplication::notifyInternal (this=0x7fff5fbc6cd0, receiver=receiver@entry=0x2d7ff10, event=event@entry=0x5947940) at kernel/qcoreapplication.cpp:946
#22 0x00007fbeef192171 in sendEvent (event=0x5947940, receiver=0x2d7ff10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#23 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x25706a0) at kernel/qcoreapplication.cpp:1570
#24 0x00007fbeef1924a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#25 0x00007fbeef1bce83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#26 postEventSourceDispatch (s=s@entry=0x25f8b50) at kernel/qeventdispatcher_glib.cpp:279
#27 0x00007fbee7331f05 in g_main_dispatch (context=0x25f8a60) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3054
#28 g_main_context_dispatch (context=context@entry=0x25f8a60) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3630
#29 0x00007fbee7332248 in g_main_context_iterate (context=context@entry=0x25f8a60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3701
#30 0x00007fbee7332304 in g_main_context_iteration (context=0x25f8a60, may_block=1) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3762
#31 0x00007fbeef1bd016 in QEventDispatcherGlib::processEvents (this=0x2571b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#32 0x00007fbeee5da1ae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x00007fbeef18d38f in QEventLoop::processEvents (this=this@entry=0x7fff5fbc6b40, flags=...) at kernel/qeventloop.cpp:149
#34 0x00007fbeef18d618 in QEventLoop::exec (this=this@entry=0x7fff5fbc6b40, flags=...) at kernel/qeventloop.cpp:204
#35 0x00007fbeef192cf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#36 0x00007fbeee532ffc in QApplication::exec () at kernel/qapplication.cpp:3828
#37 0x00000000004033a9 in main (argc=3, argv=0x7fff5fbc6e18) at ../../../kontact/src/main.cpp:219

Possible duplicates by query: bug 311756.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-08-05 13:46:07 UTC

*** This bug has been marked as a duplicate of bug 303990 ***
Comment 2 lozol 2013-12-03 22:56:00 UTC
Created attachment 83915 [details]
New crash information added by DrKonqi

kontact (4.11.3) on KDE Platform 4.11.3 using Qt 4.8.4

- What I was doing when the application crashed:
I tryied to open PDF attachment when kmail crashed

-- Backtrace (Reduced):
#7  0xb2aef137 in KMime::Content::parent (this=this@entry=0xbde0060) at ../../kmime/kmime_content.cpp:953
#8  0xb2aef15d in KMime::Content::topLevel (this=this@entry=0xbde0060) at ../../kmime/kmime_content.cpp:959
#9  0xb2af4372 in KMime::Content::index (this=this@entry=0xbde0060) at ../../kmime/kmime_content.cpp:970
#10 0xac5bf073 in MessageViewer::NodeHelper::persistentIndex (this=this@entry=0xa518708, node=node@entry=0xbde0060) at ../../messageviewer/viewer/nodehelper.cpp:671
#11 0xac5bf39b in MessageViewer::NodeHelper::tempFileUrlFromNode (this=this@entry=0xa518708, node=node@entry=0xbde0060) at ../../messageviewer/viewer/nodehelper.cpp:262