Tested on two different notebooks (one from a friend). Both Archlinux (3.18.2-2-ARCH #1 SMP PREEMPT Fri Jan 9 07:37:51 CET 2015 x86_64 GNU/Linux), 64 bit packages, running with a full KDE4 DE but kwrite (and four other programs) updated today to "Version 5.0.0 Unter KDE Frameworks 5.6.0" (according to help menu), package version 14.12.1-2. When run from a terminal with gdb attatched on another (root) terminal I get this: > Program received signal SIGSEGV, Segmentation fault. > 0x00007f1039bbc0f3 in ?? () from /usr/lib/libKF5Codecs.so.5 I also tried under another user account with more or less blank settings in a plain TWM X session: crashed too. On an older notebook (with 32 bit packages) it does NOT crash with the same packages. Not sure what else can be a difference. Kwrite did also crash when I tried to open a gpg encrypted file; it did not crash when I opened a mp3 (both tested on one machine). Reproducible: Always Steps to Reproduce: open this file https://josm.openstreetmap.de/josm-apt.key (yes, it is binary, but kwrite should not crash anyway). sha256sum josm-apt.key : c3bc91cb610068a58e6c623ed2dca5ce8704199107a90bc5a49a744839cdcd50 Actual Results: kwrite crashes (or kate, tried on one of the crashing machines) Expected Results: no crash but just the warning that this is a binary file
I fixed that in KCodecs last week: The fix will be shipped with KDE Frameworks 5.21. See: https://git.reviewboard.kde.org/r/127488/ *** This bug has been marked as a duplicate of bug 357341 ***
Thank you, Domnik, works now! :-)