It's difficult to diagnose without access to the code, my suggestions would be to: * If you aren't using release mode, use `--release` mode, this should reduce stack usage (if it's a stack overflow) * run `cargo nm --release -- -nS` to look at the memory layout, and see how much stack space you have available after statics, etc., if it is very low it could be a stack overflow. You can verify this using `flip-link` * Review any unsafe code, if possible, share any snippets here if you need help.