Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions test/leaksan.supp
Original file line number Diff line number Diff line change
Expand Up @@ -136,3 +136,15 @@ leak:napi_internal_enqueue_finalizer
# region, so the libc-allocated UCalendar it holds is reported as a direct
# leak even though it is reachable and bounded.
leak:TemporalCore::withTimeZone
# test/js/bun/bun-object/deep-equals-temporal.test.ts
# The calendar twin of withTimeZone above: up to 8 open UCalendars in a
# process-lifetime LazyNeverDestroyed TinyLRUCache, one per calendar ID
# (non-ISO arithmetic, plus pure-ISO PlainDateTime.prototype.with); LRU
# eviction ucal_closes them. The CalendarCacheEntry that owns each UCalendar
# is WTF_MAKE_TZONE_ALLOCATED (bmalloc), which LSAN does not scan as a root
# region, so the libc-allocated UCalendar (and the ICU TimeZone inside it)
# is reported as a direct leak even though it is reachable and bounded.
# Anchored on the builder frame, not withCalendar itself, so a real leak in
# one of the op lambdas withCalendar runs would still be reported
# (withTimeZone has no builder frame; its ucal_open is inline).
leak:TemporalCore::buildCalendarTemplate
4 changes: 0 additions & 4 deletions test/no-validate-leaksan.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
test/cli/install/bun-security-scanner-matrix-with-node-modules.test.ts
test/cli/install/bun-security-scanner-matrix-without-node-modules.test.ts

# Expect wrappers not yet finalized at process exit report as direct leaks;
# the sibling deep-equals/deep-match spec files show the same class locally.
test/js/bun/bun-object/deep-equals-temporal.test.ts

test/js/node/test/parallel/test-worker-abort-on-uncaught-exception.js
test/js/node/test/parallel/test-worker-arraybuffer-zerofill.js
test/js/node/test/parallel/test-worker-cjs-workerdata.js
Expand Down