Bug 328741 - Kontact crashed upon print preview
Summary: Kontact crashed upon print preview
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.11.3
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
: 331267 335410 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-12-12 23:57 UTC by Christopher Yeleighton
Modified: 2017-01-07 22:43 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (5.23 KB, text/plain)
2014-02-18 02:38 UTC, Bartlomiej Niemiec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Yeleighton 2013-12-12 23:57:41 UTC
Application: kontact (4.11.3)
KDE Platform Version: 4.11.3
Qt Version: 4.8.5
Operating System: Linux 3.7.10-1.16-desktop x86_64
Distribution: "openSUSE 13.1 (Bottle) (x86_64)"

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

I asked Kontact to show the print preview of a message (the preview window was not shown).

-- 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 0x7f3d5d20d880 (LWP 18346))]

Thread 6 (Thread 0x7f3d40562700 (LWP 18347)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3d57fcef76 in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f3d58a975a0 <WTF::pageheap_memory>) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/FastMalloc.cpp:2571
#2  0x00007f3d57fcefa9 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/FastMalloc.cpp:1767
#3  0x00007f3d548330db in start_thread (arg=0x7f3d40562700) at pthread_create.c:309
#4  0x00007f3d5a76090d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f3cffc57700 (LWP 18348)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3d57d412cd in JSC::BlockAllocator::blockFreeingThreadMain (this=0x7f3d3fccc398) at /usr/src/debug/webkit-qtwebkit-23/Source/JavaScriptCore/heap/BlockAllocator.cpp:128
#2  0x00007f3d57ff6ad6 in WTF::wtfThreadEntryPoint (param=0xd338d0) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/ThreadingPthreads.cpp:196
#3  0x00007f3d548330db in start_thread (arg=0x7f3cffc57700) at pthread_create.c:309
#4  0x00007f3d5a76090d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f3cf16ef700 (LWP 18352)):
#0  0x00007f3d542b0000 in g_mutex_get_impl (mutex=0x7f3cec0009a0) at gthread-posix.c:126
#1  0x00007f3d542b0289 in g_mutex_lock (mutex=mutex@entry=0x7f3cec0009a0) at gthread-posix.c:213
#2  0x00007f3d542705b9 in g_main_context_iterate (context=context@entry=0x7f3cec0009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3717
#3  0x00007f3d5427070c in g_main_context_iteration (context=0x7f3cec0009a0, may_block=1) at gmain.c:3774
#4  0x00007f3d5aeddd76 in QEventDispatcherGlib::processEvents (this=0x7f3cec0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x00007f3d5aeafd0f in QEventLoop::processEvents (this=this@entry=0x7f3cf16eed20, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f3d5aeb0005 in QEventLoop::exec (this=this@entry=0x7f3cf16eed20, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f3d5adaefef in QThread::exec (this=this@entry=0x13f6050) at thread/qthread.cpp:536
#8  0x00007f3d5ae91513 in QInotifyFileSystemWatcherEngine::run (this=0x13f6050) at io/qfilesystemwatcher_inotify.cpp:256
#9  0x00007f3d5adb168f in QThreadPrivate::start (arg=0x13f6050) at thread/qthread_unix.cpp:338
#10 0x00007f3d548330db in start_thread (arg=0x7f3cf16ef700) at pthread_create.c:309
#11 0x00007f3d5a76090d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f3cebfff700 (LWP 18356)):
#0  0x00007f3d542afffa in g_mutex_get_impl (mutex=0x7f3ce40009a0) at gthread-posix.c:124
#1  0x00007f3d542b0289 in g_mutex_lock (mutex=mutex@entry=0x7f3ce40009a0) at gthread-posix.c:213
#2  0x00007f3d5427008c in g_main_context_check (context=context@entry=0x7f3ce40009a0, max_priority=2147483647, fds=fds@entry=0x7f3ce40027c0, n_fds=n_fds@entry=1) at gmain.c:3559
#3  0x00007f3d5427059b in g_main_context_iterate (context=context@entry=0x7f3ce40009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3710
#4  0x00007f3d5427070c in g_main_context_iteration (context=0x7f3ce40009a0, may_block=1) at gmain.c:3774
#5  0x00007f3d5aeddd76 in QEventDispatcherGlib::processEvents (this=0x7f3ce40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x00007f3d5aeafd0f in QEventLoop::processEvents (this=this@entry=0x7f3cebffed60, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f3d5aeb0005 in QEventLoop::exec (this=this@entry=0x7f3cebffed60, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f3d5adaefef in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#9  0x00007f3d5adb168f in QThreadPrivate::start (arg=0xea8d70) at thread/qthread_unix.cpp:338
#10 0x00007f3d548330db in start_thread (arg=0x7f3cebfff700) at pthread_create.c:309
#11 0x00007f3d5a76090d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f3ce15d9700 (LWP 18447)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f3cf309e8cb in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f3cf339cf00 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f3cf309e909 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f3d548330db in start_thread (arg=0x7f3ce15d9700) at pthread_create.c:309
#4  0x00007f3d5a76090d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f3d5d20d880 (LWP 18346)):
[KCrash Handler]
#6  KMail::MessageActions::printMessage (this=0x14d0cb0, preview=<optimized out>) at /usr/src/debug/kdepim-4.11.3/kmail/messageactions.cpp:547
#7  0x00007f3d5aec4d68 in QMetaObject::activate (sender=sender@entry=0x14f4520, m=m@entry=0x7f3d5c3632a0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffff7a4ce90) at kernel/qobject.cpp:3556
#8  0x00007f3d5b8bb752 in QAction::triggered (this=this@entry=0x14f4520, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#9  0x00007f3d5b8bd123 in QAction::activate (this=this@entry=0x14f4520, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#10 0x00007f3d5bce60e9 in QMenuPrivate::activateCausedStack (this=this@entry=0x162d140, causedStack=..., action=action@entry=0x14f4520, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1038
#11 0x00007f3d5bcea619 in QMenuPrivate::activateAction (this=0x162d140, action=0x14f4520, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1130
#12 0x00007f3d5bcedfe5 in QMenu::mouseReleaseEvent (this=this@entry=0x162d090, e=e@entry=0x7ffff7a4d590) at widgets/qmenu.cpp:2372
#13 0x00007f3d5c68e735 in KMenu::mouseReleaseEvent (this=0x162d090, e=0x7ffff7a4d590) at /usr/src/debug/kdelibs-4.11.3/kdeui/widgets/kmenu.cpp:464
#14 0x00007f3d5b910dfe in QWidget::event (this=this@entry=0x162d090, event=event@entry=0x7ffff7a4d590) at kernel/qwidget.cpp:8376
#15 0x00007f3d5bcee3eb in QMenu::event (this=0x162d090, e=0x7ffff7a4d590) at widgets/qmenu.cpp:2481
#16 0x00007f3d5b8c18ac in QApplicationPrivate::notify_helper (this=this@entry=0xaf8d60, receiver=receiver@entry=0x162d090, e=e@entry=0x7ffff7a4d590) at kernel/qapplication.cpp:4562
#17 0x00007f3d5b8c7fad in QApplication::notify (this=this@entry=0x7ffff7a4dde0, receiver=receiver@entry=0x162d090, e=e@entry=0x7ffff7a4d590) at kernel/qapplication.cpp:4105
#18 0x00007f3d5c5d818a in KApplication::notify (this=0x7ffff7a4dde0, receiver=0x162d090, event=0x7ffff7a4d590) at /usr/src/debug/kdelibs-4.11.3/kdeui/kernel/kapplication.cpp:311
#19 0x00007f3d5aeb10ad in QCoreApplication::notifyInternal (this=0x7ffff7a4dde0, receiver=receiver@entry=0x162d090, event=event@entry=0x7ffff7a4d590) at kernel/qcoreapplication.cpp:949
#20 0x00007f3d5b8c7763 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#21 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x162d090, event=event@entry=0x7ffff7a4d590, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0x162d090, buttonDown=buttonDown@entry=0x7f3d5c39f278 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3173
#22 0x00007f3d5b938f7b in QETWidget::translateMouseEvent (this=this@entry=0x162d090, event=event@entry=0x7ffff7a4d900) at kernel/qapplication_x11.cpp:4528
#23 0x00007f3d5b9379ec in QApplication::x11ProcessEvent (this=0x7ffff7a4dde0, event=event@entry=0x7ffff7a4d900) at kernel/qapplication_x11.cpp:3651
#24 0x00007f3d5b95e882 in x11EventSourceDispatch (s=s@entry=0xafa200, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#25 0x00007f3d54270316 in g_main_dispatch (context=0xaf90f0) at gmain.c:3066
#26 g_main_context_dispatch (context=context@entry=0xaf90f0) at gmain.c:3642
#27 0x00007f3d54270668 in g_main_context_iterate (context=context@entry=0xaf90f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3713
#28 0x00007f3d5427070c in g_main_context_iteration (context=0xaf90f0, may_block=1) at gmain.c:3774
#29 0x00007f3d5aeddd55 in QEventDispatcherGlib::processEvents (this=0xab35b0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#30 0x00007f3d5b95e936 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007f3d5aeafd0f in QEventLoop::processEvents (this=this@entry=0x7ffff7a4dce0, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007f3d5aeb0005 in QEventLoop::exec (this=this@entry=0x7ffff7a4dce0, flags=...) at kernel/qeventloop.cpp:204
#33 0x00007f3d5aeb513b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#34 0x00007f3d5b8c006c in QApplication::exec () at kernel/qapplication.cpp:3823
#35 0x0000000000403960 in main (argc=1, argv=0x7ffff7a4df28) at /usr/src/debug/kdepim-4.11.3/kontact/src/main.cpp:219

