Bug 359935 - kontact crash opening PDF
Summary: kontact crash opening PDF
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-02-29 18:33 UTC by Darin McBride
Modified: 2018-02-01 09:50 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin McBride 2016-02-29 18:33:04 UTC
Application: kontact (4.14.10)
KDE Platform Version: 4.14.17 (Compiled from sources)
Qt Version: 4.8.6
Operating System: Linux 4.3.6-gentoo x86_64
Distribution: "NAME=Gentoo"

-- Information about the crash:
- What I was doing when the application crashed:

I got a pdf attachment, clicked on it and got this crash.  When I restarted, went to the same email, clicked again, and the PDF opened in Okular as expected.

The crash does not seem to be reproducible.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f65851dd880 (LWP 21786))]

Thread 4 (Thread 0x7f6568779700 (LWP 21791)):
#0  pthread_cond_wait () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f658041b1ca in WTF::TCMalloc_PageHeap::scavengerThread (this=<optimized out>) at /var/tmp/portage/dev-qt/qtwebkit-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/src/3rdparty/webkit/Source/JavaScriptCore/wtf/FastMalloc.cpp:2495
#2  0x00007f658041b209 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at /var/tmp/portage/dev-qt/qtwebkit-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/src/3rdparty/webkit/Source/JavaScriptCore/wtf/FastMalloc.cpp:1618
#3  0x00007f657c8df334 in start_thread (arg=0x7f6568779700) at pthread_create.c:333
#4  0x00007f65823ba2cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f6567e78700 (LWP 21792)):
#0  0x00007f65823b13ed in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f657ba82196 in mapped_file_new_from_fd (error=0x7f65600013e0, filename=<optimized out>, writable=<optimized out>, fd=1743223728) at /var/tmp/portage/dev-libs/glib-2.46.2-r2/work/glib-2.46.2/glib/gmappedfile.c:126
#2  g_mapped_file_new (filename=<optimized out>, writable=<optimized out>, error=0x7f65600013e0) at /var/tmp/portage/dev-libs/glib-2.46.2-r2/work/glib-2.46.2/glib/gmappedfile.c:268
#3  0x00007f65839bef70 in memcpy (__len=<optimized out>, __src=<optimized out>, __dest=<optimized out>) at /usr/include/bits/string3.h:53
#4  QVector<QEventLoop*>::realloc (this=0x7f65839be978 <QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)+56>, asize=36, aalloc=0) at ../../include/QtCore/../../../qt-everywhere-opensource-src-4.8.6/src/corelib/tools/qvector.h:503
#5  0x00007f65839bec3e in QEventLoop::exec (this=0x7f65600031a0, this@entry=0x7f6567e77d10, flags=...) at /var/tmp/portage/dev-qt/qtcore-4.8.6-r2/work/qt-everywhere-opensource-src-4.8.6/src/corelib/kernel/qeventloop.cpp:204
#6  0x00007f6583885d36 in QThread::exec (this=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-4.8.6-r2/work/qt-everywhere-opensource-src-4.8.6/src/corelib/thread/qthread.cpp:538
#7  0x00007f65838888dd in QThreadPrivate::start (arg=0x19f57c0) at /var/tmp/portage/dev-qt/qtcore-4.8.6-r2/work/qt-everywhere-opensource-src-4.8.6/src/corelib/thread/qthread_unix.cpp:349
#8  0x00007f657c8df334 in start_thread (arg=0x7f6567e78700) at pthread_create.c:333
#9  0x00007f65823ba2cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f651343f700 (LWP 10449)):
#0  pthread_cond_timedwait () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f65838893dc in QWaitConditionPrivate::wait (time=<optimized out>, this=0x7f650c008ac0) at /var/tmp/portage/dev-qt/qtcore-4.8.6-r2/work/qt-everywhere-opensource-src-4.8.6/src/corelib/thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this@entry=0x7f650c005a20, mutex=mutex@entry=0x7f650c004798, time=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-4.8.6-r2/work/qt-everywhere-opensource-src-4.8.6/src/corelib/thread/qwaitcondition_unix.cpp:158
#3  0x00007f658387902e in QThreadPoolThread::run (this=0x7f650c005a10) at /var/tmp/portage/dev-qt/qtcore-4.8.6-r2/work/qt-everywhere-opensource-src-4.8.6/src/corelib/concurrent/qthreadpool.cpp:142
#4  0x00007f65838888dd in QThreadPrivate::start (arg=0x7f650c005a10) at /var/tmp/portage/dev-qt/qtcore-4.8.6-r2/work/qt-everywhere-opensource-src-4.8.6/src/corelib/thread/qthread_unix.cpp:349
#5  0x00007f657c8df334 in start_thread (arg=0x7f651343f700) at pthread_create.c:333
#6  0x00007f65823ba2cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f65851dd880 (LWP 21786)):
[KCrash Handler]
#6  KMime::Content::parent (this=this@entry=0xffffffff00000004) at /var/tmp/portage/kde-apps/kdepimlibs-4.14.11_pre20160211/work/kdepimlibs/kmime/kmime_content.cpp:976
#7  0x00007f6579bcd9eb in KMime::Content::topLevel (this=this@entry=0x631e0a0) at /var/tmp/portage/kde-apps/kdepimlibs-4.14.11_pre20160211/work/kdepimlibs/kmime/kmime_content.cpp:985
#8  0x00007f6579bd1ac4 in KMime::Content::index (this=this@entry=0x631e0a0) at /var/tmp/portage/kde-apps/kdepimlibs-4.14.11_pre20160211/work/kdepimlibs/kmime/kmime_content.cpp:993
#9  0x00007f651def5545 in MessageViewer::NodeHelper::persistentIndex (this=this@entry=0x1bce610, node=node@entry=0x631e0a0) at /var/tmp/portage/kde-apps/kdepim-common-libs-4.14.11_pre20160211/work/kdepim-common-libs-4.14.11_pre20160211/messageviewer/viewer/nodehelper.cpp:673
#10 0x00007f651def58d8 in MessageViewer::NodeHelper::tempFileUrlFromNode (this=this@entry=0x1bce610, node=node@entry=0x631e0a0) at /var/tmp/portage/kde-apps/kdepim-common-libs-4.14.11_pre20160211/work/kdepim-common-libs-4.14.11_pre20160211/messageviewer/viewer/nodehelper.cpp:264
#11 0x00007f651def5cad in MessageViewer::NodeHelper::writeNodeToTempFile (this=0x1bce610, node=0x631e0a0) at /var/tmp/portage/kde-apps/kdepim-common-libs-4.14.11_pre20160211/work/kdepim-common-libs-4.14.11_pre20160211/messageviewer/viewer/nodehelper.cpp:223
#12 0x00007f651df29ec3 in MessageViewer::ViewerPrivate::attachmentOpenWith (this=this@entry=0x1bce240, node=<optimized out>, offer=...) at /var/tmp/portage/kde-apps/kdepim-common-libs-4.14.11_pre20160211/work/kdepim-common-libs-4.14.11_pre20160211/messageviewer/viewer/viewer_p.cpp:735
#13 0x00007f651df3620b in MessageViewer::ViewerPrivate::openAttachment (this=this@entry=0x1bce240, node=node@entry=0x631e0a0, name=...) at /var/tmp/portage/kde-apps/kdepim-common-libs-4.14.11_pre20160211/work/kdepim-common-libs-4.14.11_pre20160211/messageviewer/viewer/viewer_p.cpp:398
#14 0x00007f651df3dc1a in (anonymous namespace)::AttachmentURLHandler::handleClick (this=<optimized out>, url=..., w=0x1bce240) at /var/tmp/portage/kde-apps/kdepim-common-libs-4.14.11_pre20160211/work/kdepim-common-libs-4.14.11_pre20160211/messageviewer/viewer/urlhandlermanager.cpp:790
#15 0x00007f651df3fc98 in MessageViewer::URLHandlerManager::handleClick (this=<optimized out>, url=..., w=w@entry=0x1bce240) at /var/tmp/portage/kde-apps/kdepim-common-libs-4.14.11_pre20160211/work/kdepim-common-libs-4.14.11_pre20160211/messageviewer/viewer/urlhandlermanager.cpp:373
#16 0x00007f651df219f5 in MessageViewer::ViewerPrivate::slotUrlOpen (this=0x1bce240, url=...) at /var/tmp/portage/kde-apps/kdepim-common-libs-4.14.11_pre20160211/work/kdepim-common-libs-4.14.11_pre20160211/messageviewer/viewer/viewer_p.cpp:2119
#17 0x00007f651dfd2c65 in MessageViewer::ViewerPrivate::qt_static_metacall (_o=0x1bce240, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /var/tmp/portage/kde-apps/kdepim-common-libs-4.14.11_pre20160211/work/kdepim-common-libs-4.14.11_pre20160211_build/messageviewer/moc_viewer_p.cpp:255
#18 0x00007f65839e2eee in QObject::event (this=0x1bce240, e=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-4.8.6-r2/work/qt-everywhere-opensource-src-4.8.6/src/corelib/kernel/qobject.cpp:1222
#19 0x00007f6582b48331 in QApplicationPrivate::notify_helper (this=this@entry=0x1892f30, receiver=receiver@entry=0x1bce240, e=e@entry=0x1bd4d60) at /var/tmp/portage/dev-qt/qtgui-4.8.6-r4/work/qt-everywhere-opensource-src-4.8.6/src/gui/kernel/qapplication.cpp:4565
#20 0x00007f6582b51eba in QApplication::notify (this=this@entry=0x7fff13fcdad0, receiver=receiver@entry=0x1bce240, e=e@entry=0x1bd4d60) at /var/tmp/portage/dev-qt/qtgui-4.8.6-r4/work/qt-everywhere-opensource-src-4.8.6/src/gui/kernel/qapplication.cpp:4351
#21 0x00007f65845259ea in KApplication::notify (this=0x7fff13fcdad0, receiver=0x1bce240, event=0x1bd4d60) at /var/tmp/portage/kde-base/kdelibs-4.14.17/work/kdelibs-4.14.17/kdeui/kernel/kapplication.cpp:311
#22 0x00007f65839c1225 in QCoreApplication::notifyInternal (this=0x7fff13fcdad0, receiver=receiver@entry=0x1bce240, event=event@entry=0x1bd4d60) at /var/tmp/portage/dev-qt/qtcore-4.8.6-r2/work/qt-everywhere-opensource-src-4.8.6/src/corelib/kernel/qcoreapplication.cpp:953
#23 0x00007f65839c6151 in QCoreApplication::sendEvent (event=0x1bd4d60, receiver=0x1bce240) at /var/tmp/portage/dev-qt/qtcore-4.8.6-r2/work/qt-everywhere-opensource-src-4.8.6/src/corelib/kernel/qcoreapplication.h:231
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1846b50) at /var/tmp/portage/dev-qt/qtcore-4.8.6-r2/work/qt-everywhere-opensource-src-4.8.6/src/corelib/kernel/qcoreapplication.cpp:1577
#25 0x00007f65839c6603 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at /var/tmp/portage/dev-qt/qtcore-4.8.6-r2/work/qt-everywhere-opensource-src-4.8.6/src/corelib/kernel/qcoreapplication.cpp:1470
#26 0x00007f65839fcbbe in QCoreApplication::sendPostedEvents () at /var/tmp/portage/dev-qt/qtcore-4.8.6-r2/work/qt-everywhere-opensource-src-4.8.6/src/corelib/kernel/qcoreapplication.h:236
#27 postEventSourceDispatch (s=0x1887580) at /var/tmp/portage/dev-qt/qtcore-4.8.6-r2/work/qt-everywhere-opensource-src-4.8.6/src/corelib/kernel/qeventdispatcher_glib.cpp:300
#28 0x00007f657ba81f7c in g_mapped_file_new (filename=0xffffffff00000004 <error: Cannot access memory at address 0xffffffff00000004>, writable=103932064, error=0x631e0a0) at /var/tmp/portage/dev-libs/glib-2.46.2-r2/work/glib-2.46.2/glib/gmappedfile.c:245
#29 0x0000000000000000 in ?? ()

The reporter indicates this bug may be a duplicate of or related to bug 344961.

Possible duplicates by query: bug 344961.

Reported using DrKonqi
Comment 1 Denis Kurz 2017-06-23 21:27:19 UTC
This bug has never been confirmed for a KDE PIM version that is based on KDE Frameworks, except possibly a Technology Preview version 5.0.x. Those Framework-based versions differ significantly from the old 4.x series. Therefore, I plan to close it in around two or three months. In the meantime, it is set to WAITINGFORINFO to give reporters the opportunity to check if it is still valid. As soon as someone confirms it for a recent version (at least 5.1, ideally even more recent), I'll gladly reopen it.

Please understand that we lack the manpower to triage bugs reported for versions almost two years beyond their end of life.
Comment 2 Denis Kurz 2018-02-01 09:50:53 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.1 aka 15.12; preferably much more recent), please open a new one unless it already exists. Thank you for all your input.