Bug 437015

Summary: konsole crashes on non-BMP characters, esp plane 14
Product: [Applications] konsole Reporter: Thomas Wolff <towo>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: crash CC: nate, ninjalj
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: non-BMP characters

Description Thomas Wolff 2021-05-13 08:06:22 UTC
Created attachment 138381 [details]
non-BMP characters

SUMMARY
When catting many non-BMP characters, or just some from plane 14 (U+E0000), konsole hangs or crashes.

STEPS TO REPRODUCE
1. cat plane2 (attached)
2. use sed to cat part before "Tags"
3. use sed to cat part from "Tags"

OBSERVED RESULT
2. hang, 1., 3. crash

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: cygwin
Comment 1 ninjalj 2021-06-16 16:28:22 UTC
Cannot reproduce the crash on Linux.

Before https://invent.kde.org/utilities/konsole/-/commit/5128781a824c26dc2746650fea0ae9f95861b9d8 , zcatting the attached file takes a long time. After that commit, it's fast.

Cygwin's konsole version is v17.12.3, which is ancient. All KDE packages in Cygwin are orphaned, see https://cygwin.com/cygwin-pkg-maint and https://cygwin.com/pipermail/cygwin-apps/2020-March/039877.html