tcsh's Char type is signed, but its input handling doesn't check for negative values, such as those created when non-ASCII characters are sign-extended. Attached is a patch that addresses the reported problem (tested on 18.04). Fixing the bigger issue of unsafe signed type promotion is left as an exercise for the reader.
** Patch added: "fix SIGSEGV when entering non-ASCII characters" https://bugs.launchpad.net/ubuntu/+source/tcsh/+bug/1745148/+attachment/5261279/+files/tcsh-6.20.00_non-ascii_input_segv.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1745148 Title: tcsh core dumps upon entering non-ascii characters (e.g., §) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/tcsh/+bug/1745148/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs