Summary: | When i try open fb2 book okular crash | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | mityi <mityi> |
Component: | fictionbook backend | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | mityi, rakuco, soshial, tokoe |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
it's file that causes this crash |
Description
mityi
2009-12-02 23:57:39 UTC
Application: Okular (okular), signal: Segmentation fault [KCrash Handler] #6 0x04f513a7 in QTextLayout::boundingRect() const () from /usr/lib/libQtGui.so.4 #7 0x04f99a0c in ?? () from /usr/lib/libQtGui.so.4 #8 0x014dd9fe in ?? () from /usr/lib/libokularcore.so.1 #9 0x014ddbfa in Okular::TextDocumentConverter::calculateViewport(QTextDocument*, QTextBlock const&) () from /usr/lib/libokularcore.so.1 #10 0x03a98054 in ?? () from /usr/lib/kde4/okularGenerator_fb.so #11 0x014dfa05 in Okular::TextDocumentGenerator::loadDocument(QString const&, QVector<Okular::Page*>&) () from /usr/lib/libokularcore.so.1 #12 0x014bc0a7 in ?? () from /usr/lib/libokularcore.so.1 #13 0x014c891f in Okular::Document::openDocument(QString const&, KUrl const&, KSharedPtr<KMimeType> const&) () from /usr/lib/libokularcore.so.1 #14 0x0225b433 in ?? () from /usr/lib/kde4/okularpart.so #15 0x00fce819 in KParts::ReadOnlyPart::openUrl(KUrl const&) () from /usr/lib/libkparts.so.4 #16 0x0224d8c7 in ?? () from /usr/lib/kde4/okularpart.so #17 0x08050402 in _start () It appears to be a bug in Okular itself. Can you please do the following: * Install the debug packages for kdegraphics and qt for your distribution and post a backtrace with all the debug symbols (they might be called kdegraphics-dbg or something like that on Ubuntu) * Describe what you were doing (does it crash whenever you open the file or do you have to do something specific?) * Is it possible to attach a file that causes this crash to the report? Thanks. Raphael Kubo da Costa пишет: > https://bugs.kde.org/show_bug.cgi?id=217135 > > > Raphael Kubo da Costa <kubito@gmail.com> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Component|general |general > AssignedTo|haraldhv@stud.ntnu.no |okular-devel@kde.org > Product|ark |okular > > > > > --- Comment #2 from Raphael Kubo da Costa <kubito gmail com> 2009-12-03 00:15:37 --- > It appears to be a bug in Okular itself. > > Can you please do the following: > * Install the debug packages for kdegraphics and qt for your distribution and > post a backtrace with all the debug symbols (they might be called > kdegraphics-dbg or something like that on Ubuntu) > * Describe what you were doing (does it crash whenever you open the file or do > you have to do something specific?) > * Is it possible to attach a file that causes this crash to the report? > > Thanks. > > Unfortunately I can not install kdegraphics-dbg because of problems with dependencies in ubuntu. Sorry. Book attachment Regards If you have dependency problems, they should be fixed :) As for the rest, please answer what you were doing when the crash happened, and add the attachment using the "Add an attachment" link at the end of this report page. Created attachment 42345 [details]
New crash information added by DrKonqi
When i try open fb2 book okular crash
Next time, please post the backtrace contents here instead of attaching it, as it makes it easier to look for duplicates. Application: okular (0.10.1) KDE Platform Version: 4.4.1 (KDE 4.4.1) Qt Version: 4.6.2 Operating System: Linux 2.6.31-21-generic i686 Distribution: Ubuntu 9.10 -- Information about the crash: When i try open fb2 book okular crash -- Backtrace: Application: Okular (okular), signal: Segmentation fault [KCrash Handler] #6 QTextLayout::boundingRect (this=0x0) at text/qtextlayout.cpp:850 #7 0x012b3afc in QTextDocumentLayout::blockBoundingRect (this=0xa9ffb00, block=...) at text/qtextdocumentlayout.cpp:3161 #8 0x01d8acbe in calculateViewport (document=<value optimized out>, block=...) at ../../okular/core/textdocumentgenerator_p.h:80 #9 0x01d8aeba in Okular::TextDocumentConverter::calculateViewport (this=0xa464708, document=0xa3e1b08, block=...) at ../../okular/core/textdocumentgenerator.cpp:50 #10 0x02d72114 in FictionBook::Converter::convert (this=0xa464708, fileName=...) at ../../../../okular/generators/fictionbook/converter.cpp:200 #11 0x01d8ccb5 in Okular::TextDocumentGenerator::loadDocument (this=0xa1140d8, fileName=..., pagesVector=...) at ../../okular/core/textdocumentgenerator.cpp:255 #12 0x01d697ef in Okular::DocumentPrivate::openDocumentInternal (this=0xa13b120, offer=..., isstdin=false, docFile=..., filedata=...) at ../../okular/core/document.cpp:644 #13 0x01d6fd2f in Okular::Document::openDocument (this=0xa138238, docFile=..., url=..., _mime=...) at ../../okular/core/document.cpp:1642 #14 0x01c75a43 in Okular::Part::openFile (this=0xa12ac90) at ../../okular/part.cpp:929 #15 0x00a4cc49 in KParts::ReadOnlyPart::openUrl (this=0xa12ac90, url=...) at ../../kparts/part.cpp:557 #16 0x01c68337 in Okular::Part::openUrl (this=0xa12ac90, _url=...) at ../../okular/part.cpp:1048 #17 0x080501d2 in Shell::openUrl (this=0xa11f630, url=...) at ../../../okular/shell/shell.cpp:130 #18 0x080502e8 in Shell::delayedOpen (this=0xa11f630) at ../../../okular/shell/shell.cpp:113 #19 0x08050b15 in Shell::qt_metacall (this=0xa11f630, _c=QMetaObject::InvokeMetaMethod, _id=57, _a=0xbf812e7c) at ./shell.moc:94 #20 0x00d97e5a in QMetaObject::metacall (object=0xa11f630, cl=26337268, idx=57, argv=0xbf812e7c) at kernel/qmetaobject.cpp:237 #21 0x00da65f5 in QMetaObject::activate (sender=0xa413ce0, m=0xea6188, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293 #22 0x00dae177 in QSingleShotTimer::timeout (this=0xa413ce0) at .moc/release-shared/qtimer.moc:82 #23 0x00dae28c in QSingleShotTimer::timerEvent (this=0xa413ce0) at kernel/qtimer.cpp:308 #24 0x00da3494 in QObject::event (this=0xa413ce0, e=0xbf8125a8) at kernel/qobject.cpp:1212 #25 0x00fde3cc in QApplicationPrivate::notify_helper (this=0xa065a80, receiver=0xa413ce0, e=0xbf8133b0) at kernel/qapplication.cpp:4300 #26 0x00fe501e in QApplication::notify (this=0xbf813770, receiver=0xa413ce0, e=0xbf8133b0) at kernel/qapplication.cpp:3704 #27 0x0085642a in KApplication::notify (this=0xbf813770, receiver=0xa413ce0, event=0xbf8133b0) at ../../kdeui/kernel/kapplication.cpp:302 #28 0x00d92beb in QCoreApplication::notifyInternal (this=0xbf813770, receiver=0xa413ce0, event=0xbf8133b0) at kernel/qcoreapplication.cpp:704 #29 0x00dc1eb6 in QCoreApplication::sendEvent (this=0xa068c34) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #30 QTimerInfoList::activateTimers (this=0xa068c34) at kernel/qeventdispatcher_unix.cpp:603 #31 0x00dbeb14 in timerSourceDispatch (source=0xa068c00) at kernel/qeventdispatcher_glib.cpp:184 #32 0x01a9ee88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #33 0x01aa2730 in ?? () from /lib/libglib-2.0.so.0 #34 0x01aa2863 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #35 0x00dbe805 in QEventDispatcherGlib::processEvents (this=0xa0511f0, flags=...) at kernel/qeventdispatcher_glib.cpp:412 #36 0x0109db35 in QGuiEventDispatcherGlib::processEvents (this=0xa0511f0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #37 0x00d91209 in QEventLoop::processEvents (this=0xbf813674, flags=) at kernel/qeventloop.cpp:149 #38 0x00d9165a in QEventLoop::exec (this=0xbf813674, flags=...) at kernel/qeventloop.cpp:201 #39 0x00d9584f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #40 0x00fde467 in QApplication::exec () at kernel/qapplication.cpp:3579 #41 0x0804ef09 in main (argc=6, argv=0xbf813964) at ../../../okular/shell/main.cpp:82 Reported using DrKonqi Can you please attach the file that caused the crash to the bug report? Created attachment 42359 [details]
it's file that causes this crash
Tobias can you have a look? SVN commit 1109502 by tokoe: Ignore links to local anchors that do not exist in the document. BUG: 217135 M +3 -0 converter.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1109502 Wouldn't it be nice to backport this one? Tobias backported it |