Fix #150: fresh-install genesis boot SIGSEGV in mem_save #95
Reference in New Issue
Block a user
Delete Branch "fix/genesis-boot-crash"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Genesis (fresh-install) boot segfaulted: engram_save returns Int(0/1) but mem_save str_eq'd it as a String -> EL_CSTR(1)=0x1 -> strcmp derefs 0x1 -> SIGSEGV on a successful first-boot save. Fixed mem_save + handle_api_consolidate to check the Int. PRE-EXISTING (pre-immutability build
1442ce2crashes identically); not caused by the immutability/floor work. Verified: genesis boot survives (/health 200), verify-soul-contract GATE PASS (both sections), floor preserved. Ship-soul sha256 ac6bd964fafb3f7b8f4c55e168c946654259e336880232a0f8b4efa8ccc89bcd. Do NOT merge — mechanics agent rebuilds from HEAD091cc1f.