https://bugs.kde.org/show_bug.cgi?id=348024
Bug ID: 348024 Summary: Okular crashed while trying to print after adjusting margins Product: okular Version: 0.20.2 Platform: Mint (Ubuntu based) OS: Linux Status: UNCONFIRMED Keywords: drkonqi Severity: crash Priority: NOR Component: general Assignee: okular-devel@kde.org Reporter: wfep...@yahoo.com Application: okular (0.20.2) KDE Platform Version: 4.14.2 Qt Version: 4.8.6 Operating System: Linux 3.13.0-37-generic x86_64 Distribution: Linux Mint 17.1 Rebecca -- Information about the crash: - What I was doing when the application crashed: Had adjusted margins of the printed paper within the Printer Properties box, then tried to print a PDF file and it crashed. This happened several times. Sometimes I reopened it and it would print ok. Othertimes it crashed. I tried one additional time to duplicate it and it worked fine. - Custom settings of the application: Okular- none that I know of. The crash can be reproduced sometimes. -- 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 0x7f34bed457c0 (LWP 9293))] Thread 6 (Thread 0x7f34a7c0e700 (LWP 9296)): #0 0x00007f34bbd7c060 in pthread_mutex_unlock () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007f34b8e919b1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f34b8e4f718 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f34b8e4ff03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007f34b8e500ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007f34bc7627be in QEventDispatcherGlib::processEvents (this=0x7f34a000ee50, flags=...) at kernel/qeventdispatcher_glib.cpp:436 #6 0x00007f34bc7340af in QEventLoop::processEvents (this=this@entry=0x7f34a7c0dde0, flags=...) at kernel/qeventloop.cpp:149 #7 0x00007f34bc7343a5 in QEventLoop::exec (this=this@entry=0x7f34a7c0dde0, flags=...) at kernel/qeventloop.cpp:204 #8 0x00007f34bc630c5f in QThread::exec (this=this@entry=0xbefe50) at thread/qthread.cpp:537 #9 0x00007f34bc715823 in QInotifyFileSystemWatcherEngine::run (this=0xbefe50) at io/qfilesystemwatcher_inotify.cpp:265 #10 0x00007f34bc63332f in QThreadPrivate::start (arg=0xbefe50) at thread/qthread_unix.cpp:349 #11 0x00007f34b932f182 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #12 0x00007f34bbd6e47d in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 5 (Thread 0x7f34a49cf700 (LWP 9384)): #0 0x00007f34bbd6112d in poll () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007f34b8e4ffe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f34b8e500ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f34bc7627be in QEventDispatcherGlib::processEvents (this=0x7f349c002a00, flags=...) at kernel/qeventdispatcher_glib.cpp:436 #4 0x00007f34bc7340af in QEventLoop::processEvents (this=this@entry=0x7f34a49cede0, flags=...) at kernel/qeventloop.cpp:149 #5 0x00007f34bc7343a5 in QEventLoop::exec (this=this@entry=0x7f34a49cede0, flags=...) at kernel/qeventloop.cpp:204 #6 0x00007f34bc630c5f in QThread::exec (this=this@entry=0x138ea90) at thread/qthread.cpp:537 #7 0x00007f34bc715823 in QInotifyFileSystemWatcherEngine::run (this=0x138ea90) at io/qfilesystemwatcher_inotify.cpp:265 #8 0x00007f34bc63332f in QThreadPrivate::start (arg=0x138ea90) at thread/qthread_unix.cpp:349 #9 0x00007f34b932f182 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #10 0x00007f34bbd6e47d in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 4 (Thread 0x7f3497354700 (LWP 9399)): #0 0x00007f34b9333414 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f34bc633816 in wait (time=18446744073709551615, this=0x174d640) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x174d070, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007f34bc62f95b in QSemaphore::acquire (this=this@entry=0x1749d40, n=n@entry=1) at thread/qsemaphore.cpp:144 #4 0x00007f3495f3f6ff in GSRendererThread::run (this=0x1749d30) at ../../../generators/spectre/rendererthread.cpp:50 #5 0x00007f34bc63332f in QThreadPrivate::start (arg=0x1749d30) at thread/qthread_unix.cpp:349 #6 0x00007f34b932f182 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #7 0x00007f34bbd6e47d in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 3 (Thread 0x7f34a840f700 (LWP 9404)): #0 0x00007f34b9333414 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007f34bc633816 in wait (time=18446744073709551615, this=0xf1ce40) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=this@entry=0x1268948, mutex=mutex@entry=0x1268940, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007f34bd604d96 in QFileInfoGatherer::run (this=0x1268930) at dialogs/qfileinfogatherer.cpp:214 #4 0x00007f34bc63332f in QThreadPrivate::start (arg=0x1268930) at thread/qthread_unix.cpp:349 #5 0x00007f34b932f182 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #6 0x00007f34bbd6e47d in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 2 (Thread 0x7f3496b53700 (LWP 9405)): #0 0x00007f34b8e919a0 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #1 0x00007f34b8e4f0f0 in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f34b8e4fea5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f34b8e500ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007f34bc7627be in QEventDispatcherGlib::processEvents (this=0x7f348c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436 #5 0x00007f34bc7340af in QEventLoop::processEvents (this=this@entry=0x7f3496b52de0, flags=...) at kernel/qeventloop.cpp:149 #6 0x00007f34bc7343a5 in QEventLoop::exec (this=this@entry=0x7f3496b52de0, flags=...) at kernel/qeventloop.cpp:204 #7 0x00007f34bc630c5f in QThread::exec (this=this@entry=0x120d2c0) at thread/qthread.cpp:537 #8 0x00007f34bc715823 in QInotifyFileSystemWatcherEngine::run (this=0x120d2c0) at io/qfilesystemwatcher_inotify.cpp:265 #9 0x00007f34bc63332f in QThreadPrivate::start (arg=0x120d2c0) at thread/qthread_unix.cpp:349 #10 0x00007f34b932f182 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #11 0x00007f34bbd6e47d in clone () from /lib/x86_64-linux-gnu/libc.so.6 Thread 1 (Thread 0x7f34bed457c0 (LWP 9293)): [KCrash Handler] #5 gs_lcms2_malloc (id=0x0, size=3744) at ./base/gsicc_lcms2.c:49 #6 0x00007f34a884a73d in ?? () from /usr/lib/x86_64-linux-gnu/liblcms2.so.2 #7 0x00007f34a8850c62 in cmsCreateProfilePlaceholder () from /usr/lib/x86_64-linux-gnu/liblcms2.so.2 #8 0x00007f34a8852088 in cmsOpenProfileFromMemTHR () from /usr/lib/x86_64-linux-gnu/liblcms2.so.2 #9 0x00007f34a8b9fd3b in GfxICCBasedColorSpace::parse (arr=<optimized out>, out=out@entry=0x1721f10, recursion=recursion@entry=0) at GfxState.cc:1730 #10 0x00007f34a8b9f80e in GfxColorSpace::parse (csObj=csObj@entry=0x7fffd6452290, out=0x1721f10, recursion=recursion@entry=0) at GfxState.cc:297 #11 0x00007f34a8b7c967 in Gfx::opSetFillColorSpace (this=0x173afd0, args=0x7fffd64523c0, numArgs=<optimized out>) at Gfx.cc:1527 #12 0x00007f34a8b870a9 in Gfx::go (this=this@entry=0x173afd0, topLevel=topLevel@entry=true) at Gfx.cc:712 #13 0x00007f34a8b874ed in Gfx::display (this=this@entry=0x173afd0, obj=obj@entry=0x7fffd64526c0, topLevel=topLevel@entry=true) at Gfx.cc:678 #14 0x00007f34a8bc95a8 in Page::displaySlice (this=this@entry=0x1040d60, out=out@entry=0x1721f10, hDPI=hDPI@entry=72, vDPI=vDPI@entry=72, rotate=rotate@entry=0, useMediaBox=useMediaBox@entry=false, crop=<optimized out>, 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=0x7f34a8f2f910 <Poppler::annotDisplayDecideCbk(Annot*, void*)>, annotDisplayDecideCbkData=annotDisplayDecideCbkData@entry=0x7fffd6452aaf, copyXRef=copyXRef@entry=false) at Page.cc:584 #15 0x00007f34a8be4dc2 in PSOutputDev::checkPageSlice (this=0x17a1eb0, page=0x1040d60, rotateA=0, useMediaBox=<optimized out>, crop=true, sliceX=-1, sliceY=-1, sliceW=-1, sliceH=-1, printing=true, abortCheckCbk=0x0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0x7f34a8f2f910 <Poppler::annotDisplayDecideCbk(Annot*, void*)>, annotDisplayDecideCbkData=0x7fffd6452aaf) at PSOutputDev.cc:3097 #16 0x00007f34a8bc94b6 in Page::displaySlice (this=0x1040d60, out=0x17a1eb0, out@entry=0x1, hDPI=72, hDPI@entry=6.910206960316593e-310, vDPI=72, vDPI@entry=72.000061035156236, rotate=rotate@entry=0, useMediaBox=false, useMediaBox@entry=255, 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=0x7f34a8f2f910 <Poppler::annotDisplayDecideCbk(Annot*, void*)>, annotDisplayDecideCbkData=annotDisplayDecideCbkData@entry=0x7fffd6452aaf, copyXRef=copyXRef@entry=true) at Page.cc:567 #17 0x00007f34a8bc978a in Page::display (this=<optimized out>, out=out@entry=0x1, hDPI=hDPI@entry=6.910206960316593e-310, vDPI=vDPI@entry=72.000061035156236, rotate=rotate@entry=0, useMediaBox=useMediaBox@entry=255, crop=crop@entry=true, printing=printing@entry=true, abortCheckCbk=0x0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0x7f34a8f2f910 <Poppler::annotDisplayDecideCbk(Annot*, void*)>, annotDisplayDecideCbkData=0x7fffd6452aaf, copyXRef=true) at Page.cc:506 #18 0x00007f34a8bcf846 in PDFDoc::displayPage (this=<optimized out>, out=0x1, out@entry=0x17a1eb0, page=page@entry=1, hDPI=6.910206960316593e-310, vDPI=72.000061035156236, rotate=0, useMediaBox=useMediaBox@entry=false, crop=crop@entry=true, printing=false, printing@entry=true, abortCheckCbk=abortCheckCbk@entry=0x0, abortCheckCbkData=0x7f34a8f2f910 <Poppler::annotDisplayDecideCbk(Annot*, void*)>, abortCheckCbkData@entry=0x0, annotDisplayDecideCbk=0x7fffd6452aaf, annotDisplayDecideCbk@entry=0x7f34a8f2f910 <Poppler::annotDisplayDecideCbk(Annot*, void*)>, annotDisplayDecideCbkData=0x7fff00000001, annotDisplayDecideCbkData@entry=0x7fffd6452aaf, copyXRef=copyXRef@entry=true) at PDFDoc.cc:464 #19 0x00007f34a8f2ff68 in Poppler::PSConverter::convert (this=<optimized out>) at poppler-ps-converter.cc:257 #20 0x00007f34a9162eb7 in PDFGenerator::print (this=0xc78ec0, printer=...) at ../../../generators/poppler/generator_pdf.cpp:1122 #21 0x00007f34ad705952 in Okular::Part::doPrint (this=0x81d080, printer=...) at ../part.cpp:2742 #22 0x00007f34ad710de3 in Okular::Part::slotPrint (this=0x81d080) at ../part.cpp:2711 #23 0x00007f34ad712a05 in Okular::Part::qt_static_metacall (_o=0x0, _id=3744, _a=0x7fffd6452eb0, _c=<optimized out>) at ./part.moc:255 #24 0x00007f34bc73d908 in QMetaMethod::invoke (this=this@entry=0x7fffd64530a0, object=object@entry=0x81d080, connectionType=Qt::DirectConnection, connectionType@entry=Qt::AutoConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1664 #25 0x00007f34bc73fdc2 in QMetaObject::invokeMethod (obj=0x81d080, member=member@entry=0x412109 "slotPrint", type=type@entry=Qt::AutoConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1179 #26 0x000000000040d46d in invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., member=0x412109 "slotPrint", obj=<optimized out>) at /usr/include/qt4/QtCore/qobjectdefs.h:434 #27 Shell::print (this=0x804ce0) at ../../shell/shell.cpp:566 #28 0x0000000000410885 in Shell::qt_static_metacall (_o=0x804ce0, _id=3744, _a=0x7fffd64535c0, _c=<optimized out>) at ./shell.moc:114 #29 0x00007f34bc74987a in QMetaObject::activate (sender=sender@entry=0xba1a30, m=m@entry=0x7f34bdbd1de0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffd64535c0) at kernel/qobject.cpp:3539 #30 0x00007f34bd121a62 in QAction::triggered (this=this@entry=0xba1a30, _t1=false) at .moc/release-shared/moc_qaction.cpp:276 #31 0x00007f34bd123433 in QAction::activate (this=this@entry=0xba1a30, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257 #32 0x00007f34bd551489 in QMenuPrivate::activateCausedStack (this=this@entry=0xbd05b0, causedStack=..., action=action@entry=0xba1a30, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1038 #33 0x00007f34bd5559b9 in QMenuPrivate::activateAction (this=0xbd05b0, action=0xba1a30, action_e=QAction::Trigger, self=<optimized out>) at widgets/qmenu.cpp:1130 #34 0x00007f34bdee9615 in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5 #35 0x00007f34bd17750a in QWidget::event (this=this@entry=0xbe6510, event=event@entry=0x7fffd6453cf0) at kernel/qwidget.cpp:8376 #36 0x00007f34bd5597bb in QMenu::event (this=0xbe6510, e=0x7fffd6453cf0) at widgets/qmenu.cpp:2481 #37 0x00007f34bd127e2c in QApplicationPrivate::notify_helper (this=this@entry=0x678610, receiver=receiver@entry=0xbe6510, e=e@entry=0x7fffd6453cf0) at kernel/qapplication.cpp:4567 #38 0x00007f34bd12e5dd in QApplication::notify (this=<optimized out>, receiver=0xbe6510, e=0x7fffd6453cf0) at kernel/qapplication.cpp:4110 #39 0x00007f34bde32cca in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #40 0x00007f34bc7354dd in QCoreApplication::notifyInternal (this=0x7fffd6454490, receiver=receiver@entry=0xbe6510, event=event@entry=0x7fffd6453cf0) at kernel/qcoreapplication.cpp:953 #41 0x00007f34bd12dd93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #42 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0xbe6510, event=event@entry=0x7fffd6453cf0, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0xbe6510, buttonDown=buttonDown@entry=0x7f34bdc0d318 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178 #43 0x00007f34bd1a2cfc in QETWidget::translateMouseEvent (this=this@entry=0xbe6510, event=event@entry=0x7fffd6454040) at kernel/qapplication_x11.cpp:4568 #44 0x00007f34bd1a2269 in QApplication::x11ProcessEvent (this=0x7fffd6454490, event=event@entry=0x7fffd6454040) at kernel/qapplication_x11.cpp:3627 #45 0x00007f34bd1c9b02 in x11EventSourceDispatch (s=0x679c00, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #46 0x00007f34b8e4fe04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #47 0x00007f34b8e50048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #48 0x00007f34b8e500ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #49 0x00007f34bc7627a1 in QEventDispatcherGlib::processEvents (this=0x644500, flags=...) at kernel/qeventdispatcher_glib.cpp:434 #50 0x00007f34bd1c9bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #51 0x00007f34bc7340af in QEventLoop::processEvents (this=this@entry=0x7fffd6454410, flags=...) at kernel/qeventloop.cpp:149 #52 0x00007f34bc7343a5 in QEventLoop::exec (this=this@entry=0x7fffd6454410, flags=...) at kernel/qeventloop.cpp:204 #53 0x00007f34bc739b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225 #54 0x00007f34bd12637c in QApplication::exec () at kernel/qapplication.cpp:3828 #55 0x0000000000409ab0 in main (argc=<optimized out>, argv=<optimized out>) at ../../shell/main.cpp:64 Possible duplicates by query: bug 341176, bug 336719, bug 336480, bug 335465, bug 335462. Reported using DrKonqi -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ Okular-devel mailing list Okular-devel@kde.org https://mail.kde.org/mailman/listinfo/okular-devel