Application: ark (21.08.1) Qt Version: 5.15.2 Frameworks Version: 5.86.0 Operating System: Linux 5.13.0-28-generic x86_64 Windowing System: X11 Drkonqi Version: 5.22.5 Distribution: Ubuntu 21.10 -- Information about the crash: - What I was doing when the application crashed: 1. Open an archive with a Markdown document using Ark 2. Double click on the document The crash can be reproduced every time. -- Backtrace: Application: Ark (ark), signal: Segmentation fault [KCrash Handler] #4 0x00007fc0258f2cdb in __GI___libc_free (mem=<optimized out>) at malloc.c:3277 #5 0x00007fc02648c126 in QHash<QTextCursorPrivate*, QHashDummyValue>::deleteNode (node=<optimized out>, this=0x55bd61330a68) at ../../include/QtCore/../../src/corelib/tools/qhash.h:583 #6 QHash<QTextCursorPrivate*, QHashDummyValue>::remove (akey=<synthetic pointer>: <optimized out>, this=0x55bd61330a68) at ../../include/QtCore/../../src/corelib/tools/qhash.h:824 #7 QSet<QTextCursorPrivate*>::remove (value=<synthetic pointer>: <optimized out>, this=0x55bd61330a68) at ../../include/QtCore/../../src/corelib/tools/qset.h:95 #8 QTextDocumentPrivate::removeCursor (c=<optimized out>, this=0x55bd61330970) at text/qtextdocument_p.h:281 #9 QTextCursorPrivate::~QTextCursorPrivate (this=<optimized out>, __in_chrg=<optimized out>) at text/qtextcursor.cpp:90 #10 0x00007fc02648dc73 in QSharedDataPointer<QTextCursorPrivate>::~QSharedDataPointer (this=<optimized out>, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qshareddata.h:93 #11 QSharedDataPointer<QTextCursorPrivate>::~QSharedDataPointer (this=<optimized out>, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qshareddata.h:93 #12 QTextCursor::~QTextCursor (this=<optimized out>, __in_chrg=<optimized out>) at text/qtextcursor.cpp:1132 #13 0x00007fc026449fae in QTextHtmlImporter::~QTextHtmlImporter (this=0x7ffc92770ae0, __in_chrg=<optimized out>) at text/qtextdocumentfragment_p.h:117 #14 QTextDocument::setHtml (this=this@entry=0x55bd614fb9d0, html=...) at text/qtextdocument.cpp:1273 #15 0x00007fc004017b66 in Markdown::Converter::convertOpenFile (this=this@entry=0x55bd614eedd0) at ./generators/markdown/converter.cpp:113 #16 0x00007fc004017de5 in Markdown::Converter::convert (this=0x55bd614eedd0, fileName=...) at ./generators/markdown/converter.cpp:68 #17 0x00007fc00c0ad05f in Okular::TextDocumentConverter::convertWithPassword (fileName=..., this=0x55bd614eedd0) at ./core/textdocumentgenerator.cpp:52 #18 Okular::TextDocumentGenerator::loadDocumentWithPassword (this=<optimized out>, fileName=..., pagesVector=..., password=...) at ./core/textdocumentgenerator.cpp:290 #19 0x00007fc00c06da90 in Okular::DocumentPrivate::openDocumentInternal (this=0x55bd60cf4e70, offer=..., isstdin=<optimized out>, docFile=..., filedata=..., password=...) at ./core/document.cpp:890 #20 0x00007fc00c07a2a3 in Okular::Document::openDocument (this=0x55bd61055d00, docFile=..., url=..., _mime=..., password=...) at ./core/document.cpp:2330 #21 0x00007fc004597795 in Okular::Part::doOpenFile(QMimeType const&, QString const&, bool*) () from /usr/lib/x86_64-linux-gnu/qt5/plugins/okularpart.so #22 0x00007fc00459a08b in Okular::Part::openFile() () from /usr/lib/x86_64-linux-gnu/qt5/plugins/okularpart.so #23 0x00007fc0276f1315 in KParts::ReadOnlyPartPrivate::openLocalFile (this=this@entry=0x55bd61036cd0) at ./src/readonlypart.cpp:180 #24 0x00007fc0276f5b97 in KParts::ReadOnlyPart::openUrl (this=0x55bd60c95e60, url=...) at ./src/readonlypart.cpp:141 #25 0x00007fc0045983cb in Okular::Part::openUrl(QUrl const&, bool) () from /usr/lib/x86_64-linux-gnu/qt5/plugins/okularpart.so #26 0x00007fc00cc76c2d in ArkViewer::viewInInternalViewer (mimeType=..., fileName=..., viewer=..., this=<optimized out>) at ./part/arkviewer.cpp:214 #27 ArkViewer::openInternalViewer (viewer=..., fileName=..., mimeType=...) at ./part/arkviewer.cpp:107 #28 0x00007fc00cc6b6fc in ArkViewer::view (fileName=...) at ./part/arkviewer.cpp:162 #29 Ark::Part::slotPreviewExtractedEntry (this=0x55bd60da7d10, job=0x7ffc92771820) at ./part/part.cpp:1081 #30 0x00007fc025f7173e in QObject::event (this=0x55bd60da7d10, e=0x7fbff0063570) at kernel/qobject.cpp:1314 #31 0x00007fc026a306b3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5 #32 0x00007fc025f4416a in QCoreApplication::notifyInternal2 (receiver=0x55bd60da7d10, event=0x7fbff0063570) at kernel/qcoreapplication.cpp:1063 #33 0x00007fc025f47257 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55bd607b5ec0) at kernel/qcoreapplication.cpp:1817 #34 0x00007fc025f9def7 in postEventSourceDispatch (s=0x55bd609202d0) at kernel/qeventdispatcher_glib.cpp:277 #35 0x00007fc0245298bb in g_main_dispatch (context=0x7fc01c005000) at ../../../glib/gmain.c:3337 #36 g_main_context_dispatch (context=0x7fc01c005000) at ../../../glib/gmain.c:4055 #37 0x00007fc02457cf08 in g_main_context_iterate.constprop.0 (context=context@entry=0x7fc01c005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4131 #38 0x00007fc024527003 in g_main_context_iteration (context=0x7fc01c005000, may_block=1) at ../../../glib/gmain.c:4196 #39 0x00007fc025f9d548 in QEventDispatcherGlib::processEvents (this=0x55bd609282b0, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #40 0x00007fc025f42a9b in QEventLoop::exec (this=this@entry=0x7ffc92771c50, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #41 0x00007fc025f4b024 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #42 0x000055bd5e9178ab in main (argc=<optimized out>, argv=0x7ffc92771dd0) at ./app/main.cpp:352 [Inferior 1 (process 30352) detached] Possible duplicates by query: bug 394640, bug 375933, bug 355147, bug 352700, bug 348923. Reported using DrKonqi
If you extract the file and open it with Okular it also crashes, right?
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!