https://bugs.kde.org/show_bug.cgi?id=436408
Bug ID: 436408 Summary: Okular crashes when opening docx file Product: okular Version: 21.04.0 Platform: openSUSE RPMs OS: Linux Status: REPORTED Keywords: drkonqi Severity: crash Priority: NOR Component: general Assignee: okular-de...@kde.org Reporter: sascha.gas...@gmx.de Target Milestone: --- Application: okular (21.04.0) Qt Version: 5.15.2 Frameworks Version: 5.81.0 Operating System: Linux 5.11.16-1-default x86_64 Windowing System: X11 Drkonqi Version: 5.21.4 Distribution: "openSUSE Tumbleweed" -- Information about the crash: - What I was doing when the application crashed: I clicked on a docx file in an other application and it tried to open it with Okular. I wonder if Okular has a buggy file type checking or no check at all when it tries to open a file. There are many bug reports related to this. E.g.: 426020 425725 417241 415261 408851 408818 406738 But this is only an assumption. The crash can be reproduced every time. -- Backtrace: Application: Okular (okular), signal: Segmentation fault Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7f25b88f3880 (LWP 506243))] [KCrash Handler] #6 0x00007f25b445f990 in Okular::Generator::image (this=<optimized out>, request=0x7f25b445fb00 <Okular::Generator::layersModel() const>) at /usr/src/debug/okular-21.04.0-1.1.x86_64/core/generator.cpp:330 #7 0x00007f25b464763a in Layers::notifySetup (this=0x565370bcf290) at /usr/src/debug/okular-21.04.0-1.1.x86_64/part/layers.cpp:63 #8 0x00007f25b4441a32 in Okular::Document::openDocument (this=this@entry=0x565370777a00, docFile=..., url=..., _mime=..., password=...) at /usr/src/debug/okular-21.04.0-1.1.x86_64/core/document.cpp:2412 #9 0x00007f25b45aacc5 in Okular::Part::doOpenFile (this=this@entry=0x5653707720d0, mimeA=..., fileNameToOpenA=..., isCompressedFile=isCompressedFile@entry=0x7ffef36101d7) at /usr/src/debug/okular-21.04.0-1.1.x86_64/part/part.cpp:1391 #10 0x00007f25b45ad4fb in Okular::Part::openFile (this=0x5653707720d0) at /usr/src/debug/okular-21.04.0-1.1.x86_64/part/part.cpp:1509 #11 0x00007f25bc6a4105 in KParts::ReadOnlyPartPrivate::openLocalFile (this=this@entry=0x565370642f70) at /usr/src/debug/kparts-5.81.0-1.2.x86_64/src/readonlypart.cpp:180 #12 0x00007f25bc6a843f in KParts::ReadOnlyPart::openUrl (this=0x5653707720d0, url=...) at /usr/src/debug/kparts-5.81.0-1.2.x86_64/src/readonlypart.cpp:141 #13 0x00007f25b45ab8c3 in Okular::Part::openUrl (this=<optimized out>, _url=..., swapInsteadOfOpening=<optimized out>) at /usr/src/debug/okular-21.04.0-1.1.x86_64/part/part.cpp:1741 #14 0x000056536eb8843d in Shell::openUrl (this=<optimized out>, url=..., serializedOptions=...) at /usr/src/debug/okular-21.04.0-1.1.x86_64/shell/shell.cpp:289 #15 0x000056536eb8d72e in Shell::openDocument (this=0x56537076f5a0, url=..., serializedOptions=...) at /usr/src/debug/okular-21.04.0-1.1.x86_64/shell/shell.cpp:240 #16 0x000056536eb84abe in Shell::openDocument (serializedOptions=..., url=..., this=0x56537076f5a0) at /usr/src/debug/okular-21.04.0-1.1.x86_64/shell/okular_main.cpp:165 #17 Okular::main (serializedOptions=..., paths=...) at /usr/src/debug/okular-21.04.0-1.1.x86_64/shell/okular_main.cpp:166 #18 main (argc=<optimized out>, argv=0x7ffef3610760) at /usr/src/debug/okular-21.04.0-1.1.x86_64/shell/main.cpp:95 [Inferior 1 (process 506243) detached] Possible duplicates by query: bug 435462, bug 433909, bug 426020, bug 425725, bug 421603. Reported using DrKonqi -- You are receiving this mail because: You are watching all bug changes.