[Okular-devel] [okular] [Bug 355765] New: Crash opening epub
Kerry N via KDE Bugzilla
bugzilla_noreply at kde.org
Mon Nov 23 00:47:37 UTC 2015
https://bugs.kde.org/show_bug.cgi?id=355765
Bug ID: 355765
Summary: Crash opening epub
Product: okular
Version: 0.22.2
Platform: Fedora RPMs
OS: Linux
Status: UNCONFIRMED
Keywords: drkonqi
Severity: crash
Priority: NOR
Component: general
Assignee: okular-devel at kde.org
Reporter: mothlight at fastmail.fm
Application: okular (0.22.2)
KDE Platform Version: 4.14.14
Qt Version: 4.8.7
Operating System: Linux 4.2.5-300.fc23.x86_64 x86_64
Distribution: "Fedora release 23 (Twenty Three)"
-- Information about the crash:
- What I was doing when the application crashed:
Opening a epub from the command line. Received crash before opening.
-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
84 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#6 0x00007f810b9b4db4 in __memcpy_sse2_unaligned () at
../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:153
#7 0x0000556e7b895990 in ()
#8 0x0000000100003c5b in ()
#9 0x0000000000045651 in ()
#10 0x00007ffd00000001 in ()
#11 0xffffffffffffffff in ()#12 0x00007ffd575121c0 in ()
#13 0x00007f80f8d59078 in QGifPlugin::capabilities(QIODevice*, QByteArray
const&) const (this=<optimized out>, device=0x7ffd575124f0, format=...) at
main.cpp:80
#14 0x00007f810d93d15a in createReadHandlerHelper(QIODevice*, QByteArray
const&, bool, bool) (device=0x7ffd575124f0, format=...,
autoDetectImageFormat=<optimized out>, ignoresFormatAndExtension=<optimized
out>) at image/qimagereader.cpp:393
#15 0x00007f810d93dfe5 in QImageReaderPrivate::initHandler()
(this=0x556e7b8ad830) at image/qimagereader.cpp:618
#16 0x00007f810d93f878 in QImageReader::read(QImage*)
(this=this at entry=0x7ffd575124e0, image=image at entry=0x7ffd57512480) at
image/qimagereader.cpp:1185
#17 0x00007f810d93fa64 in QImageReader::read() (this=this at entry=0x7ffd575124e0)
at image/qimagereader.cpp:1155
#18 0x00007f810d93a985 in QImage::fromData(unsigned char const*, int, char
const*) (data=<optimized out>, size=size at entry=-1, format=format at entry=0x0) at
image/qimage.cpp:5197
#19 0x00007f80eef88688 in Epub::EpubDocument::loadResource(int, QUrl const&)
(this=0x556e7b794520, type=<optimized out>, name=...) at
../../../generators/epub/epubdocument.cpp:92
#20 0x00007f810daf790f in QTextDocument::resource(int, QUrl const&) const
(this=this at entry=0x556e7b794520, type=type at entry=2, name=...) at
text/qtextdocument.cpp:1919
#21 0x00007f810db3a9dc in getPixmap(QTextDocument*, QTextImageFormat const&)
(doc=doc at entry=0x556e7b794520, format=...) at text/qtextimagehandler.cpp:67
#22 0x00007f810db3b455 in QTextImageHandler::intrinsicSize(QTextDocument*, int,
QTextFormat const&) (format=..., doc=0x556e7b794520) at
text/qtextimagehandler.cpp:108
#23 0x00007f810db3b455 in QTextImageHandler::intrinsicSize(QTextDocument*, int,
QTextFormat const&) (this=<optimized out>, doc=0x556e7b794520,
posInDocument=<optimized out>, format=...) at text/qtextimagehandler.cpp:215
#24 0x00007f810db1a9e1 in
QTextDocumentLayout::resizeInlineObject(QTextInlineObject, int, QTextFormat
const&) (this=<optimized out>, item=..., posInDocument=437, format=...) at
text/qtextdocumentlayout.cpp:2998
#25 0x00007f810dad63d8 in QTextEngine::shape(int) const (this=0x556e7bd2b030,
item=0) at text/qtextengine.cpp:1441
#26 0x00007f810dae7406 in QTextLine::layout_helper(int) (this=<optimized out>,
maxGlyphs=maxGlyphs at entry=2147483647) at text/qtextlayout.cpp:1761
#27 0x00007f810dae8066 in QTextLine::setLineWidth(double) (this=<optimized
out>, width=<optimized out>) at text/qtextlayout.cpp:1534
#28 0x00007f810db20785 in QTextDocumentLayoutPrivate::layoutBlock(QTextBlock
const&, int, QTextBlockFormat const&, QTextLayoutStruct*, int, int,
QTextBlockFormat const*) (this=this at entry=0x556e7b265060, bl=...,
blockPosition=blockPosition at entry=437, blockFormat=...,
layoutStruct=layoutStruct at entry=0x7ffd57513170,
layoutFrom=layoutFrom at entry=437, layoutTo=439,
previousBlockFormat=0x7ffd57512ed0) at text/qtextdocumentlayout.cpp:2629
#29 0x00007f810db27a29 in
QTextDocumentLayoutPrivate::layoutFlow(QTextFrame::iterator,
QTextLayoutStruct*, int, int, QFixed) (this=this at entry=0x556e7b265060, it=...,
layoutStruct=layoutStruct at entry=0x7ffd57513170,
layoutFrom=layoutFrom at entry=437, layoutTo=layoutTo at entry=439, width=...,
width at entry=...) at text/qtextdocumentlayout.cpp:2415
#30 0x00007f810db26739 in QTextDocumentLayoutPrivate::layoutFrame(QTextFrame*,
int, int, QFixed, QFixed, QFixed) (this=this at entry=0x556e7b265060,
f=f at entry=0x556e7b265aa0, layoutFrom=layoutFrom at entry=437,
layoutTo=layoutTo at entry=439, frameWidth=..., frameWidth at entry=...,
frameHeight=..., parentY=...) at text/qtextdocumentlayout.cpp:2156
#31 0x00007f810db26c91 in QTextDocumentLayoutPrivate::layoutFrame(QTextFrame*,
int, int, QFixed) (this=this at entry=0x556e7b265060, f=f at entry=0x556e7b265aa0,
layoutFrom=layoutFrom at entry=437, layoutTo=layoutTo at entry=439, parentY=...,
parentY at entry=...) at text/qtextdocumentlayout.cpp:2062
#32 0x00007f810db29018 in QTextDocumentLayout::doLayout(int, int, int)
(this=this at entry=0x556e7b650680, from=from at entry=437,
oldLength=oldLength at entry=0, length=length at entry=2) at
text/qtextdocumentlayout.cpp:2952
#33 0x00007f810db29cd5 in QTextDocumentLayout::documentChanged(int, int, int)
(this=0x556e7b650680, from=437, oldLength=0, length=2) at
text/qtextdocumentlayout.cpp:2915
#34 0x00007f810db08b16 in QTextDocumentPrivate::finishEdit()
(this=0x556e7b7a0ed0) at text/qtextdocument_p.cpp:1220
#35 0x00007f810db0985b in QTextDocumentPrivate::endEditBlock() (this=<optimized
out>) at text/qtextdocument_p.cpp:1201
#36 0x00007f810db0bf6e in QTextDocumentPrivate::endEditBlock() (this=<optimized
out>) at text/qtextdocument_p.cpp:1187
#37 0x00007f810db304a3 in QTextCursor::insertFragment(QTextDocumentFragment
const&) (this=0x556e7b7ab880, fragment=...) at text/qtextcursor.cpp:2246
#38 0x00007f810db3058f in QTextCursor::insertHtml(QString const&)
(this=this at entry=0x556e7b7ab880, html=...) at text/qtextcursor.cpp:2270
#39 0x00007f80eef85681 in Epub::Converter::convert(QString const&)
(this=0x556e7b786910, fileName=...) at
../../../generators/epub/converter.cpp:309
#40 0x00007f80f3349b82 in
Okular::TextDocumentConverter::convertWithPassword(QString const&, QString
const&) (this=0x556e7b786910, fileName=...) at
../core/textdocumentgenerator.cpp:55
#41 0x00007f80f334b9c2 in
Okular::TextDocumentGenerator::loadDocumentWithPassword(QString const&,
QVector<Okular::Page*>&, QString const&) (this=<optimized out>, fileName=...,
pagesVector=..., password=...) at ../core/textdocumentgenerator.cpp:299
#42 0x00007f80f3332a7e in
Okular::DocumentPrivate::openDocumentInternal(KSharedPtr<KService> const&,
bool, QString const&, QByteArray const&, QString const&) (this=0x556e7b4e1b90,
offer=..., isstdin=isstdin at entry=false, docFile=..., filedata=...,
password=...) at ../core/document.cpp:948
#43 0x00007f80f3333371 in Okular::Document::openDocument(QString const&, KUrl
const&, KSharedPtr<KMimeType> const&, QString const&) (this=0x556e7b362770,
docFile=..., url=..., _mime=..., password=...) at ../core/document.cpp:2361
#44 0x00007f80f360f91d in Okular::Part::doOpenFile(KSharedPtr<KMimeType>
const&, QString const&, bool*) (this=this at entry=0x556e7b35f840, mimeA=...,
fileNameToOpenA=..., isCompressedFile=isCompressedFile at entry=0x7ffd57513c6f) at
../part.cpp:1242
#45 0x00007f80f36111c3 in Okular::Part::openFile() (this=0x556e7b35f840) at
../part.cpp:1365
#46 0x00007f810f70b4f4 in KParts::ReadOnlyPartPrivate::openLocalFile()
(this=this at entry=0x556e7b35fb20) at ../../kparts/part.cpp:591
#47 0x00007f810f70ddcd in KParts::ReadOnlyPart::openUrl(KUrl const&)
(this=this at entry=0x556e7b35f840, url=...) at ../../kparts/part.cpp:555
#48 0x00007f80f3607d6b in Okular::Part::openUrl(KUrl const&)
(this=0x556e7b35f840, _url=...) at ../part.cpp:1518
#49 0x0000556e7a7c124a in Shell::openUrl(KUrl const&, QString const&)
(this=this at entry=0x556e7b2f1270, url=..., serializedOptions=...) at
../../shell/shell.cpp:240
#50 0x0000556e7a7c1485 in Shell::openDocument(QString const&, QString const&)
(this=this at entry=0x556e7b2f1270, url=..., serializedOptions=...) at
../../shell/shell.cpp:186
#51 0x0000556e7a7bc710 in Okular::main(QStringList const&, QString const&)
(paths=..., serializedOptions=...) at ../../shell/okular_main.cpp:169
#52 0x0000556e7a7bb426 in main(int, char**) (argc=<optimized out>,
argv=<optimized out>) at ../../shell/main.cpp:51
Reported using DrKonqi
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list