Bug 331267

Summary: Kontact crashed upon print
Product: [Applications] kontact Reporter: Bartlomiej Niemiec <barnie>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: ali.sherif10
Priority: NOR Keywords: drkonqi
Version: 4.12.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: New crash information added by DrKonqi

Description Bartlomiej Niemiec 2014-02-18 04:31:06 UTC
Application: kontact (4.12.2)
KDE Platform Version: 4.12.2
Qt Version: 4.8.5
Operating System: Linux 3.12.10-300.fc20.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
Kontact crashed upon executing print command from main menu, and main application window. Message (email) preview was not shown in any separate window.

The crash can be reproduced every time.

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

Thread 6 (Thread 0x7f4b36c84700 (LWP 2182)):
#0  0x000000325340bd20 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x000000300bebc46d in JSC::BlockAllocator::blockFreeingThreadMain() () from /lib64/libQtWebKit.so.4
#2  0x000000300c1aed36 in WTF::wtfThreadEntryPoint(void*) () from /lib64/libQtWebKit.so.4
#3  0x0000003253407f33 in start_thread () from /lib64/libpthread.so.0
#4  0x0000003252cf4ded in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f4b2d924700 (LWP 2188)):
#0  0x000000325340c0c9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x000000325e47c8b4 in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQtCore.so.4
#2  0x000000325e46f99d in QThreadPoolThread::run() () from /lib64/libQtCore.so.4
#3  0x000000325e47c3af in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#4  0x0000003253407f33 in start_thread () from /lib64/libpthread.so.0
#5  0x0000003252cf4ded in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f4b2d079700 (LWP 2189)):
#0  0x0000003256c8a4ca in g_private_get_impl () from /lib64/libglib-2.0.so.0
#1  0x0000003256c8a969 in g_private_get () from /lib64/libglib-2.0.so.0
#2  0x0000003256c6ef00 in g_thread_self () from /lib64/libglib-2.0.so.0
#3  0x0000003256c496cd in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#4  0x000000325e5b2ec6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#5  0x000000325e582edf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#6  0x000000325e58322d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#7  0x000000325e479baf in QThread::exec() () from /lib64/libQtCore.so.4
#8  0x000000325e47c3af in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#9  0x0000003253407f33 in start_thread () from /lib64/libpthread.so.0
#10 0x0000003252cf4ded in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f4b1faba700 (LWP 2192)):
#0  0x000000325340c0c9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x000000325e47c8b4 in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQtCore.so.4
#2  0x000000325e46f99d in QThreadPoolThread::run() () from /lib64/libQtCore.so.4
#3  0x000000325e47c3af in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#4  0x0000003253407f33 in start_thread () from /lib64/libpthread.so.0
#5  0x0000003252cf4ded in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f4b13ae1700 (LWP 2193)):
#0  0x000000325340c0c9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x000000325e47c8b4 in QWaitCondition::wait(QMutex*, unsigned long) () from /lib64/libQtCore.so.4
#2  0x000000325e46f99d in QThreadPoolThread::run() () from /lib64/libQtCore.so.4
#3  0x000000325e47c3af in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#4  0x0000003253407f33 in start_thread () from /lib64/libpthread.so.0
#5  0x0000003252cf4ded in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f4b826ae8c0 (LWP 2181)):
[KCrash Handler]
#5  0x0000003014f68480 in KMail::MessageActions::printMessage(bool) () from /lib64/libkmailprivate.so.4
#6  0x000000325e598cf8 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib64/libQtCore.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
#11 0x000000300390b95b in KMenu::mouseReleaseEvent(QMouseEvent*) () from /lib64/libkdeui.so.5
#12 0x000000326061cc58 in QWidget::event(QEvent*) () from /lib64/libQtGui.so.4
#13 0x0000003260a16b0b in QMenu::event(QEvent*) () from /lib64/libQtGui.so.4
#14 0x00000032605c9d8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#15 0x00000032605d0879 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#16 0x000000300384aa1a in KApplication::notify(QObject*, QEvent*) () from /lib64/libkdeui.so.5
#17 0x000000325e58439d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#18 0x00000032605cffa7 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /lib64/libQtGui.so.4
#19 0x00000032606459dc in QETWidget::translateMouseEvent(_XEvent const*) () from /lib64/libQtGui.so.4
#20 0x000000326064411c in QApplication::x11ProcessEvent(_XEvent*) () from /lib64/libQtGui.so.4
#21 0x000000326066bb24 in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQtGui.so.4
#22 0x0000003256c492a6 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#23 0x0000003256c49628 in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0
#24 0x0000003256c496dc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#25 0x000000325e5b2ea5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#26 0x000000326066bca6 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtGui.so.4
#27 0x000000325e582edf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#28 0x000000325e58322d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#29 0x000000325e588749 in QCoreApplication::exec() () from /lib64/libQtCore.so.4
#30 0x00000000004037ea in main ()

Possible duplicates by query: bug 328741.

Reported using DrKonqi
Comment 1 Jekyll Wu 2014-02-18 06:11:25 UTC

*** This bug has been marked as a duplicate of bug 328741 ***
Comment 2 ali.sherif10 2014-11-12 17:08:22 UTC
Created attachment 89560 [details]
New crash information added by DrKonqi

kontact (4.14.2) on KDE Platform 4.14.2 using Qt 4.8.6

- What I was doing when the application crashed:
Kontact crashed, after I had clicked the print button.

-- Backtrace (Reduced):
#6  KMail::MessageActions::printMessage (this=0x1d42ef0, preview=<optimized out>) at /usr/src/debug/kdepim-4.14.2/kmail/messageactions.cpp:508
[...]
#8  0x00007fc3b0c7f622 in QAction::triggered (this=this@entry=0x1b4d790, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#9  0x00007fc3b0c80fd3 in QAction::activate (this=0x1b4d790, event=<optimized out>) at kernel/qaction.cpp:1257
#10 0x00007fc3b1033112 in QAbstractButtonPrivate::click (this=this@entry=0x1e8a330) at widgets/qabstractbutton.cpp:530
#11 0x00007fc3b103323c in QAbstractButton::mouseReleaseEvent (this=0x1d5fea0, e=0x7fff3ed7c700) at widgets/qabstractbutton.cpp:1123