Bug 210091

Summary: crash in print dialog
Product: [Unmaintained] kdelibs Reporter: Marian Kyral <mkyral>
Component: qtAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED UPSTREAM    
Severity: crash CC: kenyon
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Marian Kyral 2009-10-10 16:56:26 UTC
Application that crashed: okular
Version of the application: 0.9.2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.3
Operating System: Linux 2.6.31-gentoo x86_64

What I was doing when the application crashed:
Crashed after click on Properties button.

 -- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f33095a4740 (LWP 12154))]

Thread 5 (Thread 0x7f330291b910 (LWP 12164)):
#0  0x0000003d0080b279 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x000000388d85c5c9 in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x000000388d858c4b in QSemaphore::acquire (this=0xaa75a0, n=1) at thread/qsemaphore.cpp:143
#4  0x00007f3303ac33f7 in ?? () from /usr/lib64/kde4/okularGenerator_ghostview.so
#5  0x000000388d85b844 in QThreadPrivate::start (arg=0xaa7590) at thread/qthread_unix.cpp:188
#6  0x0000003d008072e7 in start_thread () from /lib/libpthread.so.0
#7  0x0000003cffcd238d in clone () from /lib/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f3301f0f910 (LWP 12263)):
#0  0x0000003d0080b279 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x000000388d85c5c9 in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x000000388f3d6aee in QFileInfoGatherer::run (this=0xb76400) at dialogs/qfileinfogatherer.cpp:207
#4  0x000000388d85b844 in QThreadPrivate::start (arg=0xb76400) at thread/qthread_unix.cpp:188
#5  0x0000003d008072e7 in start_thread () from /lib/libpthread.so.0
#6  0x0000003cffcd238d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f330170e910 (LWP 12264)):
#0  0x0000003cffcc9426 in poll () from /lib/libc.so.6
#1  0x00000033b4a3c9c9 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00000033b4a3ccac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x000000388d9522fe in QEventDispatcherGlib::processEvents (this=0xadc930, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:330
#4  0x000000388d92c2c2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x000000388d92c45c in QEventLoop::exec (this=0x7f330170df90, flags=...) at kernel/qeventloop.cpp:197
#6  0x000000388d858d3c in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x000000388d914228 in QInotifyFileSystemWatcherEngine::run (this=0xac5ce0) at io/qfilesystemwatcher_inotify.cpp:214
#8  0x000000388d85b844 in QThreadPrivate::start (arg=0xac5ce0) at thread/qthread_unix.cpp:188
#9  0x0000003d008072e7 in start_thread () from /lib/libpthread.so.0
#10 0x0000003cffcd238d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f3300f0d910 (LWP 12265)):
#0  0x0000003d0080b279 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x000000388d85c5c9 in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x000000388ea74ea4 in QHostInfoAgent::run (this=0xcac300) at kernel/qhostinfo.cpp:260
#4  0x000000388d85b844 in QThreadPrivate::start (arg=0xcac300) at thread/qthread_unix.cpp:188
#5  0x0000003d008072e7 in start_thread () from /lib/libpthread.so.0
#6  0x0000003cffcd238d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f33095a4740 (LWP 12154)):
[KCrash Handler]
#5  0x000000388f38adaa in QPPDOptionsModel::flags (this=0xbb5ec0, index=...) at dialogs/qprintdialog_unix.cpp:1114
#6  0x000000388f43ede1 in QItemSelectionRange::indexes (this=0xc031b0) at itemviews/qitemselectionmodel.cpp:285
#7  0x000000388f43ee84 in QItemSelection::indexes (this=0xc04130) at itemviews/qitemselectionmodel.cpp:407
#8  0x000000388f43f01a in QItemSelectionModelPrivate::_q_layoutAboutToBeChanged (this=0xc040a0) at itemviews/qitemselectionmodel.cpp:712
#9  0x000000388f442e0a in QItemSelectionModel::qt_metacall (this=0xc04080, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff2458b980) at .moc/release-shared/moc_qitemselectionmodel.cpp:133
#10 0x000000388d93f6a6 in QMetaObject::activate (sender=0xbb5ec0, from_signal_index=<value optimized out>, to_signal_index=7, argv=0x0) at kernel/qobject.cpp:3101
#11 0x000000388f38c028 in QPPDOptionsModel::parseItems (this=0x7fff2458b720) at dialogs/qprintdialog_unix.cpp:1125
#12 0x000000388f38c4f8 in QPrintPropertiesDialog::selectPrinter (this=0xb959f0) at dialogs/qprintdialog_unix.cpp:318
#13 0x000000388f38d0f9 in QUnixPrintWidgetPrivate::_q_btnPropertiesClicked (this=0xad79b0) at dialogs/qprintdialog_unix.cpp:960
#14 0x000000388f38f8ba in QUnixPrintWidget::qt_metacall (this=0xbe9350, _c=InvokeMetaMethod, _id=65, _a=0x7fff2458bc70) at .moc/release-shared/moc_qprintdialog.cpp:71
#15 0x000000388d93f6a6 in QMetaObject::activate (sender=0xb6bc60, from_signal_index=<value optimized out>, to_signal_index=30, argv=0x0) at kernel/qobject.cpp:3101
#16 0x000000388f5095d7 in QAbstractButton::clicked (this=0x7fff2458b720, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:200
#17 0x000000388f2a540b in QAbstractButtonPrivate::emitClicked (this=0xb854f0) at widgets/qabstractbutton.cpp:543
#18 0x000000388f2a627b in QAbstractButtonPrivate::click (this=0xb854f0) at widgets/qabstractbutton.cpp:536
#19 0x000000388f2a64b5 in QAbstractButton::mouseReleaseEvent (this=0xb6bc60, e=0x7fff2458c5e0) at widgets/qabstractbutton.cpp:1115
#20 0x000000388efe9548 in QWidget::event (this=0xb6bc60, event=0x7fff2458c5e0) at kernel/qwidget.cpp:7554
#21 0x000000388ef9c99d in QApplicationPrivate::notify_helper (this=0x651a00, receiver=0xb6bc60, e=0x7fff2458c5e0) at kernel/qapplication.cpp:4065
#22 0x000000388efa49ab in QApplication::notify (this=<value optimized out>, receiver=0xb6bc60, e=0x7fff2458c5e0) at kernel/qapplication.cpp:3767
#23 0x0000003890201f51 in KApplication::notify (this=0x7fff24590f60, receiver=0xb6bc60, event=0x7fff2458c5e0)
    at /var/tmp/portage/kde-base/kdelibs-4.3.2-r1/work/kdelibs-4.3.2/kdeui/kernel/kapplication.cpp:302
#24 0x000000388d92d8db in QCoreApplication::notifyInternal (this=0x7fff24590f60, receiver=0xb6bc60, event=0x7fff2458c5e0) at kernel/qcoreapplication.cpp:606
#25 0x000000388efa5e98 in sendSpontaneousEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#26 QApplicationPrivate::sendMouseEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qapplication.cpp:2924
#27 0x000000388effecbc in QETWidget::translateMouseEvent (this=0xb6eff0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4411
#28 0x000000388effd856 in QApplication::x11ProcessEvent (this=0x7fff24590f60, event=0x7fff2458dfd0) at kernel/qapplication_x11.cpp:3552
#29 0x000000388f02207c in x11EventSourceDispatch (s=0x655740, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#30 0x00000033b4a394b9 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#31 0x00000033b4a3caf8 in ?? () from /usr/lib/libglib-2.0.so.0
#32 0x00000033b4a3ccac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#33 0x000000388d9522df in QEventDispatcherGlib::processEvents (this=0x638790, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:328
#34 0x000000388f02193f in QGuiEventDispatcherGlib::processEvents (this=0x7fff2458b720, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#35 0x000000388d92c2c2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#36 0x000000388d92c45c in QEventLoop::exec (this=0x7fff2458e310, flags=...) at kernel/qeventloop.cpp:197
#37 0x000000388f3a3a39 in QDialog::exec (this=0xb6eff0) at dialogs/qdialog.cpp:498
#38 0x00007f3305e740d0 in ?? () from /usr/lib64/kde4/okularpart.so
#39 0x00007f3305e7778d in ?? () from /usr/lib64/kde4/okularpart.so
#40 0x000000388d93f6a6 in QMetaObject::activate (sender=0x9ffcf0, from_signal_index=<value optimized out>, to_signal_index=6, argv=0x0) at kernel/qobject.cpp:3101
#41 0x000000388ef97647 in QAction::triggered (this=0x7fff2458b720, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#42 0x000000388ef988e0 in QAction::activate (this=0x9ffcf0, event=<value optimized out>) at kernel/qaction.cpp:1167
#43 0x000000388f31c78c in QMenuPrivate::activateCausedStack (this=0xa14570, causedStack=..., action=0x9ffcf0, action_e=Trigger, self=true) at widgets/qmenu.cpp:967
#44 0x000000388f32243b in QMenuPrivate::activateAction (this=0xa14570, action=0x9ffcf0, action_e=10690848, self=true) at widgets/qmenu.cpp:1060
#45 0x00000038902bd1b5 in KMenu::mouseReleaseEvent (this=0xa32120, e=0x7fff2458f1c0) at /var/tmp/portage/kde-base/kdelibs-4.3.2-r1/work/kdelibs-4.3.2/kdeui/widgets/kmenu.cpp:456
#46 0x000000388efe9548 in QWidget::event (this=0xa32120, event=0x7fff2458f1c0) at kernel/qwidget.cpp:7554
#47 0x000000388f323a0b in QMenu::event (this=0xa32120, e=0x7fff2458f1c0) at widgets/qmenu.cpp:2358
#48 0x000000388ef9c99d in QApplicationPrivate::notify_helper (this=0x651a00, receiver=0xa32120, e=0x7fff2458f1c0) at kernel/qapplication.cpp:4065
#49 0x000000388efa49ab in QApplication::notify (this=<value optimized out>, receiver=0xa32120, e=0x7fff2458f1c0) at kernel/qapplication.cpp:3767
#50 0x0000003890201f51 in KApplication::notify (this=0x7fff24590f60, receiver=0xa32120, event=0x7fff2458f1c0)
    at /var/tmp/portage/kde-base/kdelibs-4.3.2-r1/work/kdelibs-4.3.2/kdeui/kernel/kapplication.cpp:302
