Bug 303990 - Kontact/kmail crashed while opening attached PDF
Summary: Kontact/kmail crashed while opening attached PDF
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.8.4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 311756 323190 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-07-24 07:35 UTC by Kysh
Modified: 2017-01-07 22:31 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (7.22 KB, text/plain)
2013-02-27 18:26 UTC, Ovidiu-Florin BOGDAN
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kysh 2012-07-24 07:35:04 UTC
Application: kontact (4.8.4)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-27-generic i686
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
- Opened a mail
- Clicked to open a PDF attachement
- Kontact immediately crashed and raised the bug reporter

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

Thread 3 (Thread 0xb595eb40 (LWP 5318)):
#0  0x00e28416 in __kernel_vsyscall ()
#1  0x00e0d96b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x06d173dc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x043c6263 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0x043c637f in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0x00e09d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0x06d09ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xb503db40 (LWP 5319)):
#0  0x00f87dcd in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x00af4315 in do_gettime (frac=0xb503d000, sec=0xb503cff8) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x00bde226 in QTimerInfoList::updateCurrentTime (this=0xb4702074) at kernel/qeventdispatcher_unix.cpp:343
#4  0x00bde57a in QTimerInfoList::timerWait (this=0xb4702074, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#5  0x00bdce23 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb503d0ec) at kernel/qeventdispatcher_glib.cpp:136
#6  0x01fbd872 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x01fbdfaf in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x01fbe201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x00bdd8e7 in QEventDispatcherGlib::processEvents (this=0xb4700468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#10 0x00ba950d in QEventLoop::processEvents (this=0xb503d270, flags=...) at kernel/qeventloop.cpp:149
#11 0x00ba97a9 in QEventLoop::exec (this=0xb503d270, flags=...) at kernel/qeventloop.cpp:204
#12 0x00a9294c in QThread::exec (this=0x8c6d840) at thread/qthread.cpp:501
#13 0x00a92a3b in QThread::run (this=0x8c6d840) at thread/qthread.cpp:568
#14 0x00a95de0 in QThreadPrivate::start (arg=0x8c6d840) at thread/qthread_unix.cpp:298
#15 0x00e09d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#16 0x06d09ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb7768980 (LWP 5224)):
[KCrash Handler]
#7  0x022b28b7 in KMime::Content::parent (this=0xd328d98) at ../../kmime/kmime_content.cpp:928
#8  0x022b28dd in KMime::Content::topLevel (this=0xd328d98) at ../../kmime/kmime_content.cpp:934
#9  0x022b4bda in KMime::Content::index (this=0xd328d98) at ../../kmime/kmime_content.cpp:945
#10 0x063a5d2e in MessageViewer::NodeHelper::tempFileUrlFromNode (this=0x90b7680, node=0xd328d98) at ../../messageviewer/nodehelper.cpp:259
#11 0x063a5fdc in MessageViewer::NodeHelper::writeNodeToTempFile (this=0x90b7680, node=0xd328d98) at ../../messageviewer/nodehelper.cpp:216
#12 0x063f310a in MessageViewer::ViewerPrivate::attachmentOpen (this=0x90b74a8, node=0x10, offer=<error reading variable: Cannot access memory at address 0x10>) at ../../messageviewer/viewer_p.cpp:686
#13 0x063f431e in MessageViewer::ViewerPrivate::openAttachment (this=0x90b74a8, node=0xd328d98, name=...) at ../../messageviewer/viewer_p.cpp:378
#14 0x063d2157 in (anonymous namespace)::AttachmentURLHandler::handleClick (this=0x9b26ee8, url=..., w=0x90b74a8) at ../../messageviewer/urlhandlermanager.cpp:782
#15 0x063d4a25 in MessageViewer::URLHandlerManager::handleClick (this=0x9280b60, url=..., w=0x90b74a8) at ../../messageviewer/urlhandlermanager.cpp:370
#16 0x063e59ba in MessageViewer::ViewerPrivate::slotUrlOpen (this=0x90b74a8, url=...) at ../../messageviewer/viewer_p.cpp:1919
#17 0x063f9374 in MessageViewer::ViewerPrivate::qt_static_metacall (_o=0x90b74a8, _c=QMetaObject::InvokeMetaMethod, _id=21, _a=0xd8d27e0) at ./viewer_p.moc:200
#18 0x00bbcc01 in QMetaCallEvent::placeMetaCall (this=0x9bb1468, object=0x90b74a8) at kernel/qobject.cpp:525
#19 0x00bc5c7b in QObject::event (this=0x90b74a8, e=0x9bb1468) at kernel/qobject.cpp:1195
#20 0x010dfed4 in notify_helper (e=0x9bb1468, receiver=0x90b74a8, this=0x8b8d5a0) at kernel/qapplication.cpp:4559
#21 QApplicationPrivate::notify_helper (this=0x8b8d5a0, receiver=0x90b74a8, e=0x9bb1468) at kernel/qapplication.cpp:4531
#22 0x010e530d in QApplication::notify (this=0x9bb1468, receiver=0x90b74a8, e=0x9bb1468) at kernel/qapplication.cpp:4288
#23 0x00329401 in KApplication::notify (this=0xbf9f7d74, receiver=0x90b74a8, event=0x9bb1468) at ../../kdeui/kernel/kapplication.cpp:311
#24 0x00baa97e in QCoreApplication::notifyInternal (this=0xbf9f7d74, receiver=0x90b74a8, event=0x9bb1468) at kernel/qcoreapplication.cpp:876
#25 0x00baead8 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8b65ab8) at kernel/qcoreapplication.cpp:1500
#27 0x00baee0c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1393
#28 0x00bdd494 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#29 postEventSourceDispatch (s=0x8b8d2b8) at kernel/qeventdispatcher_glib.cpp:279
#30 0x01fbdd86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#31 0x01fbe125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#32 0x01fbe201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#33 0x00bdd887 in QEventDispatcherGlib::processEvents (this=0x8b66800, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#34 0x01198aaa in QGuiEventDispatcherGlib::processEvents (this=0x8b66800, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00ba950d in QEventLoop::processEvents (this=0xbf9f7cd4, flags=...) at kernel/qeventloop.cpp:149
#36 0x00ba97a9 in QEventLoop::exec (this=0xbf9f7cd4, flags=...) at kernel/qeventloop.cpp:204
#37 0x00baeeba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#38 0x010dda74 in QApplication::exec () at kernel/qapplication.cpp:3820
#39 0x0804ac91 in main (argc=2943632, argv=0xb7786840) at ../../../kontact/src/main.cpp:218

