Version: 0.7 (using KDE 4.1.0) Installed from: Ubuntu Packages OS: Linux okular crashes while printing pdf file with filled out form. My version of Okular for KDE 4.1 came from the Ubuntu ppa: 4.1.0-0ubuntu1~hardy1~ppa1 This is the bug report: Anwendung: Okular (okular), Signal SIGSEGV (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 0xb61a8a40 (LWP 11971)] [KCrash handler] #6 0xb32118a5 in ?? () from /usr/lib/kde4/lib/kde4/okularGenerator_poppler.so #7 0xb3209021 in ?? () from /usr/lib/kde4/lib/kde4/okularGenerator_poppler.so #8 0xb4a49817 in Okular::Document::print () from /usr/lib/kde4/lib/libokularcore.so.1 #9 0xb4ad1b24 in ?? () from /usr/lib/kde4/lib/kde4/okularpart.so #10 0xb4ad2ed3 in ?? () from /usr/lib/kde4/lib/kde4/okularpart.so #11 0xb4ad82a8 in ?? () from /usr/lib/kde4/lib/kde4/okularpart.so #12 0xb77064f9 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #13 0xb7706930 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #14 0xb6d80dd1 in QAction::triggered () from /usr/lib/libQtGui.so.4 #15 0xb6d8179f in QAction::activate () from /usr/lib/libQtGui.so.4 #16 0xb715ced1 in ?? () from /usr/lib/libQtGui.so.4 #17 0xb715f734 in QMenu::mouseReleaseEvent () from /usr/lib/libQtGui.so.4 #18 0xb7c4b059 in KMenu::mouseReleaseEvent (this=0x811bd58, e=0xbfb57cbc) at /build/buildd/kde4libs-4.1.0/kdeui/widgets/kmenu.cpp:452 #19 0xb6ddf4a4 in QWidget::event () from /usr/lib/libQtGui.so.4 #20 0xb715a845 in QMenu::event () from /usr/lib/libQtGui.so.4 #21 0xb6d87c0c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 #22 0xb6d8ccd5 in QApplication::notify () from /usr/lib/libQtGui.so.4 #23 0xb7b90ef3 in KApplication::notify (this=0xbfb58474, receiver=0x811bd58, event=0xbfb57cbc) at /build/buildd/kde4libs-4.1.0/kdeui/kernel/kapplication.cpp:311 #24 0xb76f16a9 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4 #25 0xb6d89e21 in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4 #26 0xb6df3f0c in ?? () from /usr/lib/libQtGui.so.4 #27 0xb6df26b1 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4 #28 0xb6e1b3ba in ?? () from /usr/lib/libQtGui.so.4 #29 0xb651abf8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #30 0xb651de5e in ?? () from /usr/lib/libglib-2.0.so.0 #31 0xb651e3ac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #32 0xb771cf98 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4 #33 0xb6e1b1b5 in ?? () from /usr/lib/libQtGui.so.4 #34 0xb76f092d in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4 #35 0xb76f0abd in QEventLoop::exec () from /usr/lib/libQtCore.so.4 #36 0xb76f2d3d in QCoreApplication::exec () from /usr/lib/libQtCore.so.4 #37 0xb6d87567 in QApplication::exec () from /usr/lib/libQtGui.so.4 #38 0x0804e335 in _start () #0 0xb7f27410 in __kernel_vsyscall () Thanks for your effort and nice work!
Printing or print preview?
It was printing if I am not totally wrong. Is it important to retry?
Could you please install the debug packages and get a better backtrace? You can find more information in: http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Thank you Pino. I think that I already installed every dbg for kde4 that is possible. Could you give me a hint what to do else?
Once you have the debug package installed, just try to reproduce again the crash.
Same thing here with okular 0.7 / KDE 4.1.0 from Fedora 9 packages after clicking on print preview (-debuginfo installed): Application: Okular (okular), signal SIGSEGV [Thread debugging using libthread_db enabled] [New Thread 0xb7fda770 (LWP 5119)] [KCrash handler] #6 0x0025ef16 in PDFGenerator::print (this=0x964c3f0, printer=@0xbfb0825c) at /usr/src/debug/kdegraphics-4.1.0/okular/generators/poppler/generator_pdf.cpp:66 #7 0x00f850b7 in Okular::Document::print (this=0x9577788, printer=@0xbfb0825c) at /usr/src/debug/kdegraphics-4.1.0/okular/core/document.cpp:2859 #8 0x0019c5c6 in Part::doPrint (this=0x94e0bf8, printer=@0xbfb0825c) at /usr/src/debug/kdegraphics-4.1.0/okular/part.cpp:1827 #9 0x0019cb4f in Part::slotPrintPreview (this=0x94e0bf8) at /usr/src/debug/kdegraphics-4.1.0/okular/part.cpp:1562 #10 0x001a6b10 in Part::qt_metacall (this=0x94e0bf8, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfb083ac) at /usr/src/debug/kdegraphics-4.1.0/i386-redhat-linux-gnu/okular/part.moc:177 #11 0x07b013e0 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #12 0x07b017e0 in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #13 0x02f50031 in QAction::triggered () from /usr/lib/libQtGui.so.4 #14 0x02f5099f in QAction::activate () from /usr/lib/libQtGui.so.4 #15 0x0332c254 in ?? () from /usr/lib/libQtGui.so.4 #16 0x0332cd02 in QMenu::mouseReleaseEvent () from /usr/lib/libQtGui.so.4 #17 0x039a26a5 in KMenu::mouseReleaseEvent (this=<value optimized out>, e=<value optimized out>) at /usr/src/debug/kdelibs-4.1.0/kdeui/widgets/kmenu.cpp:452 #18 0x02fae0c2 in QWidget::event () from /usr/lib/libQtGui.so.4 #19 0x0332ef59 in QMenu::event () from /usr/lib/libQtGui.so.4 #20 0x02f5630c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4 #21 0x02f5eb21 in QApplication::notify () from /usr/lib/libQtGui.so.4 #22 0x038dbddd in KApplication::notify (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>) at /usr/src/debug/kdelibs-4.1.0/kdeui/kernel/kapplication.cpp:311 #23 0x07aec731 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4 #24 0x02f5ddae in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4 #25 0x02fc809e in ?? () from /usr/lib/libQtGui.so.4 #26 0x02fc7185 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4 #27 0x02fef6cc in ?? () from /usr/lib/libQtGui.so.4 #28 0x0061d0d8 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #29 0x00620783 in ?? () from /lib/libglib-2.0.so.0 #30 0x00620941 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #31 0x07b16ea8 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4 #32 0x02feed95 in ?? () from /usr/lib/libQtGui.so.4 #33 0x07aeae1a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4 #34 0x07aeafda in QEventLoop::exec () from /usr/lib/libQtCore.so.4 #35 0x07aed685 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4 #36 0x02f56187 in QApplication::exec () from /usr/lib/libQtGui.so.4 #37 0x0804dadf in main (argc=156079736, argv=0x0) at /usr/src/debug/kdegraphics-4.1.0/okular/shell/main.cpp:58 btw: Could someone please quickly check if printing the last page of a PDF works? Okular/cups eats up the last page of every PDF I print :-)
(In reply to comment #6) > Same thing here with okular 0.7 / KDE 4.1.0 from Fedora 9 packages > after clicking on print preview (-debuginfo installed): Oh nice, a good backtrace, finally, thanks! Good news for you, Thomas: your backtrace represents an already reported crash, bug #167734, that was fixed few days after the KDE 4.1.0 preparation. So, it will be in KDE 4.1.1, hopefully. > btw: Could someone please quickly check if printing the last page of a PDF > works? In KDE 4.1.1 it does.
> Oh nice, a good backtrace, finally, thanks! > Good news for you, Thomas: your backtrace represents an already reported crash, > bug #167734, that was fixed few days after the KDE 4.1.0 preparation. > So, it will be in KDE 4.1.1, hopefully. Thanks. Nice :-) > > btw: Could someone please quickly check if printing the last page of a PDF > > works? > > In KDE 4.1.1 it does. I tried to compile the KDE 4.1 branch of kdegraphics but had to abort as there were too many build dependencies missing on my system. I can see it submits -something- to CUPS, would it help if I capture the job output via tcpdump? Printing the same file with Acrobat Reader works fine. It feels like an off by one error in the printing code, but that's just a feeling :-)
Hello Sputnik, any more news about this problem?
(In reply to comment #9) > any more news about this problem? The "print preview" and "last page not printed" problem has been fixed for me in KDE 4.1.1. To which problem are you referring?
Pino, thanks for your request. I am sorry: KDE4 has still been not stable enough to fullfill my daily work needs. Therefore I put it on a todo list to check it in spare time. - Thanks for understanding.
Any news about this problem? Does it still happen with more recent Okular versions?
Hi Sputnik, if you have news about this issue, please do tell.
User doesn't care, closing as invalid. Sputnik if you can still reproduce this error and are able to provide the requested information please add it to the bug and reopen it.