Bug 180708 - Printing a PDF file causes Okular to crash
Summary: Printing a PDF file causes Okular to crash
Status: RESOLVED DUPLICATE of bug 178087
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.7.90
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-14 18:59 UTC by Unknown
Modified: 2009-01-16 22:24 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 Unknown 2009-01-14 18:59:26 UTC
Version:           0.7.90 (using 4.1.96 (KDE 4.1.96 (KDE 4.2 RC1)) "release 76.2", KDE:KDE4:Factory:Desktop / openSUSE_11.1)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.27.7-9-default

When I want to print from Okular a PDF file, the program crashes 2/3 times.

Here is the backtrace:

Alkalmazás: Okular (okular), szignál: SIGABRT
0x00007f3f19ecace1 in nanosleep () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f3f1d74b750 (LWP 27068))]

Thread 5 (Thread 0x7f3f09253950 (LWP 27080)):
#0  0x00007f3f1b41bd59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f3f1b68cf29 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f3f1cc0066c in ?? () from /usr/lib64/libQtNetwork.so.4
#3  0x00007f3f1b68bf72 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f3f1b418070 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f3f19efc0ed in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f3f08a52950 (LWP 27081)):
#0  0x00007f3f19ef5642 in select () from /lib64/libc.so.6
#1  0x00007f3f1b754366 in ?? () from /usr/lib64/libQtCore.so.4
#2  0x00007f3f1b68bf72 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f3f1b418070 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f3f19efc0ed in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f3f09a54950 (LWP 27409)):
#0  0x00007f3f1b41bd59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f3f1b68cf29 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f3f1aee3c1e in ?? () from /usr/lib64/libQtGui.so.4
#3  0x00007f3f1b68bf72 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f3f1b418070 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f3f19efc0ed in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f3f0ef04950 (LWP 27412)):
#0  0x00007f3f17488784 in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f3f17488a6b in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f3f1b79c50e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#3  0x00007f3f1b7729a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007f3f1b772b2d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f3f1b689028 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#6  0x00007f3f1b757b18 in ?? () from /usr/lib64/libQtCore.so.4
#7  0x00007f3f1b68bf72 in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007f3f1b418070 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f3f19efc0ed in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f3f1d74b750 (LWP 27068)):
[KCrash Handler]
#5  0x00007f3f19e5b645 in raise () from /lib64/libc.so.6
#6  0x00007f3f19e5cc33 in abort () from /lib64/libc.so.6
#7  0x00007f3f1b6842d5 in qt_message_output(QtMsgType, char const*) () from /usr/lib64/libQtCore.so.4
#8  0x00007f3f1b68441d in qFatal(char const*, ...) () from /usr/lib64/libQtCore.so.4
#9  0x00007f3f1b68448a in qt_assert(char const*, char const*, int) () from /usr/lib64/libQtCore.so.4
#10 0x00007f3f0f57fbe8 in Poppler::PSConverter::convert() () from /usr/lib64/libpoppler-qt4.so.3
#11 0x00007f3f0f7aded1 in PDFGenerator::print(QPrinter&) () from /usr/lib64/kde4/okularGenerator_poppler.so
#12 0x00007f3f12f911ca in Part::doPrint(QPrinter&) () from /usr/lib64/kde4/okularpart.so
#13 0x00007f3f12f9149b in Part::slotPrint() () from /usr/lib64/kde4/okularpart.so
#14 0x00007f3f12f9a7f5 in Part::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/kde4/okularpart.so
#15 0x00007f3f1b788454 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#16 0x00007f3f1aa8d527 in QAction::triggered(bool) () from /usr/lib64/libQtGui.so.4
#17 0x00007f3f1aa8dcf0 in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQtGui.so.4
#18 0x00007f3f1ae252bd in ?? () from /usr/lib64/libQtGui.so.4
#19 0x00007f3f1c630f61 in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libkdeui.so.5
#20 0x00007f3f1aae5799 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#21 0x00007f3f1ae27a9b in QMenu::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#22 0x00007f3f1aa931bd in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#23 0x00007f3f1aa9b7fa in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#24 0x00007f3f1c566afb in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#25 0x00007f3f1b774091 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#26 0x00007f3f1aa9ab98 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from /usr/lib64/libQtGui.so.4
#27 0x00007f3f1aaff1d4 in ?? () from /usr/lib64/libQtGui.so.4
#28 0x00007f3f1aafda37 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#29 0x00007f3f1ab241d4 in ?? () from /usr/lib64/libQtGui.so.4
#30 0x00007f3f174850db in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#31 0x00007f3f174888ad in ?? () from /usr/lib64/libglib-2.0.so.0
#32 0x00007f3f17488a6b in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#33 0x00007f3f1b79c4ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#34 0x00007f3f1ab2397f in ?? () from /usr/lib64/libQtGui.so.4
#35 0x00007f3f1b7729a2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#36 0x00007f3f1b772b2d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#37 0x00007f3f1b774ffd in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#38 0x0000000000407dd4 in main ()
Comment 1 Pino Toscano 2009-01-14 19:05:44 UTC
Can you please describe the step you do, and attach the console output?
Comment 2 Unknown 2009-01-14 19:29:53 UTC
I printed 8 other pages, but it doesn't want to crash...

First, I opened the PDF file (if you wish, I can send you), selected to print the "1 to 1" range and set the color mode to grayscale (the latter has no effect, btw).
I clicked to OK, and the program crashed.
I hadn't got console output because I had started it from Opera.

After I configured my printer from hplip app, and now Okular works as intended.
I tried to restore everything to defaults but I have no luck.

When I get an error, I'll post here.
Comment 3 Pino Toscano 2009-01-16 22:24:40 UTC
Please post your comments on bug #178087.

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