Application: okular (0.10.5) KDE Platform Version: 4.4.5 (KDE 4.4.5) (Compiled from sources) Qt Version: 4.6.3 Operating System: Linux 2.6.36-gentoo-r8-iqgryn i686 Distribution (Platform): Gentoo Packages -- Information about the crash: I was looking at http://madisonareampo.org/maps/documents/public_bike_map_2010_new_design_web_000.pdf, which is a 6.57 MB bike map. When I closed the file after attempting a print preview, Okular crashed. This seems to happen reliably. I'm happy to provide more information and testing; just let me know what is needed. The crash can be reproduced every time. -- Backtrace: Application: Okular (okular), signal: Segmentation fault [Current thread is 1 (Thread 0xb463c930 (LWP 13289))] Thread 2 (Thread 0xb0c57b70 (LWP 16533)): #0 0xb7753424 in __kernel_vsyscall () #1 0xb5fc3feb in read () at ../sysdeps/unix/syscall-template.S:82 #2 0xb5f5b9e5 in _IO_file_xsgetn_internal () from /lib/libc.so.6 #3 0xb5f5dfd8 in _IO_sgetn () from /lib/libc.so.6 #4 0xb5fefdd8 in __fread_chk () from /lib/libc.so.6 #5 0xb0fdc367 in fread (gs=0x85d9750, filename=0x8600528 "/tmp/.private/me/kde-me/okulary13289.ps", x=0, y=0, begin=431762, end=27059605) at /usr/include/bits/stdio2.h:282 #6 spectre_gs_process (gs=0x85d9750, filename=0x8600528 "/tmp/.private/me/kde-me/okulary13289.ps", x=0, y=0, begin=431762, end=27059605) at spectre-gs.c:126 #7 0xb0fdc6a8 in spectre_gs_send_page (gs=0x85d9750, doc=0x8600470, page_index=0, x=0, y=0) at spectre-gs.c:273 #8 0xb0fdcdfe in spectre_device_render (device=0x8705d20, page=0, rc=0x8600ab0, x=0, y=0, width=595, height=842, page_data=0xb0c5723c, row_length=0xb0c57238) at spectre-device.c:288 #9 0xb0fdd241 in spectre_page_render (page=0x85d9820, rc=0x8600ab0, page_data=0xb0c5723c, row_length=0xb0c57238) at spectre-page.c:164 #10 0xb0ff6409 in GSRendererThread::run (this=0x825ada8) at /var/tmp/portage/kde-base/okular-4.4.5-r2/work/okular-4.4.5/okular/generators/spectre/rendererthread.cpp:71 #11 0xb6c2770e in QThreadPrivate::start (arg=0x825ada8) at thread/qthread_unix.cpp:248 #12 0xae4ddde7 in ?? () from /usr/lib/opengl/nvidia/lib/libGL.so.1 #13 0xb5fd621e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133 Thread 1 (Thread 0xb463c930 (LWP 13289)): [KCrash Handler] #6 QWidget::~QWidget (this=0xbfc7cdcc, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1403 #7 0xb6d31a6d in QObjectPrivate::deleteChildren (this=0x82c5348) at kernel/qobject.cpp:1978 #8 0xb62faa75 in QWidget::~QWidget (this=0x82c4f48, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1476 #9 0xb2cdac15 in Sidebar::~Sidebar (this=0x82c4f48, __in_chrg=<value optimized out>) at /var/tmp/portage/kde-base/okular-4.4.5-r2/work/okular-4.4.5/okular/ui/sidebar.cpp:482 #10 0xb772d073 in KParts::Part::~Part (this=0x82b59b0, __vtt_parm=0xb2cfa1a8, __in_chrg=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.4.5-r4/work/kdelibs-4.4.5/kparts/part.cpp:208 #11 0xb772d81a in KParts::ReadOnlyPart::~ReadOnlyPart (this=0x82b59b0, __vtt_parm=0xb2cfa1a4, __in_chrg=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.4.5-r4/work/kdelibs-4.4.5/kparts/part.cpp:459 #12 0xb2c584af in Okular::Part::~Part (this=0x82b59b0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /var/tmp/portage/kde-base/okular-4.4.5-r2/work/okular-4.4.5/okular/part.cpp:654 #13 0x0804f5c2 in Shell::~Shell (this=0x82a99a8, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /var/tmp/portage/kde-base/okular-4.4.5-r2/work/okular-4.4.5/okular/shell/shell.cpp:119 #14 0xb6d31675 in qDeleteInEventHandler (o=0x0) at kernel/qobject.cpp:3993 #15 0xb6d32d10 in QObject::event (this=0x82a99a8, e=0x0) at kernel/qobject.cpp:1223 #16 0xb62f2a96 in QWidget::event (this=0x82a99a8, event=0xb0153980) at kernel/qwidget.cpp:8501 #17 0xb66fa667 in QMainWindow::event (this=0x82a99a8, event=0xb0153980) at widgets/qmainwindow.cpp:1414 #18 0xb73b6a34 in KMainWindow::event (this=0x82a99a8, ev=0xb0153980) at /var/tmp/portage/kde-base/kdelibs-4.4.5-r4/work/kdelibs-4.4.5/kdeui/widgets/kmainwindow.cpp:1103 #19 0xb73fdf0f in KXmlGuiWindow::event (this=0x82a99a8, ev=0xb0153980) at /var/tmp/portage/kde-base/kdelibs-4.4.5-r4/work/kdelibs-4.4.5/kdeui/xmlgui/kxmlguiwindow.cpp:131 #20 0xb629566c in QApplicationPrivate::notify_helper (this=0x81b7ac0, receiver=0x82a99a8, e=0xb0153980) at kernel/qapplication.cpp:4302 #21 0xb629c099 in QApplication::notify (this=0xbfc7e160, receiver=0x82a99a8, e=0xb0153980) at kernel/qapplication.cpp:4267 #22 0xb72c771a in KApplication::notify (this=0xbfc7e160, receiver=0x82a99a8, event=0xb0153980) at /var/tmp/portage/kde-base/kdelibs-4.4.5-r4/work/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:302 #23 0xb6d2246a in QCoreApplication::notifyInternal (this=0xbfc7e160, receiver=0x82a99a8, event=0xb0153980) at kernel/qcoreapplication.cpp:726 #24 0xb6d25edb in sendEvent (receiver=0x0, event_type=0, data=0x81a3858) at kernel/qcoreapplication.h:215 #25 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x81a3858) at kernel/qcoreapplication.cpp:1367 #26 0xb6d2605d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1260 #27 0xb6d4e18f in sendPostedEvents (s=0x81b9f10) at kernel/qcoreapplication.h:220 #28 postEventSourceDispatch (s=0x81b9f10) at kernel/qeventdispatcher_glib.cpp:276 #29 0xb59294f4 in g_main_dispatch (context=0x81b9e90) at gmain.c:2149 #30 g_main_context_dispatch (context=0x81b9e90) at gmain.c:2702 #31 0xb592d308 in g_main_context_iterate (context=0x81b9e90, block=<value optimized out>, dispatch=1, self=0x81b7490) at gmain.c:2780 #32 0xb592d4e8 in g_main_context_iteration (context=0x81b9e90, may_block=1) at gmain.c:2843 #33 0xb6d4dc85 in QEventDispatcherGlib::processEvents (this=0x81a3330, flags=...) at kernel/qeventdispatcher_glib.cpp:412 #34 0xb6351695 in QGuiEventDispatcherGlib::processEvents (this=0x81a3330, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #35 0xb6d20ad9 in QEventLoop::processEvents (this=0xbfc7cb3c, flags=) at kernel/qeventloop.cpp:149 #36 0xb6d20f2a in QEventLoop::exec (this=0xbfc7cb3c, flags=...) at kernel/qeventloop.cpp:201 #37 0xb2bcf46a in Okular::Document::closeDocument (this=0x826bc80) at /var/tmp/portage/kde-base/okular-4.4.5-r2/work/okular-4.4.5/okular/core/document.cpp:1771 #38 0xb2c57f6b in Okular::Part::closeUrl (this=0x8610088) at /var/tmp/portage/kde-base/okular-4.4.5-r2/work/okular-4.4.5/okular/part.cpp:1105 #39 0xb2c584f0 in Okular::Part::~Part (this=0x8610088, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /var/tmp/portage/kde-base/okular-4.4.5-r2/work/okular-4.4.5/okular/part.cpp:630 #40 0xb6d31a6d in QObjectPrivate::deleteChildren (this=0x8289988) at kernel/qobject.cpp:1978 #41 0xb62faa75 in QWidget::~QWidget (this=0xbfc7cdcc, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1476 #42 0xb67bd6e4 in QDialog::~QDialog (this=0xbfc7cdcc, __in_chrg=<value optimized out>) at dialogs/qdialog.cpp:327 #43 0xb7229224 in KDialog::~KDialog (this=0xbfc7cdcc, __in_chrg=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.4.5-r4/work/kdelibs-4.4.5/kdeui/dialogs/kdialog.cpp:205 #44 0xb2c8c7e5 in Okular::FilePrinterPreview::~FilePrinterPreview (this=0xbfc7cdcc, __in_chrg=<value optimized out>) at /var/tmp/portage/kde-base/okular-4.4.5-r2/work/okular-4.4.5/okular/ui/fileprinterpreview.cpp:141 #45 0xb2c59121 in Okular::Part::slotPrintPreview (this=0x82b59b0) at /var/tmp/portage/kde-base/okular-4.4.5-r2/work/okular-4.4.5/okular/part.cpp:1689 #46 0xb2c6478a in Okular::Part::qt_metacall (this=0x82b59b0, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfc7cf78) at /var/tmp/portage/kde-base/okular-4.4.5-r2/work/okular-4.4.5_build/okular/part.moc:190 #47 0xb6d2772a in QMetaObject::metacall (object=0x82b59b0, cl=136878472, idx=23, argv=0xbfc7cf78) at kernel/qmetaobject.cpp:237 #48 0xb6d3607d in QMetaObject::activate (sender=0x8371728, m=0xb6ba9f88, local_signal_index=1, argv=<value optimized out>) at kernel/qobject.cpp:3287 #49 0xb628ed99 in QAction::triggered (this=0x8371728, _t1=false) at .moc/release-shared/moc_qaction.cpp:263 #50 0xb6290f5c in QAction::activate (this=0x8371728, event=QAction::Trigger) at kernel/qaction.cpp:1255 #51 0xb671feaf in QMenuPrivate::activateCausedStack (this=0x84b0a88, causedStack=..., action=0x8371728, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1002 #52 0xb67261bb in QMenuPrivate::activateAction (this=0x84b0a88, action=0x8371728, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1094 #53 0xb6727203 in QMenu::mouseReleaseEvent (this=0x81f5818, e=0xbfc7d924) at widgets/qmenu.cpp:2312 #54 0xb73bae15 in KMenu::mouseReleaseEvent (this=0x81f5818, e=0xbfc7d924) at /var/tmp/portage/kde-base/kdelibs-4.4.5-r4/work/kdelibs-4.4.5/kdeui/widgets/kmenu.cpp:471 #55 0xb62f2f68 in QWidget::event (this=0x81f5818, event=0xbfc7d924) at kernel/qwidget.cpp:8044 #56 0xb672880c in QMenu::event (this=0x81f5818, e=0xbfc7d924) at widgets/qmenu.cpp:2421 #57 0xb629566c in QApplicationPrivate::notify_helper (this=0x81b7ac0, receiver=0x81f5818, e=0xbfc7d924) at kernel/qapplication.cpp:4302 #58 0xb629cbde in QApplication::notify (this=0xbfc7e160, receiver=0x81f5818, e=0xbfc7d924) at kernel/qapplication.cpp:3867 #59 0xb72c771a in KApplication::notify (this=0xbfc7e160, receiver=0x81f5818, event=0xbfc7d924) at /var/tmp/portage/kde-base/kdelibs-4.4.5-r4/work/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:302 #60 0xb6d2246a in QCoreApplication::notifyInternal (this=0xbfc7e160, receiver=0x81f5818, event=0xbfc7d924) at kernel/qcoreapplication.cpp:726 #61 0xb629b907 in sendEvent (receiver=0x81f5818, event=0xbfc7d924, alienWidget=0x0, nativeWidget=0x81f5818, buttonDown=0xb6bc5078, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #62 QApplicationPrivate::sendMouseEvent (receiver=0x81f5818, event=0xbfc7d924, alienWidget=0x0, nativeWidget=0x81f5818, buttonDown=0xb6bc5078, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2967 #63 0xb63264e7 in QETWidget::translateMouseEvent (this=0x81f5818, event=0xbfc7dd70) at kernel/qapplication_x11.cpp:4314 #64 0xb63254ab in QApplication::x11ProcessEvent (this=0xbfc7e160, event=0xbfc7dd70) at kernel/qapplication_x11.cpp:3391 #65 0xb6351b22 in x11EventSourceDispatch (s=0x81bad00, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #66 0xb59294f4 in g_main_dispatch (context=0x81b9e90) at gmain.c:2149 #67 g_main_context_dispatch (context=0x81b9e90) at gmain.c:2702 #68 0xb592d308 in g_main_context_iterate (context=0x81b9e90, block=<value optimized out>, dispatch=1, self=0x81b7490) at gmain.c:2780 #69 0xb592d4e8 in g_main_context_iteration (context=0x81b9e90, may_block=1) at gmain.c:2843 #70 0xb6d4dc85 in QEventDispatcherGlib::processEvents (this=0x81a3330, flags=...) at kernel/qeventdispatcher_glib.cpp:412 #71 0xb6351695 in QGuiEventDispatcherGlib::processEvents (this=0x81a3330, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #72 0xb6d20ad9 in QEventLoop::processEvents (this=0xbfc7e064, flags=) at kernel/qeventloop.cpp:149 #73 0xb6d20f2a in QEventLoop::exec (this=0xbfc7e064, flags=...) at kernel/qeventloop.cpp:201 #74 0xb6d2611f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003 #75 0xb6295717 in QApplication::exec () at kernel/qapplication.cpp:3581 #76 0x0804e8a7 in main (argc=2, argv=0xbfc7e344) at /var/tmp/portage/kde-base/okular-4.4.5-r2/work/okular-4.4.5/okular/shell/main.cpp:82 This bug may be a duplicate of or related to bug 267438. Possible duplicates by query: bug 269671, bug 267438, bug 255512, bug 255081, bug 253163. Reported using DrKonqi
That's probably a cause of the nested event loop in Okular::Document::closeDocument.
Hmm... the part a child of the print dialog...?
Can you please provide a working link to the pdf and the exact steps you do to make okular crash?
Unfortunately, there does not seem to be a version of that pdf available any longer. The steps I took were to open the file, open Print Preview, close Print Preview, then close the file. You may have to wait a minute before opening Print Preview (I usually did it after the document had rendered). I will see if I can find another file that does this.
I have found another file that has the same issue: http://madisonareampo.org/maps/documents/MadisonAreaMCD.pdf I can attach or e-mail the file if needed; just let me know.
Created attachment 59679 [details] New crash information added by DrKonqi This is the crash information with the second file.
Seems a bad interaction of the print preview thread still running and us wanting to shut down, need to take a closer look once my main machine is back since debuginning this in a 12" screen is quite painful
*** Bug 309734 has been marked as a duplicate of this bug. ***
Thank you for the report. As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thank you.
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!