Bug 302153 - Crashed when saving an attachment
Summary: Crashed when saving an attachment
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.8.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 315058 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-06-18 22:03 UTC by Albert Astals Cid
Modified: 2017-01-07 21:42 UTC (History)
2 users (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 Albert Astals Cid 2012-06-18 22:03:25 UTC
Application: kmail (4.8.3)
KDE Platform Version: 4.8.3 (4.8.3)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-25-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
I was saving an attachment and whn trying to save it kmail crashed. Tried to reproduce it again with the same email and then it worked

The crash does not seem to be reproducible.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f577cec87c0 (LWP 4005))]

Thread 7 (Thread 0x7f575a617700 (LWP 4011)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f576f1c8dec in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f576f1c8f19 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f5777d00e9a in start_thread (arg=0x7f575a617700) at pthread_create.c:308
#4  0x00007f577a2314bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f5759d16700 (LWP 4012)):
#0  0x00007f5777d0405d in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x7f5754000a60) at pthread_mutex_unlock.c:290
#2  0x00007f5772b105d1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5772ad498b in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f5772ad4faa in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f5772ad5164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f577abbc426 in QEventDispatcherGlib::processEvents (this=0x7f57540008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00007f577ab8bc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f577ab8bed7 in QEventLoop::exec (this=0x7f5759d15dc0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f577aa8afa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#10 0x00007f577aa8dfcb in QThreadPrivate::start (arg=0x2338ca0) at thread/qthread_unix.cpp:298
#11 0x00007f5777d00e9a in start_thread (arg=0x7f5759d16700) at pthread_create.c:308
#12 0x00007f577a2314bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f5712f68700 (LWP 4046)):
#0  0x00007f577a225b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f5772ad5036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5772ad5164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f577abbc3bf in QEventDispatcherGlib::processEvents (this=0x7f57040008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f577ab8bc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f577ab8bed7 in QEventLoop::exec (this=0x7f5712f67d90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f577aa8afa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f577ab6b9ff in QInotifyFileSystemWatcherEngine::run (this=0x25a3890) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f577aa8dfcb in QThreadPrivate::start (arg=0x25a3890) at thread/qthread_unix.cpp:298
#9  0x00007f5777d00e9a in start_thread (arg=0x7f5712f68700) at pthread_create.c:308
#10 0x00007f577a2314bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f5703436700 (LWP 9565)):
#0  0x00007f577a225b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f5772ad5036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5772ad5164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f577abbc3bf in QEventDispatcherGlib::processEvents (this=0x7f56f4002980, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f577ab8bc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f577ab8bed7 in QEventLoop::exec (this=0x7f5703435d90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f577aa8afa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f577ab6b9ff in QInotifyFileSystemWatcherEngine::run (this=0xffd9260) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f577aa8dfcb in QThreadPrivate::start (arg=0xffd9260) at thread/qthread_unix.cpp:298
#9  0x00007f5777d00e9a in start_thread (arg=0x7f5703436700) at pthread_create.c:308
#10 0x00007f577a2314bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f5711dd6700 (LWP 9569)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007f577aa8e43f in wait (time=30000, this=0x23daba0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x23dab48, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f577aa815bf in QThreadPoolThread::run (this=0x23eebd0) at concurrent/qthreadpool.cpp:141
#4  0x00007f577aa8dfcb in QThreadPrivate::start (arg=0x23eebd0) at thread/qthread_unix.cpp:298
#5  0x00007f5777d00e9a in start_thread (arg=0x7f5711dd6700) at pthread_create.c:308
#6  0x00007f577a2314bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f5713fff700 (LWP 9571)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007f577aa8e43f in wait (time=30000, this=0x2ea5d30) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2ea5cd8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f577aa815bf in QThreadPoolThread::run (this=0x2ea6ce0) at concurrent/qthreadpool.cpp:141
#4  0x00007f577aa8dfcb in QThreadPrivate::start (arg=0x2ea6ce0) at thread/qthread_unix.cpp:298
#5  0x00007f5777d00e9a in start_thread (arg=0x7f5713fff700) at pthread_create.c:308
#6  0x00007f577a2314bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f577cec87c0 (LWP 4005)):
[KCrash Handler]
#6  header<KMime::Headers::ContentTransferEncoding> (create=true, this=0x1e6d8580) at ../../kmime/kmime_content.h:794
#7  KMime::Content::contentTransferEncoding (this=0x1e6d8580, create=true) at ../../kmime/kmime_content.cpp:978
#8  0x00007f57771b13eb in KMime::Content::decodedContent (this=0x1e6d8580) at ../../kmime/kmime_content.cpp:353
#9  0x00007f5773b2f15b in MessageViewer::Util::saveContent(QWidget*, KMime::Content*, KUrl const&) () from /usr/lib/libmessageviewer.so.4
#10 0x00007f5773b30fb8 in MessageViewer::Util::saveContents(QWidget*, QList<KMime::Content*> const&) () from /usr/lib/libmessageviewer.so.4
#11 0x00007f5773b4864c in ?? () from /usr/lib/libmessageviewer.so.4
#12 0x00007f5773b29caf in ?? () from /usr/lib/libmessageviewer.so.4
#13 0x00007f5773b2c4b8 in ?? () from /usr/lib/libmessageviewer.so.4
#14 0x00007f5773b3c2f1 in ?? () from /usr/lib/libmessageviewer.so.4
#15 0x00007f5773b4cf7e in ?? () from /usr/lib/libmessageviewer.so.4
#16 0x00007f577aba6446 in QObject::event (this=0x2323530, e=<optimized out>) at kernel/qobject.cpp:1195
#17 0x00007f577b0af894 in notify_helper (e=0x21ee9b50, receiver=0x2323530, this=0x1de7600) at kernel/qapplication.cpp:4559
#18 QApplicationPrivate::notify_helper (this=0x1de7600, receiver=0x2323530, e=0x21ee9b50) at kernel/qapplication.cpp:4531
#19 0x00007f577b0b4713 in QApplication::notify (this=0x7fffc04322d0, receiver=0x2323530, e=0x21ee9b50) at kernel/qapplication.cpp:4420
#20 0x00007f577c8e9bb6 in KApplication::notify (this=0x7fffc04322d0, receiver=0x2323530, event=0x21ee9b50) at ../../kdeui/kernel/kapplication.cpp:311
#21 0x00007f577ab8ce9c in QCoreApplication::notifyInternal (this=0x7fffc04322d0, receiver=0x2323530, event=0x21ee9b50) at kernel/qcoreapplication.cpp:876
#22 0x00007f577ab90c6a in sendEvent (event=0x21ee9b50, receiver=0x2323530) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#23 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1d92220) at kernel/qcoreapplication.cpp:1500
#24 0x00007f577abbbf93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#25 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#26 0x00007f5772ad4d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f5772ad50a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f5772ad5164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f577abbc3bf in QEventDispatcherGlib::processEvents (this=0x1d93b00, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#30 0x00007f577b157d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007f577ab8bc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007f577ab8bed7 in QEventLoop::exec (this=0x7fffc04321b0, flags=...) at kernel/qeventloop.cpp:204
#33 0x00007f577ab90f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#34 0x0000000000402bd3 in ?? ()
#35 0x00007f577a16076d in __libc_start_main (main=0x4021a0, argc=3, ubp_av=0x7fffc0432728, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffc0432718) at libc-start.c:226
#36 0x0000000000403095 in _start ()

Reported using DrKonqi
Comment 1 Thorsten Schnebeck 2012-08-01 11:47:07 UTC
Ok, I can second - but I deleted an attachment. This also triggers the same crash in KMime (/kmime/kmime_content.h:794 | /kmime/kmime_content.cpp:979)

1. open a already sent mail or open a mail from file
2. Delete attachment
3. A warning window appears that this could produce a wrong digital signature
4. Closing the warning window -> crash:

HTH

  Thorsten

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

Thread 5 (Thread 0x7fa1ba74d700 (LWP 30951)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fa1d3ba4dec in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fa1d3ba4f19 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fa1cf068e9a in start_thread (arg=0x7fa1ba74d700) at pthread_create.c:308
#4  0x00007fa1d48d64bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fa1b9e34700 (LWP 30952)):
#0  0x00007fa1d48c90bd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fa1cebd68cf in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa1ceb9bba4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa1ceb9bfd6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa1ceb9c164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa1d504b426 in QEventDispatcherGlib::processEvents (this=0x7fa1b40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fa1d501ac82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fa1d501aed7 in QEventLoop::exec (this=0x7fa1b9e33dc0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fa1d4f19fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007fa1d4f1cfcb in QThreadPrivate::start (arg=0x211d110) at thread/qthread_unix.cpp:298
#10 0x00007fa1cf068e9a in start_thread (arg=0x7fa1b9e34700) at pthread_create.c:308
#11 0x00007fa1d48d64bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fa16c129700 (LWP 30956)):
#0  0x00007fa1d48cab03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fa1ceb9c036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa1ceb9c164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa1d504b426 in QEventDispatcherGlib::processEvents (this=0x7fa1640008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fa1d501ac82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fa1d501aed7 in QEventLoop::exec (this=0x7fa16c128d90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fa1d4f19fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fa1d4ffa9ff in QInotifyFileSystemWatcherEngine::run (this=0x2bcd440) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fa1d4f1cfcb in QThreadPrivate::start (arg=0x2bcd440) at thread/qthread_unix.cpp:298
#9  0x00007fa1cf068e9a in start_thread (arg=0x7fa16c129700) at pthread_create.c:308
#10 0x00007fa1d48d64bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fa169e8a700 (LWP 30968)):
#0  0x00007fa1d48cab03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fa1ceb9c036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa1ceb9c164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa1d504b426 in QEventDispatcherGlib::processEvents (this=0x7fa15c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fa1d501ac82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fa1d501aed7 in QEventLoop::exec (this=0x7fa169e89d90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fa1d4f19fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fa1d4ffa9ff in QInotifyFileSystemWatcherEngine::run (this=0x2e81200) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fa1d4f1cfcb in QThreadPrivate::start (arg=0x2e81200) at thread/qthread_unix.cpp:298
#9  0x00007fa1cf068e9a in start_thread (arg=0x7fa169e8a700) at pthread_create.c:308
#10 0x00007fa1d48d64bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa1d73ae7c0 (LWP 30950)):
[KCrash Handler]
#6  header<KMime::Headers::ContentDisposition> (create=false, this=0xaccd5b0) at ../../kmime/kmime_content.h:794
#7  KMime::Content::contentDisposition (this=0xaccd5b0, create=false) at ../../kmime/kmime_content.cpp:979
#8  0x00007fa17005ce85 in MessageViewer::ViewerPrivate::deleteAttachment (this=0xe2ff620, node=0xaccd5b0, showWarning=<optimized out>) at ../../messageviewer/viewer_p.cpp:419
#9  0x00007fa17006b417 in MessageViewer::ViewerPrivate::slotAttachmentDelete (this=0xe2ff620) at ../../messageviewer/viewer_p.cpp:2448
#10 0x00007fa17006e21a in MessageViewer::ViewerPrivate::qt_static_metacall (_o=0xe2ff620, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./viewer_p.moc:236
#11 0x00007fa1d5030281 in QMetaObject::activate (sender=0xb0895a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffb9c91290) at kernel/qobject.cpp:3547
#12 0x00007fa1d5a10132 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#13 0x00007fa1d5a1031f in QAction::activate (this=0xb0895a0, event=<optimized out>) at kernel/qaction.cpp:1257
#14 0x00007fa1d5e62119 in QMenuPrivate::activateCausedStack (this=0xd74fab0, causedStack=..., action=0xb0895a0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1028
#15 0x00007fa1d5e68272 in QMenuPrivate::activateAction (this=0xd74fab0, action=0xb0895a0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1120
#16 0x00007fa1d68112d0 in KMenu::mouseReleaseEvent (this=0x7fffb9c92b50, e=0x7fffb9c91e60) at ../../kdeui/widgets/kmenu.cpp:464
#17 0x00007fa1d5a67144 in QWidget::event (this=0x7fffb9c92b50, event=0x7fffb9c91e60) at kernel/qwidget.cpp:8362
#18 0x00007fa1d5e6980b in QMenu::event (this=0x7fffb9c92b50, e=0x7fffb9c91e60) at widgets/qmenu.cpp:2469
#19 0x00007fa1d5a16894 in notify_helper (e=0x7fffb9c91e60, receiver=0x7fffb9c92b50, this=0x1f9b420) at kernel/qapplication.cpp:4559
#20 QApplicationPrivate::notify_helper (this=0x1f9b420, receiver=0x7fffb9c92b50, e=0x7fffb9c91e60) at kernel/qapplication.cpp:4531
#21 0x00007fa1d5a1c0bf in QApplication::notify (this=<optimized out>, receiver=0x7fffb9c92b50, e=0x7fffb9c91e60) at kernel/qapplication.cpp:4102
#22 0x00007fa1d67509e6 in KApplication::notify (this=0x7fffb9c94970, receiver=0x7fffb9c92b50, event=0x7fffb9c91e60) at ../../kdeui/kernel/kapplication.cpp:311
#23 0x00007fa1d501be9c in QCoreApplication::notifyInternal (this=0x7fffb9c94970, receiver=0x7fffb9c92b50, event=0x7fffb9c91e60) at kernel/qcoreapplication.cpp:876
#24 0x00007fa1d5a17862 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#25 QApplicationPrivate::sendMouseEvent (receiver=0x7fffb9c92b50, event=0x7fffb9c91e60, alienWidget=0x0, nativeWidget=0x7fffb9c92b50, buttonDown=0x0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#26 0x00007fa1d5a972c1 in QETWidget::translateMouseEvent (this=0x7fffb9c92b50, event=<optimized out>) at kernel/qapplication_x11.cpp:4551
#27 0x00007fa1d5a95bae in QApplication::x11ProcessEvent (this=0x7fffb9c94970, event=0x7fffb9c92730) at kernel/qapplication_x11.cpp:3732
#28 0x00007fa1d5abf0d2 in x11EventSourceDispatch (s=0x1f98470, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#29 0x00007fa1ceb9bd53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007fa1ceb9c0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007fa1ceb9c164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007fa1d504b3bf in QEventDispatcherGlib::processEvents (this=0x1f60c10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#33 0x00007fa1d5abed5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007fa1d501ac82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007fa1d501aed7 in QEventLoop::exec (this=0x7fffb9c92ad0, flags=...) at kernel/qeventloop.cpp:204
#36 0x00007fa1d5e65131 in QMenu::exec (this=<optimized out>, p=..., action=0x0) at widgets/qmenu.cpp:2113
#37 0x00007fa170059156 in MessageViewer::ViewerPrivate::showContextMenu (this=0xe2ff620, content=0xaccd5b0, pos=...) at ../../messageviewer/viewer_p.cpp:1728
#38 0x00007fa17005a2b0 in MessageViewer::ViewerPrivate::slotMimeTreeContextMenuRequested (this=0xe2ff620, pos=...) at ../../messageviewer/viewer_p.cpp:2332
#39 0x00007fa17006e19e in MessageViewer::ViewerPrivate::qt_static_metacall (_o=0xe2ff620, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./viewer_p.moc:228
#40 0x00007fa1d5030281 in QMetaObject::activate (sender=0xda78ea0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffb9c930c0) at kernel/qobject.cpp:3547
#41 0x00007fa1d5a5c8d2 in QWidget::customContextMenuRequested (this=<optimized out>, _t1=...) at .moc/release-shared/moc_qwidget.cpp:374
#42 0x00007fa1d5a67af1 in QWidget::event (this=0xda78ea0, event=0x7fffb9c93cc0) at kernel/qwidget.cpp:8532
#43 0x00007fa1d5e273b6 in QFrame::event (this=0xda78ea0, e=0x7fffb9c93cc0) at widgets/qframe.cpp:557
#44 0x00007fa1d5f3b89b in QAbstractItemView::viewportEvent (this=0xda78ea0, event=0x7fffb9c93cc0) at itemviews/qabstractitemview.cpp:1644
#45 0x00007fa1d5f834b5 in QTreeView::viewportEvent (this=0xda78ea0, event=0x7fffb9c93cc0) at itemviews/qtreeview.cpp:1257
#46 0x00007fa1d501c028 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0xdc9aa40, event=0x7fffb9c93cc0) at kernel/qcoreapplication.cpp:986
#47 0x00007fa1d5a1685f in notify_helper (e=0x7fffb9c93cc0, receiver=0xdc9aa40, this=0x1f9b420) at kernel/qapplication.cpp:4555
#48 QApplicationPrivate::notify_helper (this=0x1f9b420, receiver=0xdc9aa40, e=0x7fffb9c93cc0) at kernel/qapplication.cpp:4531
#49 0x00007fa1d5a1bbcd in QApplication::notify (this=<optimized out>, receiver=0xdc9aa40, e=0x7fffb9c93cc0) at kernel/qapplication.cpp:4181
#50 0x00007fa1d67509e6 in KApplication::notify (this=0x7fffb9c94970, receiver=0xdc9aa40, event=0x7fffb9c93cc0) at ../../kdeui/kernel/kapplication.cpp:311
#51 0x00007fa1d501be9c in QCoreApplication::notifyInternal (this=0x7fffb9c94970, receiver=0xdc9aa40, event=0x7fffb9c93cc0) at kernel/qcoreapplication.cpp:876
#52 0x00007fa1d5a96c58 in sendSpontaneousEvent (event=0x7fffb9c93cc0, receiver=0xdc9aa40) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#53 QETWidget::translateMouseEvent (this=<optimized out>, event=<optimized out>) at kernel/qapplication_x11.cpp:4622
#54 0x00007fa1d5a95bae in QApplication::x11ProcessEvent (this=0x7fffb9c94970, event=0x7fffb9c94560) at kernel/qapplication_x11.cpp:3732
#55 0x00007fa1d5abf0d2 in x11EventSourceDispatch (s=0x1f98470, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#56 0x00007fa1ceb9bd53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#57 0x00007fa1ceb9c0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#58 0x00007fa1ceb9c164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#59 0x00007fa1d504b3bf in QEventDispatcherGlib::processEvents (this=0x1f60c10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#60 0x00007fa1d5abed5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#61 0x00007fa1d501ac82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#62 0x00007fa1d501aed7 in QEventLoop::exec (this=0x7fffb9c94900, flags=...) at kernel/qeventloop.cpp:204
#63 0x00007fa1d501ff67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#64 0x0000000000403629 in main (argc=1, argv=0x7fffb9c94f98) at ../../../kontact/src/main.cpp:218
Comment 2 Jekyll Wu 2014-02-13 02:20:40 UTC
*** Bug 315058 has been marked as a duplicate of this bug. ***
Comment 3 Denis Kurz 2016-09-24 17:53:40 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 kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 4 Denis Kurz 2017-01-07 21:42:24 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.