Bug 181018 - okular crash when printing PDF
Summary: okular crash when printing PDF
Status: RESOLVED DUPLICATE of bug 178087
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.7.4
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-16 22:13 UTC by doc.evans
Modified: 2009-01-16 22:26 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 doc.evans 2009-01-16 22:13:38 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

I installed 4.1.4 yesterday.

Now when I try to print a PDF, as soon as I press the print button, I get a crash:

----

Application: Okular (okular), signal SIGABRT
0x00007fa77fac4621 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 8804)]

Thread 3 (Thread 0x417b2950 (LWP 8809)):
#0  0x00007fa77c8242d9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fa780ea6349 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007fa7806b7bee in ?? () from /usr/lib/libQtGui.so.4
#3  0x00007fa780ea5362 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fa77c8203ea in start_thread () from /lib/libpthread.so.0
#5  0x00007fa77fb02c6d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x40830950 (LWP 8810)):
#0  0x00007fa77faf9206 in poll () from /lib/libc.so.6
#1  0x00007fa77ca723a8 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fa77ca726cb in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fa780fb617e in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#4  0x00007fa780f8c682 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#5  0x00007fa780f8c80d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#6  0x00007fa780ea23f8 in QThread::exec () from /usr/lib/libQtCore.so.4
#7  0x00007fa780f717b8 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007fa780ea5362 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007fa77c8203ea in start_thread () from /lib/libpthread.so.0
#10 0x00007fa77fb02c6d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa7823706f0 (LWP 8804)):
[KCrash Handler]
#5  0x00007fa77fa4efd5 in raise () from /lib/libc.so.6
#6  0x00007fa77fa50b43 in abort () from /lib/libc.so.6
#7  0x00007fa780e9d6b5 in qt_message_output () from /usr/lib/libQtCore.so.4
#8  0x00007fa780e9d7fd in qFatal () from /usr/lib/libQtCore.so.4
#9  0x00007fa774bee708 in Poppler::PSConverter::convert () from /usr/lib/libpoppler-qt4.so.3
#10 0x00007fa774e160a1 in PDFGenerator::print (this=0x23af130, printer=@0x7fff8a3a4bd0) at /build/buildd/kdegraphics-4.1.4/okular/generators/poppler/generator_pdf.cpp:870
#11 0x00007fa77819d4ea in Part::doPrint (this=0x1f848e0, printer=@0x7fff8a3a4bd0) at /build/buildd/kdegraphics-4.1.4/okular/part.cpp:1840
#12 0x00007fa77819d7bb in Part::slotPrint (this=0x1f848e0) at /build/buildd/kdegraphics-4.1.4/okular/part.cpp:1792
#13 0x00007fa7781a6085 in Part::qt_metacall (this=0x1f848e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff8a3a4d80)
    at /build/buildd/kdegraphics-4.1.4/obj-x86_64-linux-gnu/okular/part.moc:219
#14 0x00007fa780fa2134 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0x00007fa78025ff57 in QAction::triggered () from /usr/lib/libQtGui.so.4
#16 0x00007fa780260720 in QAction::activate () from /usr/lib/libQtGui.so.4
#17 0x00007fa7805f91ad in ?? () from /usr/lib/libQtGui.so.4
#18 0x00007fa7819aae81 in KMenu::mouseReleaseEvent (this=0x1f74cf0, e=0x7fff8a3a57f0) at /build/buildd/kde4libs-4.1.4/kdeui/widgets/kmenu.cpp:452
#19 0x00007fa7802b8329 in QWidget::event () from /usr/lib/libQtGui.so.4
#20 0x00007fa7805fb98b in QMenu::event () from /usr/lib/libQtGui.so.4
#21 0x00007fa780265c3d in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#22 0x00007fa78026e22a in QApplication::notify () from /usr/lib/libQtGui.so.4
#23 0x00007fa7818eb13b in KApplication::notify (this=0x7fff8a3a65e0, receiver=0x1f74cf0, event=0x7fff8a3a57f0) at /build/buildd/kde4libs-4.1.4/kdeui/kernel/kapplication.cpp:311
#24 0x00007fa780f8dd61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#25 0x00007fa78026d5c8 in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#26 0x00007fa7802d1da4 in ?? () from /usr/lib/libQtGui.so.4
#27 0x00007fa7802d0607 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#28 0x00007fa7802f82c4 in ?? () from /usr/lib/libQtGui.so.4
#29 0x00007fa77ca6ed3b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#30 0x00007fa77ca7250d in ?? () from /usr/lib/libglib-2.0.so.0
#31 0x00007fa77ca726cb in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#32 0x00007fa780fb615f in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#33 0x00007fa7802f7a6f in ?? () from /usr/lib/libQtGui.so.4
#34 0x00007fa780f8c682 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#35 0x00007fa780f8c80d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#36 0x00007fa780f8ecbd in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#37 0x0000000000407804 in main (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/kdegraphics-4.1.4/okular/shell/main.cpp:58

----

I have not yet figured out a workaround. This is a new bug: I could print fine from 4.1.2 and 4.1.3.
Comment 1 doc.evans 2009-01-16 22:18:55 UTC
I did some more experimenting. The following seems to be completely reproducible:

1. If I simply say "Print" at the Print dialogue, then it prints fine.

2. If I go to the "Properties" for the printer, even if I then just hit "Close" (i.e., do not change any properties from the default), then as soon as I hit "Print" the crash occurs.

Comment 2 Pino Toscano 2009-01-16 22:25:45 UTC
This bug is already reported as bug #178087 (so please post further comments there).

Please provide the console output.

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