code wiki / (root) / nx_segv_log_001.nx

nx_segv_log_001.nx

buildroot/runtime/nx_segv_log_001.nx

2794 B42 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tooltopic segv
docsdependenciesstructsconstsfunctions

about

nx_segv_log_001.nx -- NishiLang-native log entry for the 2026-05-13 nxc2 codegen SEGV (root-cause + fix + verification). Per user directive: "log and plan to address the segvs via using our write read etc." Pure-NishiLang log writer using sys_write to specs/segv_log.jsonl. Substrate documents its own incidents. Genealogy: incident_log_lineage + observability_as_native_primitive. Schema (one JSON line): { "id": "...", "kind": "compiler_segv", "discovered_at": "...", "symptom": "...", "trigger": "...", "root_cause": "...", "evidence": "...", "fix": "...", "verification": "...", "files_touched": [...], "regression_test": "...", "lesson": "..." }

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_runtime.nx nx_segv_log_001.nx

imports: nx_syscalls.nxnx_runtime.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main strlen sys_write sys_close

structs

none

consts

25const STDOUT: i64 = 1

functions

27func main() -> i64