Bug 325909

Summary: okular crashed after opening with CBUS125EPM001007.epub
Product: [Applications] okular Reporter: Ed <edknyn>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED UPSTREAM    
Severity: crash CC: aacid, j.solanki17
Priority: NOR Keywords: drkonqi
Version: 0.17.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ed 2013-10-12 01:05:07 UTC
Application: okular (0.17.2)
KDE Platform Version: 4.11.2
Qt Version: 4.8.4
Operating System: Linux 3.11.4-031104-generic x86_64
Distribution: Ubuntu 13.04

-- Information about the crash:
okular crashed after opening with CBUS125EPM001007.epub
downloaded from:
http://www.sony-asia.com/microsite/reader/prst1/CBUS125EPM001007.epub

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#5  __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:31
#6  0x00007fe9d896e8c6 in __GI___strdup (s=0x0) at strdup.c:41
#7  0x00007fe9c5acffc9 in epub_tit_get_curr_link () from /usr/lib/libepub.so.0
#8  0x00007fe9c5ce0658 in Epub::Converter::convert (this=0x247db00, fileName=...) at ../../../generators/epub/converter.cpp:183
#9  0x00007fe9ca1887b4 in Okular::TextDocumentGenerator::loadDocument (this=<optimized out>, fileName=..., pagesVector=...) at ../core/textdocumentgenerator.cpp:277
#10 0x00007fe9ca171e4f in Okular::DocumentPrivate::openDocumentInternal (this=0x256bf40, offer=..., isstdin=isstdin@entry=false, docFile=..., filedata=...) at ../core/document.cpp:924
#11 0x00007fe9ca172319 in Okular::Document::openDocument (this=0x253a500, docFile=..., url=..., _mime=...) at ../core/document.cpp:2175
#12 0x00007fe9ca431541 in Okular::Part::openFile (this=0x24c2d70) at ../part.cpp:1224
#13 0x00007fe9db591170 in ?? () from /usr/lib/libkparts.so.4
#14 0x00007fe9db591b74 in KParts::ReadOnlyPart::openUrl(KUrl const&) () from /usr/lib/libkparts.so.4
#15 0x00007fe9ca4270f5 in openUrl (_url=..., this=0x24c2d70) at ../part.cpp:1374
#16 Okular::Part::openUrl (this=0x24c2d70, _url=...) at ../part.cpp:1345
#17 0x000000000040b716 in Shell::openUrl (this=0x248e930, url=...) at ../../shell/shell.cpp:188
#18 0x00007fe9d93bd5be in QObject::event (this=this@entry=0x248e930, e=e@entry=0x2984eb0) at kernel/qobject.cpp:1194
#19 0x00007fe9d9dda1ca in QWidget::event (this=this@entry=0x248e930, event=event@entry=0x2984eb0) at kernel/qwidget.cpp:8845
#20 0x00007fe9da1a69ab in QMainWindow::event (this=0x248e930, event=0x2984eb0) at widgets/qmainwindow.cpp:1478
#21 0x00007fe9dab879a8 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#22 0x00007fe9d9d8d8ec in QApplicationPrivate::notify_helper (this=this@entry=0x22e1c60, receiver=receiver@entry=0x248e930, e=e@entry=0x2984eb0) at kernel/qapplication.cpp:4567
#23 0x00007fe9d9d9025b in QApplication::notify (this=0x7fffd0bf0c40, receiver=0x248e930, e=0x2984eb0) at kernel/qapplication.cpp:4428
#24 0x00007fe9daa979b6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#25 0x00007fe9d93a363e in QCoreApplication::notifyInternal (this=0x7fffd0bf0c40, receiver=receiver@entry=0x248e930, event=event@entry=0x2984eb0) at kernel/qcoreapplication.cpp:946
#26 0x00007fe9d93a7171 in sendEvent (event=0x2984eb0, receiver=0x248e930) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#27 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x22a6670) at kernel/qcoreapplication.cpp:1570
#28 0x00007fe9d93a74a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#29 0x00007fe9d93d1e83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#30 postEventSourceDispatch (s=0x22ecec0) at kernel/qeventdispatcher_glib.cpp:279
#31 0x00007fe9d5608f05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007fe9d5609248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fe9d5609304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007fe9d93d2016 in QEventDispatcherGlib::processEvents (this=0x22a7b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#35 0x00007fe9d9e3313e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007fe9d93a238f in QEventLoop::processEvents (this=this@entry=0x7fffd0bf08c0, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007fe9d93a2618 in QEventLoop::exec (this=this@entry=0x7fffd0bf08c0, flags=...) at kernel/qeventloop.cpp:204
#38 0x00007fe9d93a7cf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#39 0x00007fe9d9d8bffc in QApplication::exec () at kernel/qapplication.cpp:3828
#40 0x00000000004082ce in main (argc=<optimized out>, argv=<optimized out>) at ../../shell/main.cpp:100

Reported using DrKonqi
Comment 1 Albert Astals Cid 2013-10-12 15:24:49 UTC
Which libepub version do you have?
Comment 2 Ed 2013-10-12 20:02:04 UTC
0.2.1-2ubuntu1


On 13 October 2013 04:24, Albert Astals Cid <aacid@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=325909
>
> Albert Astals Cid <aacid@kde.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |NEEDSINFO
>                  CC|                            |aacid@kde.org
>          Resolution|---                         |WAITINGFORINFO
>
> --- Comment #1 from Albert Astals Cid <aacid@kde.org> ---
> Which libepub version do you have?
>
> --
> You are receiving this mail because:
> You reported the bug.
>
Comment 3 jaydeep 2013-10-12 20:19:18 UTC
Update libepub.
What you are suffering from was a bug in libepub, which has been fixed in newer versions.
Comment 4 Ed 2013-10-12 20:22:21 UTC
Thank you



On 13 October 2013 09:19, jaydeep <j.solanki17@yahoo.com> wrote:

> https://bugs.kde.org/show_bug.cgi?id=325909
>
> jaydeep <j.solanki17@yahoo.com> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                  CC|                            |j.solanki17@yahoo.com
>
> --- Comment #3 from jaydeep <j.solanki17@yahoo.com> ---
> Update libepub.
> What you are suffering from was a bug in libepub, which has been fixed in
> newer
> versions.
>
> --
> You are receiving this mail because:
> You reported the bug.
>