[BUG]: Segmentation fault on Python finalization with PYBIND11_HAS_SUBINTERPRETER_SUPPORT
on Python 3.12d
#5687
Labels
triage
New bug, unverified
Uh oh!
There was an error while loading. Please reload this page.
Required prerequisites
What version (or hash if on master) of pybind11 are you using?
master @ 98bd78f
Problem description
Building with Python 3.12+ will automatically enable subinterpreter support after #5564.
While testing with Python 3.12 with
Py_DEBUG
enabled, a segmentation fault will be raised on Python finalization:Reproducible example code
Is this a regression? Put the last known working version here if it is.
Not a regression
The text was updated successfully, but these errors were encountered: