--- id: "bug-445" status: "fixed" status_updated: "2026-09-24" status_note: "" component: "controller" severity: "crash" timestamp: "2026-06-12T09:30:00Z" last_seen: "2026-09-19T09:00:00Z" occurrences: 1 files: ["src/controller/testsuite/test_commit_barrier_reply.c"] tags: ["testsuite", "xstring", "fixture", "segv", "ha-commit-barrier-rollout"] related: [] legacy: true --- # bug-445: AddressSanitizer SEGV in hash_string via makeResource when running controller_unit_test -t… ## Description AddressSanitizer SEGV in hash_string via makeResource when running controller_unit_test -t test_commit_barrier_reply standalone ## Environment _Not recorded (migrated from buglog.json)._ ## Reproduction _Not recorded (migrated from buglog.json)._ ## Root cause Global xstring table uninitialised in standalone runs: makeString() returns NULL, resobj name becomes NULL, key_add hashes NULL. In full-suite runs test_worker_join.c:520 initialises the table unguarded, so the bug only appears with -t selection. ## Fix Probe makeString("cbrp-probe") in the group entry; call xstring_table_init(139) only when the probe returns NULL (avoids double init in full-suite order). ## Verification _Not recorded (migrated from buglog.json)._ ## References _Not recorded (migrated from buglog.json)._