[Okular-devel] [Bug 198335] New: Okular crashes while opening big chm file

David Kredba kredba1 at math.cas.cz
Mon Jun 29 21:19:38 CEST 2009


https://bugs.kde.org/show_bug.cgi?id=198335

           Summary: Okular crashes while opening big chm file
           Product: okular
           Version: 0.8.2
          Platform: Mandriva RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: CHM backend
        AssignedTo: okular-devel at kde.org
        ReportedBy: kredba1 at math.cas.cz


Version:           0.8.2 (using KDE 4.2.2)
OS:                Linux
Installed from:    Mandriva RPMs

The file causing the crash is 200MiB big chm file which gnochm opens in one
second without problems.

Aplikace: Okular (okular), signál SIGSEGV
0x00007f2959053c00 in nanosleep () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f295bbba700 (LWP 17579))]

Thread 1 (Thread 0x7f295bbba700 (LWP 17579)):
[KCrash Handler]
#5  Okular::Page::deletePixmap (this=0x0, id=2) at
/usr/src/debug/kdegraphics-4.2.2/okular/core/page.cpp:646
#6  0x00007f294df341df in Okular::Document::removeObserver (this=0x1e79dc0,
pObserver=<value optimized out>) at
/usr/src/debug/kdegraphics-4.2.2/okular/core/document.cpp:1844
#7  0x00007f294e20f186 in ~Part (this=0x1e30960) at
/usr/src/debug/kdegraphics-4.2.2/okular/part.cpp:593
#8  0x00000000004086c3 in ~Shell (this=0x1e35d70) at
/usr/src/debug/kdegraphics-4.2.2/okular/shell/shell.cpp:120
#9  0x00007f295a358445 in QObject::event () from /usr/lib64/libQtCore.so.4
#10 0x00007f29597fbddd in QWidget::event () from /usr/lib64/libQtGui.so.4
#11 0x00007f2959bafc7b in QMainWindow::event () from /usr/lib64/libQtGui.so.4
#12 0x00007f295b019778 in KXmlGuiWindow::event () from /usr/lib64/libkdeui.so.5
#13 0x00007f29597ab49d in QApplicationPrivate::notify_helper () from
/usr/lib64/libQtGui.so.4
#14 0x00007f29597b368a in QApplication::notify () from /usr/lib64/libQtGui.so.4
#15 0x00007f295af150db in KApplication::notify () from /usr/lib64/libkdeui.so.5
#16 0x00007f295a34835c in QCoreApplication::notifyInternal () from
/usr/lib64/libQtCore.so.4
#17 0x00007f295a348fca in QCoreApplicationPrivate::sendPostedEvents () from
/usr/lib64/libQtCore.so.4
#18 0x00007f295a371d63 in ?? () from /usr/lib64/libQtCore.so.4
#19 0x00007f2955787e91 in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#20 0x00007f295578b540 in ?? () from /usr/lib64/libglib-2.0.so.0
#21 0x00007f295578b6dc in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#22 0x00007f295a3719ef in QEventDispatcherGlib::processEvents () from
/usr/lib64/libQtCore.so.4
#23 0x00007f295984264f in ?? () from /usr/lib64/libQtGui.so.4
#24 0x00007f295a346c02 in QEventLoop::processEvents () from
/usr/lib64/libQtCore.so.4
#25 0x00007f295a346fcd in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#26 0x00007f294b5a16b6 in CHMGenerator::preparePageForSyncOperation
(this=0x21bdd10, zoom=100, url=@0x21c9688) at
/usr/src/debug/kdegraphics-4.2.2/okular/generators/chm/generator_chm.cpp:185
#27 0x00007f294b5a2bfa in CHMGenerator::loadDocument (this=0x21bdd10,
fileName=@0x2db4b30, pagesVector=@0x1e79fb8) at
/usr/src/debug/kdegraphics-4.2.2/okular/generators/chm/generator_chm.cpp:142
#28 0x00007f294df3afb9 in Okular::DocumentPrivate::openDocumentInternal
(this=0x1e79e80, offer=@0x0, isstdin=false, docFile=@0x7fff63bf5d60,
filedata=@0x7fff63bf58d0)
    at /usr/src/debug/kdegraphics-4.2.2/okular/core/document.cpp:643
#29 0x00007f294df4301b in Okular::Document::openDocument (this=0x1e79dc0,
docFile=@0x7fff63bf5d60, url=@0x7fff63bf5830, _mime=<value optimized out>)
    at /usr/src/debug/kdegraphics-4.2.2/okular/core/document.cpp:1593
#30 0x00007f294e210f5a in Part::openFile (this=0x1e30960) at
/usr/src/debug/kdegraphics-4.2.2/okular/part.cpp:877
#31 0x00007f295b7b81a4 in KParts::ReadOnlyPart::openUrl () from
/usr/lib64/libkparts.so.4
#32 0x00007f294e20c2f6 in Part::openUrl (this=0x0, url=@0x2) at
/usr/src/debug/kdegraphics-4.2.2/okular/part.cpp:974
#33 0x0000000000408ea0 in Shell::openUrl (this=0x1e35d70, url=@0x1e35e08,
page=0) at /usr/src/debug/kdegraphics-4.2.2/okular/shell/shell.cpp:131
#34 0x0000000000408f9c in Shell::delayedOpen (this=0x1e35d70) at
/usr/src/debug/kdegraphics-4.2.2/okular/shell/shell.cpp:114
#35 0x0000000000409cf8 in Shell::qt_metacall (this=0x1e35d70,
_c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff63bf61a0) at
/usr/src/debug/kdegraphics-4.2.2/build/okular/shell/shell.moc:91
#36 0x00007f295a35ddd2 in QMetaObject::activate () from
/usr/lib64/libQtCore.so.4
#37 0x00007f295a36310f in ?? () from /usr/lib64/libQtCore.so.4
#38 0x00007f295a3580b3 in QObject::event () from /usr/lib64/libQtCore.so.4
#39 0x00007f29597ab49d in QApplicationPrivate::notify_helper () from
/usr/lib64/libQtGui.so.4
#40 0x00007f29597b368a in QApplication::notify () from /usr/lib64/libQtGui.so.4
#41 0x00007f295af150db in KApplication::notify () from /usr/lib64/libkdeui.so.5
#42 0x00007f295a34835c in QCoreApplication::notifyInternal () from
/usr/lib64/libQtCore.so.4
#43 0x00007f295a375396 in ?? () from /usr/lib64/libQtCore.so.4
#44 0x00007f295a371a8d in ?? () from /usr/lib64/libQtCore.so.4
#45 0x00007f2955787e91 in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#46 0x00007f295578b540 in ?? () from /usr/lib64/libglib-2.0.so.0
#47 0x00007f295578b6dc in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#48 0x00007f295a3719ef in QEventDispatcherGlib::processEvents () from
/usr/lib64/libQtCore.so.4
#49 0x00007f295984264f in ?? () from /usr/lib64/libQtGui.so.4
#50 0x00007f295a346c02 in QEventLoop::processEvents () from
/usr/lib64/libQtCore.so.4
#51 0x00007f295a346fcd in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#52 0x00007f295a349294 in QCoreApplication::exec () from
/usr/lib64/libQtCore.so.4
#53 0x0000000000407514 in main (argc=<value optimized out>, argv=<value
optimized out>) at /usr/src/debug/kdegraphics-4.2.2/okular/shell/main.cpp:81

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Okular-devel mailing list