Bug 320291 - Ocular crashed after changing the printer settings
Summary: Ocular crashed after changing the printer settings
Status: RESOLVED DUPLICATE of bug 329562
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.15.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-26 08:32 UTC by kai.hinrichs
Modified: 2014-01-15 23:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kai.hinrichs 2013-05-26 08:32:59 UTC
Application: okular (0.15.5)
KDE Platform Version: 4.9.5
Qt Version: 4.8.3
Operating System: Linux 3.5.0-30-generic i686
Distribution: Linux Mint 14 Nadia

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

- I want to print on paper without Din dimensions.
- After change the printer settings i pushed the button "print".
- Then Ocular crashed.

-- Backtrace:
Application: Okular (okular), signal: Floating point exception
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb4dae740 (LWP 2989))]

Thread 3 (Thread 0xb02d3b40 (LWP 3001)):
#0  0xb771a424 in __kernel_vsyscall ()
#1  0xb54da96b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb5d4b6ec in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb5fca030 in wait (time=4294967295, this=0x8c94338) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x8c940e4, mutex=0x8c940e0, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb6bc612f in QFileInfoGatherer::run (this=0x8c940d8) at dialogs/qfileinfogatherer.cpp:214
#6  0xb5fc9a58 in QThreadPrivate::start (arg=0x8c940d8) at thread/qthread_unix.cpp:338
#7  0xb54d6d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb5d3ddde in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xb0ad4b40 (LWP 3002)):
#0  0xb5442eb6 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb5401616 in g_main_context_query () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb5401c5e in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb5401e61 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb610e99f in QEventDispatcherGlib::processEvents (this=0xaf983bd0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0xb60db26c in QEventLoop::processEvents (this=this@entry=0xb0ad4228, flags=...) at kernel/qeventloop.cpp:149
#6  0xb60db561 in QEventLoop::exec (this=0xb0ad4228, flags=...) at kernel/qeventloop.cpp:204
#7  0xb5fc666c in QThread::exec (this=0x8c94448) at thread/qthread.cpp:501
#8  0xb60b97bd in QInotifyFileSystemWatcherEngine::run (this=0x8c94448) at io/qfilesystemwatcher_inotify.cpp:248
#9  0xb5fc9a58 in QThreadPrivate::start (arg=0x8c94448) at thread/qthread_unix.cpp:338
#10 0xb54d6d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#11 0xb5d3ddde in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb4dae740 (LWP 2989)):
[KCrash Handler]
#6  0xb1042af3 in PSOutputDev::checkPageSlice (this=0x924cd38, page=0x89da3a8, rotateA=<optimized out>, useMediaBox=false, crop=true, sliceX=0, sliceY=0, sliceW=0, sliceH=0, printing=true, abortCheckCbk=0x0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0xb1171f10 <Poppler::annotDisplayDecideCbk(Annot*, void*)>, annotDisplayDecideCbkData=0xbfc6e5bb) at PSOutputDev.cc:3132
#7  0xb1023b5b in Page::displaySlice (this=this@entry=0x89da3a8, out=out@entry=0x924cd38, hDPI=hDPI@entry=72, vDPI=vDPI@entry=72, rotate=rotate@entry=0, useMediaBox=useMediaBox@entry=false, crop=crop@entry=true, sliceX=sliceX@entry=-1, sliceY=sliceY@entry=-1, sliceW=sliceW@entry=-1, sliceH=sliceH@entry=-1, printing=printing@entry=true, abortCheckCbk=abortCheckCbk@entry=0x0, abortCheckCbkData=abortCheckCbkData@entry=0x0, annotDisplayDecideCbk=annotDisplayDecideCbk@entry=0xb1171f10 <Poppler::annotDisplayDecideCbk(Annot*, void*)>, annotDisplayDecideCbkData=annotDisplayDecideCbkData@entry=0xbfc6e5bb) at Page.cc:507
#8  0xb1023e18 in Page::display (this=0x89da3a8, out=0x924cd38, hDPI=72, vDPI=72, rotate=0, useMediaBox=false, crop=true, printing=true, abortCheckCbk=0x0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0xb1171f10 <Poppler::annotDisplayDecideCbk(Annot*, void*)>, annotDisplayDecideCbkData=0xbfc6e5bb) at Page.cc:450
#9  0xb102a5e3 in PDFDoc::displayPage (this=0x89dd2c8, out=0x924cd38, page=1, hDPI=72, vDPI=72, rotate=0, useMediaBox=false, crop=true, printing=true, abortCheckCbk=0x0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0xb1171f10 <Poppler::annotDisplayDecideCbk(Annot*, void*)>, annotDisplayDecideCbkData=0xbfc6e5bb) at PDFDoc.cc:467
#10 0xb1172636 in Poppler::PSConverter::convert (this=0x922f648) at poppler-ps-converter.cc:256
#11 0xb11b575d in PDFGenerator::print (this=0x89a4460, printer=...) at ../../../generators/poppler/generator_pdf.cpp:1081
#12 0xb245c5d6 in Okular::Document::print (this=0x87bca98, printer=...) at ../core/document.cpp:3418
#13 0xb251acb0 in doPrint (printer=..., this=0x87b9400) at ../part.cpp:2501
#14 Okular::Part::doPrint (this=0x87b9400, printer=...) at ../part.cpp:2493
#15 0xb2527154 in Okular::Part::slotPrint (this=this@entry=0x87b9400) at ../part.cpp:2470
#16 0xb2527d07 in qt_static_metacall (_a=0xbfc6e8c8, _id=59, _o=0x87b9400, _c=<optimized out>) at ./part.moc:229
#17 Okular::Part::qt_static_metacall (_o=0x87b9400, _c=QMetaObject::InvokeMetaMethod, _id=59, _a=0xbfc6e8c8) at ./part.moc:159
#18 0xb60f4ed6 in QMetaObject::activate (sender=0x891cfa0, m=0xb6fbd3b8 <QAction::staticMetaObject>, local_signal_index=1, argv=0xbfc6e8c8) at kernel/qobject.cpp:3547
#19 0xb664210d in QAction::triggered (this=this@entry=0x891cfa0, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#20 0xb66423ac in QAction::activate (this=0x891cfa0, event=QAction::Trigger) at kernel/qaction.cpp:1257
#21 0xb6af4225 in QMenuPrivate::activateCausedStack (this=0x8945540, causedStack=..., action=0x891cfa0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1028
#22 0xb6afb326 in QMenuPrivate::activateAction (this=0x8945540, action=0x891cfa0, action_e=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1120
#23 0xb6afc275 in QMenu::mouseReleaseEvent (this=0x89421f0, e=0xbfc6f154) at widgets/qmenu.cpp:2360
#24 0xb7294fbc in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5
#25 0xb66a26df in QWidget::event (this=0x89421f0, event=0xbfc6f154) at kernel/qwidget.cpp:8371
#26 0xb6afc76c in QMenu::event (this=0x89421f0, e=0xbfc6f154) at widgets/qmenu.cpp:2469
#27 0xb664939c in QApplicationPrivate::notify_helper (this=0x863cdb0, receiver=0x89421f0, e=0xbfc6f154) at kernel/qapplication.cpp:4562
#28 0xb664e892 in QApplication::notify (this=0x863cdb0, receiver=0x89421f0, e=0xbfc6f154) at kernel/qapplication.cpp:4105
#29 0xb71bcec1 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#30 0xb60dc78e in QCoreApplication::notifyInternal (this=0xbfc6f944, receiver=0x89421f0, event=0xbfc6f154) at kernel/qcoreapplication.cpp:915
#31 0xb664a206 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#32 QApplicationPrivate::sendMouseEvent (receiver=0x89421f0, event=0xbfc6f154, alienWidget=0x0, nativeWidget=0x89421f0, buttonDown=0xb6fdad14 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#33 0xb66d591f in QETWidget::translateMouseEvent (this=0x89421f0, event=0xbfc6f57c) at kernel/qapplication_x11.cpp:4556
#34 0xb66d4705 in QApplication::x11ProcessEvent (this=0xbfc6f944, event=0xbfc6f57c) at kernel/qapplication_x11.cpp:3737
#35 0xb66ffdc4 in x11EventSourceDispatch (s=0x8633ee8, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#36 0xb54019e3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#37 0xb5401d80 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#38 0xb5401e61 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#39 0xb610e981 in QEventDispatcherGlib::processEvents (this=0x860fef0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#40 0xb66ff9aa in QGuiEventDispatcherGlib::processEvents (this=0x860fef0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0xb60db26c in QEventLoop::processEvents (this=this@entry=0xbfc6f878, flags=...) at kernel/qeventloop.cpp:149
#42 0xb60db561 in QEventLoop::exec (this=0xbfc6f878, flags=...) at kernel/qeventloop.cpp:204
#43 0xb60e0cba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#44 0xb6646fc4 in QApplication::exec () at kernel/qapplication.cpp:3823
#45 0x0804df96 in main (argc=6, argv=0xbfc6fad4) at ../../shell/main.cpp:85

This bug may be a duplicate of or related to bug 291425.

Possible duplicates by query: bug 314693, bug 291425, bug 289122.

Reported using DrKonqi
Comment 1 Albert Astals Cid 2013-05-26 20:29:22 UTC
Does the crash happen if you don't change the printer settings?

Can you please attach the pdf file?

Which poppler version do you have installed in your system?
Comment 2 Christoph Feck 2013-06-15 22:10:04 UTC
If you can provide the information requested in comment #1, please add it.
Comment 3 Christoph Feck 2014-01-15 23:35:55 UTC

*** This bug has been marked as a duplicate of bug 329562 ***