Bug 315354 - okular crashed when i opened a .mobi format file
Summary: okular crashed when i opened a .mobi format file
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.14.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-18 04:24 UTC by Brian lee
Modified: 2013-08-15 21:48 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian lee 2013-02-18 04:24:12 UTC
Application: okular (0.14.3)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-37-generic x86_64
Distribution: Ubuntu 12.04.2 LTS

-- Information about the crash:
i click a .mobi format file. then the Okular opened, it takes long time to open the file, and nothing happened at last.

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".
[Current thread is 1 (Thread 0x7fefe69a7780 (LWP 4098))]

Thread 3 (Thread 0x7fefd2659700 (LWP 4102)):
#0  0x00007fefe3b77303 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fefe097e036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fefe097e49a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fefd265e98b in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007fefe099f9e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fefe0e4ae9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007fefe3b82cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fefd1e58700 (LWP 4103)):
#0  0x00007fefe3b77303 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007fefe097e036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fefe097e49a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fefd97b0406 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fefe099f9e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fefe0e4ae9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007fefe3b82cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fefe69a7780 (LWP 4098)):
[KCrash Handler]
#6  0x00007fefe3bd89c6 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x00007fefbea776c3 in QVector<Okular::Page*>::realloc (this=0x238c130, asize=-23572, aalloc=-23571) at /usr/include/x86_64-linux-gnu/bits/string3.h:52
#8  0x00007fefbea84ed7 in resize (asize=-23572, this=0x238c130) at /usr/include/qt4/QtCore/qvector.h:343
#9  Okular::TextDocumentGenerator::loadDocument (this=<optimized out>, fileName=..., pagesVector=...) at ../core/textdocumentgenerator.cpp:279
#10 0x00007fefbea6a737 in Okular::DocumentPrivate::openDocumentInternal (this=0x238bff0, offer=..., isstdin=false, docFile=..., filedata=...) at ../core/document.cpp:700
#11 0x00007fefbea73177 in Okular::Document::openDocument (this=0x23747e0, docFile=..., url=..., _mime=...) at ../core/document.cpp:1657
#12 0x00007fefbed2798e in Okular::Part::openFile (this=0x2362200) at ../part.cpp:1151
#13 0x00007fefe658999c in ?? () from /usr/lib/libkparts.so.4
#14 0x00007fefe6589f54 in KParts::ReadOnlyPart::openUrl(KUrl const&) () from /usr/lib/libkparts.so.4
#15 0x00007fefbed197f5 in Okular::Part::openUrl (this=0x2362200, _url=...) at ../part.cpp:1273
#16 0x0000000000408d14 in Shell::openUrl (this=0x2338030, url=...) at ../../shell/shell.cpp:134
#17 0x00007fefe455f446 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#18 0x00007fefe4f8fb7b in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#19 0x00007fefe5369c4b in QMainWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#20 0x00007fefe5d75378 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#21 0x00007fefe4f3f894 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#22 0x00007fefe4f44713 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#23 0x00007fefe5c793f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#24 0x00007fefe4545e9c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#25 0x00007fefe4549c6a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#26 0x00007fefe4574f93 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#27 0x00007fefe097dd53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fefe097e0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007fefe097e164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007fefe45753bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#31 0x00007fefe4fe7d5e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#32 0x00007fefe4544c82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#33 0x00007fefe4544ed7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#34 0x00007fefe4549f67 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#35 0x00000000004079c6 in main (argc=<optimized out>, argv=<optimized out>) at ../../shell/main.cpp:85

Reported using DrKonqi
Comment 1 Maarten De Meyer 2013-02-18 16:22:07 UTC

*** This bug has been marked as a duplicate of bug 272867 ***
Comment 2 Albert Astals Cid 2013-02-18 18:32:20 UTC
@Maarten: This is not a duplicate, check the backtraces
@Brian: Can you please attach a file that produces such a crash?
Comment 3 Brian lee 2013-02-19 08:55:30 UTC
please have a look at the attached
file-- Mobipocket-Guide-2013-02-19.mobi,this kind of files
 Mobipocket-Guide-2013-02-19.mobi<https://docs.google.com/file/d/0Bx_llLH2iP-7UFh4dGlKZWM0enc/edit>
 caused a crash.


On 19 February 2013 02:32, Albert Astals Cid <aacid@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=315354
>
> Albert Astals Cid <aacid@kde.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>              Status|RESOLVED                    |UNCONFIRMED
>                  CC|                            |aacid@kde.org
>          Resolution|DUPLICATE                   |---
>
> --- Comment #2 from Albert Astals Cid <aacid@kde.org> ---
> @Maarten: This is not a duplicate, check the backtraces
> @Brian: Can you please attach a file that produces such a crash?
>
> --
> You are receiving this mail because:
> You reported the bug.
>
Comment 4 Albert Astals Cid 2013-02-19 21:20:51 UTC
It doesn't crash here, can you please run
valgrind okular myfile.mobi
and attach the output of valgrind? (You may need to install valgrind first)
Comment 5 Albert Astals Cid 2013-03-07 22:20:53 UTC
waiting for info
Comment 6 Albert Astals Cid 2013-08-15 21:48:53 UTC
No answer in months. Closing. Please reopen if you can provide the information we asked for.