Create new encrypted file from sample small text file. Run Kate, open new file. Kate dies, Complete output when kate is started in a terminal: Phonon::GStreamer::Backend: Failed to initialize GStreamer QTimeLine::start: already running Segmentation fault "About kate" info window shows: Version 15.12.3 Using: KDE Frameworks 5.20.0 Qt 5.5.1 (built against 5.5.1) The xcb windowing system Reproducible: Always Steps to Reproduce: 1.Create new encrypted file from sample small text file. 2.Run Kate, 3. open new file Actual Results: kate dies. When running from a terminal, output says "Phonon::GStreamer::Backend: Failed to initialize GStreamer QTimeLine::start: already running Segmentation fault " Expected Results: kate displays open file, probably read only, and complains about a binary file Tried a couple of small gpg files. Same result. Kate has not shown this behavior w/any other files. Normally I use kate to review any/all files, some very large, binary has never been a problem. But I only use kate two or three times a week for this purpose. Not a kate power user.
Created attachment 98598 [details] test file that crashes kate on opening I created couple of these using gpg. All crashed kate.
Autor: Dominik Haumann <dhaumann@kde.org> 2016-03-29 17:52:02 Eintragender: Dominik Haumann <dhaumann@kde.org> 2016-03-29 17:52:02 Eltern: 1e8b5370ddd2751d00ef823840077ae1562faf52 (fix crash due to uninitialized variable (bug #357341)) Kind: 1596261e68c2665f143e95e44dc666398761daed (Simplify code (qCount -> std::count, homegrown isprint -> QChar::isPrint)) Zweig: master, remotes/origin/master Folgt auf: v4.100.0-rc1 Vorgänger von: encoding detection: fix crash in wrong usage of isprint If the first characters was negative, we always hit a crash in the encoding detection. This patch fixes this. BUG: 357341 REVIEW: 127488 CHANGELOG: encoding detection: fix crash in wrong usage of isprint (bug #357341)
*** This bug has been marked as a duplicate of bug 357341 ***