Bug 341061 - When unable to open a message, print preview caused Kontact to crash
Summary: When unable to open a message, print preview caused Kontact to crash
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-11-17 20:58 UTC by Lester Petrie
Modified: 2018-02-01 09:52 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 Lester Petrie 2014-11-17 20:58:49 UTC
Application: kontact (4.14.2)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.17.2-200.fc20.x86_64 x86_64
Distribution: "Fedora release 20 (Heisenbug)"

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

KMail was hung(apparently) trying to move messages, although it had been at least a half hour since I had read email.  I canceled the move messages in an attempt to open and read an email, but the message would not open.  I then clicked the print preview button and Kontact crashed.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f7acc20f940 (LWP 26554))]

Thread 3 (Thread 0x7f7a80016700 (LWP 26595)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x000000314d6b9a8d in JSC::BlockAllocator::blockFreeingThreadMain (this=0x1444088) at /usr/src/debug/webkit-qtwebkit-23/Source/JavaScriptCore/heap/BlockAllocator.cpp:128
#2  0x000000314d9abe36 in WTF::wtfThreadEntryPoint (param=0x143cd10) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/ThreadingPthreads.cpp:196
#3  0x0000003029607ee5 in start_thread (arg=0x7f7a80016700) at pthread_create.c:309
#4  0x0000003028af4b8d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f7a7cda4700 (LWP 26730)):
#0  0x000000302be8a2ea in g_mutex_get_impl (mutex=0x7f7a700009a0) at gthread-posix.c:124
#1  0x000000302be8a5c9 in g_mutex_unlock (mutex=mutex@entry=0x7f7a700009a0) at gthread-posix.c:232
#2  0x000000302be494ae in g_main_context_iterate (context=context@entry=0x7f7a700009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3691
#3  0x000000302be496dc in g_main_context_iteration (context=0x7f7a700009a0, may_block=1) at gmain.c:3774
#4  0x0000003030fb543e in QEventDispatcherGlib::processEvents (this=0x7f7a700008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x0000003030f8538f in QEventLoop::processEvents (this=this@entry=0x7f7a7cda3c90, flags=...) at kernel/qeventloop.cpp:149
#6  0x0000003030f856dd in QEventLoop::exec (this=this@entry=0x7f7a7cda3c90, flags=...) at kernel/qeventloop.cpp:204
#7  0x0000003030e79e5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#8  0x0000003030e7c69f in QThreadPrivate::start (arg=0x1353b20) at thread/qthread_unix.cpp:349
#9  0x0000003029607ee5 in start_thread (arg=0x7f7a7cda4700) at pthread_create.c:309
#10 0x0000003028af4b8d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f7acc20f940 (LWP 26554)):
[KCrash Handler]
#6  KMail::MessageActions::printMessage (this=0x1adf380, preview=<optimized out>) at /usr/src/debug/kdepim-4.14.2/kmail/messageactions.cpp:508
#7  0x0000003030f9b37a in QMetaObject::activate (sender=sender@entry=0x1aff500, m=m@entry=0x30320a1840 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff56a74d60) at kernel/qobject.cpp:3567
#8  0x00000030315c4862 in QAction::triggered (this=this@entry=0x1aff500, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#9  0x00000030315c63f7 in QAction::activate (this=this@entry=0x1aff500, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#10 0x0000003031a0f67d in QMenuPrivate::activateCausedStack (this=this@entry=0x3215e00, causedStack=..., action=action@entry=0x1aff500, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1037
#11 0x0000003031a13f19 in QMenuPrivate::activateAction (this=0x3215e00, action=0x1aff500, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1129
#12 0x0000003031a17a85 in QMenu::mouseReleaseEvent (this=this@entry=0x3215d50, e=e@entry=0x7fff56a75510) at widgets/qmenu.cpp:2371
#13 0x00000037f510b03b in KMenu::mouseReleaseEvent (this=0x3215d50, e=0x7fff56a75510) at /usr/src/debug/kdelibs-4.14.2/kdeui/widgets/kmenu.cpp:464
#14 0x000000303161dcc8 in QWidget::event (this=this@entry=0x3215d50, event=event@entry=0x7fff56a75510) at kernel/qwidget.cpp:8389
#15 0x0000003031a17f6b in QMenu::event (this=0x3215d50, e=0x7fff56a75510) at widgets/qmenu.cpp:2480
#16 0x00000030315cae5c in QApplicationPrivate::notify_helper (this=0x1273c20, receiver=0x3215d50, e=0x7fff56a75510) at kernel/qapplication.cpp:4565
#17 0x00000030315d18f1 in QApplication::notify (this=this@entry=0x7fff56a76d10, receiver=receiver@entry=0x3215d50, e=e@entry=0x7fff56a75510) at kernel/qapplication.cpp:4108
#18 0x00000037f504a53a in KApplication::notify (this=0x7fff56a76d10, receiver=0x3215d50, event=0x7fff56a75510) at /usr/src/debug/kdelibs-4.14.2/kdeui/kernel/kapplication.cpp:311
#19 0x0000003030f868fd in QCoreApplication::notifyInternal (this=0x7fff56a76d10, receiver=0x3215d50, event=0x7fff56a75510) at kernel/qcoreapplication.cpp:953
#20 0x00000030315d1067 in QApplicationPrivate::sendMouseEvent (receiver=0x3215d50, event=0x7fff56a75510, alienWidget=0x0, nativeWidget=0x3215d50, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:231
#21 0x000000303164696c in QETWidget::translateMouseEvent (this=0x3215d50, event=<optimized out>) at kernel/qapplication_x11.cpp:4474
#22 0x00000030316450ac in QApplication::x11ProcessEvent (this=0x7fff56a76d10, event=event@entry=0x7fff56a75850) at kernel/qapplication_x11.cpp:3663
#23 0x000000303166cac4 in x11EventSourceDispatch (s=s@entry=0x1276a80, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#24 0x000000302be492a6 in g_main_dispatch (context=0x1273f50) at gmain.c:3066
#25 g_main_context_dispatch (context=context@entry=0x1273f50) at gmain.c:3642
#26 0x000000302be49628 in g_main_context_iterate (context=context@entry=0x1273f50, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3713
#27 0x000000302be496dc in g_main_context_iteration (context=0x1273f50, may_block=1) at gmain.c:3774
#28 0x0000003030fb541e in QEventDispatcherGlib::processEvents (this=0x12266b0, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#29 0x000000303166cc46 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#30 0x0000003030f8538f in QEventLoop::processEvents (this=this@entry=0x7fff56a75c50, flags=...) at kernel/qeventloop.cpp:149
#31 0x0000003030f856dd in QEventLoop::exec (this=this@entry=0x7fff56a75c50, flags=...) at kernel/qeventloop.cpp:204
#32 0x0000003031a16bb7 in QMenu::exec (this=this@entry=0x3215d50, p=..., action=action@entry=0x0) at widgets/qmenu.cpp:2124
#33 0x00000031514a94f7 in MessageList::Widget::viewMessageListContextPopupRequest (this=<optimized out>, selectedItems=..., globalPos=...) at /usr/src/debug/kdepim-4.14.2/messagelist/widget.cpp:322
#34 0x0000003151482833 in MessageList::Core::View::mousePressEvent (this=0x1ab97d0, e=<optimized out>) at /usr/src/debug/kdepim-4.14.2/messagelist/core/view.cpp:2183
#35 0x000000303161dce1 in QWidget::event (this=this@entry=0x1ab97d0, event=event@entry=0x7fff56a764a0) at kernel/qwidget.cpp:8385
#36 0x00000030319d444e in QFrame::event (this=0x1ab97d0, e=0x7fff56a764a0) at widgets/qframe.cpp:557
#37 0x0000003031af0ca3 in QAbstractItemView::viewportEvent (this=this@entry=0x1ab97d0, event=event@entry=0x7fff56a764a0) at itemviews/qabstractitemview.cpp:1644
#38 0x0000003031b31b90 in QTreeView::viewportEvent (this=0x1ab97d0, event=0x7fff56a764a0) at itemviews/qtreeview.cpp:1252
#39 0x0000003030f86a66 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x1ab9870, event=0x7fff56a764a0) at kernel/qcoreapplication.cpp:1063
#40 0x00000030315cae3c in QApplicationPrivate::notify_helper (this=0x1273c20, receiver=0x1ab9870, e=0x7fff56a764a0) at kernel/qapplication.cpp:4561
#41 0x00000030315d18f1 in QApplication::notify (this=this@entry=0x7fff56a76d10, receiver=receiver@entry=0x1ab9870, e=e@entry=0x7fff56a764a0) at kernel/qapplication.cpp:4108
#42 0x00000037f504a53a in KApplication::notify (this=0x7fff56a76d10, receiver=0x1ab9870, event=0x7fff56a764a0) at /usr/src/debug/kdelibs-4.14.2/kdeui/kernel/kapplication.cpp:311
#43 0x0000003030f868fd in QCoreApplication::notifyInternal (this=0x7fff56a76d10, receiver=0x1ab9870, event=0x7fff56a764a0) at kernel/qcoreapplication.cpp:953
#44 0x00000030315d1067 in QApplicationPrivate::sendMouseEvent (receiver=0x1ab9870, event=0x7fff56a764a0, alienWidget=0x1ab9870, nativeWidget=0x1ab97d0, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:231
#45 0x000000303164663b in QETWidget::translateMouseEvent (this=0x1ab97d0, event=<optimized out>) at kernel/qapplication_x11.cpp:4540
#46 0x00000030316450ac in QApplication::x11ProcessEvent (this=0x7fff56a76d10, event=event@entry=0x7fff56a76810) at kernel/qapplication_x11.cpp:3663
#47 0x000000303166cac4 in x11EventSourceDispatch (s=s@entry=0x1276a80, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#48 0x000000302be492a6 in g_main_dispatch (context=0x1273f50) at gmain.c:3066
#49 g_main_context_dispatch (context=context@entry=0x1273f50) at gmain.c:3642
#50 0x000000302be49628 in g_main_context_iterate (context=context@entry=0x1273f50, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3713
#51 0x000000302be496dc in g_main_context_iteration (context=0x1273f50, may_block=1) at gmain.c:3774
#52 0x0000003030fb541e in QEventDispatcherGlib::processEvents (this=0x12266b0, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#53 0x000000303166cc46 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#54 0x0000003030f8538f in QEventLoop::processEvents (this=this@entry=0x7fff56a76c00, flags=...) at kernel/qeventloop.cpp:149
#55 0x0000003030f856dd in QEventLoop::exec (this=this@entry=0x7fff56a76c00, flags=...) at kernel/qeventloop.cpp:204
#56 0x0000003030f8ada9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#57 0x00000030315c94dc in QApplication::exec () at kernel/qapplication.cpp:3823
#58 0x000000000040367c in main (argc=1, argv=0x7fff56a76e68) at /usr/src/debug/kdepim-4.14.2/kontact/src/main.cpp:219

The reporter indicates this bug may be a duplicate of or related to bug 328741, bug 340861.

Possible duplicates by query: bug 340861, bug 335410, bug 331267, bug 328741.

Reported using DrKonqi
Comment 1 Denis Kurz 2017-06-23 19:38:29 UTC
This bug has never been confirmed for a Kontact version that is based on KDE Frameworks (5.x). Those 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 oportunity 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:52:09 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.