-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Closed
Labels
3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixestype-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump
Description
Crash report
What happened?
Using 3.13b4 and main (5592399):
$ Programs/_testembed test_repeated_init_exec 'import ssl'
--- Loop #1 ---
--- Loop #2 ---
Segmentation fault (core dumped)
Using 3.12:
$ Programs/_testembed test_repeated_init_exec 'import ssl'
--- Loop #1 ---
--- Loop #2 ---
_testembed: Python/getargs.c:2052: parser_init: Assertion `parser->kwtuple != NULL' failed.
Aborted (core dumped)
The 3.12 output implies a problem related to argument clinic and the kwarg names tuple that gets cached.
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Output from running 'python -VV' on the command line:
No response
Linked PRs
- gh-122334: Fix crash when importing ssl after re-initialization #122481
- [3.12] gh-122334: Fix crash when importing ssl after re-initialization (GH-122481) #122495
- [3.13] gh-122334: Fix crash when importing ssl after re-initialization (GH-122481) #122614
- gh-122334: Fix test_embed failure when missing _ssl module #122630
- [3.13] gh-122334: Fix test_embed failure when missing _ssl module (GH-122630) #122647
- [3.12] gh-122334: Fix test_embed failure when missing _ssl module (GH-122630) #122648
Metadata
Metadata
Assignees
Labels
3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixestype-crashA hard crash of the interpreter, possibly with a core dumpA hard crash of the interpreter, possibly with a core dump