https://bugs.kde.org/show_bug.cgi?id=498885
Bug ID: 498885 Summary: Klevernotes crashes with empty code block section Classification: Applications Product: KleverNotes Version: 1.1.0 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Markdown parser Assignee: schul9lo...@gmail.com Reporter: fe...@whiteley.ie Target Milestone: --- SUMMARY Application crashes if you create a backtick code area but don't yet paste in or type what you want. As soon as you insert the first of the three backticks for the closing excape it crashes with klevernotes: ./src/logic/parser/md4qt/poscache.h:139: void MD::PosCache<Trait>::insertInCache(const MD::details::PosRange<Trait>&, bool) [with Trait = MD::QStringTrait]: Assertion `item.isValidPos()' failed. Aborted (core dumped) STEPS TO REPRODUCE 1. Create a new Note 2. add 3 backticks, poress enter twice to leave a blank line 3. On the second blank line start your closing backticks. App will crash out losing the note changes. OBSERVED RESULT Crash EXPECTED RESULT Leave a empty code area where afterwards you can paste in the code block you wanted. SOFTWARE/OS VERSIONS Operating System: KDE neon 6.2 KDE Plasma Version: 6.2.5 KDE Frameworks Version: 6.10.0 Qt Version: 6.8.1 Kernel Version: 6.8.0-51-generic (64-bit) Graphics Platform: Wayland Processors: 24 × AMD Ryzen 9 5900X 12-Core Processor Memory: 62.7 GiB of RAM Graphics Processor: AMD Radeon RX 580 Series ADDITIONAL INFORMATION Package: klevernotes Version: 1.1.0-0zneon+24.04+noble+release+build4 -- You are receiving this mail because: You are watching all bug changes.