Bug 226578 - Okular crash in opening epub
Summary: Okular crash in opening epub
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: EPub backend (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-12 18:11 UTC by Adam
Modified: 2010-02-19 20:32 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 Adam 2010-02-12 18:11:36 UTC
Application that crashed: okular
Version of the application: 0.9.2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-19-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
Okular always crashes trying to open epub document (for example this one: http://palmknihy.cz/www/download.php?ID=10200).

 -- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[KCrash Handler]
#6  0x08b94213 in epub_get_metadata () from /usr/lib/libepub.so.0
#7  0x061373c8 in Epub::Converter::_emitData (this=0x92d2010, key=Okular::DocumentInfo::Title, type=EPUB_TITLE) at ../../../../okular/generators/epub/converter.cpp:55
#8  0x06137dbc in Epub::Converter::convert (this=0x92d2010, fileName=...) at ../../../../okular/generators/epub/converter.cpp:129
#9  0x066cc935 in Okular::TextDocumentGenerator::loadDocument (this=0x9024090, fileName=..., pagesVector=...) at ../../okular/core/textdocumentgenerator.cpp:255
#10 0x066a90c7 in Okular::DocumentPrivate::openDocumentInternal (this=0x90aaa60, offer=..., isstdin=false, docFile=..., filedata=...) at ../../okular/core/document.cpp:644
#11 0x066b593f in Okular::Document::openDocument (this=0x90a53b8, docFile=..., url=..., _mime=...) at ../../okular/core/document.cpp:1634
#12 0x05a734a3 in Part::openFile (this=0x9064978) at ../../okular/part.cpp:921
#13 0x00fd9819 in KParts::ReadOnlyPart::openUrl (this=0x9064978, url=...) at ../../kparts/part.cpp:557
#14 0x05a65937 in Part::openUrl (this=0x9064978, _url=...) at ../../okular/part.cpp:1040
#15 0x08050112 in Shell::openUrl (this=0x9030458, url=...) at ../../../okular/shell/shell.cpp:151
#16 0x08050228 in Shell::delayedOpen (this=0x9030458) at ../../../okular/shell/shell.cpp:134
#17 0x08050a55 in Shell::qt_metacall (this=0x9030458, _c=QMetaObject::InvokeMetaMethod, _id=57, _a=0xbfa360ec) at ./shell.moc:88
#18 0x01152263 in QMetaObject::activate (sender=0x92ba1d0, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#19 0x01152ec2 in QMetaObject::activate (sender=0x92ba1d0, m=0x122c908, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#20 0x01157387 in QSingleShotTimer::timeout (this=0x92ba1d0) at .moc/release-shared/qtimer.moc:76
#21 0x0115749c in QSingleShotTimer::timerEvent (this=0x92ba1d0) at kernel/qtimer.cpp:298
#22 0x0114c3bf in QObject::event (this=0x92ba1d0, e=0xbfa36580) at kernel/qobject.cpp:1075
#23 0x074e5f54 in QApplicationPrivate::notify_helper (this=0x8fcd570, receiver=0x92ba1d0, e=0xbfa36580) at kernel/qapplication.cpp:4056
#24 0x074ed67c in QApplication::notify (this=0xbfa36948, receiver=0x92ba1d0, e=0xbfa36580) at kernel/qapplication.cpp:3603
#25 0x002e2bfa in KApplication::notify (this=0xbfa36948, receiver=0x92ba1d0, event=0xbfa36580) at ../../kdeui/kernel/kapplication.cpp:302
#26 0x0113c6cb in QCoreApplication::notifyInternal (this=0xbfa36948, receiver=0x92ba1d0, event=0xbfa36580) at kernel/qcoreapplication.cpp:610
#27 0x011697ce in QCoreApplication::sendEvent (this=0x8fd0734) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#28 QTimerInfoList::activateTimers (this=0x8fd0734) at kernel/qeventdispatcher_unix.cpp:572
#29 0x011670e0 in timerSourceDispatch (source=0x8fd0700) at kernel/qeventdispatcher_glib.cpp:165
#30 0x06516e88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#31 0x0651a730 in ?? () from /lib/libglib-2.0.so.0
#32 0x0651a863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#33 0x0116702c in QEventDispatcherGlib::processEvents (this=0x8fb7a30, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#34 0x07586be5 in QGuiEventDispatcherGlib::processEvents (this=0x8fb7a30, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#35 0x0113ac79 in QEventLoop::processEvents (this=0xbfa36844, flags=) at kernel/qeventloop.cpp:149
#36 0x0113b0ca in QEventLoop::exec (this=0xbfa36844, flags=...) at kernel/qeventloop.cpp:201
#37 0x0113d53f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#38 0x074e5dd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#39 0x0804eec9 in main (argc=6, argv=0xbfa36b34) at ../../../okular/shell/main.cpp:81

Reported using DrKonqi
Comment 1 Albert Astals Cid 2010-02-19 01:31:31 UTC
Ely, seems to be crashing inside libepub, can you have a look?
Comment 2 Ely 2010-02-19 11:39:51 UTC
Thanks for the report. It's now fixed in epub trunk.