Bug 355765 - Crash opening epub
Summary: Crash opening epub
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.22.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: drkonqi, triaged
Depends on:
Blocks:
 
Reported: 2015-11-23 00:47 UTC by Kerry N
Modified: 2018-10-27 02:24 UTC (History)
1 user (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 Kerry N 2015-11-23 00:47:37 UTC
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@entry=0x7ffd575124e0, image=image@entry=0x7ffd57512480) at image/qimagereader.cpp:1185
#17 0x00007f810d93fa64 in QImageReader::read() (this=this@entry=0x7ffd575124e0) at image/qimagereader.cpp:1155
#18 0x00007f810d93a985 in QImage::fromData(unsigned char const*, int, char const*) (data=<optimized out>, size=size@entry=-1, format=format@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@entry=0x556e7b794520, type=type@entry=2, name=...) at text/qtextdocument.cpp:1919
#21 0x00007f810db3a9dc in getPixmap(QTextDocument*, QTextImageFormat const&) (doc=doc@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@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@entry=0x556e7b265060, bl=..., blockPosition=blockPosition@entry=437, blockFormat=..., layoutStruct=layoutStruct@entry=0x7ffd57513170, layoutFrom=layoutFrom@entry=437, layoutTo=439, previousBlockFormat=0x7ffd57512ed0) at text/qtextdocumentlayout.cpp:2629
#29 0x00007f810db27a29 in QTextDocumentLayoutPrivate::layoutFlow(QTextFrame::iterator, QTextLayoutStruct*, int, int, QFixed) (this=this@entry=0x556e7b265060, it=..., layoutStruct=layoutStruct@entry=0x7ffd57513170, layoutFrom=layoutFrom@entry=437, layoutTo=layoutTo@entry=439, width=..., width@entry=...) at text/qtextdocumentlayout.cpp:2415
#30 0x00007f810db26739 in QTextDocumentLayoutPrivate::layoutFrame(QTextFrame*, int, int, QFixed, QFixed, QFixed) (this=this@entry=0x556e7b265060, f=f@entry=0x556e7b265aa0, layoutFrom=layoutFrom@entry=437, layoutTo=layoutTo@entry=439, frameWidth=..., frameWidth@entry=..., frameHeight=..., parentY=...) at text/qtextdocumentlayout.cpp:2156
#31 0x00007f810db26c91 in QTextDocumentLayoutPrivate::layoutFrame(QTextFrame*, int, int, QFixed) (this=this@entry=0x556e7b265060, f=f@entry=0x556e7b265aa0, layoutFrom=layoutFrom@entry=437, layoutTo=layoutTo@entry=439, parentY=..., parentY@entry=...) at text/qtextdocumentlayout.cpp:2062
#32 0x00007f810db29018 in QTextDocumentLayout::doLayout(int, int, int) (this=this@entry=0x556e7b650680, from=from@entry=437, oldLength=oldLength@entry=0, length=length@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@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@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@entry=0x556e7b35f840, mimeA=..., fileNameToOpenA=..., isCompressedFile=isCompressedFile@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@entry=0x556e7b35fb20) at ../../kparts/part.cpp:591
#47 0x00007f810f70ddcd in KParts::ReadOnlyPart::openUrl(KUrl const&) (this=this@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@entry=0x556e7b2f1270, url=..., serializedOptions=...) at ../../shell/shell.cpp:240
#50 0x0000556e7a7c1485 in Shell::openDocument(QString const&, QString const&) (this=this@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
Comment 1 Albert Astals Cid 2015-11-23 21:56:54 UTC
Need the file
Comment 2 Andrew Crouthamel 2018-09-25 21:50:09 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Andrew Crouthamel 2018-10-27 02:24:52 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!