You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version (or hash if on master) of pybind11 are you using?
1.12.0
Problem description
Restarting an embedded interpreter gives crash when importing a module the second time.
A breakpoint instruction (__debugbreak() statement or a similar call) was executed in test.exe.
Some modules, like 'sys' or 'os', work fine.
Reproducible example code
int main() {
py::initialize_interpreter();
py::module_::import("numpy"); //--> it works fine with modules like 'sys', 'os'.
py::finalize_interpreter();
py::initialize_interpreter();
py::module_::import("numpy"); //--> crash here
py::finalize_interpreter();
return 0;
}
Is this a regression? Put the last known working version here if it is.
Not aware if this is a regression
The text was updated successfully, but these errors were encountered:
Required prerequisites
What version (or hash if on master) of pybind11 are you using?
1.12.0
Problem description
Restarting an embedded interpreter gives crash when importing a module the second time.
A breakpoint instruction (__debugbreak() statement or a similar call) was executed in test.exe.
Some modules, like 'sys' or 'os', work fine.
Reproducible example code
Is this a regression? Put the last known working version here if it is.
Not aware if this is a regression
The text was updated successfully, but these errors were encountered: