Application: okular (1.11.0) Qt Version: 5.14.2 Frameworks Version: 5.73.0 Operating System: Linux 5.4.0-42-generic x86_64 Windowing system: X11 Distribution: KDE neon User Edition 5.19 -- Information about the crash: - What I was doing when the application crashed: I pressed click with the mouse on an readme.md file within dolphin The crash can be reproduced every time. -- Backtrace: Application: Okular (okular), signal: Segmentation fault [KCrash Handler] #4 0x00007f0bdbc408a2 in __GI___libc_free (mem=<optimized out>) at malloc.c:3124 #5 0x00007f0bcc3af171 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #6 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #7 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #8 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #9 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #10 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #11 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #12 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #13 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #14 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #15 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #16 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #17 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #18 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #19 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #20 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #21 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #22 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #23 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #24 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #25 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #26 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #27 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #28 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #29 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #30 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #31 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #32 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #33 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #34 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #35 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #36 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #37 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #38 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #39 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #40 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #41 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #42 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #43 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #44 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #45 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #46 0x00007f0bcc3af155 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #47 0x00007f0bcc3af163 in ___mkd_freeParagraph () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #48 0x00007f0bcc3af4a7 in mkd_cleanup () from /usr/lib/x86_64-linux-gnu/libmarkdown.so.2 #49 0x00007f0bce6650c5 in Markdown::Converter::convertOpenFile (this=this@entry=0x563ec97b8110) at ./generators/markdown/converter.cpp:116 #50 0x00007f0bce665307 in Markdown::Converter::convert (this=0x563ec97b8110, fileName=...) at ./generators/markdown/converter.cpp:68 #51 0x00007f0bd4ac516a in Okular::TextDocumentConverter::convertWithPassword (this=0x563ec97b8110, fileName=...) at ./core/textdocumentgenerator.cpp:59 #52 0x00007f0bd4ac7329 in Okular::TextDocumentGenerator::loadDocumentWithPassword (this=<optimized out>, fileName=..., pagesVector=..., password=...) at ./core/textdocumentgenerator.cpp:295 #53 0x00007f0bd4a9ba7c in Okular::DocumentPrivate::openDocumentInternal (this=0x563ec8f4a570, offer=..., isstdin=isstdin@entry=false, docFile=..., filedata=..., password=...) at ./core/document.cpp:894 #54 0x00007f0bd4a9c1a3 in Okular::Document::openDocument (this=this@entry=0x563ec8f445e0, docFile=..., url=..., _mime=..., password=...) at ./core/document.cpp:2340 #55 0x00007f0bd4c23a15 in Okular::Part::doOpenFile (this=this@entry=0x563ec8eec380, mimeA=..., fileNameToOpenA=..., isCompressedFile=isCompressedFile@entry=0x7ffdeed23467) at ./part.cpp:1372 #56 0x00007f0bd4c249e9 in Okular::Part::openFile (this=0x563ec8eec380) at ./part.cpp:1488 #57 0x00007f0bddab00e1 in KParts::ReadOnlyPartPrivate::openLocalFile (this=this@entry=0x563ec8f1ad20) at ./src/readonlypart.cpp:189 #58 0x00007f0bddab107e in KParts::ReadOnlyPart::openUrl (this=this@entry=0x563ec8eec380, url=...) at ./src/readonlypart.cpp:152 #59 0x00007f0bd4c156a6 in Okular::Part::openUrl (this=0x563ec8eec380, _url=..., swapInsteadOfOpening=<optimized out>) at ./part.cpp:1675 #60 0x0000563ec8d1feeb in Shell::openUrl (this=0x563ec8f18ef0, url=..., serializedOptions=...) at ./shell/shell.cpp:271 #61 0x0000563ec8d20177 in Shell::openDocument (this=0x563ec8f18ef0, url=..., serializedOptions=...) at ./shell/shell.cpp:222 #62 0x0000563ec8d18050 in Okular::main (paths=..., serializedOptions=...) at ./shell/okular_main.cpp:166 #63 0x0000563ec8d17d2b in main (argc=<optimized out>, argv=<optimized out>) at ./shell/main.cpp:97 [Inferior 1 (process 39093) detached] Possible duplicates by query: bug 394640, bug 389385, bug 379497, bug 375933, bug 361408. Reported using DrKonqi
Created attachment 131133 [details] Here you find the Readme.md file, which caused the crash when opening with dolphin / okular
Created attachment 131134 [details] Here you find the Readme.md file, which caused the crash when opening with dolphin / okular This time with content auto-detect
Please take the second attachment and open it with the system handler. Same crash occurs.
Not much we can do on Okular's side, it's a bug in the markdown library we use, that even seems to have been fixed but still not part of a release. https://github.com/Orc/discount/issues/227