Bug 311756 - Opening an attachment while email is removed from mailbox results in a crash
Summary: Opening an attachment while email is removed from mailbox results in a crash
Status: RESOLVED DUPLICATE of bug 303990
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.9.4
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-16 01:25 UTC by Dennis Schridde
Modified: 2012-12-22 14:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2012-12-16 01:25:20 UTC
Application: kontact (4.9.4)
KDE Platform Version: 4.9.4
Qt Version: 4.8.4
Operating System: Linux 3.7.0-gentoo x86_64
Distribution: "Gentoo Base System release 2.2"

-- 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.

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

Thread 5 (Thread 0x7f9540045700 (LWP 23913)):
#0  0x0000003e2da0b8a4 in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x0000003d9a336f4b in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x0000003d9a337049 in ?? () from /usr/lib64/qt4/libQtWebKit.so.4
#3  0x0000003e2da07dff in start_thread () from /lib64/libpthread.so.0
#4  0x0000003e2d2e228d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f953f72c700 (LWP 23914)):
#0  0x00007fffc45fc847 in clock_gettime ()
#1  0x0000003e2e603f2d in clock_gettime () from /lib64/librt.so.1
#2  0x0000003d8cecf744 in qt_gettime() () from /usr/lib64/qt4/libQtCore.so.4
#3  0x0000003d8cfa10ad in QTimerInfoList::updateCurrentTime() () from /usr/lib64/qt4/libQtCore.so.4
#4  0x0000003d8cfa13f3 in QTimerInfoList::timerWait(timeval&) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x0000003d8cf9fe9c in timerSourcePrepareHelper(GTimerSource*, int*) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x0000003d8cf9ff3d in timerSourcePrepare(_GSource*, int*) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x0000003e2f2466e6 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#8  0x0000003e2f246dcb in ?? () from /usr/lib64/libglib-2.0.so.0
#9  0x0000003e2f246fc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#10 0x0000003d8cfa07ce in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#11 0x0000003d8cf71c9f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#12 0x0000003d8cf71f20 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#13 0x0000003d8ce78440 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#14 0x0000003d8ce7b33c in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#15 0x0000003e2da07dff in start_thread () from /lib64/libpthread.so.0
#16 0x0000003e2d2e228d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f94efb90700 (LWP 25253)):
#0  0x0000003e2da0bc11 in pthread_cond_timedwait () from /lib64/libpthread.so.0
#1  0x0000003d8ce7b806 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x0000003d8ce6f28e in QThreadPoolThread::run() () from /usr/lib64/qt4/libQtCore.so.4
#3  0x0000003d8ce7b33c in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x0000003e2da07dff in start_thread () from /lib64/libpthread.so.0
#5  0x0000003e2d2e228d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f94f72ac700 (LWP 25254)):
#0  0x0000003e2da0bc11 in pthread_cond_timedwait () from /lib64/libpthread.so.0
#1  0x0000003d8ce7b806 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x0000003d8ce6f28e in QThreadPoolThread::run() () from /usr/lib64/qt4/libQtCore.so.4
#3  0x0000003d8ce7b33c in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x0000003e2da07dff in start_thread () from /lib64/libpthread.so.0
#5  0x0000003e2d2e228d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f9544549780 (LWP 23912)):
[KCrash Handler]
#6  0x0000003d9bc435e4 in KMime::Content::parent (this=this@entry=0x3790830) at /var/tmp/portage/kde-base/kdepimlibs-4.9.4/work/kdepimlibs-4.9.4/kmime/kmime_content.cpp:949
#7  0x0000003d9bc435fe in KMime::Content::topLevel (this=this@entry=0x3790830) at /var/tmp/portage/kde-base/kdepimlibs-4.9.4/work/kdepimlibs-4.9.4/kmime/kmime_content.cpp:955
#8  0x0000003d9bc4710c in KMime::Content::index (this=0x3790830) at /var/tmp/portage/kde-base/kdepimlibs-4.9.4/work/kdepimlibs-4.9.4/kmime/kmime_content.cpp:966
#9  0x0000003da2e78ba6 in MessageViewer::NodeHelper::tempFileUrlFromNode (this=this@entry=0x24110a0, node=node@entry=0x3790830) at /var/tmp/portage/kde-base/kdepim-common-libs-4.9.4/work/kdepim-common-libs-4.9.4/messageviewer/nodehelper.cpp:259
#10 0x0000003da2e78df1 in MessageViewer::NodeHelper::writeNodeToTempFile (this=0x24110a0, node=0x3790830) at /var/tmp/portage/kde-base/kdepim-common-libs-4.9.4/work/kdepim-common-libs-4.9.4/messageviewer/nodehelper.cpp:216
#11 0x0000003da2ebd4d2 in MessageViewer::ViewerPrivate::attachmentOpen (this=this@entry=0x2410d40, node=<optimized out>, offer=...) at /var/tmp/portage/kde-base/kdepim-common-libs-4.9.4/work/kdepim-common-libs-4.9.4/messageviewer/viewer_p.cpp:791
#12 0x0000003da2ec82b5 in MessageViewer::ViewerPrivate::openAttachment (this=0x2410d40, node=0x3790830, name=...) at /var/tmp/portage/kde-base/kdepim-common-libs-4.9.4/work/kdepim-common-libs-4.9.4/messageviewer/viewer_p.cpp:387
#13 0x0000003da2ea2acc in (anonymous namespace)::AttachmentURLHandler::handleClick (this=<optimized out>, url=..., w=0x2410d40) at /var/tmp/portage/kde-base/kdepim-common-libs-4.9.4/work/kdepim-common-libs-4.9.4/messageviewer/urlhandlermanager.cpp:783
#14 0x0000003da2ea54c0 in MessageViewer::URLHandlerManager::handleClick (this=<optimized out>, url=..., w=0x2410d40) at /var/tmp/portage/kde-base/kdepim-common-libs-4.9.4/work/kdepim-common-libs-4.9.4/messageviewer/urlhandlermanager.cpp:371
#15 0x0000003da2eb2f72 in MessageViewer::ViewerPrivate::slotUrlOpen (this=0x2410d40, url=...) at /var/tmp/portage/kde-base/kdepim-common-libs-4.9.4/work/kdepim-common-libs-4.9.4/messageviewer/viewer_p.cpp:2078
#16 0x0000003da2ec75f3 in MessageViewer::ViewerPrivate::qt_static_metacall (_o=0x2410d40, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /var/tmp/portage/kde-base/kdepim-common-libs-4.9.4/work/kdepim-common-libs-4.9.4_build/messageviewer/viewer_p.moc:221
#17 0x0000003d8cf87346 in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#18 0x0000003d8ddc931c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#19 0x0000003d8ddcd6da in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#20 0x0000003d91641946 in KApplication::notify (this=0x7fffc44ebe30, receiver=0x2410d40, event=0x24cf9e0) at /var/tmp/portage/kde-base/kdelibs-4.9.4-r1/work/kdelibs-4.9.4/kdeui/kernel/kapplication.cpp:311
#21 0x0000003d8cf72f0d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#22 0x0000003d8cf767a0 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#23 0x0000003d8cfa0633 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtCore.so.4
#24 0x0000003e2f246bbc in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#25 0x0000003e2f246f14 in ?? () from /usr/lib64/libglib-2.0.so.0
#26 0x0000003e2f246fc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#27 0x0000003d8cfa07b4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#28 0x0000003d8de66f5e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#29 0x0000003d8cf71c9f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#30 0x0000003d8cf71f20 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#31 0x0000003d8cf76a88 in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#32 0x0000000000403459 in main (argc=1, argv=0x7fffc44ebf78) at /var/tmp/portage/kde-base/kontact-4.9.4/work/kontact-4.9.4/kontact/src/main.cpp:219

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

Possible duplicates by query: bug 303990.

Reported using DrKonqi
Comment 1 Christophe Marin 2012-12-22 14:08:49 UTC

*** This bug has been marked as a duplicate of bug 303990 ***