[Bug 277713] New: Kontact/KMail2 crashed when opening attached PDF file

Elias Probst mail at eliasprobst.eu
Wed Jul 13 19:25:38 BST 2011


https://bugs.kde.org/show_bug.cgi?id=277713

           Summary: Kontact/KMail2 crashed when opening attached PDF file
           Product: kontact
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: mail at eliasprobst.eu


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

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list