Commit 0d37fb9
debug: set ASAN_OPTIONS=protect_shadow_gap=0 for GPU compress fuzz
The compress_gpu fuzz job aborts on the very first input with a "deadly
signal": CudaSession::try_default() returns Err and .expect("Failed to
initialize CUDA device 0") panics (vortex-cuda/src/session.rs:168). It is
input-independent (even the empty seed trips it) because the session is a
LazyLock initialized on first use.
cargo-fuzz builds with AddressSanitizer, which mprotects the shadow gap
PROT_NONE. That collides with the large virtual-address range the CUDA
driver reserves, so device init fails with an OOM-style error. Setting
protect_shadow_gap=0 stops ASan protecting the gap and frees the VA range
for CUDA.
Temporary debugging change on this branch; revert with the rest once the
GPU fuzz job is healthy.
Signed-off-by: Andrew Duffy <andrew@a10y.dev>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 957312b commit 0d37fb9
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
210 | 214 | | |
211 | 215 | | |
212 | 216 | | |
| |||
0 commit comments