GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Cannot safely Py_EndInterpreter in 3.14b1 · Issue #134144 · python/cpython Closed Labels 3.14bugs and security fixesbugs and security fixes3.15bugs and security fixesbugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)topic-subinterpreterstype-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump DescriptionCrash reportWhat happened?Stack trace: (note the address passed to tstate_delete_common is definitely corrupt, and not the address of any PyThreadState created in this program) This was triggered by creating a new PyThreeadState for the interpreter, switching to it, deleting an old thread state for the same interpreter, and then calling Py_EndInterpreter (on the new thread state). repro.c: #include <Python.h> int main() { Py_Initialize(); PyThreadState *orig = NULL; PyInterpreterConfig cfg = _PyInterpreterConfig_INIT; Py_NewInterpreterFromConfig(&orig, &cfg); PyThreadState *temp = PyThreadState_New(orig->interp); PyThreadState_Swap(temp); PyThreadState_Clear(orig); PyThreadState_Delete(orig); Py_EndInterpreter(temp); Py_Finalize(); } Compiled with CPython versions tested on:3.14 Operating systems tested on:Linux Output from running 'python -VV' on the command line:Python 3.14.0b1 (main, May 8 2025, 08:57:13) [GCC 13.3.0] Linked PRsActivity
MetadataMetadataAssigneesLabels3.14bugs and security fixesbugs and security fixes3.15bugs and security fixesbugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)topic-subinterpreterstype-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump Projects
MilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |