Bug 205020

Summary: Okular crashes after closing it during loading (big) documents
Product: [Applications] okular Reporter: Pauline Emily <vilene>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Pauline Emily 2009-08-24 23:03:49 UTC
Application that crashed: okular
Version of the application: 0.9
KDE Version: 4.3.00 (KDE 4.3.0)
Qt Version: 4.5.2
Operating System: Linux 2.6.29.6-desktop586-2mnb i686
Distribution: "Mandriva Linux 2009.1"

What I was doing when the application crashed:
After closing Okular during loading big documents (in my case, .chm file), and before completion of loading, Okular shows a crash window. Maybe this bug isn't critical (after all, I wanted to have Okular window closed, so there's no big deal), but it's certainly annoying.

 -- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[KCrash Handler]
#6  0xb4592df3 in Okular::Page::deletePixmap (this=0x0, id=2) at /usr/src/debug/kdegraphics-4.3.0/okular/core/page.cpp:646
#7  0xb4572225 in Okular::Document::removeObserver (this=0x9faeb20, pObserver=0x9f541b8) at /usr/src/debug/kdegraphics-4.3.0/okular/core/document.cpp:1864
#8  0xb463a75a in ~Part (this=0x9f541a8) at /usr/src/debug/kdegraphics-4.3.0/okular/part.cpp:618
#9  0x0804fc88 in ~Shell (this=0x9f967d0) at /usr/src/debug/kdegraphics-4.3.0/okular/shell/shell.cpp:140
#10 0xb74a2f73 in qDeleteInEventHandler () from /usr/lib/libQtCore.so.4
#11 0xb74a4927 in QObject::event () from /usr/lib/libQtCore.so.4
#12 0xb6ae0811 in QWidget::event () from /usr/lib/libQtGui.so.4
#13 0xb6ed108c in QMainWindow::event () from /usr/lib/libQtGui.so.4
#14 0xb7af8228 in KMainWindow::event () from /usr/lib/libkdeui.so.5
#15 0xb7b39872 in KXmlGuiWindow::event () from /usr/lib/libkdeui.so.5
#16 0xb6a87b5c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#17 0xb6a903ab in QApplication::notify () from /usr/lib/libQtGui.so.4
#18 0xb7a1996b in KApplication::notify () from /usr/lib/libkdeui.so.5
#19 0xb7493aee in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#20 0xb74947a5 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#21 0xb749498c in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#22 0xb74c0abd in ?? () from /usr/lib/libQtCore.so.4
#23 0xb61adcea in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#24 0xb61b1354 in ?? () from /usr/lib/libglib-2.0.so.0
#25 0xb61b14df in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#26 0xb74c06da in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#27 0xb6b2cb4a in ?? () from /usr/lib/libQtGui.so.4
#28 0xb74920b3 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#29 0xb749250d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#30 0xb2cf5b14 in CHMGenerator::preparePageForSyncOperation (this=0x9f95188, zoom=100, url=@0xadf603c) at /usr/src/debug/kdegraphics-4.3.0/okular/generators/chm/generator_chm.cpp:190
#31 0xb2cf6343 in CHMGenerator::loadDocument (this=0x9f95188, fileName=@0xbff45a18, pagesVector=@0xa0e6290) at /usr/src/debug/kdegraphics-4.3.0/okular/generators/chm/generator_chm.cpp:147
#32 0xb4576499 in Okular::DocumentPrivate::openDocumentInternal (this=0xa0e61d8, offer=@0xbff457b8, isstdin=false, docFile=@0xbff45a18, filedata=@0xbff45840)
    at /usr/src/debug/kdegraphics-4.3.0/okular/core/document.cpp:643
#33 0xb457b89d in Okular::Document::openDocument (this=0x9faeb20, docFile=@0xbff45a18, url=@0xbff45984, _mime=@0xbff45a38) at /usr/src/debug/kdegraphics-4.3.0/okular/core/document.cpp:1611
#34 0xb463844c in Part::openFile (this=0x9f541a8) at /usr/src/debug/kdegraphics-4.3.0/okular/part.cpp:921
#35 0xb7f14243 in KParts::ReadOnlyPart::openUrl () from /usr/lib/libkparts.so.4
#36 0xb4639cce in Part::openUrl (this=0x9f541a8, _url=@0x9f9681c) at /usr/src/debug/kdegraphics-4.3.0/okular/part.cpp:1040
#37 0x0804f6dd in Shell::openUrl (this=0x9f967d0, url=@0x9f9681c) at /usr/src/debug/kdegraphics-4.3.0/okular/shell/shell.cpp:151
#38 0x0804fa56 in Shell::delayedOpen (this=0x9f967d0) at /usr/src/debug/kdegraphics-4.3.0/okular/shell/shell.cpp:134
#39 0x0804fad8 in Shell::qt_metacall (this=0x9f967d0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbff45c58) at /usr/src/debug/kdegraphics-4.3.0/build/okular/shell/shell.moc:88
#40 0xb74a9925 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#41 0xb74aa625 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#42 0xb74af975 in ?? () from /usr/lib/libQtCore.so.4
#43 0xb74afabc in ?? () from /usr/lib/libQtCore.so.4
#44 0xb74a467b in QObject::event () from /usr/lib/libQtCore.so.4
#45 0xb6a87b5c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#46 0xb6a902b6 in QApplication::notify () from /usr/lib/libQtGui.so.4
#47 0xb7a1996b in KApplication::notify () from /usr/lib/libkdeui.so.5
#48 0xb7493aee in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#49 0xb74c3f9d in ?? () from /usr/lib/libQtCore.so.4
#50 0xb74c077e in ?? () from /usr/lib/libQtCore.so.4
#51 0xb61adcea in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#52 0xb61b1354 in ?? () from /usr/lib/libglib-2.0.so.0
#53 0xb61b14df in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#54 0xb74c06da in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#55 0xb6b2cb4a in ?? () from /usr/lib/libQtGui.so.4
#56 0xb74920b3 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#57 0xb749250d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#58 0xb7494a66 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#59 0xb6a879c4 in QApplication::exec () from /usr/lib/libQtGui.so.4
#60 0x0804e47f in main (argc=185372720, argv=0xb0c9030) at /usr/src/debug/kdegraphics-4.3.0/okular/shell/main.cpp:81

Reported using DrKonqi
Comment 1 Dario Andres 2009-08-26 00:17:47 UTC
This seems to be related/the same as bug 198335. Thanks
Comment 2 Pino Toscano 2009-08-27 12:53:52 UTC

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