Closed 8176135 closed 4 years ago
Hey, thanks for the issue.
The problem is related to events on Linux from the raw_sync
crate and not this crate. I will investigate the issue and push the fixes to raw_sync
.
Fixed as part of https://github.com/elast0ny/raw_sync-rs/commit/6944ea10b2f5a2c00cb4f8e6f4dab6a7be63aea9
shared_memory
examples should now work properly on linux with raw_sync
0.1.2
When first creating the shmem file, the application will crash with a segmentation fault on this line:
Output:
Once the file is created, i.e.
shmem.is_owner()
is false, then the application runs fine.Extra info:
5.6.10-arch1-1
rustc 1.43.0
(stable)I went back to the 0.10.0 commit: 651f889840144713e9e6b0dec10ac5a27f626aca, and ran the basic example, which worked fine.