Bug 249531 - Okular Crash when opening an epub file
Summary: Okular Crash when opening an epub file
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: EPub backend (show other bugs)
Version: 0.10.5
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-30 20:33 UTC by G Goucher
Modified: 2011-03-16 20:59 UTC (History)
1 user (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 G Goucher 2010-08-30 20:33:00 UTC
Application: okular (0.10.5)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.33.8-149.fc13.i686 i686
Distribution (Platform): Fedora RPMs

-- Information about the crash:
openned downloaded epub file and programme crashed.

The crash can be reproduced every time.

 -- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[KCrash Handler]
#6  0x00570eef in epub_get_iterator (epub=0x9170940, type=EITERATOR_SPINE, opt=0) at /usr/src/debug/ebook-tools-0.1.1/src/libepub/epub.c:251
#7  0x00440904 in Epub::Converter::convert (this=0x916af98, fileName=...) at /usr/src/debug/kdegraphics-4.4.5/okular/generators/epub/converter.cpp:144
#8  0x00e73e76 in Okular::TextDocumentGenerator::loadDocument (this=0x910c3d8, fileName=..., pagesVector=...) at /usr/src/debug/kdegraphics-4.4.5/okular/core/textdocumentgenerator.cpp:255
#9  0x00e533cf in Okular::DocumentPrivate::openDocumentInternal (this=0x8f09c40, offer=..., isstdin=false, docFile=..., filedata=...) at /usr/src/debug/kdegraphics-4.4.5/okular/core/document.cpp:644
#10 0x00e599d1 in Okular::Document::openDocument (this=0x8f08028, docFile=..., url=..., _mime=...) at /usr/src/debug/kdegraphics-4.4.5/okular/core/document.cpp:1642
#11 0x00f0c790 in Okular::Part::openFile (this=0x8eedbb8) at /usr/src/debug/kdegraphics-4.4.5/okular/part.cpp:930
#12 0x0041391a in KParts::ReadOnlyPart::openUrl (this=0x8eedbb8, url=...) at /usr/src/debug/kdelibs-4.4.5/kparts/part.cpp:557
#13 0x00eff138 in Okular::Part::openUrl (this=0x8eedbb8, _url=...) at /usr/src/debug/kdegraphics-4.4.5/okular/part.cpp:1049
#14 0x0804f963 in Shell::openUrl (this=0x8edabf0, url=...) at /usr/src/debug/kdegraphics-4.4.5/okular/shell/shell.cpp:130
#15 0x0804fa79 in Shell::delayedOpen (this=0x8edabf0) at /usr/src/debug/kdegraphics-4.4.5/okular/shell/shell.cpp:113
#16 0x080502c3 in Shell::qt_metacall (this=0x8edabf0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf982cdc)
    at /usr/src/debug/kdegraphics-4.4.5/i686-redhat-linux-gnu/okular/shell/shell.moc:94
#17 0x049c4bcb in QMetaObject::metacall (object=0x8edabf0, cl=QMetaObject::InvokeMetaMethod, idx=57, argv=0xbf982cdc) at kernel/qmetaobject.cpp:237
#18 0x049d3a75 in QMetaObject::activate (sender=0x913f2f8, m=0x4ad4628, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3295
#19 0x049d9538 in QSingleShotTimer::timeout (this=0x913f2f8) at .moc/release-shared/qtimer.moc:82
#20 0x049d965d in QSingleShotTimer::timerEvent (this=0x913f2f8) at kernel/qtimer.cpp:308
#21 0x049cfee4 in QObject::event (this=0x913f2f8, e=0xbf983210) at kernel/qobject.cpp:1212
#22 0x024c877c in QApplicationPrivate::notify_helper (this=0x8e36d80, receiver=0x913f2f8, e=0xbf983210) at kernel/qapplication.cpp:4306
#23 0x024cf1d6 in QApplication::notify (this=0xbf9835d0, receiver=0x913f2f8, e=0xbf983210) at kernel/qapplication.cpp:3710
#24 0x05b8900b in KApplication::notify (this=0xbf9835d0, receiver=0x913f2f8, event=0xbf983210) at /usr/src/debug/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:302
#25 0x049c0133 in QCoreApplication::notifyInternal (this=0xbf9835d0, receiver=0x913f2f8, event=0xbf983210) at kernel/qcoreapplication.cpp:726
#26 0x049eb1fe in sendEvent (this=0x8e39ac4) at kernel/qcoreapplication.h:215
#27 QTimerInfoList::activateTimers (this=0x8e39ac4) at kernel/qeventdispatcher_unix.cpp:603
#28 0x049e8745 in timerSourceDispatch (source=0x8e39a90) at kernel/qeventdispatcher_glib.cpp:184
#29 0x0013a525 in g_main_dispatch (context=0x8e390f8) at gmain.c:1960
#30 IA__g_main_context_dispatch (context=0x8e390f8) at gmain.c:2513
#31 0x0013e268 in g_main_context_iterate (context=0xba1490, block=1, dispatch=1, self=0x8e364c0) at gmain.c:2591
#32 0x0013e449 in IA__g_main_context_iteration (context=0x8e390f8, may_block=1) at gmain.c:2654
#33 0x049e8446 in QEventDispatcherGlib::processEvents (this=0x8e22370, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#34 0x02577336 in QGuiEventDispatcherGlib::processEvents (this=0x8e22370, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x049be80a in QEventLoop::processEvents (this=0xbf9834d4, flags=...) at kernel/qeventloop.cpp:149
#36 0x049beb4a in QEventLoop::exec (this=0xbf9834d4, flags=...) at kernel/qeventloop.cpp:201
#37 0x049c2807 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#38 0x024c8828 in QApplication::exec () at kernel/qapplication.cpp:3585
#39 0x0804e708 in main (argc=) at /usr/src/debug/kdegraphics-4.4.5/okular/shell/main.cpp:82

Reported using DrKonqi
Comment 1 Albert Astals Cid 2010-08-30 20:49:34 UTC
Can you provide the epub file?
Comment 2 Albert Astals Cid 2010-08-30 20:56:27 UTC
Ely can you have a look?
Comment 3 Ely 2010-08-30 22:05:35 UTC
Which version of ebook-tools are you using?
Can you please try the one from SVN?
Comment 4 Pino Toscano 2010-10-09 20:56:06 UTC
@G Goucher:
a) can you please provide the document which crashed for you?
b) can you please try using ebook-tools 0.2.x?
Comment 5 Albert Astals Cid 2011-03-16 20:59:00 UTC
Closing as user did not answer in a long time