[okular] [Bug 426020] New: Okular crashes when attempting to open .cbr files

Ben Schröder bugzilla_noreply at kde.org
Mon Aug 31 15:19:33 BST 2020


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

            Bug ID: 426020
           Summary: Okular crashes when attempting to open .cbr files
           Product: okular
           Version: 1.11.0
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: ben.schroeder at protonmail.com
  Target Milestone: ---

Application: okular (1.11.0)

Qt Version: 5.15.0
Frameworks Version: 5.73.0
Operating System: Linux 5.8.2-1-default x86_64
Windowing system: X11
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed: Trying to open a file in the
.cbr (comic book) format.

- Unusual behavior I noticed: The application opens for a second but doesn't
display any content, then crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f0f20d1434c in QString::size (this=<optimized out>) at
../../include/QtCore/../../src/corelib/text/qstring.h:277
#5  QStringView::QStringView<QString, true> (str=..., this=<optimized out>) at
../../include/QtCore/../../src/corelib/text/qstringview.h:210
#6  QString::endsWith (this=<optimized out>, c=c at entry=...,
cs=cs at entry=Qt::CaseSensitive) at text/qstring.cpp:5105
#7  0x00007f0f14030b6a in Unrar::list (this=<optimized out>) at
/usr/include/qt5/QtCore/qchar.h:102
#8  ComicBook::Document::open (this=this at entry=0x55bcc7d19be8, fileName=...) at
/usr/src/debug/okular-20.08.0-1.2.x86_64/generators/comicbook/document.cpp:119
#9  0x00007f0f14031ad9 in ComicBookGenerator::loadDocument
(this=0x55bcc7d19bd0, fileName=..., pagesVector=...) at
/usr/src/debug/okular-20.08.0-1.2.x86_64/generators/comicbook/generator_comicbook.cpp:40
#10 0x00007f0f160a62b6 in Okular::Generator::loadDocumentWithPassword
(this=<optimized out>, fileName=..., pagesVector=...) at
/usr/src/debug/okular-20.08.0-1.2.x86_64/core/generator.cpp:204
#11 0x00007f0f1607ab1e in Okular::DocumentPrivate::openDocumentInternal
(this=0x55bcc7655f00, offer=..., isstdin=<optimized out>, docFile=...,
filedata=..., password=...) at
/usr/src/debug/okular-20.08.0-1.2.x86_64/core/document.cpp:894
#12 0x00007f0f160874bb in Okular::Document::openDocument
(this=this at entry=0x55bcc7652160, docFile=..., url=..., _mime=..., password=...)
at /usr/src/debug/okular-20.08.0-1.2.x86_64/core/document.cpp:2340
#13 0x00007f0f161eaca5 in Okular::Part::doOpenFile
(this=this at entry=0x55bcc7623fd0, mimeA=..., fileNameToOpenA=...,
isCompressedFile=isCompressedFile at entry=0x7fffe29274e7) at
/usr/src/debug/okular-20.08.0-1.2.x86_64/part.cpp:1372
#14 0x00007f0f161eb993 in Okular::Part::openFile (this=0x55bcc7623fd0) at
/usr/src/debug/okular-20.08.0-1.2.x86_64/part.cpp:1488
#15 0x00007f0f225b48a5 in KParts::ReadOnlyPartPrivate::openLocalFile
(this=this at entry=0x55bcc761f010) at
/usr/src/debug/kparts-5.73.0-1.2.x86_64/src/readonlypart.cpp:190
#16 0x00007f0f225b9327 in KParts::ReadOnlyPart::openUrl (this=0x55bcc7623fd0,
url=...) at /usr/src/debug/kparts-5.73.0-1.2.x86_64/src/readonlypart.cpp:152
#17 0x00007f0f161e908e in Okular::Part::openUrl (this=0x55bcc7623fd0, _url=...,
swapInsteadOfOpening=<optimized out>) at
/usr/src/debug/okular-20.08.0-1.2.x86_64/part.cpp:1675
#18 0x000055bcc6d3f27d in Shell::openUrl (this=<optimized out>, url=...,
serializedOptions=...) at
/usr/src/debug/okular-20.08.0-1.2.x86_64/shell/shell.cpp:271
#19 0x000055bcc6d4185b in Shell::openDocument (this=0x55bcc75f6600, url=...,
serializedOptions=...) at
/usr/src/debug/okular-20.08.0-1.2.x86_64/shell/shell.cpp:222
#20 0x000055bcc6d39a3e in Shell::openDocument (serializedOptions=..., url=...,
this=0x55bcc75f6600) at
/usr/src/debug/okular-20.08.0-1.2.x86_64/shell/okular_main.cpp:162
#21 Okular::main (serializedOptions=..., paths=...) at
/usr/src/debug/okular-20.08.0-1.2.x86_64/shell/okular_main.cpp:166
#22 main (argc=<optimized out>, argv=0x7fffe2927a40) at
/usr/src/debug/okular-20.08.0-1.2.x86_64/shell/main.cpp:97
[Inferior 1 (process 28740) detached]

Possible duplicates by query: bug 421857, bug 358035, bug 357345, bug 355792,
bug 355111.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list