Frequent SIGTRAP with Surreal v3 rocksdb on MacOS
Author: smissinghamCreated Feb 21, 2026Updated Sep 16, 2026
Labelstopic:rustexternal-issuetopic:architecture_and_installation
What component does this affect?
SurrealDB Rust SDK
Describe the bug
Using Surrealdb Rust SDK + RocksDB backend, on macos I see frequent sigtrap error, somewhere deep within rocksdb dependency.
I've set up a minimal reproduction on github, and noted that it doesn't reproduce on x86_64-linux, only on macos.
To see repro-script output in gitlab runner See Here
For repo with readme instructions & basic setup, See Here
Reproduction repo was set up using AI, but this submission is written and verified by myself.
Steps to reproduce
- Clone https://github.com/smissingham/sv3-rocks-issue
- Run
./repro.sh
Or, fork that repo and rerun the github action
Expected behaviour
Should not throw sigtrap at all
SurrealDB version
surrealdb v3.0.0/v3.0.1, macOS aarch64
Contact Details
No response
Could this be a bug with your application?
- I confirm this is a bug with SurrealDB, not with my own application
Is there an existing issue for this?
- I confirm that I have searched the existing issues
Code of Conduct
- I agree to follow this project's Code of Conduct
Source: surrealdb/surrealdb