Commit 4412fa9
committed
fix: safeAlloc infinite recursion — called itself instead of exports.alloc
safeAlloc() was calling this.safeAlloc(bytes) instead of
this.exports.alloc(bytes), causing infinite recursion and stack
overflow on every WASM operation. This broke all 57 call sites:
decompression, column registration, fragment building, vector search,
IVF-PQ index loading, and every WASM memory allocation path.
Not caught by tests because node tests mock WASM and workerd tests
use a separate config.1 parent 251cd33 commit 4412fa9
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
| 177 | + | |
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| |||
0 commit comments