[Okular-devel] [Bug 232975] New: Okular crashes when selecting a non-default printer

fabiomargarido fabiomargarido at gmail.com
Thu Apr 1 16:35:03 CEST 2010


https://bugs.kde.org/show_bug.cgi?id=232975

           Summary: Okular crashes when selecting a non-default printer
           Product: okular
           Version: 0.10.1
          Platform: Mandriva RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: okular-devel at kde.org
        ReportedBy: fabiomargarido at gmail.com


Application: okular (0.10.1)
KDE Platform Version: 4.4.1 (KDE 4.4.1)
Qt Version: 4.6.1
Operating System: Linux 2.6.31.12-desktop-1mnb i686
Distribution: "Mandriva Linux 2010.0"

-- Information about the crash:
I've recently upgraded to KDE SC 4.4.1 mandriva packages from KDE ftp server,
and now every time I try to select a printer other than the default in the
print dialog in Okular, the application crashes. It's not restricted to Okular
however, Kate and Kwrite (and presumably every other KDE application) crash as
well.
I haven't been able to try ro reproduce this in KDE 4.4.2 as the packages are
still unavailable, but as soon as I upgrade I'll update the info here.
Thanks

The crash can be reproduced every time.

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

Thread 3 (Thread 0xb1d36b70 (LWP 21673)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb599f9e5 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/i686/libpthread.so.0
#2  0xb5e5e6ed in pthread_cond_wait () from /lib/i686/libc.so.6
#3  0xb6ab6e80 in QWaitCondition::wait (this=0x9df2c70, mutex=0x9df2c6c,
time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb6685844 in QFileInfoGatherer::run (this=0x9df2c64) at
dialogs/qfileinfogatherer.cpp:203
#5  0xb6ab5e2f in QThreadPrivate::start (arg=0x9df2c64) at
thread/qthread_unix.cpp:248
#6  0xb599b885 in start_thread () from /lib/i686/libpthread.so.0
#7  0xb5e5057e in clone () from /lib/i686/libc.so.6

Thread 2 (Thread 0xb1000b70 (LWP 21674)):
#0  0xb5859016 in clock_gettime () from /lib/i686/librt.so.1
#1  0xb6be890c in qt_gettime () at kernel/qcore_unix.cpp:109
#2  0xb6bedd36 in QTimerInfoList::updateCurrentTime (this=0x9dfdbd4) at
kernel/qeventdispatcher_unix.cpp:340
#3  0xb6bedd7e in QTimerInfoList::timerWait (this=0x9dfdbd4, tm=@0xb10000f8) at
kernel/qeventdispatcher_unix.cpp:443
#4  0xb6bebd0b in timerSourcePrepareHelper (src=<value optimized out>,
timeout=0xb100016c) at kernel/qeventdispatcher_glib.cpp:136
#5  0xb6bebdad in timerSourcePrepare (source=0x0, timeout=0xb585dff4) at
kernel/qeventdispatcher_glib.cpp:169
#6  0xb57c0bc1 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#7  0xb57c0f89 in ?? () from /usr/lib/libglib-2.0.so.0
#8  0xb57c154e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#9  0xb6bebb0f in QEventDispatcherGlib::processEvents (this=0x9dd56a8, flags={i
= 36}) at kernel/qeventdispatcher_glib.cpp:414
#10 0xb6bbd5ed in QEventLoop::processEvents (this=0xb1000300, flags=) at
kernel/qeventloop.cpp:149
#11 0xb6bbda39 in QEventLoop::exec (this=0xb1000300, flags={i = 0}) at
kernel/qeventloop.cpp:201
#12 0xb6ab2fe0 in QThread::exec (this=0x9df3820) at thread/qthread.cpp:487
#13 0xb6b9bead in QInotifyFileSystemWatcherEngine::run (this=0x9df3820) at
io/qfilesystemwatcher_inotify.cpp:248
#14 0xb6ab5e2f in QThreadPrivate::start (arg=0x9df3820) at
thread/qthread_unix.cpp:248
#15 0xb599b885 in start_thread () from /lib/i686/libpthread.so.0
#16 0xb5e5057e in clone () from /lib/i686/libc.so.6

Thread 1 (Thread 0xb53dc6d0 (LWP 21653)):
[KCrash Handler]
#6  0xb66234b5 in QPrintDialogPrivate::selectPrinter (this=0x9da5478,
cups=0x9dee2d0) at dialogs/qprintdialog_unix.cpp:588
#7  0xb66266b5 in QUnixPrintWidgetPrivate::_q_printerChanged (this=0x9da8890,
index=-1081544476) at dialogs/qprintdialog_unix.cpp:839
#8  0xb6628573 in QUnixPrintWidget::qt_metacall (this=0x9dbd760,
_c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbf88f248) at
.moc/release-shared/moc_qprintdialog.cpp:75
#9  0xb6bc42ed in QMetaObject::metacall (object=0x9dbd760,
cl=QMetaObject::ReadProperty, idx=27, argv=0xbf88f248) at
kernel/qmetaobject.cpp:237
#10 0xb6bd311a in QMetaObject::activate (sender=0x9da1f10, m=0xb6a3cb34,
local_signal_index=5, argv=0xbf88f248) at kernel/qobject.cpp:3267
#11 0xb6522995 in QComboBox::currentIndexChanged (this=0x9da1f10, _t1=2) at
.moc/release-shared/moc_qcombobox.cpp:302
#12 0xb6524d5f in QComboBoxPrivate::_q_emitCurrentIndexChanged (this=0x9deaca0,
index=@0x9dc2e90) at widgets/qcombobox.cpp:1235
#13 0xb65279ab in QComboBoxPrivate::setCurrentIndex (this=0x9deaca0,
mi=@0xbf88f2dc) at widgets/qcombobox.cpp:1992
#14 0xb6527dce in QComboBoxPrivate::_q_itemSelected (this=0x9deaca0,
item=@0xbf88f4b4) at widgets/qcombobox.cpp:1204
#15 0xb652da6d in QComboBox::qt_metacall (this=0x9da1f10,
_c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbf88f468) at
.moc/release-shared/moc_qcombobox.cpp:191
#16 0xb6bc42ed in QMetaObject::metacall (object=0x9da1f10,
cl=QMetaObject::ReadProperty, idx=39, argv=0xbf88f468) at
kernel/qmetaobject.cpp:237
#17 0xb6bd311a in QMetaObject::activate (sender=0x9f0caf8, m=0xb6a4acf4,
local_signal_index=0, argv=0xbf88f468) at kernel/qobject.cpp:3267
#18 0xb683d605 in QComboBoxPrivateContainer::itemSelected (this=0x9f0caf8,
_t1=@0xbf88f4b4) at .moc/release-shared/moc_qcombobox_p.cpp:213
#19 0xb65246e0 in QComboBoxPrivateContainer::eventFilter (this=0x9f0caf8,
o=0x9ea29a8, e=0xbf88f4b4) at widgets/qcombobox.cpp:663
#20 0xb6bbe24e in QCoreApplicationPrivate::sendThroughObjectEventFilters
(this=0x98a70b8, receiver=0x9ea29a8, event=0xbf88fa80) at
kernel/qcoreapplication.cpp:819
#21 0xb60ed6fd in QApplicationPrivate::notify_helper (this=0x98a70b8,
receiver=0x9ea29a8, e=0xbf88fa80) at kernel/qapplication.cpp:4294
#22 0xb60f4f3e in QApplication::notify (this=0xbf88f7b4, receiver=0x9ea29a8,
e=0xbf88fa80) at kernel/qapplication.cpp:3863
#23 0xb71c1081 in KApplication::notify (this=0xbf891540, receiver=0x9ea29a8,
event=0xbf88fa80) at
/usr/src/debug/kdelibs-4.4.1/kdeui/kernel/kapplication.cpp:302
#24 0xb6bbef7e in QCoreApplication::notifyInternal (this=0xbf891540,
receiver=0x9ea29a8, event=0xbf88fa80) at kernel/qcoreapplication.cpp:704
#25 0xb60f3e84 in QApplicationPrivate::sendMouseEvent (receiver=0x9ea29a8,
event=0xbf88fa80, alienWidget=0x9ea29a8, nativeWidget=0x9f0caf8,
buttonDown=0xb6a53018, lastMouseReceiver=@0xb6a5301c, 
    spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:218
