Bug 209073 - Ocular crashed on printing large PDF
Summary: Ocular crashed on printing large PDF
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-01 09:57 UTC by xapeiron
Modified: 2012-09-24 07:48 UTC (History)
2 users (show)

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 xapeiron 2009-10-01 09:57:36 UTC
Application that crashed: okular
Version of the application: 0.9.1
KDE Version: 4.3.1 (KDE 4.3.1)
Qt Version: 4.5.2
Operating System: Linux 2.6.30.5-43.fc11.i686.PAE i686
Distribution: "Fedora release 11 (Leonidas)"

What I was doing when the application crashed:
I opend the A1 size document (38MB) - exported from Adobe Indesign.
I takes about 5 mins to show real page instead of white page.
Then i select "print", Okular takes 60% CPU and then crashed.

 -- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[Current thread is 1 (Thread 0xb8052780 (LWP 28202))]

Thread 4 (Thread 0xb5355b70 (LWP 28214)):
#0  0x0069f424 in __kernel_vsyscall ()
#1  0x004ccfa5 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122
#2  0x05b41337 in QWaitConditionPrivate::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#4  0x05b3cd4d in QSemaphore::acquire (this=0xa30ccf0, n=1) at thread/qsemaphore.cpp:143
#5  0x00dd566c in ?? () from /usr/lib/kde4/okularGenerator_ghostview.so
#6  0x05b402f2 in QThreadPrivate::start (arg=0xa30cce8) at thread/qthread_unix.cpp:188
#7  0x004c8935 in start_thread (arg=0xb5355b70) at pthread_create.c:297
#8  0x003fd94e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xb3217b70 (LWP 28219)):
#0  0x0069f424 in __kernel_vsyscall ()
#1  0x004ccfa5 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:122
#2  0x05b41337 in QWaitConditionPrivate::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#4  0x064f5bfa in QFileInfoGatherer::run (this=0xa4fc22c) at dialogs/qfileinfogatherer.cpp:207
#5  0x05b402f2 in QThreadPrivate::start (arg=0xa4fc22c) at thread/qthread_unix.cpp:188
#6  0x004c8935 in start_thread (arg=0xb3217b70) at pthread_create.c:297
#7  0x003fd94e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb19ffb70 (LWP 28220)):
#0  0x004f8f86 in *__GI_clock_gettime (clock_id=5230580, tp=0xb19fef68) at ../sysdeps/unix/clock_gettime.c:100
#1  0x05c5d1b3 in QTimerInfoList::getTime (this=0xb2301434, t=@0xb2301458) at kernel/qeventdispatcher_unix.cpp:339
#2  0x05c5d3a1 in QTimerInfoList::updateCurrentTime (this=0xb2301434) at kernel/qeventdispatcher_unix.cpp:297
#3  0x05c5de2c in QTimerInfoList::timerWait (this=0xb2301434, tm=@0xb19feff4) at kernel/qeventdispatcher_unix.cpp:420
#4  0x05c5b7d0 in timerSourcePrepare (source=0xb2301400, timeout=0xb19ff05c) at kernel/qeventdispatcher_glib.cpp:141
#5  0x001fa240 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#6  0x001fa601 in ?? () from /lib/libglib-2.0.so.0
#7  0x001fab13 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#8  0x05c5b627 in QEventDispatcherGlib::processEvents (this=0xb2300468, flags={i = 36}) at kernel/qeventdispatcher_glib.cpp:329
#9  0x05c2f0d9 in QEventLoop::processEvents (this=0xb19ff224, flags={i = 36}) at kernel/qeventloop.cpp:149
#10 0x05c2f52a in QEventLoop::exec (this=0xb19ff224, flags={i = 0}) at kernel/qeventloop.cpp:201
#11 0x05b3cff3 in QThread::exec (this=0xa65b328) at thread/qthread.cpp:487
#12 0x05c11b4b in QInotifyFileSystemWatcherEngine::run (this=0xa65b328) at io/qfilesystemwatcher_inotify.cpp:214
#13 0x05b402f2 in QThreadPrivate::start (arg=0xa65b328) at thread/qthread_unix.cpp:188
#14 0x004c8935 in start_thread (arg=0xb19ffb70) at pthread_create.c:297
#15 0x003fd94e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb8052780 (LWP 28202)):
[KCrash Handler]
#6  QCoreApplication::notifyInternal (this=0xbf8635c8, receiver=0x0, event=0xbf85eb2c) at kernel/qcoreapplication.cpp:594
#7  0x0601fffd in QCoreApplication::sendEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:213
#8  QWidget::event (event=<value optimized out>, receiver=<value optimized out>) at kernel/qwidget.cpp:7845
#9  0x05fca974 in QApplicationPrivate::notify_helper (this=0x9ff72c0, receiver=0xbf86124c, e=0xbf85eb2c) at kernel/qapplication.cpp:4056
#10 0x05fd203a in QApplication::notify (this=0xbf8635c8, receiver=0xbf86124c, e=0xbf85eb2c) at kernel/qapplication.cpp:4021
#11 0x06ef860a in KApplication::notify (this=0xbf8635c8, receiver=0xbf86124c, event=0xbf85eb2c) at /usr/src/debug/kdelibs-4.3.1/kdeui/kernel/kapplication.cpp:302
#12 0x05c30b0b in QCoreApplication::notifyInternal (this=0xbf8635c8, receiver=0xbf86124c, event=0xbf85eb2c) at kernel/qcoreapplication.cpp:610
#13 0x05fd0cb1 in QCoreApplication::sendEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:213
#14 QApplicationPrivate::enterModal (event=<value optimized out>, receiver=<value optimized out>) at kernel/qapplication.cpp:2777
#15 0x0602562a in QWidgetPrivate::show_helper (this=0xa044ad0) at kernel/qwidget.cpp:6761
#16 0x0602694b in QWidget::setVisible (this=0xa0203a8, visible=true) at kernel/qwidget.cpp:6975
#17 0x064b69aa in QDialog::setVisible (this=0xa0203a8, visible=true) at dialogs/qdialog.cpp:706
#18 0x0649d283 in QPrintDialog::setVisible (this=0xa0203a8, visible=false) at dialogs/qprintdialog_unix.cpp:604
#19 0x064b5b66 in QWidget::show (this=<value optimized out>) at ../../src/gui/kernel/qwidget.h:473
#20 QDialog::exec (this=<value optimized out>) at dialogs/qdialog.cpp:489
#21 0x06496e7d in QPrintDialog::exec (this=0xa0203a8) at dialogs/qprintdialog_unix.cpp:609
#22 0x00e30b81 in ?? () from /usr/lib/kde4/okularpart.so
#23 0x00e3c954 in ?? () from /usr/lib/kde4/okularpart.so
#24 0x05c46853 in QMetaObject::activate (sender=0xa2c9100, from_signal_index=5, to_signal_index=6, argv=0xbf85eed8) at kernel/qobject.cpp:3113
#25 0x05c46cc8 in QMetaObject::activate (sender=0xa2c9100, m=0x68299b0, from_local_signal_index=1, to_local_signal_index=2, argv=0xbf85eed8) at kernel/qobject.cpp:3207
#26 0x05fc4331 in QAction::triggered (this=0xa2c9100, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#27 0x05fc58c6 in QAction::activate (this=0xa2c9100, event=QAction::Trigger) at kernel/qaction.cpp:1160
#28 0x0641183c in QMenuPrivate::activateCausedStack (this=0xa2d98e8, causedStack=@0xbf85efec, action=0xa2c9100, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:967
#29 0x06417e8b in QMenuPrivate::activateAction (this=0xa2d98e8, action=0xa2c9100, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1060
#30 0x06418a4f in QMenu::mouseReleaseEvent (this=0xa0b35e0, e=0xbf85f630) at widgets/qmenu.cpp:2254
#31 0x06fe28e5 in KMenu::mouseReleaseEvent (this=0xa0b35e0, e=0xbf85f630) at /usr/src/debug/kdelibs-4.3.1/kdeui/widgets/kmenu.cpp:456
#32 0x0601fb9a in QWidget::event (this=0xa0b35e0, event=0xbf85f630) at kernel/qwidget.cpp:7549
#33 0x0641aca4 in QMenu::event (this=0xa0b35e0, e=0xbf85f630) at widgets/qmenu.cpp:2353
#34 0x05fca974 in QApplicationPrivate::notify_helper (this=0x9ff72c0, receiver=0xa0b35e0, e=0xbf85f630) at kernel/qapplication.cpp:4056
#35 0x05fd2a9b in QApplication::notify (this=0xbf8635c8, receiver=0xa0b35e0, e=0xbf85f630) at kernel/qapplication.cpp:3758
#36 0x06ef860a in KApplication::notify (this=0xbf8635c8, receiver=0xa0b35e0, event=0xbf85f630) at /usr/src/debug/kdelibs-4.3.1/kdeui/kernel/kapplication.cpp:302
#37 0x05c30b0b in QCoreApplication::notifyInternal (this=0xbf8635c8, receiver=0xa0b35e0, event=0xbf85f630) at kernel/qcoreapplication.cpp:610
#38 0x05fd19de in QCoreApplication::sendSpontaneousEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:216
#39 QApplicationPrivate::sendMouseEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qapplication.cpp:2924
#40 0x0604054f in QETWidget::translateMouseEvent (this=0xa0b35e0, event=0xbf860c7c) at kernel/qapplication_x11.cpp:4338
#41 0x0603f523 in QApplication::x11ProcessEvent (this=0xbf8635c8, event=0xbf860c7c) at kernel/qapplication_x11.cpp:3423
#42 0x0606a5d2 in x11EventSourceDispatch (s=0x9ffa4a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#43 0x001f7308 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#44 0x001fa9e0 in ?? () from /lib/libglib-2.0.so.0
#45 0x001fab13 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#46 0x05c5b5ec in QEventDispatcherGlib::processEvents (this=0x9fe1890, flags={i = 36}) at kernel/qeventdispatcher_glib.cpp:327
#47 0x06069cb5 in QGuiEventDispatcherGlib::processEvents (this=0x9fe1890, flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:202
#48 0x05c2f0d9 in QEventLoop::processEvents (this=0xbf860fcc, flags={i = 36}) at kernel/qeventloop.cpp:149
#49 0x05c2f52a in QEventLoop::exec (this=0xbf860fcc, flags={i = 0}) at kernel/qeventloop.cpp:201
#50 0x00f8d132 in Okular::Document::closeDocument() () from /usr/lib/libokularcore.so.1
#51 0x00e2fd9d in ?? () from /usr/lib/kde4/okularpart.so
#52 0x00e30308 in ?? () from /usr/lib/kde4/okularpart.so
#53 0x05c3f9ef in QObjectPrivate::deleteChildren (this=0xa44b590) at kernel/qobject.cpp:1847
#54 0x0601b3bb in QWidget::~QWidget (this=0xbf86124c, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1367
#55 0x064b4ff4 in QDialog::~QDialog (this=0xbf86124c, __in_chrg=<value optimized out>) at dialogs/qdialog.cpp:298
#56 0x06e5d7b4 in KDialog::~KDialog (this=0xbf86124c, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.3.1/kdeui/dialogs/kdialog.cpp:197
#57 0x00e64035 in ?? () from /usr/lib/kde4/okularpart.so
#58 0x00e30f51 in ?? () from /usr/lib/kde4/okularpart.so
#59 0x00e3c639 in ?? () from /usr/lib/kde4/okularpart.so
#60 0x05c46853 in QMetaObject::activate (sender=0xa2a2210, from_signal_index=5, to_signal_index=6, argv=0xbf861428) at kernel/qobject.cpp:3113
#61 0x05c46cc8 in QMetaObject::activate (sender=0xa2a2210, m=0x68299b0, from_local_signal_index=1, to_local_signal_index=2, argv=0xbf861428) at kernel/qobject.cpp:3207
#62 0x05fc4331 in QAction::triggered (this=0xa2a2210, _t1=false) at .moc/release-shared/moc_qaction.cpp:236
#63 0x05fc58c6 in QAction::activate (this=0xa2a2210, event=QAction::Trigger) at kernel/qaction.cpp:1160
#64 0x0641183c in QMenuPrivate::activateCausedStack (this=0xa2d98e8, causedStack=@0xbf86153c, action=0xa2a2210, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:967
#65 0x06417e8b in QMenuPrivate::activateAction (this=0xa2d98e8, action=0xa2a2210, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1060
#66 0x06418a4f in QMenu::mouseReleaseEvent (this=0xa0b35e0, e=0xbf861b80) at widgets/qmenu.cpp:2254
#67 0x06fe28e5 in KMenu::mouseReleaseEvent (this=0xa0b35e0, e=0xbf861b80) at /usr/src/debug/kdelibs-4.3.1/kdeui/widgets/kmenu.cpp:456
#68 0x0601fb9a in QWidget::event (this=0xa0b35e0, event=0xbf861b80) at kernel/qwidget.cpp:7549
#69 0x0641aca4 in QMenu::event (this=0xa0b35e0, e=0xbf861b80) at widgets/qmenu.cpp:2353
#70 0x05fca974 in QApplicationPrivate::notify_helper (this=0x9ff72c0, receiver=0xa0b35e0, e=0xbf861b80) at kernel/qapplication.cpp:4056
#71 0x05fd2a9b in QApplication::notify (this=0xbf8635c8, receiver=0xa0b35e0, e=0xbf861b80) at kernel/qapplication.cpp:3758
#72 0x06ef860a in KApplication::notify (this=0xbf8635c8, receiver=0xa0b35e0, event=0xbf861b80) at /usr/src/debug/kdelibs-4.3.1/kdeui/kernel/kapplication.cpp:302
#73 0x05c30b0b in QCoreApplication::notifyInternal (this=0xbf8635c8, receiver=0xa0b35e0, event=0xbf861b80) at kernel/qcoreapplication.cpp:610
#74 0x05fd19de in QCoreApplication::sendSpontaneousEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:216
#75 QApplicationPrivate::sendMouseEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qapplication.cpp:2924
#76 0x0604054f in QETWidget::translateMouseEvent (this=0xa0b35e0, event=0xbf8631cc) at kernel/qapplication_x11.cpp:4338
#77 0x0603f523 in QApplication::x11ProcessEvent (this=0xbf8635c8, event=0xbf8631cc) at kernel/qapplication_x11.cpp:3423
#78 0x0606a5d2 in x11EventSourceDispatch (s=0x9ffa4a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#79 0x001f7308 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#80 0x001fa9e0 in ?? () from /lib/libglib-2.0.so.0
#81 0x001fab13 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#82 0x05c5b5ec in QEventDispatcherGlib::processEvents (this=0x9fe1890, flags={i = 36}) at kernel/qeventdispatcher_glib.cpp:327
#83 0x06069cb5 in QGuiEventDispatcherGlib::processEvents (this=0x9fe1890, flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:202
#84 0x05c2f0d9 in QEventLoop::processEvents (this=0xbf8634c4, flags={i = 36}) at kernel/qeventloop.cpp:149
#85 0x05c2f52a in QEventLoop::exec (this=0xbf8634c4, flags={i = 0}) at kernel/qeventloop.cpp:201
#86 0x05c319af in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#87 0x05fca7f7 in QApplication::exec () at kernel/qapplication.cpp:3525
#88 0x0804e688 in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2009-10-02 00:08:42 UTC
If you can reproduce the crash at will (or you experience this regularly), can you install the "kdegraphics4-debuginfo" package and post a complete backtrace here? Thanks
Comment 2 Albert Astals Cid 2009-10-02 00:19:07 UTC
Is the PDF public or private?
Comment 3 xapeiron 2009-10-02 09:03:19 UTC
(In reply to comment #1)
> If you can reproduce the crash at will (or you experience this regularly), can
> you install the "kdegraphics4-debuginfo" package and post a complete backtrace
> here? Thanks

Hi, I will try reproduce crash again.

Unfortunately, The PDF is private, but I'll ask graphic to create same with dummy graphics.
Comment 4 Albert Astals Cid 2012-07-23 17:23:35 UTC
Any update on this?

Thanks for caring about Okular :-)
Comment 5 Albert Astals Cid 2012-09-24 07:48:44 UTC
The user could not provide the requested data in 2 months so resolving the bug as invalid, please if you can provide the data reopen the bug and attach the data to the bug.