[Okular-devel] [okular] [Bug 346129] New: Program okular crashed opening a file with diacritic

Ales Kastner alkas at volny.cz
Mon Apr 13 08:20:51 UTC 2015


https://bugs.kde.org/show_bug.cgi?id=346129

            Bug ID: 346129
           Summary: Program okular crashed opening a file with diacritic
           Product: okular
           Version: unspecified
          Platform: openSUSE RPMs
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: alkas at volny.cz

Application: okular (0.21.3)
KDE Platform Version: 4.14.6
Qt Version: 4.8.6
Operating System: Linux 3.16.7-7-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
I tried to open file containing 4 chars only, my given name: Aleš
The last character is "s" with caron 1250 codepage coded as hex 9A

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff0944597c0 (LWP 10780))]

Thread 3 (Thread 0x7ff07e295700 (LWP 10785)):
#0  0x00007ff09144cc3d in poll () from /lib64/libc.so.6
#1  0x00007ff08de55be4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ff08de55f0a in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ff0875c6946 in ?? () from /usr/lib64/libgio-2.0.so.0
#4  0x00007ff08de7ab85 in ?? () from /usr/lib64/libglib-2.0.so.0
#5  0x00007ff08f37f0a4 in start_thread () from /lib64/libpthread.so.0
#6  0x00007ff09145506d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7ff07da94700 (LWP 10786)):
#0  0x00007ff08de97904 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007ff08de55620 in g_main_context_check () from
/usr/lib64/libglib-2.0.so.0
#2  0x00007ff08de55b7b in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007ff08de55cec in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#4  0x00007ff08de55d29 in ?? () from /usr/lib64/libglib-2.0.so.0
#5  0x00007ff08de7ab85 in ?? () from /usr/lib64/libglib-2.0.so.0
#6  0x00007ff08f37f0a4 in start_thread () from /lib64/libpthread.so.0
#7  0x00007ff09145506d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7ff0944597c0 (LWP 10780)):
[KCrash Handler]
#6  QTextCodec::toUnicode (this=0x0, a=...) at codecs/qtextcodec.cpp:1395
#7  0x00007ff06bece15f in Txt::Document::toUnicode (this=this at entry=0x202b090,
array=...) at /usr/src/debug/okular-14.12.3/generators/txt/document.cpp:70
#8  0x00007ff06bece3f1 in Txt::Document::Document (this=0x202b090,
fileName=...) at /usr/src/debug/okular-14.12.3/generators/txt/document.cpp:36
#9  0x00007ff06becdfeb in Txt::Converter::convert (this=0x1e3f7b0,
fileName=...) at /usr/src/debug/okular-14.12.3/generators/txt/converter.cpp:28
#10 0x00007ff06f86b2af in Okular::TextDocumentConverter::convertWithPassword
(this=0x1e3f7b0, fileName=...) at
/usr/src/debug/okular-14.12.3/core/textdocumentgenerator.cpp:55
#11 0x00007ff06f86d1d2 in
Okular::TextDocumentGenerator::loadDocumentWithPassword (this=<optimized out>,
fileName=..., pagesVector=..., password=...) at
/usr/src/debug/okular-14.12.3/core/textdocumentgenerator.cpp:299
#12 0x00007ff06f8556d5 in Okular::DocumentPrivate::openDocumentInternal
(this=0x1ea32e0, offer=..., isstdin=isstdin at entry=false, docFile=...,
filedata=..., password=...) at
/usr/src/debug/okular-14.12.3/core/document.cpp:948
#13 0x00007ff06f855c1c in Okular::Document::openDocument (this=<optimized out>,
docFile=..., url=..., _mime=..., password=...) at
/usr/src/debug/okular-14.12.3/core/document.cpp:2357
#14 0x00007ff06fb2dd83 in Okular::Part::doOpenFile (this=this at entry=0x1e75330,
mimeA=..., fileNameToOpenA=...,
isCompressedFile=isCompressedFile at entry=0x7fff3705e68f) at
/usr/src/debug/okular-14.12.3/part.cpp:1242
#15 0x00007ff06fb2f08d in Okular::Part::openFile (this=0x1e75330) at
/usr/src/debug/okular-14.12.3/part.cpp:1365
#16 0x00007ff0940610b7 in KParts::ReadOnlyPartPrivate::openLocalFile
(this=this at entry=0x1e73b50) at
/usr/src/debug/kdelibs-4.14.6/kparts/part.cpp:591
#17 0x00007ff09406269e in KParts::ReadOnlyPart::openUrl
(this=this at entry=0x1e75330, url=...) at
/usr/src/debug/kdelibs-4.14.6/kparts/part.cpp:555
#18 0x00007ff06fb2416b in Okular::Part::openUrl (this=0x1e75330, _url=...) at
/usr/src/debug/okular-14.12.3/part.cpp:1518
#19 0x000000000040fe16 in Shell::openUrl (this=this at entry=0x1e54e50, url=...,
serializedOptions=...) at /usr/src/debug/okular-14.12.3/shell/shell.cpp:235
#20 0x00000000004100e9 in Shell::openDocument (this=this at entry=0x1e54e50,
url=..., serializedOptions=...) at
/usr/src/debug/okular-14.12.3/shell/shell.cpp:181
#21 0x000000000040ac30 in Okular::main (paths=..., serializedOptions=...) at
/usr/src/debug/okular-14.12.3/shell/okular_main.cpp:169
#22 0x000000000040a592 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/okular-14.12.3/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