Bug 336719 - Okular crashes trying to print after print-preview
Summary: Okular crashes trying to print after print-preview
Status: RESOLVED DUPLICATE of bug 329907
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.18.5
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-06-25 17:51 UTC by Axel von Bertoldi
Modified: 2014-06-25 18:57 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Axel von Bertoldi 2014-06-25 17:51:21 UTC
Application: okular (0.18.5)
KDE Platform Version: 4.12.5
Qt Version: 4.8.6
Operating System: Linux 3.14.8-200.fc20.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
Open a one page pdf, print-preview, close the preview and crashes trying to print. It works well starting Okular and directly print it.

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f769735b8c0 (LWP 17299))]

Thread 4 (Thread 0x7f768a98b700 (LWP 17358)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x000000319fc7cbf6 in wait (time=18446744073709551615, this=0x13e7270) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=mutex@entry=0x13d2270, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x000000319fc78b5b in QSemaphore::acquire (this=this@entry=0x12fdb30, n=n@entry=1) at thread/qsemaphore.cpp:144
#4  0x00007f76888ba8c7 in GSRendererThread::run (this=0x12fdb20) at /usr/src/debug/okular-4.12.5/generators/spectre/rendererthread.cpp:50
#5  0x000000319fc7c6bf in QThreadPrivate::start (arg=0x12fdb20) at thread/qthread_unix.cpp:349
#6  0x0000003bdbc07f33 in start_thread (arg=0x7f768a98b700) at pthread_create.c:309
#7  0x0000003bdb8f4ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f768b18c700 (LWP 17359)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x000000319fc7cbf6 in wait (time=18446744073709551615, this=0x134a0c0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1363658, mutex=mutex@entry=0x1363650, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000031a1accd66 in QFileInfoGatherer::run (this=0x1363640) at dialogs/qfileinfogatherer.cpp:214
#4  0x000000319fc7c6bf in QThreadPrivate::start (arg=0x1363640) at thread/qthread_unix.cpp:349
#5  0x0000003bdbc07f33 in start_thread (arg=0x7f768b18c700) at pthread_create.c:309
#6  0x0000003bdb8f4ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f76894ce700 (LWP 17360)):
#0  0x00007fffac14c7c2 in clock_gettime ()
#1  0x0000003bdb902f3d in __GI___clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:115
#2  0x000000319fcd3afb in do_gettime (frac=0x7f76894cda20, sec=0x7f76894cda18) at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0x000000319fdb7305 in updateCurrentTime (this=0x7f7674001f60) at kernel/qeventdispatcher_unix.cpp:354
#5  QTimerInfoList::timerWait (this=0x7f7674001f60, tm=...) at kernel/qeventdispatcher_unix.cpp:460
#6  0x000000319fdb590c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f76894cdaf4) at kernel/qeventdispatcher_glib.cpp:143
#7  0x000000319fdb59d5 in timerSourcePrepare (source=<optimized out>, timeout=timeout@entry=0x7f76894cdaf4) at kernel/qeventdispatcher_glib.cpp:176
#8  0x0000003bde048bed in g_main_context_prepare (context=context@entry=0x7f76740009a0, priority=priority@entry=0x7f76894cdb80) at gmain.c:3340
#9  0x0000003bde0494bb in g_main_context_iterate (context=context@entry=0x7f76740009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3693
#10 0x0000003bde0496dc in g_main_context_iteration (context=0x7f76740009a0, may_block=1) at gmain.c:3774
#11 0x000000319fdb5a7e in QEventDispatcherGlib::processEvents (this=0x7f76740008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#12 0x000000319fd8595f in QEventLoop::processEvents (this=this@entry=0x7f76894cdcc0, flags=...) at kernel/qeventloop.cpp:149
#13 0x000000319fd85cad in QEventLoop::exec (this=this@entry=0x7f76894cdcc0, flags=...) at kernel/qeventloop.cpp:204
#14 0x000000319fc79e8f in QThread::exec (this=this@entry=0x13d4af0) at thread/qthread.cpp:538
#15 0x000000319fd662e3 in QInotifyFileSystemWatcherEngine::run (this=0x13d4af0) at io/qfilesystemwatcher_inotify.cpp:265
#16 0x000000319fc7c6bf in QThreadPrivate::start (arg=0x13d4af0) at thread/qthread_unix.cpp:349
#17 0x0000003bdbc07f33 in start_thread (arg=0x7f76894ce700) at pthread_create.c:309
#18 0x0000003bdb8f4ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f769735b8c0 (LWP 17299)):
[KCrash Handler]
#6  gs_lcms2_malloc (id=0x0, size=3752) at base/gsicc_lcms2.c:53
#7  0x000000307120fc4d in _cmsMallocZeroDefaultFn (ContextID=<optimized out>, size=3752) at cmserr.c:97
#8  0x0000003071216e71 in cmsCreateProfilePlaceholder (ContextID=ContextID@entry=0x0) at cmsio0.c:460
#9  0x00000030712183e8 in cmsOpenProfileFromMemTHR (ContextID=0x0, MemPtr=0x13be9b0, dwSize=3144) at cmsio0.c:1092
#10 0x000000378ed1dc3b in GfxICCBasedColorSpace::parse (arr=<optimized out>, out=out@entry=0x13979d0, recursion=recursion@entry=0) at GfxState.cc:1729
#11 0x000000378ed1d6b5 in GfxColorSpace::parse (csObj=0x7fffac071e10, out=0x13979d0, recursion=0) at GfxState.cc:296
#12 0x000000378ecf98fa in Gfx::opSetFillColorSpace (this=0x13e2e50, args=0x7fffac071f50, numArgs=<optimized out>) at Gfx.cc:1527
#13 0x000000378ed043c1 in Gfx::go (this=0x13e2e50, topLevel=<optimized out>) at Gfx.cc:712
#14 0x000000378ed0484d in Gfx::display (this=this@entry=0x13e2e50, obj=obj@entry=0x7fffac072280, topLevel=topLevel@entry=true) at Gfx.cc:678
#15 0x000000378ed48d05 in Page::displaySlice (this=this@entry=0xfb6450, out=out@entry=0x13979d0, 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=0x319f85ddc0 <Poppler::annotDisplayDecideCbk(Annot*, void*)>, annotDisplayDecideCbkData=annotDisplayDecideCbkData@entry=0x7fffac07269f, copyXRef=copyXRef@entry=false) at Page.cc:584
#16 0x000000378ed65cb6 in PSOutputDev::checkPageSlice (this=0x13daaf0, page=0xfb6450, rotateA=0, useMediaBox=<optimized out>, crop=true, sliceX=-1, sliceY=-1, sliceW=-1, sliceH=-1, printing=true, abortCheckCbk=0x0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0x319f85ddc0 <Poppler::annotDisplayDecideCbk(Annot*, void*)>, annotDisplayDecideCbkData=0x7fffac07269f) at PSOutputDev.cc:3091
#17 0x000000378ed48bf7 in Page::displaySlice (this=0xfb6450, out=0x13daaf0, out@entry=0x7fffac07269f, hDPI=72, hDPI@entry=1.1789369547763886e-312, 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=0x319f85ddc0 <Poppler::annotDisplayDecideCbk(Annot*, void*)>, annotDisplayDecideCbkData=annotDisplayDecideCbkData@entry=0x7fffac07269f, copyXRef=copyXRef@entry=true) at Page.cc:567
#18 0x000000378ed48eda in Page::display (this=<optimized out>, out=out@entry=0x7fffac07269f, hDPI=hDPI@entry=1.1789369547763886e-312, 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=0x319f85ddc0 <Poppler::annotDisplayDecideCbk(Annot*, void*)>, annotDisplayDecideCbkData=0x7fffac07269f, copyXRef=true) at Page.cc:506
#19 0x000000378ed4f536 in PDFDoc::displayPage (this=<optimized out>, out=0x7fffac07269f, out@entry=0x13daaf0, page=page@entry=1, hDPI=1.1789369547763886e-312, vDPI=72.000061035156236, rotate=0, useMediaBox=useMediaBox@entry=false, crop=crop@entry=true, printing=false, printing@entry=true, abortCheckCbk=abortCheckCbk@entry=0x0, abortCheckCbkData=0x319f85ddc0 <Poppler::annotDisplayDecideCbk(Annot*, void*)>, abortCheckCbkData@entry=0x0, annotDisplayDecideCbk=0x7fffac07269f, annotDisplayDecideCbk@entry=0x319f85ddc0 <Poppler::annotDisplayDecideCbk(Annot*, void*)>, annotDisplayDecideCbkData=0x7fff00000001, annotDisplayDecideCbkData@entry=0x7fffac07269f, copyXRef=copyXRef@entry=true) at PDFDoc.cc:464
#20 0x000000319f85e491 in Poppler::PSConverter::convert (this=<optimized out>) at poppler-ps-converter.cc:257
#21 0x00007f768b5e96f7 in PDFGenerator::print (this=0xf56dc0, printer=...) at /usr/src/debug/okular-4.12.5/generators/poppler/generator_pdf.cpp:1180
#22 0x00007f768cf5cc62 in Okular::Part::doPrint (this=0xbd39b0, printer=...) at /usr/src/debug/okular-4.12.5/part.cpp:2587
#23 0x00007f768cf67a53 in Okular::Part::slotPrint (this=0xbd39b0) at /usr/src/debug/okular-4.12.5/part.cpp:2556
#24 0x00007f768cf69355 in Okular::Part::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0x7fffac072a90, _c=<optimized out>) at /usr/src/debug/okular-4.12.5/x86_64-redhat-linux-gnu/part.moc:233
#25 0x000000319fd9b938 in QMetaObject::activate (sender=sender@entry=0xe81210, m=m@entry=0x31a20a2840 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffac072a90) at kernel/qobject.cpp:3567
#26 0x00000031a15c4872 in QAction::triggered (this=this@entry=0xe81210, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#27 0x00000031a15c6427 in QAction::activate (this=this@entry=0xe81210, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#28 0x00000031a1a1051d in QMenuPrivate::activateCausedStack (this=this@entry=0xead3f0, causedStack=..., action=action@entry=0xe81210, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1037
#29 0x00000031a1a14db9 in QMenuPrivate::activateAction (this=0xead3f0, action=0xe81210, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1129
#30 0x00000031a1a18925 in QMenu::mouseReleaseEvent (this=this@entry=0xead2b0, e=e@entry=0x7fffac073240) at widgets/qmenu.cpp:2371
#31 0x0000003d2ab0bbbb in KMenu::mouseReleaseEvent (this=0xead2b0, e=0x7fffac073240) at /usr/src/debug/kdelibs-4.12.5/kdeui/widgets/kmenu.cpp:464
#32 0x00000031a161dd78 in QWidget::event (this=this@entry=0xead2b0, event=event@entry=0x7fffac073240) at kernel/qwidget.cpp:8389
#33 0x00000031a1a18e0b in QMenu::event (this=0xead2b0, e=0x7fffac073240) at widgets/qmenu.cpp:2480
#34 0x00000031a15cae7c in QApplicationPrivate::notify_helper (this=0xa5f510, receiver=0xead2b0, e=0x7fffac073240) at kernel/qapplication.cpp:4565
#35 0x00000031a15d1921 in QApplication::notify (this=this@entry=0x7fffac073b40, receiver=receiver@entry=0xead2b0, e=e@entry=0x7fffac073240) at kernel/qapplication.cpp:4108
#36 0x0000003d2aa4ab0a in KApplication::notify (this=0x7fffac073b40, receiver=0xead2b0, event=0x7fffac073240) at /usr/src/debug/kdelibs-4.12.5/kdeui/kernel/kapplication.cpp:311
#37 0x000000319fd86ebd in QCoreApplication::notifyInternal (this=0x7fffac073b40, receiver=0xead2b0, event=0x7fffac073240) at kernel/qcoreapplication.cpp:953
#38 0x00000031a15d1097 in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0xead2b0, event=event@entry=0x7fffac073240, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0xead2b0, buttonDown=buttonDown@entry=0x31a20de278 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at ../../src/corelib/kernel/qcoreapplication.h:231
#39 0x00000031a1646a9c in QETWidget::translateMouseEvent (this=this@entry=0xead2b0, event=event@entry=0x7fffac073580) at kernel/qapplication_x11.cpp:4474
#40 0x00000031a16451dc in QApplication::x11ProcessEvent (this=0x7fffac073b40, event=event@entry=0x7fffac073580) at kernel/qapplication_x11.cpp:3663
#41 0x00000031a166cc04 in x11EventSourceDispatch (s=s@entry=0xa60470, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#42 0x0000003bde0492a6 in g_main_dispatch (context=0xa5f740) at gmain.c:3066
#43 g_main_context_dispatch (context=context@entry=0xa5f740) at gmain.c:3642
#44 0x0000003bde049628 in g_main_context_iterate (context=context@entry=0xa5f740, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3713
#45 0x0000003bde0496dc in g_main_context_iteration (context=0xa5f740, may_block=1) at gmain.c:3774
#46 0x000000319fdb5a7e in QEventDispatcherGlib::processEvents (this=0xa33ea0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#47 0x00000031a166cd86 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#48 0x000000319fd8595f in QEventLoop::processEvents (this=this@entry=0x7fffac073970, flags=...) at kernel/qeventloop.cpp:149
#49 0x000000319fd85cad in QEventLoop::exec (this=this@entry=0x7fffac073970, flags=...) at kernel/qeventloop.cpp:204
#50 0x000000319fd8b399 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#51 0x00000031a15c94ec in QApplication::exec () at kernel/qapplication.cpp:3823
#52 0x00000000004083fe in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/okular-4.12.5/shell/main.cpp:100

The reporter indicates this bug may be a duplicate of or related to bug 329907.

Possible duplicates by query: bug 335462, bug 329907.

Reported using DrKonqi
Comment 1 Christoph Feck 2014-06-25 18:57:50 UTC

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