[issue47117] repl segfaults on non utf-8 input

2022-03-26 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Thanks for the report, Jon! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue47117] repl segfaults on non utf-8 input

2022-03-26 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 27ee43183437c473725eba00def0ea7647688926 by Pablo Galindo Salgado in branch '3.10': [3.10] bpo-47117: Don't crash if we fail to decode characters when the tokenizer buffers are uninitialized (GH-32129) (GH-32130)

[issue47117] repl segfaults on non utf-8 input

2022-03-26 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +30210 pull_request: https://github.com/python/cpython/pull/32130 ___ Python tracker ___

[issue47117] repl segfaults on non utf-8 input

2022-03-26 Thread miss-islington
miss-islington added the comment: New changeset 26cca8067bf5306e372c0e90036d832c5021fd90 by Pablo Galindo Salgado in branch 'main': bpo-47117: Don't crash if we fail to decode characters when the tokenizer buffers are uninitialized (GH-32129)

[issue47117] repl segfaults on non utf-8 input

2022-03-26 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Ah yes, we have been defeated by half an emoji :) -- ___ Python tracker ___ ___

[issue47117] repl segfaults on non utf-8 input

2022-03-26 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +30209 stage: -> patch review pull_request: https://github.com/python/cpython/pull/32129 ___ Python tracker

[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 24 2022,

[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 will

[issue47117] repl segfaults on non utf-8 input

2022-03-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This looks similar to https://bugs.python.org/issue46206 -- nosy: +pablogsal, xtreak ___ Python tracker ___

[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" for more information. >>> � Segmentation