#51 0x000000388d92d8db in QCoreApplication::notifyInternal (this=0x7fff24590f60, receiver=0xa32120, event=0x7fff2458f1c0) at kernel/qcoreapplication.cpp:606
#52 0x000000388efa5e98 in sendSpontaneousEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#53 QApplicationPrivate::sendMouseEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qapplication.cpp:2924
#54 0x000000388effee6b in QETWidget::translateMouseEvent (this=0xa32120, event=<value optimized out>) at kernel/qapplication_x11.cpp:4345
#55 0x000000388effd856 in QApplication::x11ProcessEvent (this=0x7fff24590f60, event=0x7fff24590bb0) at kernel/qapplication_x11.cpp:3552
#56 0x000000388f02207c in x11EventSourceDispatch (s=0x655740, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#57 0x00000033b4a394b9 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#58 0x00000033b4a3caf8 in ?? () from /usr/lib/libglib-2.0.so.0
#59 0x00000033b4a3ccac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#60 0x000000388d9522df in QEventDispatcherGlib::processEvents (this=0x638790, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:328
#61 0x000000388f02193f in QGuiEventDispatcherGlib::processEvents (this=0x7fff2458b720, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#62 0x000000388d92c2c2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#63 0x000000388d92c45c in QEventLoop::exec (this=0x7fff24590ee0, flags=...) at kernel/qeventloop.cpp:197
#64 0x000000388d92e4ac in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#65 0x0000000000408843 in _start ()

Reported using DrKonqi
Comment 1 Pino Toscano 2010-01-06 11:26:30 UTC
*** Bug 221469 has been marked as a duplicate of this bug. ***
Comment 2 Pino Toscano 2010-01-06 11:27:39 UTC
Please report Qt bugs (like this) to http://bugreports.qt.nokia.com.