Bug 279880 - okular crashed while trying to open an epub file
Summary: okular crashed while trying to open an epub file
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.10.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-11 12:35 UTC by nicola giacobbe
Modified: 2011-10-03 08:32 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (4.26 KB, text/plain)
2011-10-02 21:39 UTC, Paul
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nicola giacobbe 2011-08-11 12:35:01 UTC
Application: okular (0.10.5)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-33-generic i686
Distribution: Ubuntu 10.04.3 LTS

-- Information about the crash:
constant behaviour. Okular crashes when tries to open an .epub file

 -- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[KCrash Handler]
#6  0x06ba6263 in epub_get_metadata (epub=0x8f7bac8, type=EPUB_TITLE, size=0xbf90813c) at /build/buildd/ebook-tools-0.1.1/src/libepub/epub.c:120
#7  0x070ff3f8 in Epub::Converter::_emitData (this=0x8989798, key=Okular::DocumentInfo::Title, type=EPUB_TITLE) at ../../../../okular/generators/epub/converter.cpp:55
#8  0x070ffdda in Epub::Converter::convert (this=0x8989798, fileName=...) at ../../../../okular/generators/epub/converter.cpp:129
#9  0x073f0065 in Okular::TextDocumentGenerator::loadDocument (this=0x8f81a50, fileName=..., pagesVector=...) at ../../okular/core/textdocumentgenerator.cpp:255
#10 0x073ccc2f in Okular::DocumentPrivate::openDocumentInternal (this=0x89c49c8, offer=..., isstdin=false, docFile=..., filedata=...) at ../../okular/core/document.cpp:644
#11 0x073d3bff in Okular::Document::openDocument (this=0x89c41b8, docFile=..., url=..., _mime=...) at ../../okular/core/document.cpp:1642
#12 0x02018b0f in Okular::Part::openFile (this=0x89b1e40) at ../../okular/part.cpp:930
#13 0x00d96ca9 in KParts::ReadOnlyPart::openUrl (this=0x89b1e40, url=...) at ../../kparts/part.cpp:557
#14 0x0200b2f7 in Okular::Part::openUrl (this=0x89b1e40, _url=...) at ../../okular/part.cpp:1049
#15 0x080501e2 in Shell::openUrl (this=0x8984878, url=...) at ../../../okular/shell/shell.cpp:130
#16 0x0805097c in Shell::fileOpen (this=0x8984878) at ../../../okular/shell/shell.cpp:250
#17 0x08050b9b in Shell::qt_metacall (this=0x8984878, _c=QMetaObject::InvokeMetaMethod, _id=53, _a=0xbf908bd8) at ./shell.moc:90
#18 0x009a5c9a in QMetaObject::metacall (object=0x8984878, cl=144218024, idx=53, argv=0xbf908bd8) at kernel/qmetaobject.cpp:237
#19 0x009b43d5 in QMetaObject::activate (sender=0x89e10c8, m=0x1818d58, local_signal_index=1, argv=0xbf908bd8) at kernel/qobject.cpp:3293
#20 0x00ee9bd9 in QAction::triggered (this=0x89e10c8, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#21 0x00eebdcc in QAction::activate (this=0x89e10c8, event=QAction::Trigger) at kernel/qaction.cpp:1255
#22 0x0138f60c in QMenuPrivate::activateCausedStack (this=0x8c0d338, causedStack=..., action=0x89e10c8, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1011
#23 0x01395abb in QMenuPrivate::activateAction (this=0x8c0d338, action=0x89e10c8, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1103
#24 0x01396ac7 in QMenu::mouseReleaseEvent (this=0x89a9b88, e=0xbf909470) at widgets/qmenu.cpp:2312
#25 0x00756745 in KMenu::mouseReleaseEvent (this=0x89a9b88, e=0xbf909470) at ../../kdeui/widgets/kmenu.cpp:471
#26 0x00f4e7f8 in QWidget::event (this=0x89a9b88, event=0xbf909470) at kernel/qwidget.cpp:7998
#27 0x013980cc in QMenu::event (this=0x89a9b88, e=0xbf909470) at widgets/qmenu.cpp:2414
#28 0x00ef04dc in QApplicationPrivate::notify_helper (this=0x8863658, receiver=0x89a9b88, e=0xbf909470) at kernel/qapplication.cpp:4300
#29 0x00ef79f7 in QApplication::notify (this=0xbf909d80, receiver=0x89a9b88, e=0xbf909470) at kernel/qapplication.cpp:3865
#30 0x0066040a in KApplication::notify (this=0xbf909d80, receiver=0x89a9b88, event=0xbf909470) at ../../kdeui/kernel/kapplication.cpp:302
#31 0x009a0a3b in QCoreApplication::notifyInternal (this=0xbf909d80, receiver=0x89a9b88, event=0xbf909470) at kernel/qcoreapplication.cpp:704
#32 0x00ef6952 in QCoreApplication::sendEvent (receiver=0x89a9b88, event=0xbf909470, alienWidget=0x0, nativeWidget=0x89a9b88, buttonDown=0x1834058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#33 QApplicationPrivate::sendMouseEvent (receiver=0x89a9b88, event=0xbf909470, alienWidget=0x0, nativeWidget=0x89a9b88, buttonDown=0x1834058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#34 0x00f825cf in QETWidget::translateMouseEvent (this=0x89a9b88, event=0xbf90998c) at kernel/qapplication_x11.cpp:4302
#35 0x00f81511 in QApplication::x11ProcessEvent (this=0xbf909d80, event=0xbf90998c) at kernel/qapplication_x11.cpp:3379
#36 0x00fb060a in x11EventSourceDispatch (s=0x8866868, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#37 0x02dbf5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#38 0x02dc32d8 in ?? () from /lib/libglib-2.0.so.0
#39 0x02dc34b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#40 0x009cc5d5 in QEventDispatcherGlib::processEvents (this=0x884f090, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#41 0x00fb0135 in QGuiEventDispatcherGlib::processEvents (this=0x884f090, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x0099f059 in QEventLoop::processEvents (this=0xbf909c84, flags=) at kernel/qeventloop.cpp:149
#43 0x0099f4aa in QEventLoop::exec (this=0xbf909c84, flags=...) at kernel/qeventloop.cpp:201
#44 0x009a369f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#45 0x00ef0577 in QApplication::exec () at kernel/qapplication.cpp:3579
#46 0x0804ef09 in main (argc=1, argv=0xbf909f74) at ../../../okular/shell/main.cpp:82

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

