Bug 167734 - okular crashes on print preview
Summary: okular crashes on print preview
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-30 14:07 UTC by Neal Becker
Modified: 2008-10-03 21:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
trace (2.67 KB, text/plain)
2008-07-30 14:14 UTC, Neal Becker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Neal Becker 2008-07-30 14:07:40 UTC
Version:            (using KDE 4.1.0)
Installed from:    Fedora RPMs

okular crashes on print preview
okular 0.7 using kde 4.1.00
Comment 1 Pino Toscano 2008-07-30 14:11:18 UTC
Please provide a backtrace, as explained in:
http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Comment 2 Neal Becker 2008-07-30 14:14:39 UTC
Created attachment 26498 [details]
trace
Comment 3 Pino Toscano 2008-07-30 14:18:31 UTC
Application: Okular (okular), signal SIGSEGV
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0x7f4832ae4800 (LWP 7282)]
[New Thread 0x430bc950 (LWP 7381)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#5  0x0000000003f27768 in ?? ()
   from /usr/lib64/kde4/okularGenerator_poppler.so
#6  0x00000000008b57da in ?? () from /usr/lib64/kde4/okularpart.so
#7  0x00000000008b5d57 in ?? () from /usr/lib64/kde4/okularpart.so
#8  0x00000000008be56d in ?? () from /usr/lib64/kde4/okularpart.so
#9  0x00000034f6f567b4 in QMetaObject::activate ()
   from /usr/lib64/libQtCore.so.4
#10 0x00000034f757a067 in QAction::triggered () from /usr/lib64/libQtGui.so.4
#11 0x00000034f757a830 in QAction::activate () from /usr/lib64/libQtGui.so.4
#12 0x00000034f790c25d in ?? () from /usr/lib64/libQtGui.so.4
#13 0x00000034f94ae2c1 in KMenu::mouseReleaseEvent ()
   from /usr/lib64/libkdeui.so.5
#14 0x00000034f75d22ef in QWidget::event () from /usr/lib64/libQtGui.so.4
#15 0x00000034f790eafb in QMenu::event () from /usr/lib64/libQtGui.so.4
#16 0x00000034f757fd1d in QApplicationPrivate::notify_helper ()
   from /usr/lib64/libQtGui.so.4
#17 0x00000034f758828a in QApplication::notify ()
   from /usr/lib64/libQtGui.so.4
#18 0x00000034f93fad6b in KApplication::notify ()
   from /usr/lib64/libkdeui.so.5
#19 0x00000034f6f423e1 in QCoreApplication::notifyInternal ()
   from /usr/lib64/libQtCore.so.4
#20 0x00000034f7587628 in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib64/libQtGui.so.4
#21 0x00000034f75eb944 in ?? () from /usr/lib64/libQtGui.so.4
#22 0x00000034f75ea197 in QApplication::x11ProcessEvent ()
   from /usr/lib64/libQtGui.so.4
#23 0x00000034f761089c in ?? () from /usr/lib64/libQtGui.so.4
#24 0x0000003d4ba374db in g_main_context_dispatch ()
   from /lib64/libglib-2.0.so.0
#25 0x0000003d4ba3acbd in ?? () from /lib64/libglib-2.0.so.0
#26 0x0000003d4ba3ae7b in g_main_context_iteration ()
   from /lib64/libglib-2.0.so.0
#27 0x00000034f6f6a87f in QEventDispatcherGlib::processEvents ()
   from /usr/lib64/libQtCore.so.4
#28 0x00000034f761000f in ?? () from /usr/lib64/libQtGui.so.4
#29 0x00000034f6f40cf2 in QEventLoop::processEvents ()
   from /usr/lib64/libQtCore.so.4
#30 0x00000034f6f40e7d in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#31 0x00000034f6f4334d in QCoreApplication::exec ()
   from /usr/lib64/libQtCore.so.4
#32 0x0000000000407334 in _start ()
Comment 4 Pino Toscano 2008-07-30 14:24:29 UTC
SVN commit 839616 by pino:

do not assume there is always a configuration dialog around (eg, when doing a print preview)

BUG: 167734


 M  +5 -1      generator_pdf.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=839616
Comment 5 Pino Toscano 2008-07-30 14:24:59 UTC
SVN commit 839617 by pino:

backport: do not assume there is always a configuration dialog around (eg, when doing a print preview)

CCBUG: 167734


 M  +5 -1      generator_pdf.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=839617
Comment 6 Gregor B. Rosenauer 2008-09-17 13:16:53 UTC
still happens with 0.7.1, KDE 4.1.1:

Anwendung: Okular (okular), Signal SIGABRT

(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb616da40 (LWP 13893)]
[KCrash handler]
#6  0xb7eee410 in __kernel_vsyscall ()
#7  0xb69fa085 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb69fba01 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb75ca367 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb75ca458 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb75ca505 in qt_assert () from /usr/lib/libQtCore.so.4
#12 0xb1f9f1ba in ?? () from /usr/lib/kde4/lib/libkomain.so.5
#13 0xb1fa0254 in KoFilterManager::import ()
   from /usr/lib/kde4/lib/libkomain.so.5
#14 0xb1f86b1d in KoDocument::openFile ()
   from /usr/lib/kde4/lib/libkomain.so.5
#15 0xb755b317 in KParts::ReadOnlyPart::openUrl ()
   from /usr/lib/kde4/lib/libkparts.so.4
#16 0xb1f8838b in KoDocument::openUrl () from /usr/lib/kde4/lib/libkomain.so.5
#17 0xb49fe157 in ?? () from /usr/lib/kde4/lib/kde4/okularpart.so
#18 0xb49fe217 in ?? () from /usr/lib/kde4/lib/kde4/okularpart.so
#19 0xb6da28b0 in QWidget::event () from /usr/lib/libQtGui.so.4
#20 0xb6d4af9c in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#21 0xb6d4fce8 in QApplication::notify () from /usr/lib/libQtGui.so.4
#22 0xb7b571c3 in KApplication::notify () from /usr/lib/kde4/lib/libkdeui.so.5
#23 0xb76be0b9 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#24 0xb6da0c3b in QWidgetPrivate::show_helper () from /usr/lib/libQtGui.so.4
#25 0xb6da11b8 in QWidget::setVisible () from /usr/lib/libQtGui.so.4
#26 0xb71b8576 in QDialog::setVisible () from /usr/lib/libQtGui.so.4
#27 0xb71b78f1 in QDialog::exec () from /usr/lib/libQtGui.so.4
#28 0xb49cd00c in ?? () from /usr/lib/kde4/lib/kde4/okularpart.so
#29 0xb49d22f8 in ?? () from /usr/lib/kde4/lib/kde4/okularpart.so
#30 0xb76d2f79 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#31 0xb76d33b0 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#32 0xb6d44151 in QAction::triggered () from /usr/lib/libQtGui.so.4
#33 0xb6d44b2f in QAction::activate () from /usr/lib/libQtGui.so.4
#34 0xb71264c1 in ?? () from /usr/lib/libQtGui.so.4
#35 0xb7128d24 in QMenu::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#36 0xb7c12149 in KMenu::mouseReleaseEvent ()
   from /usr/lib/kde4/lib/libkdeui.so.5
#37 0xb6da2d44 in QWidget::event () from /usr/lib/libQtGui.so.4
#38 0xb7123e45 in QMenu::event () from /usr/lib/libQtGui.so.4
#39 0xb6d4af9c in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#40 0xb6d50125 in QApplication::notify () from /usr/lib/libQtGui.so.4
#41 0xb7b571c3 in KApplication::notify () from /usr/lib/kde4/lib/libkdeui.so.5
#42 0xb76be0b9 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#43 0xb6d4d661 in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
#44 0xb6db776c in ?? () from /usr/lib/libQtGui.so.4
#45 0xb6db5ee1 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#46 0xb6ddec2a in ?? () from /usr/lib/libQtGui.so.4
#47 0xb64dddd6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#48 0xb64e1193 in ?? () from /usr/lib/libglib-2.0.so.0
#49 0xb64e174e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#50 0xb76e99f8 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#51 0xb6ddea25 in ?? () from /usr/lib/libQtGui.so.4
#52 0xb76bd33d in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#53 0xb76bd4cd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#54 0xb76bf74d in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#55 0xb6d4a897 in QApplication::exec () from /usr/lib/libQtGui.so.4
#56 0x0804e335 in _start ()
#0  0xb7eee410 in __kernel_vsyscall ()
Comment 7 Gregor B. Rosenauer 2008-09-17 13:18:01 UTC
forgot to mention: crashes with *any* PDF, printing works fine.
I have a HP Laserjet 5si and a Canon Pixma 6700D configured, also PDF printer is installed.
Please reopen.
Comment 8 Pino Toscano 2008-09-17 14:32:31 UTC
@rosenauer@gmx.at:

Your backtrace has nothing to do with this bug report (and for this reason this bug won't be reopen).
Your problem is the following: you have no PS backend of Okular, and thus when you ask for the print preview Karbon is loaded, and that crashes for some reason.

Please report the problem to the Karbon developers, I can do nothing with a Karbon crash.
Comment 9 Gregor B. Rosenauer 2008-10-03 21:41:04 UTC
sorry for the misleading post then - only I have okular-extra-backends-kde4 and ghostscript installed, where can I get a suitable PS-backend?
Comment 10 Gregor B. Rosenauer 2008-10-03 21:46:36 UTC
Before I open a Karbon-bug, would you please enlighten me on why Karbon is loaded for a PS-file (and not, say Inkscape, which is my default vector drawing app) - I do not see Karbon mentioned in the stacktrace...
Here's a new one, from KDE 4.1.2:
Anwendung: Okular (okular), Signal SIGABRT
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb6247a40 (LWP 8808)]
[KCrash handler]
#6  0xb7fcc410 in __kernel_vsyscall ()
#7  0xb6ad5085 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb6ad6a01 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb76a5367 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb76a5458 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb76a5505 in qt_assert () from /usr/lib/libQtCore.so.4
#12 0xb208f1ba in ?? () from /usr/lib/kde4/lib/libkomain.so.5
#13 0xb2090254 in KoFilterManager::import ()
   from /usr/lib/kde4/lib/libkomain.so.5
#14 0xb2076b1d in KoDocument::openFile ()
   from /usr/lib/kde4/lib/libkomain.so.5
#15 0xb7636167 in KParts::ReadOnlyPart::openUrl ()
   from /usr/lib/kde4/lib/libkparts.so.4
#16 0xb207838b in KoDocument::openUrl () from /usr/lib/kde4/lib/libkomain.so.5
#17 0xb4839537 in ?? () from /usr/lib/kde4/lib/kde4/okularpart.so
#18 0xb48395f7 in ?? () from /usr/lib/kde4/lib/kde4/okularpart.so
#19 0xb6e7d8b0 in QWidget::event () from /usr/lib/libQtGui.so.4
#20 0xb6e25f9c in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#21 0xb6e2ace8 in QApplication::notify () from /usr/lib/libQtGui.so.4
#22 0xb7c33483 in KApplication::notify () from /usr/lib/kde4/lib/libkdeui.so.5
#23 0xb77990b9 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#24 0xb6e7bc3b in QWidgetPrivate::show_helper () from /usr/lib/libQtGui.so.4
#25 0xb6e7c1b8 in QWidget::setVisible () from /usr/lib/libQtGui.so.4
#26 0xb7293576 in QDialog::setVisible () from /usr/lib/libQtGui.so.4
#27 0xb72928f1 in QDialog::exec () from /usr/lib/libQtGui.so.4
#28 0xb480801c in ?? () from /usr/lib/kde4/lib/kde4/okularpart.so
#29 0xb480d318 in ?? () from /usr/lib/kde4/lib/kde4/okularpart.so
#30 0xb77adf79 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#31 0xb77ae3b0 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#32 0xb6e1f151 in QAction::triggered () from /usr/lib/libQtGui.so.4
#33 0xb6e1fb2f in QAction::activate () from /usr/lib/libQtGui.so.4
#34 0xb72014c1 in ?? () from /usr/lib/libQtGui.so.4
#35 0xb7203d24 in QMenu::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#36 0xb7cee5a9 in KMenu::mouseReleaseEvent ()
   from /usr/lib/kde4/lib/libkdeui.so.5
#37 0xb6e7dd44 in QWidget::event () from /usr/lib/libQtGui.so.4
#38 0xb71fee45 in QMenu::event () from /usr/lib/libQtGui.so.4
#39 0xb6e25f9c in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#40 0xb6e2b125 in QApplication::notify () from /usr/lib/libQtGui.so.4
#41 0xb7c33483 in KApplication::notify () from /usr/lib/kde4/lib/libkdeui.so.5
#42 0xb77990b9 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#43 0xb6e28661 in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
#44 0xb6e9276c in ?? () from /usr/lib/libQtGui.so.4
#45 0xb6e90ee1 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#46 0xb6eb9c2a in ?? () from /usr/lib/libQtGui.so.4
#47 0xb65b7dd6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#48 0xb65bb193 in ?? () from /usr/lib/libglib-2.0.so.0
#49 0xb65bb74e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#50 0xb77c49f8 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#51 0xb6eb9a25 in ?? () from /usr/lib/libQtGui.so.4
#52 0xb779833d in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#53 0xb77984cd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#54 0xb779a74d in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#55 0xb6e25897 in QApplication::exec () from /usr/lib/libQtGui.so.4
#56 0x0804e335 in _start ()
#0  0xb7fcc410 in __kernel_vsyscall ()
Comment 11 Pino Toscano 2008-10-03 21:59:20 UTC
(In reply to comment #9)
> only I have okular-extra-backends-kde4 and
> ghostscript installed, where can I get a suitable PS-backend?

That's something you have to ask to your distribution (or whoever did the packages).

(In reply to comment #10)
> Before I open a Karbon-bug, would you please enlighten me on why Karbon is
> loaded for a PS-file (and not, say Inkscape, which is my default vector drawing
> app)

It is not "open" in the classic sense, but opened using a KPart, a KDE component (that's why inkscape won't be used for that).

> - I do not see Karbon mentioned in the stacktrace...

Neither I do, but there are koffice classes in the backtrace (frames #12, #13 and #14), so it is for sure a koffice application. Among those, what could be the most probably one opening PS files using a KPart could be Karbon.
Even if it not Karbon, for sure it is a koffice application.