Preparing for release, so a bit of maintenance.

This commit is contained in:
Storm Dragon committed 2026-10-22 13:14:06 -04:00
1 parent 3e9c4f83ce
commit 205d5c49d2
4 files changed
+64 -53

No files matched your search

+13 -9
View File
@@ -24,15 +24,19 @@ and a Stop retry after its caller times out. The original sequential test crashe
with `runtime/cgo: misuse of an invalid Handle` before the fix.
AddressSanitizer also runs these cases with `-asan` in place of `-race`.
Pending-capture cleanup, canceled startup and Stop retries pass with leak
checking enabled. The live GTK sequential case still reports retained accessible
allocations (180 bytes in four allocations in one run; 360 bytes in eight
allocations after three repeated fixture runs), with no invalid memory-access
report. Their ownership is unresolved; this is not a clean leak check. The
earlier incoming-event-copy leaks were fixed in the callback wrapper. To
reproduce the remaining report, use the lifecycle command above with `-asan`,
`-run '^TestNativeSequentialAdapterLifecycle$'` and `-count=3`; keep leak
detection enabled.
The sequential GTK case previously reported 360 bytes in eight allocations
after three repeated fixture runs. Focused-descendant lookup freed the Collection
result array without releasing its owned accessible references. It now releases
every result while preserving a separate reference for the returned target.
The array does not have an element cleanup function in
[libatspi's Collection implementation](https://github.com/GNOME/at-spi2-core/blob/2.62.1/atspi/atspi-collection.c#L84-L102).
The earlier incoming-event-copy leaks were fixed in the callback wrapper.
To check the original reproduction, use the lifecycle command above with
`-asan`, `-run '^TestNativeSequentialAdapterLifecycle$'` and `-count=3`;
keep leak detection enabled. A passing Go test followed by a LeakSanitizer
failure is a failed check. This focused check does not establish leak freedom
for the whole reader or its native dependencies.
Build a separate binary and run the full reader/preferences regression: