mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-10 09:13:53 +08:00
The slab was a static char array handed to SQLITE_CONFIG_PAGECACHE. A static char array carries no alignment guarantee and SQLite requires 8-byte-aligned page-cache memory: x86_64 tolerates the unaligned access, arm64 faults. Every suite that opens a store died instantly on windows-11-arm with STATUS_ILLEGAL_INSTRUCTION (pass=0, secs=0) while pure-logic suites in the same wave passed, and both arm64 shards were green on the commit before the merge. It was also never the fix it was added for: measurement showed the slab installed correctly and #581's growth unchanged, because the cause was thread heaps never being released. Removing it rather than aligning it -- an unverified optimisation has no claim on a release gate. Note PR CI does not build the windows-11-arm leg, so this class of defect can only surface in the dry run. Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>