Segmentation fault when accessing a NumPy array after Boost Interprocess shared memory manager is destroyed in pybind11
I am working on a project that uses Boost.Interprocess to manage shared memory and pybind11 to expose a C++ class to Python. The goal is to access a NumPy array as a view into the shared memory without copying the data. However, when the shared memory manager is destroyed, accessing the array causes a segmentation fault.