[Okular-devel] [Bug 304417] New: Okular crashed when choosing printer

L. Rahyen research at science.su
Thu Aug 2 05:39:48 UTC 2012


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

            Bug ID: 304417
          Severity: crash
           Version: 0.14.3
          Priority: NOR
          Assignee: okular-devel at kde.org
           Summary: Okular crashed when choosing printer
    Classification: Unclassified
                OS: Linux
          Reporter: research at science.su
          Hardware: Debian unstable
            Status: UNCONFIRMED
         Component: general
           Product: okular

Application: okular (0.14.3)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.2
Operating System: Linux 3.4.3-pf x86_64
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
- What I was doing when the application crashed:
This crash usually happens when there are few printers available (real or
virtual like PDF output - does not matter) and I want to use non-default
printer and choose wrong one once or twice. Then it will crash when I try to
choose (from drop-down menu) one more time. This crash especially likely to
happen if I go to Properties every time before choosing another printer.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f4c915bd760 (LWP 26164))]

Thread 5 (Thread 0x7f4c7a7f6700 (LWP 26185)):
#0  0x00007f4c8e7b6ac3 in *__GI___poll (fds=<optimized out>, nfds=<optimized
out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4c8b6c64d4 in g_main_context_poll (n_fds=1, fds=0x7f4c74002ab0,
timeout=-1, context=0x7f4c740008b0, priority=<optimized out>) at
/tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:3440
#2  g_main_context_iterate (context=context at entry=0x7f4c740008b0,
block=block at entry=1, dispatch=dispatch at entry=1, self=<error reading variable:
Unhandled dwarf expression opcode 0xfa>) at
/tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:3141
#3  0x00007f4c8b6c65f4 in g_main_context_iteration (context=0x7f4c740008b0,
may_block=1) at /tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#4  0x00007f4c8f19f306 in QEventDispatcherGlib::processEvents (this=0x14d04b0,
flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f4c8f16f92f in QEventLoop::processEvents
(this=this at entry=0x7f4c7a7f5e10, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f4c8f16fbb8 in QEventLoop::exec (this=0x7f4c7a7f5e10, flags=...) at
kernel/qeventloop.cpp:204
#7  0x00007f4c8f072d70 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#8  0x00007f4c8f15023f in QInotifyFileSystemWatcherEngine::run (this=0x17d0130)
at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f4c8f075d0b in QThreadPrivate::start (arg=0x17d0130) at
thread/qthread_unix.cpp:307
#10 0x00007f4c8bb93b50 in start_thread (arg=<optimized out>) at
pthread_create.c:304
#11 0x00007f4c8e7c170d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f4c795c1700 (LWP 26194)):
#0  0x00007f4c8e7b6ac3 in *__GI___poll (fds=<optimized out>, nfds=<optimized
out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4c8b6c64d4 in g_main_context_poll (n_fds=1, fds=0x7f4c74003100,
timeout=-1, context=0x1985410, priority=<optimized out>) at
/tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:3440
#2  g_main_context_iterate (context=context at entry=0x1985410,
block=block at entry=1, dispatch=dispatch at entry=1, self=<error reading variable:
Unhandled dwarf expression opcode 0xfa>) at
/tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:3141
#3  0x00007f4c8b6c65f4 in g_main_context_iteration (context=0x1985410,
may_block=1) at /tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#4  0x00007f4c8f19f306 in QEventDispatcherGlib::processEvents (this=0x18f1570,
flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f4c8f16f92f in QEventLoop::processEvents
(this=this at entry=0x7f4c795c0e10, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f4c8f16fbb8 in QEventLoop::exec (this=0x7f4c795c0e10, flags=...) at
kernel/qeventloop.cpp:204
#7  0x00007f4c8f072d70 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#8  0x00007f4c8f15023f in QInotifyFileSystemWatcherEngine::run (this=0x198af50)
at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f4c8f075d0b in QThreadPrivate::start (arg=0x198af50) at
thread/qthread_unix.cpp:307
#10 0x00007f4c8bb93b50 in start_thread (arg=<optimized out>) at
pthread_create.c:304
#11 0x00007f4c8e7c170d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f4c737fe700 (LWP 26540)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4c8f07620b in wait (time=18446744073709551615, this=0x175c680) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x175c260,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f4c9006e1a6 in QFileInfoGatherer::run (this=0x175c250) at
dialogs/qfileinfogatherer.cpp:214
#4  0x00007f4c8f075d0b in QThreadPrivate::start (arg=0x175c250) at
thread/qthread_unix.cpp:307
#5  0x00007f4c8bb93b50 in start_thread (arg=<optimized out>) at
pthread_create.c:304
#6  0x00007f4c8e7c170d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f4c73fff700 (LWP 26541)):
#0  0x00007f4c8e7b6ac3 in *__GI___poll (fds=<optimized out>, nfds=<optimized
out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4c8b6c64d4 in g_main_context_poll (n_fds=1, fds=0x7f4c6c047f00,
timeout=-1, context=0x176b610, priority=<optimized out>) at
/tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:3440
#2  g_main_context_iterate (context=context at entry=0x176b610,
block=block at entry=1, dispatch=dispatch at entry=1, self=<error reading variable:
Unhandled dwarf expression opcode 0xfa>) at
/tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:3141
#3  0x00007f4c8b6c65f4 in g_main_context_iteration (context=0x176b610,
may_block=1) at /tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#4  0x00007f4c8f19f306 in QEventDispatcherGlib::processEvents (this=0x1729d00,
flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f4c8f16f92f in QEventLoop::processEvents
(this=this at entry=0x7f4c73ffee10, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f4c8f16fbb8 in QEventLoop::exec (this=0x7f4c73ffee10, flags=...) at
kernel/qeventloop.cpp:204
#7  0x00007f4c8f072d70 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:501
#8  0x00007f4c8f15023f in QInotifyFileSystemWatcherEngine::run (this=0x175c8e0)
at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f4c8f075d0b in QThreadPrivate::start (arg=0x175c8e0) at
thread/qthread_unix.cpp:307
#10 0x00007f4c8bb93b50 in start_thread (arg=<optimized out>) at
pthread_create.c:304
#11 0x00007f4c8e7c170d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4c915bd760 (LWP 26164)):
[KCrash Handler]
#6  0x00007f4c9001e3cb in QPPDOptionsModel::flags (this=0x2538230, index=...)
at dialogs/qprintdialog_unix.cpp:1155
#7  0x00007f4c900dd912 in indexesFromRange (result=..., range=...) at
itemviews/qitemselectionmodel.cpp:287
#8  indexesFromRange (range=..., result=...) at
itemviews/qitemselectionmodel.cpp:281
#9  0x00007f4c900dd9a3 in QItemSelection::indexes (this=this at entry=0x253c3a8)
at itemviews/qitemselectionmodel.cpp:439
#10 0x00007f4c900e309b in QItemSelectionModelPrivate::_q_layoutAboutToBeChanged
(this=0x253c310) at itemviews/qitemselectionmodel.cpp:807
#11 0x00007f4c900e3e29 in qt_static_metacall (_a=<optimized out>,
_id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at
.moc/release-shared/moc_qitemselectionmodel.cpp:116
#12 QItemSelectionModel::qt_static_metacall (_o=<optimized out>, _c=<optimized
out>, _id=<optimized out>, _a=<optimized out>) at
.moc/release-shared/moc_qitemselectionmodel.cpp:96
#13 0x00007f4c8f1865cf in QMetaObject::activate (sender=0x2538230, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#14 0x00007f4c90021e58 in QPPDOptionsModel::parseItems (this=0x2538230) at
dialogs/qprintdialog_unix.cpp:1166
#15 0x00007f4c9002231f in QPrintPropertiesDialog::selectPrinter
(this=0x24e4190) at dialogs/qprintdialog_unix.cpp:320
#16 0x00007f4c90022a2b in QUnixPrintWidgetPrivate::_q_printerChanged
(this=0x1702180, index=<optimized out>) at dialogs/qprintdialog_unix.cpp:817
#17 0x00007f4c8f1865cf in QMetaObject::activate (sender=0x1768400, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fff67c01430) at
kernel/qobject.cpp:3547
#18 0x00007f4c8ff54ca1 in QComboBox::currentIndexChanged
(this=this at entry=0x1768400, _t1=1) at .moc/release-shared/moc_qcombobox.cpp:316
#19 0x00007f4c8ff54d07 in QComboBoxPrivate::_q_emitCurrentIndexChanged
(this=this at entry=0x1b86a90, index=...) at widgets/qcombobox.cpp:1278
#20 0x00007f4c8ff54f10 in QComboBoxPrivate::setCurrentIndex
(this=this at entry=0x1b86a90, mi=...) at widgets/qcombobox.cpp:2046
#21 0x00007f4c8ff55ba4 in QComboBoxPrivate::_q_itemSelected (this=0x1b86a90,
item=...) at widgets/qcombobox.cpp:1247
#22 0x00007f4c8f1865cf in QMetaObject::activate (sender=0x2bc9850, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fff67c016a0) at
kernel/qobject.cpp:3547
#23 0x00007f4c901e9332 in QComboBoxPrivateContainer::itemSelected
(this=<optimized out>, _t1=...) at .moc/release-shared/moc_qcombobox_p.cpp:253
#24 0x00007f4c8ff50227 in QComboBoxPrivateContainer::eventFilter
(this=0x2bc9850, o=0x2b4d180, e=0x7fff67c01df0) at widgets/qcombobox.cpp:691
#25 0x00007f4c8f170d46 in
QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>,
receiver=0x2b4d180, event=0x7fff67c01df0) at kernel/qcoreapplication.cpp:1025
#26 0x00007f4c8fb826dc in QApplicationPrivate::notify_helper
(this=this at entry=0x1208770, receiver=receiver at entry=0x2b4d180,
e=e at entry=0x7fff67c01df0) at kernel/qapplication.cpp:4552
#27 0x00007f4c8fb873eb in QApplication::notify (this=<optimized out>,
receiver=0x2b4d180, e=0x7fff67c01df0) at kernel/qapplication.cpp:4099
#28 0x00007f4c908b58a6 in KApplication::notify (this=0x7fff67c044a0,
receiver=0x2b4d180, event=0x7fff67c01df0) at
../../kdeui/kernel/kapplication.cpp:311
#29 0x00007f4c8f170bde in QCoreApplication::notifyInternal
(this=0x7fff67c044a0, receiver=0x2b4d180, event=0x7fff67c01df0) at
kernel/qcoreapplication.cpp:915
#30 0x00007f4c8fb8354b in sendEvent (event=<optimized out>, receiver=<optimized
out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#31 QApplicationPrivate::sendMouseEvent (receiver=0x2b4d180,
event=0x7fff67c01df0, alienWidget=0x2b4d180, nativeWidget=0x2bc9850,
buttonDown=0x7f4c906582a8, lastMouseReceiver=..., spontaneous=true) at
kernel/qapplication.cpp:3167
#32 0x00007f4c8fbfdfbc in QETWidget::translateMouseEvent
(this=this at entry=0x2bc9850, event=event at entry=0x7fff67c02560) at
kernel/qapplication_x11.cpp:4457
#33 0x00007f4c8fbfce81 in QApplication::x11ProcessEvent (this=0x7fff67c044a0,
event=0x7fff67c02560) at kernel/qapplication_x11.cpp:3646
#34 0x00007f4c8fc23cf2 in x11EventSourceDispatch (s=s at entry=0x12064d0,
callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#35 0x00007f4c8b6c6205 in g_main_dispatch (context=0x1206920) at
/tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:2539
#36 g_main_context_dispatch (context=context at entry=0x1206920) at
/tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:3075
#37 0x00007f4c8b6c6538 in g_main_context_iterate
(context=context at entry=0x1206920, block=block at entry=1,
dispatch=dispatch at entry=1, self=<error reading variable: Unhandled dwarf
expression opcode 0xfa>) at /tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:3146
#38 0x00007f4c8b6c65f4 in g_main_context_iteration (context=0x1206920,
may_block=1) at /tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#39 0x00007f4c8f19f2e6 in QEventDispatcherGlib::processEvents (this=0x11e0b30,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#40 0x00007f4c8fc2396e in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007f4c8f16f92f in QEventLoop::processEvents
(this=this at entry=0x7fff67c02940, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007f4c8f16fbb8 in QEventLoop::exec (this=0x7fff67c02940, flags=...) at
kernel/qeventloop.cpp:204
#43 0x00007f4c900366d8 in QDialog::exec (this=0x1724140) at
dialogs/qdialog.cpp:554
#44 0x00007f4c7fb64c85 in ?? () from /usr/lib/kde4/okularpart.so
#45 0x00007f4c7fb651ea in ?? () from /usr/lib/kde4/okularpart.so
#46 0x00007f4c8f1865cf in QMetaObject::activate (sender=0x163a650, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fff67c02b70) at
kernel/qobject.cpp:3547
#47 0x00007f4c8fb7c502 in QAction::triggered (this=this at entry=0x163a650,
_t1=false) at .moc/release-shared/moc_qaction.cpp:277
#48 0x00007f4c8fb7c6f0 in QAction::activate (this=0x163a650, event=<optimized
out>) at kernel/qaction.cpp:1257
#49 0x00007f4c8ffb6753 in QMenuPrivate::activateCausedStack
(this=this at entry=0x165f6c0, causedStack=..., action=action at entry=0x163a650,
action_e=action_e at entry=QAction::Trigger, self=self at entry=true) at
widgets/qmenu.cpp:1028
#50 0x00007f4c8ffbca69 in QMenuPrivate::activateAction (this=0x165f6c0,
action=0x163a650, action_e=QAction::Trigger, self=true) at
widgets/qmenu.cpp:1120
#51 0x00007f4c9096e360 in KMenu::mouseReleaseEvent (this=0x16762f0,
e=0x7fff67c03710) at ../../kdeui/widgets/kmenu.cpp:464
#52 0x00007f4c8fbd1ed0 in QWidget::event (this=0x16762f0, event=0x7fff67c03710)
at kernel/qwidget.cpp:8371
#53 0x00007f4c8ffbdd1b in QMenu::event (this=0x16762f0, e=0x7fff67c03710) at
widgets/qmenu.cpp:2469
#54 0x00007f4c8fb8270c in QApplicationPrivate::notify_helper
(this=this at entry=0x1208770, receiver=receiver at entry=0x16762f0,
e=e at entry=0x7fff67c03710) at kernel/qapplication.cpp:4556
#55 0x00007f4c8fb873eb in QApplication::notify (this=<optimized out>,
receiver=0x16762f0, e=0x7fff67c03710) at kernel/qapplication.cpp:4099
#56 0x00007f4c908b58a6 in KApplication::notify (this=0x7fff67c044a0,
receiver=0x16762f0, event=0x7fff67c03710) at
../../kdeui/kernel/kapplication.cpp:311
#57 0x00007f4c8f170bde in QCoreApplication::notifyInternal
(this=0x7fff67c044a0, receiver=0x16762f0, event=0x7fff67c03710) at
kernel/qcoreapplication.cpp:915
#58 0x00007f4c8fb8354b in sendEvent (event=<optimized out>, receiver=<optimized
out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#59 QApplicationPrivate::sendMouseEvent (receiver=0x16762f0,
event=0x7fff67c03710, alienWidget=0x0, nativeWidget=0x16762f0,
buttonDown=0x7f4c906582a8, lastMouseReceiver=..., spontaneous=true) at
kernel/qapplication.cpp:3167
#60 0x00007f4c8fbfdfbc in QETWidget::translateMouseEvent
(this=this at entry=0x16762f0, event=event at entry=0x7fff67c03e80) at
kernel/qapplication_x11.cpp:4457
#61 0x00007f4c8fbfce81 in QApplication::x11ProcessEvent (this=0x7fff67c044a0,
event=0x7fff67c03e80) at kernel/qapplication_x11.cpp:3646
#62 0x00007f4c8fc23cf2 in x11EventSourceDispatch (s=s at entry=0x12064d0,
callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#63 0x00007f4c8b6c6205 in g_main_dispatch (context=0x1206920) at
/tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:2539
#64 g_main_context_dispatch (context=context at entry=0x1206920) at
/tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:3075
#65 0x00007f4c8b6c6538 in g_main_context_iterate
(context=context at entry=0x1206920, block=block at entry=1,
dispatch=dispatch at entry=1, self=<error reading variable: Unhandled dwarf
expression opcode 0xfa>) at /tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:3146
#66 0x00007f4c8b6c65f4 in g_main_context_iteration (context=0x1206920,
may_block=1) at /tmp/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#67 0x00007f4c8f19f2e6 in QEventDispatcherGlib::processEvents (this=0x11e0b30,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#68 0x00007f4c8fc2396e in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#69 0x00007f4c8f16f92f in QEventLoop::processEvents
(this=this at entry=0x7fff67c04250, flags=...) at kernel/qeventloop.cpp:149
#70 0x00007f4c8f16fbb8 in QEventLoop::exec (this=0x7fff67c04250, flags=...) at
kernel/qeventloop.cpp:204
#71 0x00007f4c8f174d78 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1187
#72 0x000000000040824e in ?? ()
#73 0x00007f4c8e707ead in __libc_start_main (main=<optimized out>,
argc=<optimized out>, ubp_av=<optimized out>, init=<optimized out>,
fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff67c045c8) at
libc-start.c:228
#74 0x0000000000408a7d in _start ()

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list