[issue47117] repl segfaults on non utf-8 input

2022-03-25 Thread Jon Åslund
Jon Åslund added the comment: very similar back trace too (gdb) run Starting program: /home/jon/.pyenv/versions/3.10.4/bin/python3.10 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Python 3.10.4 (main, Mar 2

[issue47117] repl segfaults on non utf-8 input

2022-03-25 Thread Jon Åslund
Jon Åslund added the comment: Yes. I think they are the same. I can reproduce the emoji crash. This is much easier to reproduce. No need to have a Swedish keyboard layout. 1. Copy _😀 2. Start python with a non unicode locale. LC_ALL=C python3.10 3. Paste in _😀 4. Press backspace once. It

[issue47117] repl segfaults on non utf-8 input

2022-03-25 Thread Jon Åslund
New submission from Jon Åslund : Some bytes that are non utf-8 segfaults python repl in 3.10 and later on linux. Example: $ python3.10 Python 3.10.4 (main, Mar 24 2022, 14:20:44) [GCC 9.4.0] on linux Type "help", "copyright", "credits" or "license"