Possible duplicates by query: bug 264979, bug 250695.

Reported using DrKonqi
Comment 1 Albert Astals Cid 2011-08-11 13:07:33 UTC
Can you attach a file with such a problem?
Comment 2 Ely 2011-08-11 13:20:14 UTC
You are using an old version of libepub. Try with the latest 0.2.1 version.
Comment 3 nicola giacobbe 2011-08-11 13:53:14 UTC
Ely could very well be right. My system (Ubuntu 10.04) is using version 1.1
I cannot try with a newest version as the repository hasn't been updated. So thanks for all the fish and sorry for troubling you without reason. I should have checked better.
Comment 4 Albert Astals Cid 2011-08-11 15:15:30 UTC
Ok, i'm marking it as fixed, if you happen to update to a newer version and it still crashes please reopen the bug.
Comment 5 Paul 2011-10-02 21:39:43 UTC
Created attachment 64143 [details]
New crash information added by DrKonqi

okular was the automatic preselected program to open an e-book on-line or after download (this time from  http://ebooks.adelaide.edu.au/c/chesterton/gk/c52fb/c52fb.epub). Thereby okular crashed. I'm using SUSE 11-3 GER and ist was the first time/test to read an e-book. Thanks in advance. Eddi
Comment 6 Albert Astals Cid 2011-10-03 08:32:06 UTC
Paul, have you had the decency of reading the bug before adding a new comment? Because if you are using libepub older than 0.2.1 you adding new information here adds zero to this bug report.