SUMMARY Kate (latest flatpak to this date) crashed with this assert: ASSERT: "position.column() <= text.size()" in file src/buffer/katetextblock.cpp, line 82 STEPS TO REPRODUCE Unfortunately, I haven't managed to reproduce. It happened while I was typing, presumably I was hitting the enter key. I was editing a JSX file with auto indentation on. Static wrapping / return is not enabled. OBSERVED RESULT Crash EXPECTED RESULT No crash SOFTWARE/OS VERSIONS Linux/KDE Plasma: Debian Buster, using the Kate Flatpak so I'm going to give the versions given in the Kate about dialog Flatpak package version: 20.12.2, master, x86_64, kdeapps KDE Plasma Version: N/A KDE Frameworks Version: 5.78 Qt Version: 5.15.2, xcb Kate version: 21.03.70 ADDITIONAL INFORMATION Using the latest master Flapak from kdeapps
I would love this fix this, but I would need some backtrace at least.
Sure. Do you happen to know how to make the Flatpak version of Kate produce a core dump or make it drop to GDB when this assert is broken? It does not seem to happen frequently, I haven't been able to reproduce it yet.
I must confess, my knowledge about the runtime of Flatpak is close to zero. Perhaps the normal core dump limits apply to them? (and I think on modern systems, the systemd service for core dumps must be configured right)
Ok, I'll look at it and come back to you if I ever get "so lucky" that I succeed in reproducing the bug and have a dump. I'll try to see if a trace was logged on the machine on which it happened.
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!