Bug 198335 - Okular crashes while opening big chm file
Summary: Okular crashes while opening big chm file
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: CHM backend (show other bugs)
Version: 0.8.2
Platform: Mandriva RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
: 205020 215965 216285 222158 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-29 21:19 UTC by David Kredba
Modified: 2014-05-08 09:44 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Kredba 2009-06-29 21:19:36 UTC
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
Comment 1 Pino Toscano 2009-06-29 21:39:33 UTC
Does it happen everytime with that CHM?
Would be possible to have a copy of it?
Also, an upgrade to KDE 4.2.4 would be suggested, if possible.
Comment 2 Pino Toscano 2009-07-28 13:18:26 UTC
@David:
any news about this issue?
Comment 3 Pino Toscano 2009-08-27 12:53:52 UTC
*** Bug 205020 has been marked as a duplicate of this bug. ***
Comment 4 Nicolas L. 2009-11-03 16:57:50 UTC
is it possible to have such a file ? ( to reproduce )
Comment 5 Dario Andres 2009-11-25 14:15:22 UTC
*** Bug 215965 has been marked as a duplicate of this bug. ***
Comment 6 Albert Astals Cid 2009-11-27 16:57:07 UTC
*** Bug 216285 has been marked as a duplicate of this bug. ***
Comment 7 Dario Andres 2010-01-11 14:02:14 UTC
*** Bug 222158 has been marked as a duplicate of this bug. ***
Comment 8 Albert Astals Cid 2010-01-23 00:14:53 UTC
Can anyone reproduce it in KDE >= 4.4 RC1? Works here
Comment 9 Christoph Feck 2013-09-12 21:48:04 UTC
This crash report is at least 3 years old and there were no further comments or status updates since then.

Therefore we believe that this crash is already fixed in recent KDE 4 versions or the backtrace is no longer applicable to the current KDE 4 sources.

If the crash still happens with a recent KDE version (4.10.5 or 4.11), please add an updated backtrace or provide steps to reproduce. For more information, see http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports

(To prevent automatic closing of this bug in the future, please set the bug status to ASSIGNED or CONFIRMED)
Comment 10 Albert Astals Cid 2014-05-08 09:44:15 UTC
No answer in more than 6 months