Bug 335465 - Okular crashed when trying to print from a PDF
Summary: Okular crashed when trying to print from a PDF
Status: RESOLVED DUPLICATE of bug 329907
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.17.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-05-28 12:08 UTC by test
Modified: 2014-05-29 01:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (15.11 KB, text/plain)
2014-05-28 12:16 UTC, test
Details

Note You need to log in before you can comment on or make changes to this bug.
Description test 2014-05-28 12:08:50 UTC
Application: okular (0.17.5)
KDE Platform Version: 4.11.5
Qt Version: 4.8.4
Operating System: Linux 3.11.0-22-generic i686
Distribution: Ubuntu 13.10

-- Information about the crash:
- What I was doing when the application crashed:
I started the printing menu di som setings to the printer (enhanced contrast) closed printing menu and then tried a print preview and the crashed ocured.
- Custom settings of the application:
None other then the printer mention above.

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

Thread 4 (Thread 0xb23ebb40 (LWP 7059)):
#0  0xb772a424 in __kernel_vsyscall ()
#1  0xb5d7ea0b in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0xb5447a4b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb5438b68 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb543904b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb33c832a in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0xb545ec4a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb5516d78 in start_thread (arg=0xb23ebb40) at pthread_create.c:311
#8  0xb5d8e01e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 3 (Thread 0xb19ffb40 (LWP 7060)):
#0  0xb5447a4e in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb5438b68 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb5438ca8 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb5438d2e in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb545ec4a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb5516d78 in start_thread (arg=0xb19ffb40) at pthread_create.c:311
#6  0xb5d8e01e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 2 (Thread 0xb0fffb40 (LWP 7077)):
#0  0xb772a424 in __kernel_vsyscall ()
#1  0xb551a84b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb5d9b9bc in __pthread_cond_wait (cond=0xa282338, mutex=0xa282320) at forward.c:149
#3  0xb601dca5 in wait (time=4294967295, this=0xa282320) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0xa27af34, mutex=mutex@entry=0xa27af30, time=time@entry=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb601999f in QSemaphore::acquire (this=0x9f10538, n=n@entry=1) at thread/qsemaphore.cpp:144
#6  0xac6f6f0e in GSRendererThread::run (this=0x9f10530) at ../../../generators/spectre/rendererthread.cpp:50
#7  0xb601d72f in QThreadPrivate::start (arg=0x9f10530) at thread/qthread_unix.cpp:338
#8  0xb5516d78 in start_thread (arg=0xb0fffb40) at pthread_create.c:311
#9  0xb5d8e01e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 1 (Thread 0xb4e2c740 (LWP 7056)):
[KCrash Handler]
#6  0xa9f78e48 in gs_lcms2_malloc (id=0x0, size=2920) at ./base/gsicc_lcms2.c:49
#7  0xae5e2774 in _cmsMalloc () from /usr/lib/i386-linux-gnu/liblcms2.so.2
#8  0xae5e2815 in ?? () from /usr/lib/i386-linux-gnu/liblcms2.so.2
#9  0xae5e2864 in _cmsMallocZero () from /usr/lib/i386-linux-gnu/liblcms2.so.2
#10 0xae5e94f5 in cmsCreateProfilePlaceholder () from /usr/lib/i386-linux-gnu/liblcms2.so.2
#11 0xae5eab5d in cmsOpenProfileFromMemTHR () from /usr/lib/i386-linux-gnu/liblcms2.so.2
#12 0xae5eabeb in cmsOpenProfileFromMem () from /usr/lib/i386-linux-gnu/liblcms2.so.2
#13 0xae6fec1c in GfxICCBasedColorSpace::parse (arr=0x9f9c1d0, out=out@entry=0x9f70738, recursion=recursion@entry=1) at GfxState.cc:1729
#14 0xae6fe623 in GfxColorSpace::parse (csObj=csObj@entry=0xbfb23c54, out=out@entry=0x9f70738, recursion=recursion@entry=1) at GfxState.cc:296
#15 0xae6ff6eb in GfxSeparationColorSpace::parse (arr=0x9f92998, out=out@entry=0x9f70738, recursion=recursion@entry=0) at GfxState.cc:2249
#16 0xae6fe6b6 in GfxColorSpace::parse (csObj=csObj@entry=0xbfb23d78, out=0x9f70738, recursion=recursion@entry=0) at GfxState.cc:300
#17 0xae6e8f74 in Gfx::doImage (this=this@entry=0xa200748, ref=ref@entry=0xbfb23f18, str=0x9e38500, inlineImg=inlineImg@entry=false) at Gfx.cc:4342
#18 0xae6eaab1 in Gfx::opXObject (this=0xa200748, args=0xbfb24004, numArgs=1) at Gfx.cc:4128
#19 0xae6db37d in Gfx::execOp (this=this@entry=0xa200748, cmd=cmd@entry=0xbfb23fe4, args=args@entry=0xbfb24004, numArgs=numArgs@entry=1) at Gfx.cc:853
#20 0xae6e43d1 in Gfx::go (this=this@entry=0xa200748, topLevel=topLevel@entry=true) at Gfx.cc:712
#21 0xae6e492e in Gfx::display (this=this@entry=0xa200748, obj=obj@entry=0xbfb24274, topLevel=topLevel@entry=true) at Gfx.cc:678
#22 0xae72b6ee in Page::displaySlice (this=this@entry=0x9eec650, out=out@entry=0x9f70738, hDPI=hDPI@entry=72, vDPI=vDPI@entry=72, rotate=rotate@entry=0, useMediaBox=useMediaBox@entry=false, crop=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=0xae87f400 <Poppler::annotDisplayDecideCbk(Annot*, void*)>, annotDisplayDecideCbkData=annotDisplayDecideCbkData@entry=0xbfb2463b, copyXRef=copyXRef@entry=false) at Page.cc:584
#23 0xae74b8f7 in PSOutputDev::checkPageSlice (this=0xa443fa8, page=0x9eec650, rotateA=0, useMediaBox=false, crop=true, sliceX=-1, sliceY=-1, sliceW=-1, sliceH=-1, printing=true, abortCheckCbk=0x0, abortCheckCbkData=0x0, annotDisplayDecideCbk=0xae87f400 <Poppler::annotDisplayDecideCbk(Annot*, void*)>, annotDisplayDecideCbkData=0xbfb2463b) at PSOutputDev.cc:3051
#24 0xae72b5cc in Page::displaySlice (this=this@entry=0x9eec650, out=out@entry=0xa443fa8, 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=0xae87f400 <Poppler::annotDisplayDecideCbk(Annot*, void*)>, annotDisplayDecideCbkData=annotDisplayDecideCbkData@entry=0xbfb2463b, copyXRef=copyXRef@entry=true) at Page.cc:567
#25 0xae72b954 in Page::display (this=0x9eec650, out=out@entry=0xa443fa8, hDPI=hDPI@entry=72, vDPI=vDPI@entry=72, rotate=rotate@entry=0, useMediaBox=useMediaBox@entry=false, crop=crop@entry=true, printing=printing@entry=true, abortCheckCbk=abortCheckCbk@entry=0x0, abortCheckCbkData=abortCheckCbkData@entry=0x0, annotDisplayDecideCbk=annotDisplayDecideCbk@entry=0xae87f400 <Poppler::annotDisplayDecideCbk(Annot*, void*)>, annotDisplayDecideCbkData=annotDisplayDecideCbkData@entry=0xbfb2463b, copyXRef=copyXRef@entry=true) at Page.cc:506
#26 0xae73307a in PDFDoc::displayPage (this=0x9eeb658, out=out@entry=0xa443fa8, page=page@entry=1, hDPI=72, vDPI=72, rotate=0, useMediaBox=useMediaBox@entry=false, crop=crop@entry=true, printing=printing@entry=true, abortCheckCbk=abortCheckCbk@entry=0x0, abortCheckCbkData=abortCheckCbkData@entry=0x0, annotDisplayDecideCbk=annotDisplayDecideCbk@entry=0xae87f400 <Poppler::annotDisplayDecideCbk(Annot*, void*)>, annotDisplayDecideCbkData=annotDisplayDecideCbkData@entry=0xbfb2463b, copyXRef=copyXRef@entry=true) at PDFDoc.cc:464
#27 0xae87fb0d in Poppler::PSConverter::convert (this=0x9e6c840) at poppler-ps-converter.cc:257
#28 0xae8ad324 in PDFGenerator::print (this=0x9eafc20, printer=...) at ../../../generators/poppler/generator_pdf.cpp:1173
#29 0xaf9b4a06 in Okular::Document::print (this=0x9bd71b0, printer=...) at ../core/document.cpp:3858
#30 0xafa5ea64 in Okular::Part::doPrint (this=0x9bbd4f8, printer=...) at ../part.cpp:2583
#31 0xafa6a175 in Okular::Part::slotPrintPreview (this=0x9bbd4f8) at ../part.cpp:2251
#32 0xafa6c098 in Okular::Part::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0xbfb24928, _c=<optimized out>) at ./part.moc:185
#33 0xb6141fc7 in QMetaObject::activate (sender=sender@entry=0x9e35090, m=m@entry=0xb6fe0718 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0xbfb24928) at kernel/qobject.cpp:3539
#34 0xb668167d in QAction::triggered (this=this@entry=0x9e35090, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#35 0xb6683274 in QAction::activate (this=this@entry=0x9e35090, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#36 0xb6b2621b in QMenuPrivate::activateCausedStack (this=0x9ba7340, causedStack=..., action=0x9e35090, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1038
#37 0xb6b2b2b8 in QMenuPrivate::activateAction (this=this@entry=0x9ba7340, action=action@entry=0x9e35090, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1130
#38 0xb6b2f309 in QMenu::mouseReleaseEvent (this=0x9ba4e50, e=0xbfb24f54) at widgets/qmenu.cpp:2372
#39 0xb72a6b2e in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5
#40 0xb66e21aa in QWidget::event (this=this@entry=0x9ba4e50, event=event@entry=0xbfb24f54) at kernel/qwidget.cpp:8375
#41 0xb6b2f79f in QMenu::event (this=0x9ba4e50, e=0xbfb24f54) at widgets/qmenu.cpp:2481
#42 0xb6688744 in QApplicationPrivate::notify_helper (this=0x99f87b0, receiver=receiver@entry=0x9ba4e50, e=0xbfb24f54) at kernel/qapplication.cpp:4567
#43 0xb6690df8 in QApplication::notify (this=0xbfb25524, receiver=0x9ba4e50, e=0xbfb24f54) at kernel/qapplication.cpp:4110
#44 0xb71d5ff4 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#45 0xb612ceda in QCoreApplication::notifyInternal (this=0xbfb25524, receiver=receiver@entry=0x9ba4e50, event=event@entry=0xbfb24f54) at kernel/qcoreapplication.cpp:946
#46 0xb668eaa3 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#47 QApplicationPrivate::sendMouseEvent (receiver=0x9ba4e50, event=event@entry=0xbfb24f54, alienWidget=0x0, nativeWidget=nativeWidget@entry=0x9ba4e50, buttonDown=buttonDown@entry=0xb6ffdcc4 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#48 0xb6712910 in QETWidget::translateMouseEvent (this=0x9ba4e50, event=event@entry=0xbfb2517c) at kernel/qapplication_x11.cpp:4565
#49 0xb6711c05 in QApplication::x11ProcessEvent (this=0xbfb25524, event=event@entry=0xbfb2517c) at kernel/qapplication_x11.cpp:3624
#50 0xb673d274 in x11EventSourceDispatch (s=0x99f8d00, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#51 0xb543883e in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#52 0xb5438be8 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#53 0xb5438ca8 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#54 0xb615c8bf in QEventDispatcherGlib::processEvents (this=this@entry=0x99f58c8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#55 0xb673d32e in QGuiEventDispatcherGlib::processEvents (this=0x99f58c8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#56 0xb612b9f3 in QEventLoop::processEvents (this=this@entry=0xbfb25438, flags=...) at kernel/qeventloop.cpp:149
#57 0xb612bd19 in QEventLoop::exec (this=this@entry=0xbfb25438, flags=...) at kernel/qeventloop.cpp:204
#58 0xb613189e in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#59 0xb6686974 in QApplication::exec () at kernel/qapplication.cpp:3828
#60 0x0804e666 in main (argc=6, argv=0xbfb25654) at ../../shell/main.cpp:100

Possible duplicates by query: bug 335462, bug 333324, bug 329907.

Reported using DrKonqi
Comment 1 test 2014-05-28 12:16:24 UTC
Created attachment 86878 [details]
New crash information added by DrKonqi

okular (0.17.5) on KDE Platform 4.11.5 using Qt 4.8.4

- What I was doing when the application crashed:
I made some settings to the printer from print menu and when tring to print it crashed.

-- Backtrace (Reduced):
#6  0x9fb37e48 in gs_lcms2_malloc (id=0x0, size=2920) at ./base/gsicc_lcms2.c:49
#7  0xad234774 in _cmsMalloc () from /usr/lib/i386-linux-gnu/liblcms2.so.2
[...]
#9  0xad234864 in _cmsMallocZero () from /usr/lib/i386-linux-gnu/liblcms2.so.2
#10 0xad23b4f5 in cmsCreateProfilePlaceholder () from /usr/lib/i386-linux-gnu/liblcms2.so.2
#11 0xad23cb5d in cmsOpenProfileFromMemTHR () from /usr/lib/i386-linux-gnu/liblcms2.so.2
Comment 2 Jekyll Wu 2014-05-29 01:30:58 UTC

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