[Okular-devel] [okular] [Bug 330330] New: crashes every time when open a specific malformed epub file

buffyanam buffyanam at gmail.com
Thu Jan 23 15:16:42 UTC 2014


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

            Bug ID: 330330
           Summary: crashes every time when open a specific malformed epub
                    file
    Classification: Unclassified
           Product: okular
           Version: 0.16.5
          Platform: openSUSE RPMs
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: buffyanam at gmail.com

Application: okular (0.16.5)
KDE Platform Version: 4.10.5 "release 1"
Qt Version: 4.8.4
Operating System: Linux 3.7.10-1.24-desktop x86_64
Distribution: "openSUSE 12.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
open a 0 size epub file in the specific path, 
in my case is 
/home/bill/Downloads/A\ Spell\ For\ Chameleon\ -\ Piers\ Anthony\
(Download1.ch).epub

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[KCrash Handler]
#6  0x00007f68a4073181 in __strlen_sse2_pminub () from /lib64/libc.so.6
#7  0x00007f6892b9a37d in _ocf_parse_container (ocf=ocf at entry=0x25c3ac0) at
/usr/src/debug/ebook-tools-0.2.1/src/libepub/ocf.c:36
#8  0x00007f6892b9a768 in _ocf_parse (epub=epub at entry=0x25c0b40,
filename=filename at entry=0x25c0ac8 "/home/bill/Downloads/A Spell For Chameleon -
Piers Anthony (Download1.ch).epub") at
/usr/src/debug/ebook-tools-0.2.1/src/libepub/ocf.c:236
#9  0x00007f6892b99964 in epub_open (filename=0x25c0ac8 "/home/bill/Downloads/A
Spell For Chameleon - Piers Anthony (Download1.ch).epub", debug=3) at
/usr/src/debug/ebook-tools-0.2.1/src/libepub/epub.c:25
#10 0x00007f6892dccb94 in Epub::EpubDocument::EpubDocument (this=0x25c0830,
fileName=...) at
/usr/src/debug/okular-4.10.5/generators/epub/epubdocument.cpp:28
#11 0x00007f6892dcb4af in Epub::Converter::convert (this=0x25bc020,
fileName=...) at /usr/src/debug/okular-4.10.5/generators/epub/converter.cpp:106
#12 0x00007f6896e6c3a4 in Okular::TextDocumentGenerator::loadDocument
(this=<optimized out>, fileName=..., pagesVector=...) at
/usr/src/debug/okular-4.10.5/core/textdocumentgenerator.cpp:255
#13 0x00007f6896e51ce7 in Okular::DocumentPrivate::openDocumentInternal
(this=0x22f19d0, offer=..., isstdin=isstdin at entry=false, docFile=...,
filedata=...) at /usr/src/debug/okular-4.10.5/core/document.cpp:819
#14 0x00007f6896e59a4b in Okular::Document::openDocument (this=0x22cdd30,
docFile=..., url=..., _mime=...) at
/usr/src/debug/okular-4.10.5/core/document.cpp:1907
#15 0x00007f689710e9d1 in Okular::Part::openFile (this=0x22187b0) at
/usr/src/debug/okular-4.10.5/part.cpp:1214
#16 0x00007f68a6bf9000 in KParts::ReadOnlyPartPrivate::openLocalFile
(this=this at entry=0x2218a80) at
/usr/src/debug/kdelibs-4.10.5/kparts/part.cpp:591
#17 0x00007f68a6bf95a4 in KParts::ReadOnlyPart::openUrl (this=0x22187b0,
url=...) at /usr/src/debug/kdelibs-4.10.5/kparts/part.cpp:555
#18 0x00007f6897101ae5 in openUrl (_url=..., this=0x22187b0) at
/usr/src/debug/okular-4.10.5/part.cpp:1359
#19 Okular::Part::openUrl (this=0x22187b0, _url=...) at
/usr/src/debug/okular-4.10.5/part.cpp:1330
#20 0x000000000040b2ed in Shell::openUrl (this=0x224d170, url=...) at
/usr/src/debug/okular-4.10.5/shell/shell.cpp:179
#21 0x00007f68a49e677e in QObject::event(QEvent*) () from
/usr/lib64/libQtCore.so.4
#22 0x00007f68a542988a in QWidget::event(QEvent*) () from
/usr/lib64/libQtGui.so.4
#23 0x00007f68a57ee4fb in QMainWindow::event(QEvent*) () from
/usr/lib64/libQtGui.so.4
#24 0x00007f68a61df748 in KXmlGuiWindow::event (this=0x224d170, ev=0x2546dc0)
at /usr/src/debug/kdelibs-4.10.5/kdeui/xmlgui/kxmlguiwindow.cpp:126
#25 0x00007f68a53da86c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib64/libQtGui.so.4
#26 0x00007f68a53deceb in QApplication::notify(QObject*, QEvent*) () from
/usr/lib64/libQtGui.so.4
#27 0x00007f68a60ed7f6 in KApplication::notify (this=0x7fff77984670,
receiver=0x224d170, event=0x2546dc0) at
/usr/src/debug/kdelibs-4.10.5/kdeui/kernel/kapplication.cpp:311
#28 0x00007f68a49d1d8e in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib64/libQtCore.so.4
#29 0x00007f68a49d56f1 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#30 0x00007f68a4a00133 in ?? () from /usr/lib64/libQtCore.so.4
#31 0x00007f68a0a557d5 in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#32 0x00007f68a0a55b08 in ?? () from /usr/lib64/libglib-2.0.so.0
#33 0x00007f68a0a55bc4 in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#34 0x00007f68a4a002c6 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/libQtCore.so.4
#35 0x00007f68a547ac1e in ?? () from /usr/lib64/libQtGui.so.4
#36 0x00007f68a49d0adf in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/libQtCore.so.4
#37 0x00007f68a49d0d68 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib64/libQtCore.so.4
#38 0x00007f68a49d5a08 in QCoreApplication::exec() () from
/usr/lib64/libQtCore.so.4
#39 0x000000000040895e in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/okular-4.10.5/shell/main.cpp:94

This bug may be a duplicate of or related to bug 312238.

Possible duplicates by query: bug 312238.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list