This repository was archived by the owner on Nov 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
SIGSEGV on exit #52
Comments
Fixed the Stop function to cleanup after itself, but here's another weird stack trace (with optimizations disabled):
|
Hm, this seems vaguely related as well: pybind/pybind11#1595 |
Ok, so the problem is almost certainly related to the way that WPI::SafeThread destruction occurs and how pybind11 expects destruction to occur.
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently we release the GIL when calling CS_Shutdown, and sometimes this happens:
The error is on a Py_XDECREF, so that's probably related to releasing the GIL?
I release the GIL, and it seems that pybind11 has wound itself up into the std::function pointers, so cscore would need to clear them on exit.
The text was updated successfully, but these errors were encountered: