Summary: | Okular crashes while opening a CHM file | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Diego <diego.ml> |
Component: | CHM backend | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | faure, water.archon |
Priority: | NOR | ||
Version: | 0.8 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
Backtrace when trying to open byfly.chm
Backtrace when trying to open windowsetc.chm |
Description
Diego
2009-02-07 10:49:14 UTC
Can you open other CHM documents correctly? Do you press anything while the opening is in progress? (menus, Ctrl+Q, etc..) Please drop me the file via email. > Can you open other CHM documents correctly? I tried two other files but it seems to keep crashing. Going to attach the respective backtraces and the links to the files. > Do you press anything while the opening is in progress? (menus, Ctrl+Q, etc..) No, nothing. > Please drop me the file via email. Ok, email incoming. Created attachment 31074 [details] Backtrace when trying to open byfly.chm Backtrace when trying to open byfly.chm file from bug #175258 Okular started but hanged for a lot of time (cursors show the program is loading but htop indicates no CPU usage from Okular). When closing Okular I got the crash and the backtrace. The file is at: http://ftp.mgts.by/byfly/byfly.chm Created attachment 31075 [details] Backtrace when trying to open windowsetc.chm After crashing Okular with byfly.chm it crashed also with this file but silently (no Dr.Konqui popup). I retried and after several attempts I finally got the crash report and the backtrace (which is attached). The file comes from here: http://www.microsoft.com/downloads/details.aspx?familyid=A637EFF6-8224-4B19-A6A4-3E33FA13D230&displaylang=en Please please please, don't mix various errors in the same bug report, otherwise they cannot be tacked correctly (and an headache for me is ensured). The hanging of comment #3 has just been fixed, will be in KDE 4.2.1. Also for the original report, suggestion is to wait for KDE 4.2.1 as well and try again with it once it is out. Problem in comment #4 has been fixed too (always for KDE 4.2.1). I can confirm issues in comment #3 and comment #4 are fixed. However the original issue is still present in 4.2.1 (both Fedora and Arch have the same behavior). Hmm.. backtrace looks like bug #157706 (KHTML). *** This bug has been marked as a duplicate of bug 157706 *** I can confirm that the patch for bug #157706 fixes this problem too. Thanks to D. Faure for the patch! Using Debian Testing packages, kde version 4.2.2-1 and the bug still exists, tried with several chm files, always gives this backtrace: Application: Okular (okular), signal SIGSEGV Thread 1 (Thread 0xb5f3a710 (LWP 2008)): [KCrash Handler] #6 0xb2c4c73d in chm_enumerate () from /usr/lib/libchm.so.1 #7 0xb2c586e5 in LCHMFileImpl::enumerateFiles (this=0xa0772b8, files=0xbfd87234) at ../../../../okular/generators/chm/lib/libchmfileimpl.cpp:1175 #8 0xb2c57e46 in LCHMFile::enumerateFiles (this=0xa031240, files=0xbfd87234) at ../../../../okular/generators/chm/lib/libchmfile.cpp:96 #9 0xb2c6b927 in CHMGenerator::loadDocument (this=0xa044ca0, fileName=@0xbfd87688, pagesVector=@0x9cd85e4) at ../../../../okular/generators/chm/generator_chm.cpp:109 #10 0xb4885651 in Okular::DocumentPrivate::openDocumentInternal (this=0x9cd8530, offer=@0xbfd87440, isstdin=false, docFile=@0xbfd87688, filedata=@0xbfd874c0) at ../../okular/core/document.cpp:643 #11 0xb4892b04 in Okular::Document::openDocument (this=0x9cd4288, docFile=@0xbfd87688, url=@0xbfd875fc, _mime=@0xbfd876a8) at ../../okular/core/document.cpp:1593 #12 0xb4916114 in Part::openFile (this=0x9c9d5e0) at ../../okular/part.cpp:877 #13 0xb7f3555a in KParts::ReadOnlyPart::openUrl (this=0x9c9d5e0, url=@0xbfd87824) at ../../kparts/part.cpp:558 #14 0xb491105c in Part::openUrl (this=0x9c9d5e0, url=@0xbfd87824) at ../../okular/part.cpp:974 #15 0x0804fdb2 in Shell::openUrl (this=0x9ca6038, url=@0xbfd87824, page=0) at ../../../okular/shell/shell.cpp:131 #16 0x08050af7 in Shell::fileOpen (this=0x9ca6038) at ../../../okular/shell/shell.cpp:251 #17 0x08050ccb in Shell::qt_metacall (this=0x9ca6038, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfd8798c) at ./shell.moc:86 #18 0xb75a3b98 in QMetaObject::activate (sender=0x9ccf3c8, from_signal_index=5, to_signal_index=6, argv=0xbfd8798c) at kernel/qobject.cpp:3120 #19 0xb75a3fd0 in QMetaObject::activate (sender=0x9ccf3c8, m=0xb74236c8, from_local_signal_index=1, to_local_signal_index=2, argv=0xbfd8798c) at kernel/qobject.cpp:3214 #20 0xb6b8e141 in QAction::triggered (this=0x9ccf3c8, _t1=false) at .moc/release-shared/moc_qaction.cpp:236 #21 0xb6b8f6bf in QAction::activate (this=0x9ccf3c8, event=QAction::Trigger) at kernel/qaction.cpp:1160 #22 0xb7009a34 in QMenuPrivate::activateCausedStack (this=0x9eb1960, causedStack=@0xbfd87a68, action=0x9ccf3c8, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:967 #23 0xb701018b in QMenuPrivate::activateAction (this=0x9eb1960, action=0x9ccf3c8, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1060 #24 0xb7010cd2 in QMenu::mouseReleaseEvent (this=0x9caaef8, e=0xbfd8816c) at widgets/qmenu.cpp:2254 #25 0xb7bd6145 in KMenu::mouseReleaseEvent (this=0x9caaef8, e=0xbfd8816c) at ../../kdeui/widgets/kmenu.cpp:454 #26 0xb6beb3b3 in QWidget::event (this=0x9caaef8, event=0xbfd8816c) at kernel/qwidget.cpp:7521 #27 0xb7012f89 in QMenu::event (this=0x9caaef8, e=0xbfd8816c) at widgets/qmenu.cpp:2353 #28 0xb6b947bc in QApplicationPrivate::notify_helper (this=0x9bf6c20, receiver=0x9caaef8, e=0xbfd8816c) at kernel/qapplication.cpp:4057 #29 0xb6b9d441 in QApplication::notify (this=0xbfd89a4c, receiver=0x9caaef8, e=0xbfd8816c) at kernel/qapplication.cpp:3759 #30 0xb7af0b7d in KApplication::notify (this=0xbfd89a4c, receiver=0x9caaef8, event=0xbfd8816c) at ../../kdeui/kernel/kapplication.cpp:307 #31 0xb758da2b in QCoreApplication::notifyInternal (this=0xbfd89a4c, receiver=0x9caaef8, event=0xbfd8816c) at kernel/qcoreapplication.cpp:610 #32 0xb6b9c4ae in QApplicationPrivate::sendMouseEvent (receiver=0x9caaef8, event=0xbfd8816c, alienWidget=0x0, nativeWidget=0x9caaef8, buttonDown=0xb74419e0, lastMouseReceiver=@0xb74419e4) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216 #33 0xb6c0c00f in QETWidget::translateMouseEvent (this=0x9caaef8, event=0xbfd8971c) at kernel/qapplication_x11.cpp:4382 #34 0xb6c0b266 in QApplication::x11ProcessEvent (this=0xbfd89a4c, event=0xbfd8971c) at kernel/qapplication_x11.cpp:3444 #35 0xb6c359a2 in x11EventSourceDispatch (s=0x9bf9da8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #36 0xb62fa848 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #37 0xb62fddab in ?? () from /usr/lib/libglib-2.0.so.0 #38 0x09bf8e90 in ?? () #39 0x00000000 in ?? () @Jordan Manolov: (In reply to comment #11) > Using Debian Testing packages, kde version 4.2.2-1 and the bug still exists, > tried with several chm files, always gives this backtrace: Your problem is completly unrelated to this bug (which is a kdelibs issue). Please open a new bug report, attaching a document which produces the crash. |