Summary: | Program okular crashed opening a file with diacritic | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Ales Kastner <alkas> |
Component: | general | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | aacid, oliver.sander |
Priority: | NOR | Keywords: | drkonqi |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | Test file for okular program. |
Description
Ales Kastner
2015-04-13 08:20:51 UTC
Please attach the file. Created attachment 92005 [details]
Test file for okular program.
last char is diacritic "s caron". No newline added.
Here is the backtrace, generated with the current git master: Application: Okular (okular), signal: Segmentation fault Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [KCrash Handler] #6 0x00007f39bb33de51 in QTextCodec::toUnicode(QByteArray const&) const () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4 #7 0x00007f39a72cad6f in Txt::Document::toUnicode (this=this@entry=0x24f3970, array=...) at /home/sander/okular/generators/txt/document.cpp:70 #8 0x00007f39a72cb1a6 in Txt::Document::Document (this=0x24f3970, fileName=...) at /home/sander/okular/generators/txt/document.cpp:36 #9 0x00007f39a72cabfb in Txt::Converter::convert (this=0x2141250, fileName=...) at /home/sander/okular/generators/txt/converter.cpp:28 #10 0x00007f39ac0dd752 in Okular::TextDocumentConverter::convertWithPassword (this=0x2141250, fileName=...) at /home/sander/okular/core/textdocumentgenerator.cpp:55 #11 0x00007f39ac0df302 in Okular::TextDocumentGenerator::loadDocumentWithPassword (this=<optimized out>, fileName=..., pagesVector=..., password=...) at /home/sander/okular/core/textdocumentgenerator.cpp:299 #12 0x00007f39ac0c7416 in Okular::DocumentPrivate::openDocumentInternal (this=0x21d3760, offer=..., isstdin=isstdin@entry=false, docFile=..., filedata=..., password=...) at /home/sander/okular/core/document.cpp:948 #13 0x00007f39ac0c7d4d in Okular::Document::openDocument (this=0x21b1000, docFile=..., url=..., _mime=..., password=...) at /home/sander/okular/core/document.cpp:2361 #14 0x00007f39ac39f393 in Okular::Part::doOpenFile (this=0x21a4680, mimeA=..., fileNameToOpenA=..., isCompressedFile=<optimized out>) at /home/sander/okular/part.cpp:1243 #15 0x00007f39ac3a139f in Okular::Part::openFile (this=0x21a6448) at /home/sander/okular/part.cpp:1366 #16 0x00007f39be0ee73a in ?? () from /usr/lib/libkparts.so.4 #17 0x00007f39be0f0b76 in KParts::ReadOnlyPart::openUrl(KUrl const&) () from /usr/lib/libkparts.so.4 #18 0x00007f39ac39669b in Okular::Part::openUrl (this=0x21a4680, _url=...) at /home/sander/okular/part.cpp:1519 #19 0x000000000040ea66 in Shell::openUrl (this=this@entry=0x20fce70, url=..., serializedOptions=...) at /home/sander/okular/shell/shell.cpp:235 #20 0x000000000040ecd1 in Shell::openDocument (this=this@entry=0x20fce70, url=..., serializedOptions=...) at /home/sander/okular/shell/shell.cpp:181 #21 0x0000000000409b76 in Okular::main (paths=..., serializedOptions=...) at /home/sander/okular/shell/okular_main.cpp:169 #22 0x00000000004094e2 in main (argc=<optimized out>, argv=<optimized out>) at /home/sander/okular/shell/main.cpp:51 This was a bug in kdelibs, will be fixed in next kdelibs release. (after the bugfix, the text still doesn't show, that's bug 334733) |