[Okular-devel] [okular] [Bug 336480] New: Okular crash on Print after Print Preview of PDF with Forms (TV licence)

A. Lomax bug_tracking at cuboid.demon.co.uk
Thu Jun 19 20:32:13 UTC 2014


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

            Bug ID: 336480
           Summary: Okular crash on Print after Print Preview of PDF with
                    Forms (TV licence)
    Classification: Unclassified
           Product: okular
           Version: 0.19.1
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: bug_tracking at cuboid.demon.co.uk

Application: okular (0.19.1)
KDE Platform Version: 4.13.1
Qt Version: 4.8.6
Operating System: Linux 3.13.0-29-generic i686
Distribution: Ubuntu 14.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I was viewing my TV licence PDF in Okular.  (Okular reports on a line at the
top that the PDF contains forms.)  I used Print Preview, then closed that.  I
then used Print to print my printer and Okular crashed instead of printing.

The crash can be reproduced every time.

-- 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 0xb4e5b740 (LWP 18455))]

Thread 6 (Thread 0xab4cdb40 (LWP 18459)):
#0  0xb77b5424 in __kernel_vsyscall ()
#1  0xb5e19392 in __GI___clock_gettime (clock_id=1, tp=0xab4ccff8) at
../sysdeps/unix/clock_gettime.c:115
#2  0xb60f68cc in do_gettime (frac=0xab4ccff0, sec=0xab4ccfe8) at
tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0xb61df2a2 in updateCurrentTime (this=0xaaa2f2ac) at
kernel/qeventdispatcher_unix.cpp:354
#5  QTimerInfoList::timerWait (this=0xaaa2f2ac, tm=...) at
kernel/qeventdispatcher_unix.cpp:460
#6  0xb61dd82b in timerSourcePrepareHelper (src=<optimized out>,
timeout=0xab4cd0ec) at kernel/qeventdispatcher_glib.cpp:143
#7  0xb61dd8bd in timerSourcePrepare (source=0xaaa2f278, timeout=0xab4cd0ec) at
kernel/qeventdispatcher_glib.cpp:176
#8  0xb54ab9b3 in g_main_context_prepare () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb54ac2df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb54ac528 in g_main_context_iteration () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#11 0xb61dd95f in QEventDispatcherGlib::processEvents (this=0xaa90b7e0,
flags=...) at kernel/qeventdispatcher_glib.cpp:436
#12 0xb61ac823 in QEventLoop::processEvents (this=this at entry=0xab4cd258,
flags=...) at kernel/qeventloop.cpp:149
#13 0xb61acb49 in QEventLoop::exec (this=this at entry=0xab4cd258, flags=...) at
kernel/qeventloop.cpp:204
#14 0xb609923d in QThread::exec (this=this at entry=0x91ec9d8) at
thread/qthread.cpp:537
#15 0xb618cc44 in QInotifyFileSystemWatcherEngine::run (this=0x91ec9d8) at
io/qfilesystemwatcher_inotify.cpp:265
#16 0xb609bb6f in QThreadPrivate::start (arg=0x91ec9d8) at
thread/qthread_unix.cpp:349
#17 0xb5591f70 in start_thread (arg=0xab4cdb40) at pthread_create.c:312
#18 0xb5e0b70e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 5 (Thread 0xabcceb40 (LWP 18479)):
#0  0xb77b5424 in __kernel_vsyscall ()
#1  0xb5dfc7ab in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0xb54bb20b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb54ac3e8 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb54ac528 in g_main_context_iteration () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb61dd95f in QEventDispatcherGlib::processEvents (this=0xaab38110,
flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0xb61ac823 in QEventLoop::processEvents (this=this at entry=0xabcce258,
flags=...) at kernel/qeventloop.cpp:149
#7  0xb61acb49 in QEventLoop::exec (this=this at entry=0xabcce258, flags=...) at
kernel/qeventloop.cpp:204
#8  0xb609923d in QThread::exec (this=this at entry=0x9bdfc20) at
thread/qthread.cpp:537
#9  0xb618cc44 in QInotifyFileSystemWatcherEngine::run (this=0x9bdfc20) at
io/qfilesystemwatcher_inotify.cpp:265
#10 0xb609bb6f in QThreadPrivate::start (arg=0x9bdfc20) at
thread/qthread_unix.cpp:349
#11 0xb5591f70 in start_thread (arg=0xabcceb40) at pthread_create.c:312
#12 0xb5e0b70e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 4 (Thread 0xa7ad3b40 (LWP 18554)):
#0  0xb77b5424 in __kernel_vsyscall ()
#1  0xb5595d4b in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb5e188ec in __pthread_cond_wait (cond=0x9f15640, mutex=0x9f15628) at
forward.c:149
#3  0xb609c0f5 in wait (time=4294967295, this=0x9f15628) at
thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x94c516c, mutex=mutex at entry=0x94c5168,
time=time at entry=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb6097d7f in QSemaphore::acquire (this=0x9c4dcf8, n=n at entry=1) at
thread/qsemaphore.cpp:144
#6  0xaac1df1e in GSRendererThread::run (this=0x9c4dcf0) at
../../../generators/spectre/rendererthread.cpp:50
#7  0xb609bb6f in QThreadPrivate::start (arg=0x9c4dcf0) at
thread/qthread_unix.cpp:349
#8  0xb5591f70 in start_thread (arg=0xa7ad3b40) at pthread_create.c:312
#9  0xb5e0b70e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 3 (Thread 0xa8facb40 (LWP 18555)):
#0  0xb77b5424 in __kernel_vsyscall ()
#1  0xb5595d4b in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb5e188ec in __pthread_cond_wait (cond=0x90aded8, mutex=0x90adec0) at
forward.c:149
#3  0xb609c0f5 in wait (time=4294967295, this=0x90adec0) at
thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=this at entry=0x90d2254,
mutex=mutex at entry=0x90d2250, time=time at entry=4294967295) at
thread/qwaitcondition_unix.cpp:158
#5  0xb6c757e3 in QFileInfoGatherer::run (this=0x90d2248) at
dialogs/qfileinfogatherer.cpp:214
#6  0xb609bb6f in QThreadPrivate::start (arg=0x90d2248) at
thread/qthread_unix.cpp:349
#7  0xb5591f70 in start_thread (arg=0xa8facb40) at pthread_create.c:312
#8  0xb5e0b70e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 2 (Thread 0xa60ffb40 (LWP 18556)):
#0  0xb77b5424 in __kernel_vsyscall ()
#1  0xb5e19392 in __GI___clock_gettime (clock_id=1, tp=0xa60feff8) at
../sysdeps/unix/clock_gettime.c:115
#2  0xb60f68cc in do_gettime (frac=0xa60feff0, sec=0xa60fefe8) at
tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0xb61df2a2 in updateCurrentTime (this=0xa6f026e4) at
kernel/qeventdispatcher_unix.cpp:354
#5  QTimerInfoList::timerWait (this=0xa6f026e4, tm=...) at
kernel/qeventdispatcher_unix.cpp:460
#6  0xb61dd82b in timerSourcePrepareHelper (src=<optimized out>,
timeout=0xa60ff0ec) at kernel/qeventdispatcher_glib.cpp:143
#7  0xb61dd8bd in timerSourcePrepare (source=0xa6f026b0, timeout=0xa60ff0ec) at
kernel/qeventdispatcher_glib.cpp:176
#8  0xb54ab9b3 in g_main_context_prepare () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb54ac2df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb54ac528 in g_main_context_iteration () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#11 0xb61dd95f in QEventDispatcherGlib::processEvents (this=0xa6f00468,
flags=...) at kernel/qeventdispatcher_glib.cpp:436
#12 0xb61ac823 in QEventLoop::processEvents (this=this at entry=0xa60ff258,
flags=...) at kernel/qeventloop.cpp:149
#13 0xb61acb49 in QEventLoop::exec (this=this at entry=0xa60ff258, flags=...) at
kernel/qeventloop.cpp:204
#14 0xb609923d in QThread::exec (this=this at entry=0x90d2410) at
thread/qthread.cpp:537
#15 0xb618cc44 in QInotifyFileSystemWatcherEngine::run (this=0x90d2410) at
io/qfilesystemwatcher_inotify.cpp:265
#16 0xb609bb6f in QThreadPrivate::start (arg=0x90d2410) at
thread/qthread_unix.cpp:349
#17 0xb5591f70 in start_thread (arg=0xa60ffb40) at pthread_create.c:312
#18 0xb5e0b70e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 1 (Thread 0xb4e5b740 (LWP 18455)):
[KCrash Handler]
#6  0xa7cb5018 in gs_lcms2_malloc (id=0x0, size=2920) at
./base/gsicc_lcms2.c:49
#7  0xb096f7b4 in _cmsMalloc () from /usr/lib/i386-linux-gnu/liblcms2.so.2
#8  0xb096f855 in ?? () from /usr/lib/i386-linux-gnu/liblcms2.so.2
#9  0xb096f8a4 in _cmsMallocZero () from /usr/lib/i386-linux-gnu/liblcms2.so.2
#10 0xb0976545 in cmsCreateProfilePlaceholder () from
/usr/lib/i386-linux-gnu/liblcms2.so.2
#11 0xb0977b8d in cmsOpenProfileFromMemTHR () from
/usr/lib/i386-linux-gnu/liblcms2.so.2
#12 0xb0977c1b in cmsOpenProfileFromMem () from
/usr/lib/i386-linux-gnu/liblcms2.so.2
#13 0xb0a8bdec in GfxICCBasedColorSpace::parse (arr=0xa078b18,
out=out at entry=0x8f7a960, recursion=recursion at entry=0) at GfxState.cc:1730
#14 0xb0a8b7f3 in GfxColorSpace::parse (csObj=csObj at entry=0xbfa42a24,
out=0x8f7a960, recursion=recursion at entry=0) at GfxState.cc:297
#15 0xb0a685fa in Gfx::opSetFillColorSpace (this=0xa077a50, args=0xbfa42b84,
numArgs=1) at Gfx.cc:1527
#16 0xb0a6843d in Gfx::execOp (this=this at entry=0xa077a50,
cmd=cmd at entry=0xbfa42b64, args=args at entry=0xbfa42b84, numArgs=numArgs at entry=1)
at Gfx.cc:853
#17 0xb0a71491 in Gfx::go (this=this at entry=0xa077a50,
topLevel=topLevel at entry=true) at Gfx.cc:712
#18 0xb0a719ee in Gfx::display (this=this at entry=0xa077a50,
obj=obj at entry=0xbfa42df4, topLevel=topLevel at entry=true) at Gfx.cc:678
#19 0xb0ab892e in Page::displaySlice (this=this at entry=0x9515d18,
out=out at entry=0x8f7a960, hDPI=hDPI at entry=72, vDPI=vDPI at entry=72,
rotate=rotate at entry=0, useMediaBox=useMediaBox at entry=false, crop=true,
sliceX=sliceX at entry=-1, sliceY=sliceY at entry=-1, sliceW=sliceW at entry=-1,
sliceH=sliceH at entry=-1, printing=printing at entry=true,
abortCheckCbk=abortCheckCbk at entry=0x0,
abortCheckCbkData=abortCheckCbkData at entry=0x0,
annotDisplayDecideCbk=annotDisplayDecideCbk at entry=0xb0c0c3f0
<Poppler::annotDisplayDecideCbk(Annot*, void*)>,
annotDisplayDecideCbkData=annotDisplayDecideCbkData at entry=0xbfa431bb,
copyXRef=copyXRef at entry=false) at Page.cc:584
#20 0xb0ad8c97 in PSOutputDev::checkPageSlice (this=0xa06d990, page=0x9515d18,
rotateA=0, useMediaBox=false, crop=true, sliceX=-1, sliceY=-1, sliceW=-1,
sliceH=-1, printing=true, abortCheckCbk=0x0, abortCheckCbkData=0x0,
annotDisplayDecideCbk=0xb0c0c3f0 <Poppler::annotDisplayDecideCbk(Annot*,
void*)>, annotDisplayDecideCbkData=0xbfa431bb) at PSOutputDev.cc:3097
#21 0xb0ab880c in Page::displaySlice (this=this at entry=0x9515d18,
out=out at entry=0xa06d990, hDPI=hDPI at entry=72, vDPI=vDPI at entry=72,
rotate=rotate at entry=0, useMediaBox=useMediaBox at entry=false,
crop=crop at entry=true, sliceX=sliceX at entry=-1, sliceY=sliceY at entry=-1,
sliceW=sliceW at entry=-1, sliceH=sliceH at entry=-1, printing=printing at entry=true,
abortCheckCbk=abortCheckCbk at entry=0x0,
abortCheckCbkData=abortCheckCbkData at entry=0x0,
annotDisplayDecideCbk=annotDisplayDecideCbk at entry=0xb0c0c3f0
<Poppler::annotDisplayDecideCbk(Annot*, void*)>,
annotDisplayDecideCbkData=annotDisplayDecideCbkData at entry=0xbfa431bb,
copyXRef=copyXRef at entry=true) at Page.cc:567
#22 0xb0ab8b94 in Page::display (this=0x9515d18, out=out at entry=0xa06d990,
hDPI=hDPI at entry=72, vDPI=vDPI at entry=72, rotate=rotate at entry=0,
useMediaBox=useMediaBox at entry=false, crop=crop at entry=true,
printing=printing at entry=true, abortCheckCbk=abortCheckCbk at entry=0x0,
abortCheckCbkData=abortCheckCbkData at entry=0x0,
annotDisplayDecideCbk=annotDisplayDecideCbk at entry=0xb0c0c3f0
<Poppler::annotDisplayDecideCbk(Annot*, void*)>,
annotDisplayDecideCbkData=annotDisplayDecideCbkData at entry=0xbfa431bb,
copyXRef=copyXRef at entry=true) at Page.cc:506
#23 0xb0ac023a in PDFDoc::displayPage (this=0x9515300, out=out at entry=0xa06d990,
page=page at entry=1, hDPI=72, vDPI=72, rotate=0,
useMediaBox=useMediaBox at entry=false, crop=crop at entry=true,
printing=printing at entry=true, abortCheckCbk=abortCheckCbk at entry=0x0,
abortCheckCbkData=abortCheckCbkData at entry=0x0,
annotDisplayDecideCbk=annotDisplayDecideCbk at entry=0xb0c0c3f0
<Poppler::annotDisplayDecideCbk(Annot*, void*)>,
annotDisplayDecideCbkData=annotDisplayDecideCbkData at entry=0xbfa431bb,
copyXRef=copyXRef at entry=true) at PDFDoc.cc:464
#24 0xb0c0cafd in Poppler::PSConverter::convert (this=0xa001920) at
poppler-ps-converter.cc:257
#25 0xb0c5b4bc in PDFGenerator::print (this=0x94ed910, printer=...) at
../../../generators/poppler/generator_pdf.cpp:1179
#26 0xb1fba2d6 in Okular::Document::print (this=0x90fb518, printer=...) at
../core/document.cpp:3912
#27 0xb2088304 in Okular::Part::doPrint (this=0x90bc140, printer=...) at
../part.cpp:2607
#28 0xb2093d0f in Okular::Part::slotPrint (this=0x90bc140) at ../part.cpp:2576
#29 0xb2095570 in Okular::Part::qt_static_metacall (_o=<optimized out>,
_id=<optimized out>, _a=0xbfa43484, _c=<optimized out>) at ./part.moc:243
#30 0xb61b69f4 in QMetaMethod::invoke (this=this at entry=0xbfa435a4,
object=0x90bc140, connectionType=<optimized out>, returnValue=..., val0=...,
val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=...,
val9=...) at kernel/qmetaobject.cpp:1664
#31 0xb61b8fd3 in QMetaObject::invokeMethod (obj=0x90bc140,
member=member at entry=0x8057250 "slotPrint", type=type at entry=Qt::AutoConnection,
ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=...,
val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1179
#32 0x08053138 in invokeMethod (val9=..., val8=..., val7=..., val6=...,
val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., member=0x8057250
"slotPrint", obj=<optimized out>) at /usr/include/qt4/QtCore/qobjectdefs.h:434
#33 Shell::print (this=0x908aa18) at ../../shell/shell.cpp:561
#34 0x080561b8 in Shell::qt_static_metacall (_o=0x0, _id=2920, _a=0x0,
_c=<optimized out>) at ./shell.moc:107
#35 0xb61c30f7 in QMetaObject::activate (sender=sender at entry=0x9443408,
m=m at entry=0xb7063718 <QAction::staticMetaObject>,
local_signal_index=local_signal_index at entry=1, argv=argv at entry=0xbfa439a8) at
kernel/qobject.cpp:3539
#36 0xb670272d in QAction::triggered (this=this at entry=0x9443408, _t1=false) at
.moc/release-shared/moc_qaction.cpp:276
#37 0xb6704324 in QAction::activate (this=this at entry=0x9443408,
event=event at entry=QAction::Trigger) at kernel/qaction.cpp:1257
#38 0xb6ba8ceb in QMenuPrivate::activateCausedStack (this=0x945cc68,
causedStack=..., action=0x9443408, action_e=QAction::Trigger, self=true) at
widgets/qmenu.cpp:1038
#39 0xb6badd98 in QMenuPrivate::activateAction (this=this at entry=0x945cc68,
action=action at entry=0x9443408, action_e=action_e at entry=QAction::Trigger,
self=self at entry=true) at widgets/qmenu.cpp:1130
#40 0xb6bb1de9 in QMenu::mouseReleaseEvent (this=0x946cd70, e=0xbfa43fd4) at
widgets/qmenu.cpp:2372
#41 0xb7329f3e in KMenu::mouseReleaseEvent(QMouseEvent*) () from
/usr/lib/libkdeui.so.5
#42 0xb67633fa in QWidget::event (this=this at entry=0x946cd70,
event=event at entry=0xbfa43fd4) at kernel/qwidget.cpp:8376
#43 0xb6bb22af in QMenu::event (this=0x946cd70, e=0xbfa43fd4) at
widgets/qmenu.cpp:2481
#44 0xb67097f4 in QApplicationPrivate::notify_helper (this=0x8f7d4c8,
receiver=receiver at entry=0x946cd70, e=0xbfa43fd4) at
kernel/qapplication.cpp:4567
#45 0xb6711ea0 in QApplication::notify (this=0xbfa44584, receiver=0x946cd70,
e=0xbfa43fd4) at kernel/qapplication.cpp:4110
#46 0xb72591f4 in KApplication::notify(QObject*, QEvent*) () from
/usr/lib/libkdeui.so.5
#47 0xb61ade4a in QCoreApplication::notifyInternal (this=0xbfa44584,
receiver=receiver at entry=0x946cd70, event=event at entry=0xbfa43fd4) at
kernel/qcoreapplication.cpp:953
#48 0xb670fb53 in sendEvent (event=<optimized out>, receiver=<optimized out>)
at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#49 QApplicationPrivate::sendMouseEvent (receiver=0x946cd70,
event=event at entry=0xbfa43fd4, alienWidget=0x0,
nativeWidget=nativeWidget at entry=0x946cd70,
buttonDown=buttonDown at entry=0xb7080ce4 <qt_button_down>, lastMouseReceiver=...,
spontaneous=spontaneous at entry=true) at kernel/qapplication.cpp:3178
#50 0xb6793ba0 in QETWidget::translateMouseEvent (this=0x946cd70,
event=event at entry=0xbfa441fc) at kernel/qapplication_x11.cpp:4568
#51 0xb6792ec5 in QApplication::x11ProcessEvent (this=0xbfa44584,
event=event at entry=0xbfa441fc) at kernel/qapplication_x11.cpp:3627
#52 0xb67be524 in x11EventSourceDispatch (s=0x8f7c1b0, callback=0x0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#53 0xb54ac1e3 in g_main_context_dispatch () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#54 0xb54ac468 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#55 0xb54ac528 in g_main_context_iteration () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#56 0xb61dd95f in QEventDispatcherGlib::processEvents
(this=this at entry=0x8f51f08, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#57 0xb67be5de in QGuiEventDispatcherGlib::processEvents (this=0x8f51f08,
flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#58 0xb61ac823 in QEventLoop::processEvents (this=this at entry=0xbfa444b8,
flags=...) at kernel/qeventloop.cpp:149
#59 0xb61acb49 in QEventLoop::exec (this=this at entry=0xbfa444b8, flags=...) at
kernel/qeventloop.cpp:204
#60 0xb61b28fe in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#61 0xb6707a24 in QApplication::exec () at kernel/qapplication.cpp:3828
#62 0x0804f7be in main (argc=6, argv=0xbfa446e4) at ../../shell/main.cpp:174

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

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

Reported using DrKonqi

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


More information about the Okular-devel mailing list