Bug 250695 - Okular crashed opening ebook
Summary: Okular crashed opening ebook
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.11.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-09 20:05 UTC by kirov
Modified: 2010-09-09 21:56 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
epub file that causes Okular crash (34.11 KB, application/octet-stream)
2010-09-09 21:46 UTC, kirov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kirov 2010-09-09 20:05:09 UTC
Application: okular (0.11.1)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-19-generic i686
Distribution: Ubuntu maverick (development branch)

-- Information about the crash:
- What I was doing when the application crashed: i was opening and ebook from Dophin and I also tried opening okular then opening the ebook. same crash result. okular opens pdf files with no problem.

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[Current thread is 1 (Thread 0xb773c710 (LWP 9733))]

Thread 2 (Thread 0xb2645b70 (LWP 9734)):
#0  0x00d74416 in __kernel_vsyscall ()
#1  0x05822de6 in poll () from /lib/libc.so.6
#2  0x0446d25b in g_poll () from /lib/libglib-2.0.so.0
#3  0x0445fbfc in ?? () from /lib/libglib-2.0.so.0
#4  0x04460008 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x01aed59f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x01abd609 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0x01abda8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8  0x019b9b7e in QThread::exec() () from /usr/lib/libQtCore.so.4
#9  0x01a9c35b in ?? () from /usr/lib/libQtCore.so.4
#10 0x019bcdf9 in ?? () from /usr/lib/libQtCore.so.4
#11 0x00cf0cc9 in start_thread () from /lib/libpthread.so.0
#12 0x058316ae in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb773c710 (LWP 9733)):
[KCrash Handler]
#7  0x01fa61b3 in epub_get_metadata (epub=0x9460380, type=EPUB_TITLE, size=0xbfc0828c) at /build/buildd/ebook-tools-0.1.1/src/libepub/epub.c:181
#8  0x04d48ed8 in Epub::Converter::_emitData (this=0x9460068, key=Okular::DocumentInfo::Title, type=EPUB_TITLE) at ../../../../okular/generators/epub/converter.cpp:55
#9  0x04d498ba in Epub::Converter::convert (this=0x9460068, fileName=...) at ../../../../okular/generators/epub/converter.cpp:129
#10 0x05c01f45 in Okular::TextDocumentGenerator::loadDocument (this=0x9449148, fileName=..., pagesVector=...) at ../../okular/core/textdocumentgenerator.cpp:255
#11 0x05bdeaaf in Okular::DocumentPrivate::openDocumentInternal (this=0x907ed60, offer=..., isstdin=false, docFile=..., filedata=...) at ../../okular/core/document.cpp:644
#12 0x05be564f in Okular::Document::openDocument (this=0x9082a20, docFile=..., url=..., _mime=...) at ../../okular/core/document.cpp:1602
#13 0x082e465b in Okular::Part::openFile (this=0x9065570) at ../../okular/part.cpp:934
#14 0x00443549 in KParts::ReadOnlyPart::openUrl (this=0x9065570, url=...) at ../../kparts/part.cpp:557
#15 0x082d7067 in Okular::Part::openUrl (this=0x9065570, _url=...) at ../../okular/part.cpp:1055
#16 0x0804fae2 in Shell::openUrl (this=0x904f960, url=...) at ../../../okular/shell/shell.cpp:130
#17 0x0805027c in Shell::fileOpen (this=0x904f960) at ../../../okular/shell/shell.cpp:250
#18 0x0805049b in Shell::qt_metacall (this=0x904f960, _c=QMetaObject::InvokeMetaMethod, _id=53, _a=0xbfc08d48) at ./shell.moc:90
#19 0x01ac48ca in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#20 0x01ad76ad in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#21 0x00e98fe9 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4
#22 0x00e9a92c in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4
#23 0x0136642f in ?? () from /usr/lib/libQtGui.so.4
#24 0x0136c68b in ?? () from /usr/lib/libQtGui.so.4
#25 0x0136d220 in QMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#26 0x00749da5 in KMenu::mouseReleaseEvent (this=0x9213900, e=0xbfc095f0) at ../../kdeui/widgets/kmenu.cpp:471
#27 0x00efeae8 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#28 0x0136ec6f in QMenu::event(QEvent*) () from /usr/lib/libQtGui.so.4
#29 0x00ea102c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#30 0x00ea7c7e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#31 0x0064f44a in KApplication::notify (this=0xbfc09f00, receiver=0x9213900, event=0xbfc095f0) at ../../kdeui/kernel/kapplication.cpp:310
#32 0x01abeb3b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#33 0x00ea60e4 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#34 0x00f350b1 in ?? () from /usr/lib/libQtGui.so.4
#35 0x00f33fa1 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#36 0x00f631ba in ?? () from /usr/lib/libQtGui.so.4
#37 0x0445c015 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#38 0x0445fe28 in ?? () from /lib/libglib-2.0.so.0
#39 0x04460008 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#40 0x01aed565 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#41 0x00f62a35 in ?? () from /usr/lib/libQtGui.so.4
#42 0x01abd609 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#43 0x01abda8a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#44 0x01ac200f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#45 0x00e9fe57 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#46 0x0804e6d9 in main (argc=5, argv=0xbfc0a0f4) at ../../../okular/shell/main.cpp:82

Possible duplicates by query: bug 226578.

Reported using DrKonqi
Comment 1 Albert Astals Cid 2010-09-09 21:17:09 UTC
Which version of libepub do you have installed?
Comment 2 kirov 2010-09-09 21:22:02 UTC
libepub0-0.1.1-3
Comment 3 Albert Astals Cid 2010-09-09 21:39:47 UTC
Can we get the epub file that causes the crash?
Comment 4 kirov 2010-09-09 21:43:33 UTC
i went through and tested the rest of my ebooks in epub format and it's just 3 particular books that are causing the crashes.

I'll can mark this as resolved due to a corrupt epub file (although the 3 specific files do open in other readers such as Calibre and FBReader).

i really should have tested this more before submitting the bug report. SORRY!
Comment 5 kirov 2010-09-09 21:46:16 UTC
Created attachment 51488 [details]
epub file that causes Okular crash
Comment 6 Albert Astals Cid 2010-09-09 21:53:45 UTC
That file works correctly if you update to libepub 0.2
Comment 7 kirov 2010-09-09 21:56:23 UTC
great, thanks for the quick response and resolution!