From 0d2e9124d9e9d1cff1eba0f5d18c0aa8119a04eb Mon Sep 17 00:00:00 2001 From: TermiNexus Date: Wed, 19 Aug 2026 23:01:48 +0800 Subject: [PATCH] =?UTF-8?q?debug(phase2):=20=E6=89=93=E5=8D=B0=20list[ptr]?= =?UTF-8?q?=20=E6=9E=84=E9=80=A0=E5=90=8E=E5=86=85=E9=83=A8=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E5=AE=9A=E4=BD=8D=20append=20=E5=B4=A9=E6=BA=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 崩溃仍在 list[ptr].append 的 pool.alloc(0xf8→0x128 偏移变化说明 elem_size 修复生效),需区分 __pool__ 未初始化(__init__ 未调/写错位) 与 MemBuddy 内部损坏。新增 [LLC-DBG2] 打印 pool/count/cap/elem/data。 --- App/lib/core/BuildPipeline.vp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/App/lib/core/BuildPipeline.vp b/App/lib/core/BuildPipeline.vp index 4253856..1a6b262 100644 --- a/App/lib/core/BuildPipeline.vp +++ b/App/lib/core/BuildPipeline.vp @@ -616,6 +616,12 @@ def run_llc_parallel(tasks: bytes, task_count: int, max_threads: int) -> int: if handles is None: VLogger.error("run_llc_parallel: 线程句柄数组分配失败", "PhaseB") return 1 + #region debug-point LLC11 + stdio.printf("[LLC-DBG2] handles=%llx pool=%llx count=%d cap=%d elem=%d data=%llx\n", + t.CUInt64T(handles), t.CUInt64T(handles.__pool__), + handles.__count__, handles.__capacity__, handles.__elem_size__, + t.CUInt64T(handles.__data__)) + #endregion slot_size: t.CSizeT = LlcTask.__sizeof__() ret: int = 0 batch_start: int = 0