This bug may be a duplicate of or related to bug 277713.

Possible duplicates by query: bug 277713.

Reported using DrKonqi
Comment 1 Laurent Montel 2012-07-24 07:47:50 UTC
always reproducible ?
If yes If you can forward your email in private...
Comment 2 Laurent Montel 2012-08-17 10:24:13 UTC
wait for infos
Comment 3 Christophe Marin 2012-12-22 14:08:32 UTC
from bug 311756

-- Information about the crash:
- What I was doing when the application crashed:
I viewed an email in the preview pane, double-clicked on an attachment to open it, and in the same moment the email was removed from the mailbox (this is expected - the IMAP server removes the email from the virtual INBOX as soon as it was marked \Seen). Kontact crashed right away.
Comment 4 Christophe Marin 2012-12-22 14:08:49 UTC
*** Bug 311756 has been marked as a duplicate of this bug. ***
Comment 5 Dennis Schridde 2012-12-22 14:42:18 UTC
(In reply to comment #1)
> always reproducible ?
The crash reported in bug #311756 is always reproducible using the procedure described in comment #3 or bug #311756 comment #0.
Comment 6 Allen Winter 2012-12-22 16:40:21 UTC
reopening then
Comment 7 Ovidiu-Florin BOGDAN 2013-02-27 18:26:18 UTC
Created attachment 77635 [details]
New crash information added by DrKonqi

kontact (4.10) on KDE Platform 4.10.00 using Qt 4.8.2

- What I was doing when the application crashed:

Kontact/Kmail crashed when tried to open audio atachment with VLC.

-- Backtrace (Reduced):
#6  0x00007f0443a984d4 in KMime::Content::parent (this=0x37a6230) at ../../kmime/kmime_content.cpp:952
#7  0x00007f0443a984ee in KMime::Content::topLevel (this=0x37a6230) at ../../kmime/kmime_content.cpp:958
#8  0x00007f0443a9a54c in KMime::Content::index (this=0x37a6230) at ../../kmime/kmime_content.cpp:969
#9  0x00007f03e781f529 in MessageViewer::NodeHelper::tempFileUrlFromNode (this=0x1bec490, node=<optimized out>) at ../../messageviewer/nodehelper.cpp:263
#10 0x00007f03e781f7dc in MessageViewer::NodeHelper::writeNodeToTempFile (this=0x1bec490, node=0x37a6230) at ../../messageviewer/nodehelper.cpp:221
Comment 8 Jekyll Wu 2013-08-05 13:46:07 UTC
*** Bug 323190 has been marked as a duplicate of this bug. ***
Comment 9 Denis Kurz 2016-09-24 19:29:21 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kontact (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 10 Denis Kurz 2017-01-07 22:31:37 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.