elast0ny / shared_memory

A Rust wrapper around native shared memory for Linux and Windows
382 stars 51 forks source link

SharedMemory::create causes "Bus error (core dumped)" #41

Closed cswinter closed 4 years ago

cswinter commented 4 years ago

I've been trying out shared_memory and it seems to working as expect on Mac, but when running inside a docker container based off rust:1.38 my program invariable crashes with the error message "Bus error (core dumped)" when calling SharedMem::create(LockType::RwLock, 1024).

elast0ny commented 4 years ago

Hi, i have released a simplified version of the crate which should eliminate most unsoundness bugs. I will close the issue but feel free to re-open if this is still present in version 0.11.0