chore(buglog): bug-1866 fixed (e84a8d43)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
e84a8d4332
commit
ffd111794e
2 changed files with 5 additions and 4 deletions
|
|
@ -28068,14 +28068,14 @@
|
|||
"id": "bug-1866",
|
||||
"gitea_synced_status": "open",
|
||||
"gitea_issue": 285,
|
||||
"status": "open",
|
||||
"status_updated": "2026-09-25",
|
||||
"status_note": "remove_worker never frees worker->launch_type",
|
||||
"status": "fixed",
|
||||
"status_updated": "2026-09-27",
|
||||
"status_note": "e84a8d43: remove_worker now also frees launch_type and q_pre/q_post/job_pre/job_post_exec (5 strings leaked per finished job, not just launch_type)",
|
||||
"timestamp": "2026-09-25T15:42:02Z",
|
||||
"error_message": "LeakSanitizer at xcecd_virtual exit (burst run 2026-09-25): 'Direct leak of 12 byte(s) in 12 object(s)' from strndup in add_worker (xcecd_worker_utils.c:140) <- xcecd_process_command <- handle_message_from_queue",
|
||||
"file": "src/worker/src/xcecd_worker_utils.c",
|
||||
"root_cause": "add_worker strndup's startinfo->launch_type into worker->launch_type, but remove_worker frees exechome/execcwd/execuser/job_cmd/pids/job_exdata and never launch_type -- one string leaked per finished job that carried a launch type.",
|
||||
"fix": "",
|
||||
"fix": "e84a8d43: remove_worker frees launch_type, q_pre_exec, q_post_exec, job_pre_exec, job_post_exec. Regression test test_remove_worker_frees_every_startinfo_copy (ASAN live-heap byte delta across add/remove; RED leaked 58 B).",
|
||||
"tags": [
|
||||
"worker",
|
||||
"leak",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue