Bug 277713 - Kontact/KMail2 crashed when opening attached PDF file
Summary: Kontact/KMail2 crashed when opening attached PDF file
Status: RESOLVED NOT A BUG
Alias: None
Product: kdepim
Classification: Applications
Component: messageviewer (show other bugs)
Version: 4.6
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-13 18:25 UTC by Elias Probst
Modified: 2011-09-01 18:49 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.76 KB, text/plain)
2011-07-27 16:06 UTC, Ivan D Vasin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Probst 2011-07-13 18:25:37 UTC
Application: kontact (4.6.0)
KDE Platform Version: 4.6.4 (4.6.4) (Compiled from sources)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-gentoo-r6 x86_64
Distribution: "Gentoo Base System release 2.0.2"

-- Information about the crash:
- What I was doing when the application crashed:
→ Clicked on a PDF file which was attached to a mail
→ Selected "Open with Okular" from the dialog
→ Kontact/KMail2 crashed, producing the attached backtrace

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

Thread 3 (Thread 0x7f8e180bc700 (LWP 28751)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f8e2d73b312 in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x00007f8e2d73b40d in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/qt4/libQtWebKit.so.4
#3  0x00007f8e291e3a6d in start_thread (arg=<value optimized out>) at pthread_create.c:301
#4  0x00007f8e2e230d7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f8e06c0a700 (LWP 28898)):
#0  0x00007f8e2e228be7 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f8e28c99053 in g_main_context_poll (context=0x2973b80, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:3405
#2  g_main_context_iterate (context=0x2973b80, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:3087
#3  0x00007f8e28c9935e in g_main_context_iteration (context=0x2973b80, may_block=1) at gmain.c:3155
#4  0x00007f8e2e948f8a in QEventDispatcherGlib::processEvents (this=0x29736b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f8e2e91fee2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f8e2e920241 in QEventLoop::exec (this=0x7f8e06c09de0, flags=) at kernel/qeventloop.cpp:201
#7  0x00007f8e2e840402 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x00007f8e2e90242a in QInotifyFileSystemWatcherEngine::run (this=0x29730e0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f8e2e842eed in QThreadPrivate::start (arg=0x29730e0) at thread/qthread_unix.cpp:320
#10 0x00007f8e291e3a6d in start_thread (arg=<value optimized out>) at pthread_create.c:301
#11 0x00007f8e2e230d7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f8e30c00760 (LWP 28750)):
[KCrash Handler]
#6  KMime::Content::parent (this=0xc2950f08fff01024) at /var/tmp/portage/kde-base/kdepimlibs-4.6.4/work/kdepimlibs-4.6.4/kmime/kmime_content.cpp:915
#7  0x00007f8e264aefb3 in KMime::Content::topLevel (this=0x3a60c50) at /var/tmp/portage/kde-base/kdepimlibs-4.6.4/work/kdepimlibs-4.6.4/kmime/kmime_content.cpp:925
#8  0x00007f8e264b0234 in KMime::Content::index (this=0x3a60c50) at /var/tmp/portage/kde-base/kdepimlibs-4.6.4/work/kdepimlibs-4.6.4/kmime/kmime_content.cpp:933
#9  0x00007f8e12253ab4 in MessageViewer::NodeHelper::tempFileUrlFromNode (this=0x108e390, node=0x3a60c50) at /var/tmp/portage/kde-base/kdepim-common-libs-4.6.0/work/kdepim-common-libs-4.6.0/messageviewer/nodehelper.cpp:259
#10 0x00007f8e1225549d in MessageViewer::NodeHelper::writeNodeToTempFile (this=0x3a60c50, node=0x3a60c50) at /var/tmp/portage/kde-base/kdepim-common-libs-4.6.0/work/kdepim-common-libs-4.6.0/messageviewer/nodehelper.cpp:215
#11 0x00007f8e12296401 in MessageViewer::ViewerPrivate::getServiceOffer (this=0x108e030, content=0x3a60c50) at /var/tmp/portage/kde-base/kdepim-common-libs-4.6.0/work/kdepim-common-libs-4.6.0/messageviewer/viewer_p.cpp:531
#12 0x00007f8e122969d3 in MessageViewer::ViewerPrivate::attachmentOpen (this=0x108e030, node=0x3a60c50) at /var/tmp/portage/kde-base/kdepim-common-libs-4.6.0/work/kdepim-common-libs-4.6.0/messageviewer/viewer_p.cpp:602
#13 0x00007f8e12297a55 in MessageViewer::ViewerPrivate::openAttachment (this=0x108e030, node=0x3a60c50, name=<value optimized out>) at /var/tmp/portage/kde-base/kdepim-common-libs-4.6.0/work/kdepim-common-libs-4.6.0/messageviewer/viewer_p.cpp:343
#14 0x00007f8e12284148 in (anonymous namespace)::AttachmentURLHandler::handleClick (this=<value optimized out>, url=<value optimized out>, w=0x108e030) at /var/tmp/portage/kde-base/kdepim-common-libs-4.6.0/work/kdepim-common-libs-4.6.0/messageviewer/urlhandlermanager.cpp:779
#15 0x00007f8e122802c3 in MessageViewer::URLHandlerManager::handleClick (this=0xfeb6f0, url=..., w=0x108e030) at /var/tmp/portage/kde-base/kdepim-common-libs-4.6.0/work/kdepim-common-libs-4.6.0/messageviewer/urlhandlermanager.cpp:369
#16 0x00007f8e1228e9c2 in MessageViewer::ViewerPrivate::slotUrlOpen (this=0x108e030, url=<value optimized out>) at /var/tmp/portage/kde-base/kdepim-common-libs-4.6.0/work/kdepim-common-libs-4.6.0/messageviewer/viewer_p.cpp:1764
#17 0x00007f8e122a4331 in MessageViewer::ViewerPrivate::qt_metacall (this=0x108e030, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x3514980) at /var/tmp/portage/kde-base/kdepim-common-libs-4.6.0/work/kdepim-common-libs-4.6.0_build/messageviewer/viewer_p.moc:212
#18 0x00007f8e2e93122a in QObject::event (this=0x108e030, e=0xc2950f08fff01024) at kernel/qobject.cpp:1217
#19 0x00007f8e2f2f4b85 in QApplicationPrivate::notify_helper (this=0x636480, receiver=0x108e030, e=0x31b7330) at kernel/qapplication.cpp:4462
#20 0x00007f8e2f2f97a2 in QApplication::notify (this=0x7fffeaccd350, receiver=0x108e030, e=0x31b7330) at kernel/qapplication.cpp:4341
#21 0x00007f8e2ffd5e10 in KApplication::notify (this=0x7fffeaccd350, receiver=0x108e030, event=0x31b7330) at /var/tmp/portage/kde-base/kdelibs-4.6.4-r2/work/kdelibs-4.6.4/kdeui/kernel/kapplication.cpp:311
#22 0x00007f8e2e920eae in QCoreApplication::notifyInternal (this=0x7fffeaccd350, receiver=0x108e030, event=0x31b7330) at kernel/qcoreapplication.cpp:731
#23 0x00007f8e2e923a74 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x60d380) at kernel/qcoreapplication.h:215
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x60d380) at kernel/qcoreapplication.cpp:1372
#25 0x00007f8e2e94934e in sendPostedEvents (s=0x645840) at kernel/qcoreapplication.h:220
#26 postEventSourceDispatch (s=0x645840) at kernel/qeventdispatcher_glib.cpp:277
#27 0x00007f8e28c954cc in g_main_dispatch (context=0x6448e0) at gmain.c:2441
#28 g_main_context_dispatch (context=0x6448e0) at gmain.c:3014
#29 0x00007f8e28c991a1 in g_main_context_iterate (context=0x6448e0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:3092
#30 0x00007f8e28c9935e in g_main_context_iteration (context=0x6448e0, may_block=1) at gmain.c:3155
#31 0x00007f8e2e948f52 in QEventDispatcherGlib::processEvents (this=0x60cf80, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#32 0x00007f8e2f3978d2 in QGuiEventDispatcherGlib::processEvents (this=0xc2950f08fff01024, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x00007f8e2e91fee2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#34 0x00007f8e2e920241 in QEventLoop::exec (this=0x7fffeaccd290, flags=) at kernel/qeventloop.cpp:201
#35 0x00007f8e2e923cb7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#36 0x0000000000403e83 in main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-base/kontact-4.6.0/work/kontact-4.6.0/kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Ivan D Vasin 2011-07-27 16:06:17 UTC
Created attachment 62243 [details]
New crash information added by DrKonqi

kontact (4.6.0) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.2

- What I was doing when the application crashed:

opening a JPEG attachment.  Kontact crashed immediately.

-- Backtrace (Reduced):
#6  KMime::Content::parent (this=0x50) at ../../kmime/kmime_content.cpp:916
#7  0x00007fa651f1aa0b in KMime::Content::topLevel (this=0x148bcf0) at ../../kmime/kmime_content.cpp:925
#8  0x00007fa651f1e6dc in KMime::Content::index (this=0x148bcf0) at ../../kmime/kmime_content.cpp:933
#9  0x00007fa63bea3438 in MessageViewer::NodeHelper::tempFileUrlFromNode (this=0x1e24120, node=<value optimized out>) at ../../messageviewer/nodehelper.cpp:259
#10 0x00007fa63bea36bc in MessageViewer::NodeHelper::writeNodeToTempFile (this=0x1e24120, node=0x148bcf0) at ../../messageviewer/nodehelper.cpp:215
Comment 2 Laurent Montel 2011-09-01 17:55:36 UTC
Still valid ?
Comment 3 Elias Probst 2011-09-01 18:07:59 UTC
Can't reproduce, using KDE/KDEPIM 4.7.0
Comment 4 Laurent Montel 2011-09-01 18:49:56 UTC
So I close it.
Thanks