-
-
Notifications
You must be signed in to change notification settings - Fork 37.4k
Segfault in bytes.join for mutating list #158803
Copy link
Copy link
Open
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump
Description
Activity
Metadata
Metadata
Assignees
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump
Crash report
In the FT build
bytes.joincan crash on a mutating list.The issue seems to be on line
cpython/Objects/stringlib/join.h
Line 63 in 9d22a53
A solution could be to add a
Py_BEGIN_CRITICAL_SECTION_SEQUENCE_FASTlike in #119315#119315
CPython versions tested on:
CPython main branch
Operating systems tested on:
Windows
Output from running 'python -VV' on the command line:
No response