Reported using DrKonqi
Comment 1 Bartlomiej Niemiec 2014-02-18 02:38:21 UTC
Created attachment 85209 [details]
New crash information added by DrKonqi

kontact (4.12.2) on KDE Platform 4.12.2 using Qt 4.8.5

What I was doing when the application crashed:
1. Show print preview, using menu command.
2. Program crashed after executing command from main manu. 
3. Print Preview executed when message preview was not shown (main list of mesages).

-- Backtrace (Reduced):
#5  0x0000003014f68480 in KMail::MessageActions::printMessage(bool) () from /lib64/libkmailprivate.so.4
[...]
#7  0x00000032605c3782 in QAction::triggered(bool) () from /lib64/libQtGui.so.4
#8  0x00000032605c5337 in QAction::activate(QAction::ActionEvent) () from /lib64/libQtGui.so.4
#9  0x0000003260a0e2bd in QMenuPrivate::activateCausedStack(QList<QPointer<QWidget> > const&, QAction*, QAction::ActionEvent, bool) () from /lib64/libQtGui.so.4
#10 0x0000003260a12b49 in QMenuPrivate::activateAction(QAction*, QAction::ActionEvent, bool) () from /lib64/libQtGui.so.4
Comment 2 Jekyll Wu 2014-02-18 06:11:25 UTC
*** Bug 331267 has been marked as a duplicate of this bug. ***
Comment 3 Jekyll Wu 2014-05-28 00:42:00 UTC
*** Bug 335410 has been marked as a duplicate of this bug. ***
Comment 4 Denis Kurz 2016-09-24 19:29:41 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 5 Denis Kurz 2017-01-07 22:43:23 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.