Bug 437015 - konsole crashes on non-BMP characters, esp plane 14
Summary: konsole crashes on non-BMP characters, esp plane 14
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Other
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-13 08:06 UTC by Thomas Wolff
Modified: 2021-06-16 16:28 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
non-BMP characters (87.58 KB, application/x-zip-compressed)
2021-05-13 08:06 UTC, Thomas Wolff
Details

Note You need to log in before you can comment on or make changes to this bug.
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