#26 0xb6181a46 in QETWidget::translateMouseEvent (this=0x9f0caf8,
event=0xbf88ff8c) at kernel/qapplication_x11.cpp:4302
#27 0xb6180b54 in QApplication::x11ProcessEvent (this=0xbf891540,
event=0xbf88ff8c) at kernel/qapplication_x11.cpp:3379
#28 0xb61ae268 in x11EventSourceDispatch (s=0x98aa370, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#29 0xb57bd69e in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#30 0xb57c1388 in ?? () from /usr/lib/libglib-2.0.so.0
#31 0xb57c154e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#32 0xb6bebac1 in QEventDispatcherGlib::processEvents (this=0x98a7098, flags={i
= 100}) at kernel/qeventdispatcher_glib.cpp:412
#33 0xb61addba in QGuiEventDispatcherGlib::processEvents (this=0x98a7098,
flags={i = 100}) at kernel/qguieventdispatcher_glib.cpp:204
#34 0xb6bbd5ed in QEventLoop::processEvents (this=0xbf890240, flags=) at
kernel/qeventloop.cpp:149
#35 0xb6bbda39 in QEventLoop::exec (this=0xbf890240, flags={i = 64}) at
kernel/qeventloop.cpp:201
#36 0xb6643271 in QDialog::exec (this=0x9deb430) at dialogs/qdialog.cpp:530
#37 0xb66232db in QPrintDialog::exec (this=0x9deb430) at
dialogs/qprintdialog_unix.cpp:638
#38 0xb3c3d30f in ?? () from /usr/lib/kde4/okularpart.so
#39 0xb3c48d45 in ?? () from /usr/lib/kde4/okularpart.so
#40 0xb6bc42ed in QMetaObject::metacall (object=0x9972d68,
cl=QMetaObject::ReadProperty, idx=66, argv=0xbf890408) at
kernel/qmetaobject.cpp:237
#41 0xb6bd311a in QMetaObject::activate (sender=0x9a43c80, m=0xb6a38038,
local_signal_index=1, argv=0xbf890408) at kernel/qobject.cpp:3267
#42 0xb60e6c8d in QAction::triggered (this=0x9a43c80, _t1=false) at
.moc/release-shared/moc_qaction.cpp:263
#43 0xb60e8f9c in QAction::activate (this=0x9a43c80, event=QAction::Trigger) at
kernel/qaction.cpp:1251
#44 0xb65a00f7 in QMenuPrivate::activateCausedStack (this=0x9a2bf68,
causedStack=@0xbf89050c, action=0x9a43c80, action_e=QAction::Trigger,
self=true) at widgets/qmenu.cpp:1011
#45 0xb65a683f in QMenuPrivate::activateAction (this=0x9a2bf68,
action=0x9a43c80, action_e=QAction::Trigger, self=true) at
widgets/qmenu.cpp:1103
#46 0xb65a7878 in QMenu::mouseReleaseEvent (this=0x9a27038, e=0xbf890c80) at
widgets/qmenu.cpp:2313
#47 0xb72bdf1d in KMenu::mouseReleaseEvent (this=0x9a27038, e=0xbf890c80) at
/usr/src/debug/kdelibs-4.4.1/kdeui/widgets/kmenu.cpp:471
#48 0xb614e39b in QWidget::event (this=0x9a27038, event=0xbf890c80) at
kernel/qwidget.cpp:7978
#49 0xb65a8e2c in QMenu::event (this=0x9a27038, e=0xbf890c80) at
widgets/qmenu.cpp:2415
#50 0xb60ed72c in QApplicationPrivate::notify_helper (this=0x98a70b8,
receiver=0x9a27038, e=0xbf890c80) at kernel/qapplication.cpp:4298
#51 0xb60f4f3e in QApplication::notify (this=0xbf8909b4, receiver=0x9a27038,
e=0xbf890c80) at kernel/qapplication.cpp:3863
#52 0xb71c1081 in KApplication::notify (this=0xbf891540, receiver=0x9a27038,
event=0xbf890c80) at
/usr/src/debug/kdelibs-4.4.1/kdeui/kernel/kapplication.cpp:302
#53 0xb6bbef7e in QCoreApplication::notifyInternal (this=0xbf891540,
receiver=0x9a27038, event=0xbf890c80) at kernel/qcoreapplication.cpp:704
#54 0xb60f3e84 in QApplicationPrivate::sendMouseEvent (receiver=0x9a27038,
event=0xbf890c80, alienWidget=0x0, nativeWidget=0x9a27038,
buttonDown=0xb6a53018, lastMouseReceiver=@0xb6a5301c, 
    spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:218
#55 0xb6181a46 in QETWidget::translateMouseEvent (this=0x9a27038,
event=0xbf89118c) at kernel/qapplication_x11.cpp:4302
#56 0xb6180b54 in QApplication::x11ProcessEvent (this=0xbf891540,
event=0xbf89118c) at kernel/qapplication_x11.cpp:3379
#57 0xb61ae268 in x11EventSourceDispatch (s=0x98aa370, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#58 0xb57bd69e in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#59 0xb57c1388 in ?? () from /usr/lib/libglib-2.0.so.0
#60 0xb57c154e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#61 0xb6bebac1 in QEventDispatcherGlib::processEvents (this=0x98a7098, flags={i
= 36}) at kernel/qeventdispatcher_glib.cpp:412
#62 0xb61addba in QGuiEventDispatcherGlib::processEvents (this=0x98a7098,
flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:204
#63 0xb6bbd5ed in QEventLoop::processEvents (this=0xbf891444, flags=) at
kernel/qeventloop.cpp:149
#64 0xb6bbda39 in QEventLoop::exec (this=0xbf891444, flags={i = 0}) at
kernel/qeventloop.cpp:201
#65 0xb6bc1bb0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#66 0xb60ed7d4 in QApplication::exec () at kernel/qapplication.cpp:3577
#67 0x0804e679 in _start ()

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list