[issue34919] Crash caused by certain characters in a string

2018-10-07 Thread cwickens


New submission from cwickens :

Clone the following repo and follow the repro steps described in the readme: 
https://github.com/oTree-org/py37bug

It seems that using certain non-ASCII characters in parts of a string crashes 
Python. In the README I listed the strings that are OK and those that crash.

Also attaching the repo.

--
components: Windows
files: py37bug-master.zip
messages: 327270
nosy: cwickens, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Crash caused by certain characters in a string
type: crash
versions: Python 3.7
Added file: https://bugs.python.org/file47856/py37bug-master.zip

___
Python tracker 
<https://bugs.python.org/issue34919>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34919] Crash caused by certain characters in a string

2018-10-12 Thread cwickens


cwickens  added the comment:

OK thank you for the explanations. It does indeed sound a lot like issue 34241. 
I will test as soon as I get a chance. Anyway, I am OK with this bug being 
closed.

--

___
Python tracker 
<https://bugs.python.org/issue34919>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34919] Crash caused by certain characters in a string

2018-10-13 Thread cwickens


cwickens  added the comment:

Actually I was mistaken: it does reproduce with 3.7.0 on MacOS. I just tried it 
again; I guess the first time I must have copied the problematic string 
incorrectly (as even changing by 1 char seems to affect whether it crashes).

Below is the crash report. Anyway, my next step will be to try with the 3.7.1 
RC. Though I guess I need to uninstall my existing 3.7 and I wonder how this 
will affect my existing projects and virtualenvs.

Process:   Python [558]
Path:  
/Library/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python
Identifier:Python
Version:   3.7.0 (3.7.0)
Code Type: X86-64 (Native)
Parent Process:bash [476]
Responsible:   Terminal [467]
User ID:   502

Date/Time: 2018-10-13 16:59:09.845 +0900
OS Version:Mac OS X 10.11.2 (15C50)
Report Version:11
Anonymous UUID:091D73EC-486B-5A63-9222-A9291F26FB6E


Time Awake Since Boot: 330 seconds

System Integrity Protection: enabled

Crashed Thread:0  Dispatch queue: com.apple.main-thread

Exception Type:EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:   EXC_I386_GPFLT

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   org.python.python   0x0001017f75aa pymalloc_alloc + 74
1   org.python.python   0x0001017f5493 _PyObject_Calloc + 35
2   org.python.python   0x0001017d1cdb PyList_New + 123
3   org.python.python   0x0001017d4758 list_subscript + 280
4   org.python.python   0x0001017a1068 PyObject_GetItem + 72
5   org.python.python   0x000101871514 
_PyEval_EvalFrameDefault + 4596
6   org.python.python   0x0001017ba1f0 
function_code_fastcall + 128
7   org.python.python   0x0001017b97e4 
_PyFunction_FastCallDict + 148
8   org.python.python   0x0001017bab4f 
_PyObject_FastCall_Prepend + 127
9   org.python.python   0x00010180ea00 slot_mp_subscript + 
160
10  org.python.python   0x0001017a1068 PyObject_GetItem + 72
11  org.python.python   0x000101871514 
_PyEval_EvalFrameDefault + 4596
12  org.python.python   0x00010187a096 
_PyEval_EvalCodeWithName + 2422
13  org.python.python   0x0001017b9d81 
_PyFunction_FastCallKeywords + 257
14  org.python.python   0x0001018795bb call_function + 795
15  org.python.python   0x000101876601 
_PyEval_EvalFrameDefault + 25313
16  org.python.python   0x0001017ba1f0 
function_code_fastcall + 128
17  org.python.python   0x0001018795bb call_function + 795
18  org.python.python   0x000101876601 
_PyEval_EvalFrameDefault + 25313
19  org.python.python   0x00010187a096 
_PyEval_EvalCodeWithName + 2422
20  org.python.python   0x0001017b9d81 
_PyFunction_FastCallKeywords + 257
21  org.python.python   0x0001018795bb call_function + 795
22  org.python.python   0x000101876601 
_PyEval_EvalFrameDefault + 25313
23  org.python.python   0x0001017ba1f0 
function_code_fastcall + 128
24  org.python.python   0x0001018795bb call_function + 795
25  org.python.python   0x000101876601 
_PyEval_EvalFrameDefault + 25313
26  org.python.python   0x00010187a096 
_PyEval_EvalCodeWithName + 2422
27  org.python.python   0x0001017b9d81 
_PyFunction_FastCallKeywords + 257
28  org.python.python   0x0001018795bb call_function + 795
29  org.python.python   0x000101876560 
_PyEval_EvalFrameDefault + 25152
30  org.python.python   0x00010187a096 
_PyEval_EvalCodeWithName + 2422
31  org.python.python   0x0001017b9d81 
_PyFunction_FastCallKeywords + 257
32  org.python.python   0x0001018795bb call_function + 795
33  org.python.python   0x000101876560 
_PyEval_EvalFrameDefault + 25152
34  org.python.python   0x0001017ba1f0 
function_code_fastcall + 128
35  org.python.python   0x0001018795bb call_function + 795
36  org.python.python   0x000101876601 
_PyEval_EvalFrameDefault + 25313
37  org.python.python   0x00010187a096 
_PyEval_EvalCodeWithName + 2422
38  org.python.python   0x0001017b9d81 
_PyFunction_FastCallKeywords + 257
39  org.python.python   0x0001018795bb call_function + 795
40  org.python.python   0x000101876560 
_PyEval_EvalFrameDefault + 25152
41  org.python.python   0x00010187a096 
_PyEval_EvalCodeWithName + 2422
42

[issue34919] Crash caused by certain characters in a string

2018-10-13 Thread cwickens


Change by cwickens :


--
components:  -Windows

___
Python tracker 
<https://bugs.python.org/issue34919>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com