Simple mmap allocator compulsively segfaults

· Users Rust Lang · July 13, 2026, 10:17 p.m.
Summary
The author shares their struggles with a custom memory allocator in Rust that is continually segfaulting, contrasting it with a working C implementation. They provide code snippets for both versions and highlight issues such as unexpected memory usage and segfaults, seeking help to resolve these errors.
AUTHOR
Sponsored
Zulip logo Zulip
Organized team chat for people who take work seriously. Topic-based threading keeps conversations focused.
Try Zulip
Become a sponsor →