Skip to content

ci: instrument being able to run leaksanitizer#21142

Merged
Jarred-Sumner merged 65 commits into
mainfrom
nektro-patch-42406
Sep 19, 2025
Merged

ci: instrument being able to run leaksanitizer#21142
Jarred-Sumner merged 65 commits into
mainfrom
nektro-patch-42406

Conversation

@nektro

@nektro nektro commented Jul 17, 2025

Copy link
Copy Markdown
Contributor

tests not in test/no-validate-leaksan.txt will run with leaksanitizer in CI
leaks documented in test/leaksan.supp will not cause a test failure

-- notes about leaksanitizer

  • will not catch garbage collected objects accumulated during long-running processes
  • will not catch js objects (eg a strong held to a promise)
  • will catch native calls to malloc not freed
  • will catch allocations made in C, Zig, C++, libc, dependencies, dlopen'd

@robobun

robobun commented Jul 17, 2025

Copy link
Copy Markdown
Collaborator
Updated 2:44 AM PT - Sep 19th, 2025

@nektro, your commit 6125c16 has 3 failures in Build #26323 (All Failures):


🧪   To try this PR locally:

bunx bun-pr 21142

That installs a local version of the PR into your bun-21142 executable, so you can run:

bun-21142 --bun

@nektro

nektro commented Jul 17, 2025

Copy link
Copy Markdown
Contributor Author
result running on empty file
=================================================================
==99234==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 426928 byte(s) in 2 object(s) allocated from:
    #0 0x000122d661c4 in malloc+0x70 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x521c4)
    #1 0x000186673a80 in _malloc_type_malloc_outlined+0x60 (libsystem_malloc.dylib:arm64+0x1da80)
    #2 0x000186860c4c in dyld    #3 0x00018686015c in _tlv_get_addr+0x64 (libdyld.dylib:arm64+0x315c)
    #4 0x0001097f2180 in WTF    #5 0x0001097eeb10 in WTF    #6 0x00010b69fe3c in JSC    #7 0x00010b6178bc in WTF    #8 0x0001097fab4c in WTF    #9 0x0001097fd968 in WTF    #10 0x00010979dd9c in WTF    #11 0x00010987a9d4 in WTF    #12 0x00010999eecc in WTF    #13 0x000122d62ed0 in asan_thread_start(void*)+0x48 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x4eed0)
    #14 0x000186856c08 in _pthread_start+0x84 (libsystem_pthread.dylib:arm64+0x6c08)
    #15 0x000186851b7c in thread_start+0x4 (libsystem_pthread.dylib:arm64+0x1b7c)

Direct leak of 213464 byte(s) in 1 object(s) allocated from:
    #0 0x000122d661c4 in malloc+0x70 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x521c4)
    #1 0x000186673a80 in _malloc_type_malloc_outlined+0x60 (libsystem_malloc.dylib:arm64+0x1da80)
    #2 0x000186860c4c in dyld    #3 0x00018686015c in _tlv_get_addr+0x64 (libdyld.dylib:arm64+0x315c)
    #4 0x0001097f238c in WTF    #5 0x0001097b8fa4 in WTF    #6 0x000109808d50 in void std    #7 0x0001867743e4 in std    #8 0x0001097ff020 in WTF    #9 0x00010979c628 in bool WTF    #10 0x00010b6a000c in JSC    #11 0x00010b6178bc in WTF    #12 0x0001097fab4c in WTF    #13 0x0001097fd968 in WTF    #14 0x00010979dd9c in WTF    #15 0x00010987a9d4 in WTF    #16 0x00010999eecc in WTF    #17 0x000122d62ed0 in asan_thread_start(void*)+0x48 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x4eed0)
    #18 0x000186856c08 in _pthread_start+0x84 (libsystem_pthread.dylib:arm64+0x6c08)
    #19 0x000186851b7c in thread_start+0x4 (libsystem_pthread.dylib:arm64+0x1b7c)

Direct leak of 600 byte(s) in 1 object(s) allocated from:
    #0 0x000122d66ff8 in __sanitizer_mz_memalign+0x78 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x52ff8)
    #1 0x000186689838 in _malloc_zone_memalign+0x13c (libsystem_malloc.dylib:arm64+0x33838)
    #2 0x000103a0b914 in heap_breakdown.Zone.alignedAlloc heap_breakdown.zig:57
    #3 0x00010339c6c0 in heap_breakdown.Zone.rawAlloc heap_breakdown.zig:66
    #4 0x00010312fdec in bun.TrivialNew__struct_245560.new bun.zig:2687
    #5 0x00010312ff78 in resolver.resolver.Resolver.parsePackageJSON__anon_245565 resolver.zig:2633
    #6 0x000102aa6ab0 in resolver.resolver.Resolver.dirInfoUncached resolver.zig:4143
    #7 0x00010e4e9210 in resolver.resolver.Resolver.dirInfoCachedMaybeLog__anon_34004 resolver.zig:2962
    #8 0x000102aa8450 in resolver.resolver.Resolver.readDirInfo resolver.zig:2641
    #9 0x000103287794 in resolver.resolver.Resolver.finalizeResult resolver.zig:975
    #10 0x000102c703c4 in resolver.resolver.Resolver.resolveAndAutoInstall resolver.zig:909
    #11 0x000107539294 in bun.js.VirtualMachine._resolve__anon_1667947 VirtualMachine.zig:1592
    #12 0x0001075344bc in bun.js.VirtualMachine.resolveMaybeNeedsTrailingSlash__anon_1667851 VirtualMachine.zig:1745
    #13 0x00010753349c in bun.js.VirtualMachine.resolve VirtualMachine.zig:1657
    #14 0x000107535448 in Zig__GlobalObject__resolve JSGlobalObject.zig:801
    #15 0x0001021eeb1c in Zig    #16 0x00010c475034 in JSC    #17 0x00010c46febc in JSC    #18 0x000300010038  (<unknown module>)
    #19 0x00010e9653f8 in jsc_llint_commonCallOp__llintOpWithMetadata__llintOpWithReturn__llintOp__commonOp__fn__fn__makeReturn__fn__fn__fn__826_callHelper__dispatch_LowLevelInterpreter64_asm_2535+0x0 (bun-debug:arm64+0x10e0bd3f8)
    #20 0x00010e9653f8 in jsc_llint_commonCallOp__llintOpWithMetadata__llintOpWithReturn__llintOp__commonOp__fn__fn__makeReturn__fn__fn__fn__826_callHelper__dispatch_LowLevelInterpreter64_asm_2535+0x0 (bun-debug:arm64+0x10e0bd3f8)
    #21 0x00010e966990 in jsc_llint_commonCallOp__llintOpWithMetadata__llintOpWithReturn__llintOp__commonOp__fn__fn__makeReturn__fn__fn__fn__844_callHelper__dispatch_LowLevelInterpreter64_asm_2535+0x0 (bun-debug:arm64+0x10e0be990)
    #22 0x00010e966990 in jsc_llint_commonCallOp__llintOpWithMetadata__llintOpWithReturn__llintOp__commonOp__fn__fn__makeReturn__fn__fn__fn__844_callHelper__dispatch_LowLevelInterpreter64_asm_2535+0x0 (bun-debug:arm64+0x10e0be990)
    #23 0x00010e93bd54 in llint_call_javascript+0x4 (bun-debug:arm64+0x10e093d54)
    #24 0x00010b933fd0 in JSC    #25 0x00010b934964 in JSC    #26 0x00010bfe12e8 in JSC    #27 0x00010bfe1a3c in JSC    #28 0x00010c468b18 in JSC    #29 0x00010cbcfb7c in JSC
Direct leak of 600 byte(s) in 1 object(s) allocated from:
    #0 0x000122d66ff8 in __sanitizer_mz_memalign+0x78 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x52ff8)
    #1 0x000186689838 in _malloc_zone_memalign+0x13c (libsystem_malloc.dylib:arm64+0x33838)
    #2 0x000103a0b914 in heap_breakdown.Zone.alignedAlloc heap_breakdown.zig:57
    #3 0x00010339c6c0 in heap_breakdown.Zone.rawAlloc heap_breakdown.zig:66
    #4 0x00010312fdec in bun.TrivialNew__struct_245560.new bun.zig:2687
    #5 0x00010312ff78 in resolver.resolver.Resolver.parsePackageJSON__anon_245565 resolver.zig:2633
    #6 0x000102aa6ab0 in resolver.resolver.Resolver.dirInfoUncached resolver.zig:4143
    #7 0x00010e4e9210 in resolver.resolver.Resolver.dirInfoCachedMaybeLog__anon_34004 resolver.zig:2962
    #8 0x000102aa8450 in resolver.resolver.Resolver.readDirInfo resolver.zig:2641
    #9 0x000102a94cdc in transpiler.Transpiler.configureLinkerWithAutoJSX transpiler.zig:493
    #10 0x000102d47fcc in transpiler.Transpiler.configureLinker transpiler.zig:506
    #11 0x000102ffe6d8 in bun.js.VirtualMachine.init VirtualMachine.zig:1126
    #12 0x000103081870 in bun_js.Run.boot bun_js.zig:185
    #13 0x000103089b7c in cli.run_command.RunCommand._bootAndHandleError run_command.zig:1246
    #14 0x000103088ef8 in cli.run_command.RunCommand.maybeOpenWithBunJS run_command.zig:1330
    #15 0x000103083ba0 in cli.run_command.RunCommand.exec run_command.zig:1375
    #16 0x0001030a6e78 in cli.Command.start cli.zig:1095
    #17 0x0001029fbf54 in cli.Cli.start cli.zig:48
    #18 0x0001029f8234 in main.main main.zig:66
    #19 0x0001029f8000 in main start.zig:635
    #20 0x0001864b6b94 in start+0x17b8 (dyld:arm64+0xfffffffffff3ab94)

Direct leak of 513 byte(s) in 1 object(s) allocated from:
    #0 0x000122d661c4 in malloc+0x70 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x521c4)
    #1 0x000186673a80 in _malloc_type_malloc_outlined+0x60 (libsystem_malloc.dylib:arm64+0x1da80)
    #2 0x0001866f9b58 in __parsefloat_buf+0xf0 (libsystem_c.dylib:arm64+0x12b58)
    #3 0x0001866f11a8 in __svfscanf_l+0x9ac (libsystem_c.dylib:arm64+0xa1a8)
    #4 0x0001866f07c0 in vsscanf_l+0x164 (libsystem_c.dylib:arm64+0x97c0)
    #5 0x000122d35404 in sscanf+0x54 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x21404)
    #6 0x00010c960b3c in JSC    #7 0x00010c94ad44 in JSC    #8 0x0001021de204 in JSCInitialize ZigGlobalObject.cpp:317
    #9 0x000102ae66ec in bun.js.jsc.initialize jsc.zig:21
    #10 0x000103081420 in bun_js.Run.boot bun_js.zig:178
    #11 0x000103089b7c in cli.run_command.RunCommand._bootAndHandleError run_command.zig:1246
    #12 0x000103088ef8 in cli.run_command.RunCommand.maybeOpenWithBunJS run_command.zig:1330
    #13 0x000103083ba0 in cli.run_command.RunCommand.exec run_command.zig:1375
    #14 0x0001030a6e78 in cli.Command.start cli.zig:1095
    #15 0x0001029fbf54 in cli.Cli.start cli.zig:48
    #16 0x0001029f8234 in main.main main.zig:66
    #17 0x0001029f8000 in main start.zig:635
    #18 0x0001864b6b94 in start+0x17b8 (dyld:arm64+0xfffffffffff3ab94)

Direct leak of 464 byte(s) in 2 object(s) allocated from:
    #0 0x000122d66ff8 in __sanitizer_mz_memalign+0x78 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x52ff8)
    #1 0x000186689838 in _malloc_zone_memalign+0x13c (libsystem_malloc.dylib:arm64+0x33838)
    #2 0x000103a0b914 in heap_breakdown.Zone.alignedAlloc heap_breakdown.zig:57
    #3 0x00010339c6c0 in heap_breakdown.Zone.rawAlloc heap_breakdown.zig:66
    #4 0x0001037e2e28 in bun.TrivialNew__struct_350223.new bun.zig:2687
    #5 0x000103138cf4 in resolver.tsconfig_json.TSConfigJSON.parse tsconfig_json.zig:384
    #6 0x0001031359fc in resolver.resolver.Resolver.parseTSConfig resolver.zig:2580
    #7 0x000102aa7378 in resolver.resolver.Resolver.dirInfoUncached resolver.zig:4192
    #8 0x00010e4e9210 in resolver.resolver.Resolver.dirInfoCachedMaybeLog__anon_34004 resolver.zig:2962
    #9 0x000102aa8450 in resolver.resolver.Resolver.readDirInfo resolver.zig:2641
    #10 0x000103287794 in resolver.resolver.Resolver.finalizeResult resolver.zig:975
    #11 0x000102c703c4 in resolver.resolver.Resolver.resolveAndAutoInstall resolver.zig:909
    #12 0x000107539294 in bun.js.VirtualMachine._resolve__anon_1667947 VirtualMachine.zig:1592
    #13 0x0001075344bc in bun.js.VirtualMachine.resolveMaybeNeedsTrailingSlash__anon_1667851 VirtualMachine.zig:1745
    #14 0x00010753349c in bun.js.VirtualMachine.resolve VirtualMachine.zig:1657
    #15 0x000107535448 in Zig__GlobalObject__resolve JSGlobalObject.zig:801
    #16 0x0001021eeb1c in Zig    #17 0x00010c475034 in JSC    #18 0x00010c46febc in JSC    #19 0x000300010038  (<unknown module>)
    #20 0x00010e9653f8 in jsc_llint_commonCallOp__llintOpWithMetadata__llintOpWithReturn__llintOp__commonOp__fn__fn__makeReturn__fn__fn__fn__826_callHelper__dispatch_LowLevelInterpreter64_asm_2535+0x0 (bun-debug:arm64+0x10e0bd3f8)
    #21 0x00010e9653f8 in jsc_llint_commonCallOp__llintOpWithMetadata__llintOpWithReturn__llintOp__commonOp__fn__fn__makeReturn__fn__fn__fn__826_callHelper__dispatch_LowLevelInterpreter64_asm_2535+0x0 (bun-debug:arm64+0x10e0bd3f8)
    #22 0x00010e966990 in jsc_llint_commonCallOp__llintOpWithMetadata__llintOpWithReturn__llintOp__commonOp__fn__fn__makeReturn__fn__fn__fn__844_callHelper__dispatch_LowLevelInterpreter64_asm_2535+0x0 (bun-debug:arm64+0x10e0be990)
    #23 0x00010e966990 in jsc_llint_commonCallOp__llintOpWithMetadata__llintOpWithReturn__llintOp__commonOp__fn__fn__makeReturn__fn__fn__fn__844_callHelper__dispatch_LowLevelInterpreter64_asm_2535+0x0 (bun-debug:arm64+0x10e0be990)
    #24 0x00010e93bd54 in llint_call_javascript+0x4 (bun-debug:arm64+0x10e093d54)
    #25 0x00010b933fd0 in JSC    #26 0x00010b934964 in JSC    #27 0x00010bfe12e8 in JSC    #28 0x00010bfe1a3c in JSC    #29 0x00010c468b18 in JSC
Direct leak of 232 byte(s) in 1 object(s) allocated from:
    #0 0x000122d66ff8 in __sanitizer_mz_memalign+0x78 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x52ff8)
    #1 0x000186689838 in _malloc_zone_memalign+0x13c (libsystem_malloc.dylib:arm64+0x33838)
    #2 0x000103a0b914 in heap_breakdown.Zone.alignedAlloc heap_breakdown.zig:57
    #3 0x00010339c6c0 in heap_breakdown.Zone.rawAlloc heap_breakdown.zig:66
    #4 0x0001037e2e28 in bun.TrivialNew__struct_350223.new bun.zig:2687
    #5 0x000103138cf4 in resolver.tsconfig_json.TSConfigJSON.parse tsconfig_json.zig:384
    #6 0x0001031359fc in resolver.resolver.Resolver.parseTSConfig resolver.zig:2580
    #7 0x000102aa7bc0 in resolver.resolver.Resolver.dirInfoUncached resolver.zig:4211
    #8 0x00010e4e9210 in resolver.resolver.Resolver.dirInfoCachedMaybeLog__anon_34004 resolver.zig:2962
    #9 0x000102aa8450 in resolver.resolver.Resolver.readDirInfo resolver.zig:2641
    #10 0x000103287794 in resolver.resolver.Resolver.finalizeResult resolver.zig:975
    #11 0x000102c703c4 in resolver.resolver.Resolver.resolveAndAutoInstall resolver.zig:909
    #12 0x000107539294 in bun.js.VirtualMachine._resolve__anon_1667947 VirtualMachine.zig:1592
    #13 0x0001075344bc in bun.js.VirtualMachine.resolveMaybeNeedsTrailingSlash__anon_1667851 VirtualMachine.zig:1745
    #14 0x00010753349c in bun.js.VirtualMachine.resolve VirtualMachine.zig:1657
    #15 0x000107535448 in Zig__GlobalObject__resolve JSGlobalObject.zig:801
    #16 0x0001021eeb1c in Zig    #17 0x00010c475034 in JSC    #18 0x00010c46febc in JSC    #19 0x000300010038  (<unknown module>)
    #20 0x00010e9653f8 in jsc_llint_commonCallOp__llintOpWithMetadata__llintOpWithReturn__llintOp__commonOp__fn__fn__makeReturn__fn__fn__fn__826_callHelper__dispatch_LowLevelInterpreter64_asm_2535+0x0 (bun-debug:arm64+0x10e0bd3f8)
    #21 0x00010e9653f8 in jsc_llint_commonCallOp__llintOpWithMetadata__llintOpWithReturn__llintOp__commonOp__fn__fn__makeReturn__fn__fn__fn__826_callHelper__dispatch_LowLevelInterpreter64_asm_2535+0x0 (bun-debug:arm64+0x10e0bd3f8)
    #22 0x00010e966990 in jsc_llint_commonCallOp__llintOpWithMetadata__llintOpWithReturn__llintOp__commonOp__fn__fn__makeReturn__fn__fn__fn__844_callHelper__dispatch_LowLevelInterpreter64_asm_2535+0x0 (bun-debug:arm64+0x10e0be990)
    #23 0x00010e966990 in jsc_llint_commonCallOp__llintOpWithMetadata__llintOpWithReturn__llintOp__commonOp__fn__fn__makeReturn__fn__fn__fn__844_callHelper__dispatch_LowLevelInterpreter64_asm_2535+0x0 (bun-debug:arm64+0x10e0be990)
    #24 0x00010e93bd54 in llint_call_javascript+0x4 (bun-debug:arm64+0x10e093d54)
    #25 0x00010b933fd0 in JSC    #26 0x00010b934964 in JSC    #27 0x00010bfe12e8 in JSC    #28 0x00010bfe1a3c in JSC    #29 0x00010c468b18 in JSC
Direct leak of 232 byte(s) in 1 object(s) allocated from:
    #0 0x000122d66ff8 in __sanitizer_mz_memalign+0x78 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x52ff8)
    #1 0x000186689838 in _malloc_zone_memalign+0x13c (libsystem_malloc.dylib:arm64+0x33838)
    #2 0x000103a0b914 in heap_breakdown.Zone.alignedAlloc heap_breakdown.zig:57
    #3 0x00010339c6c0 in heap_breakdown.Zone.rawAlloc heap_breakdown.zig:66
    #4 0x0001037e2e28 in bun.TrivialNew__struct_350223.new bun.zig:2687
    #5 0x000103138cf4 in resolver.tsconfig_json.TSConfigJSON.parse tsconfig_json.zig:384
    #6 0x0001031359fc in resolver.resolver.Resolver.parseTSConfig resolver.zig:2580
    #7 0x000102aa7378 in resolver.resolver.Resolver.dirInfoUncached resolver.zig:4192
    #8 0x00010e4e9210 in resolver.resolver.Resolver.dirInfoCachedMaybeLog__anon_34004 resolver.zig:2962
    #9 0x000102aa8450 in resolver.resolver.Resolver.readDirInfo resolver.zig:2641
    #10 0x000102a94cdc in transpiler.Transpiler.configureLinkerWithAutoJSX transpiler.zig:493
    #11 0x000102d47fcc in transpiler.Transpiler.configureLinker transpiler.zig:506
    #12 0x000102ffe6d8 in bun.js.VirtualMachine.init VirtualMachine.zig:1126
    #13 0x000103081870 in bun_js.Run.boot bun_js.zig:185
    #14 0x000103089b7c in cli.run_command.RunCommand._bootAndHandleError run_command.zig:1246
    #15 0x000103088ef8 in cli.run_command.RunCommand.maybeOpenWithBunJS run_command.zig:1330
    #16 0x000103083ba0 in cli.run_command.RunCommand.exec run_command.zig:1375
    #17 0x0001030a6e78 in cli.Command.start cli.zig:1095
    #18 0x0001029fbf54 in cli.Cli.start cli.zig:48
    #19 0x0001029f8234 in main.main main.zig:66
    #20 0x0001029f8000 in main start.zig:635
    #21 0x0001864b6b94 in start+0x17b8 (dyld:arm64+0xfffffffffff3ab94)

Direct leak of 152 byte(s) in 1 object(s) allocated from:
    #0 0x000122d66810 in __sanitizer_mz_malloc+0x70 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x52810)
    #1 0x000186689128 in _malloc_zone_malloc_instrumented_or_legacy+0x94 (libsystem_malloc.dylib:arm64+0x33128)
    #2 0x00010d69dd10 in pas_system_heap_malloc SystemHeap.cpp:276
    #3 0x00010d6c54a8 in pas_system_heap_allocate(unsigned long, unsigned long, pas_allocation_mode) pas_system_heap.h:135
    #4 0x00010d6a5bec in bmalloc_allocate_impl_casual_case(unsigned long, unsigned long, pas_allocation_mode) bmalloc_heap_inlines.h:192
    #5 0x00010d6a5208 in bmalloc_allocate_casual bmalloc_heap.c:73
    #6 0x0001097b92c0 in WTF    #7 0x000109b8b0e4 in WTF    #8 0x00010bc5b050 in void std    #9 0x0001867743e4 in std    #10 0x00010bbf7390 in JSC    #11 0x00010bbf6f60 in JSC    #12 0x00010bbf6ab8 in JSC    #13 0x00010c19ec7c in void std    #14 0x0001867743e4 in std    #15 0x00010c17794c in JSC    #16 0x0001021dd5cc in JSCInitialize ZigGlobalObject.cpp:281
    #17 0x000102ae66ec in bun.js.jsc.initialize jsc.zig:21
    #18 0x000103081420 in bun_js.Run.boot bun_js.zig:178
    #19 0x000103089b7c in cli.run_command.RunCommand._bootAndHandleError run_command.zig:1246
    #20 0x000103088ef8 in cli.run_command.RunCommand.maybeOpenWithBunJS run_command.zig:1330
    #21 0x000103083ba0 in cli.run_command.RunCommand.exec run_command.zig:1375
    #22 0x0001030a6e78 in cli.Command.start cli.zig:1095
    #23 0x0001029fbf54 in cli.Cli.start cli.zig:48
    #24 0x0001029f8234 in main.main main.zig:66
    #25 0x0001029f8000 in main start.zig:635
    #26 0x0001864b6b94 in start+0x17b8 (dyld:arm64+0xfffffffffff3ab94)

Direct leak of 88 byte(s) in 1 object(s) allocated from:
    #0 0x000122d66810 in __sanitizer_mz_malloc+0x70 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x52810)
    #1 0x000186689128 in _malloc_zone_malloc_instrumented_or_legacy+0x94 (libsystem_malloc.dylib:arm64+0x33128)
    #2 0x00010d69e008 in pas_system_heap_malloc_compact SystemHeap.cpp:297
    #3 0x00010d6c5498 in pas_system_heap_allocate(unsigned long, unsigned long, pas_allocation_mode) pas_system_heap.h:136
    #4 0x00010d6a5bec in bmalloc_allocate_impl_casual_case(unsigned long, unsigned long, pas_allocation_mode) bmalloc_heap_inlines.h:192
    #5 0x00010d6a5208 in bmalloc_allocate_casual bmalloc_heap.c:73
    #6 0x0001097b9800 in WTF    #7 0x0001099406e8 in WTF    #8 0x00010992b2a4 in WTF    #9 0x00010992ac78 in WTF    #10 0x00010991f354 in WTF    #11 0x00010991f75c in WTF    #12 0x00010caf0e9c in JSC    #13 0x00010a4f6b2c in JSC    #14 0x00010be9e19c in JSC    #15 0x00010be93b70 in JSC    #16 0x00010bd94ca4 in JSC    #17 0x00010bc8e090 in JSC    #18 0x00010bc87490 in JSC    #19 0x0001015ab404 in std    #20 0x000101596224 in std    #21 0x00010c46db54 in JSC    #22 0x000300010038  (<unknown module>)
    #23 0x00010e9653f8 in jsc_llint_commonCallOp__llintOpWithMetadata__llintOpWithReturn__llintOp__commonOp__fn__fn__makeReturn__fn__fn__fn__826_callHelper__dispatch_LowLevelInterpreter64_asm_2535+0x0 (bun-debug:arm64+0x10e0bd3f8)
    #24 0x00010e9653f8 in jsc_llint_commonCallOp__llintOpWithMetadata__llintOpWithReturn__llintOp__commonOp__fn__fn__makeReturn__fn__fn__fn__826_callHelper__dispatch_LowLevelInterpreter64_asm_2535+0x0 (bun-debug:arm64+0x10e0bd3f8)
    #25 0x00010e966990 in jsc_llint_commonCallOp__llintOpWithMetadata__llintOpWithReturn__llintOp__commonOp__fn__fn__makeReturn__fn__fn__fn__844_callHelper__dispatch_LowLevelInterpreter64_asm_2535+0x0 (bun-debug:arm64+0x10e0be990)
    #26 0x00010e966990 in jsc_llint_commonCallOp__llintOpWithMetadata__llintOpWithReturn__llintOp__commonOp__fn__fn__makeReturn__fn__fn__fn__844_callHelper__dispatch_LowLevelInterpreter64_asm_2535+0x0 (bun-debug:arm64+0x10e0be990)
    #27 0x00010e93bd54 in llint_call_javascript+0x4 (bun-debug:arm64+0x10e093d54)
    #28 0x00010b933fd0 in JSC    #29 0x00010b934964 in JSC
Direct leak of 72 byte(s) in 1 object(s) allocated from:
    #0 0x000122d661c4 in malloc+0x70 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x521c4)
    #1 0x000186673a80 in _malloc_type_malloc_outlined+0x60 (libsystem_malloc.dylib:arm64+0x1da80)
    #2 0x000186466ae4 in _fetchInitializingClassList(bool)+0x34 (libobjc.A.dylib:arm64+0xaae4)
    #3 0x00018646699c in _setThisThreadIsInitializingClass(objc_class*)+0x1c (libobjc.A.dylib:arm64+0xa99c)
    #4 0x0001864667bc in initializeNonMetaClass+0x258 (libobjc.A.dylib:arm64+0xa7bc)
    #5 0x0001864665fc in initializeNonMetaClass+0x98 (libobjc.A.dylib:arm64+0xa5fc)
    #6 0x0001864665fc in initializeNonMetaClass+0x98 (libobjc.A.dylib:arm64+0xa5fc)
    #7 0x0001864665fc in initializeNonMetaClass+0x98 (libobjc.A.dylib:arm64+0xa5fc)
    #8 0x000186482a60 in initializeAndMaybeRelock(objc_class*, objc_object*, locker_mixin<lockdebug    #9 0x000186465f88 in lookUpImpOrForward+0x120 (libobjc.A.dylib:arm64+0x9f88)
    #10 0x000186465b80 in _objc_msgSend_uncached+0x40 (libobjc.A.dylib:arm64+0x9b80)
    #11 0x0001865523fc in _xpc_collect_images+0xc0 (libxpc.dylib:arm64+0x23fc)
    #12 0x000186551868 in _libxpc_initializer+0x440 (libxpc.dylib:arm64+0x1868)
    #13 0x000194a9a310 in libSystem_initializer+0xfc (libSystem.B.dylib:arm64+0x1310)
    #14 0x0001864d2ef8 in invocation function for block in dyld4    #15 0x00018650f860  (<unknown module>)
    #16 0x00018652f588  (<unknown module>)
    #17 0x00018652c314  (<unknown module>)
    #18 0x00018652da54  (<unknown module>)
    #19 0x00018650f330  (<unknown module>)
    #20 0x0001864d2cb0 in dyld4    #21 0x0001864de52c  (<unknown module>)
    #22 0x0001864f48ac  (<unknown module>)
    #23 0x0001864b7dfc in dyld4    #24 0x0001864b71d4 in dyld4    #25 0x0001864b6b48 in start+0x176c (dyld:arm64+0xfffffffffff3ab48)

Direct leak of 72 byte(s) in 1 object(s) allocated from:
    #0 0x000122d6649c in calloc+0x78 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x5249c)
    #1 0x0001008d2e98 in us_create_timer epoll_kqueue.c:507
    #2 0x000103b6aff8 in deps.uws.Timer.Timer.createFallthrough__anon_469714 Timer.zig:25
    #3 0x00010363935c in bun.js.event_loop.GarbageCollectionController.init GarbageCollectionController.zig:34
    #4 0x00010300067c in bun.js.event_loop.ensureWaker event_loop.zig:552
    #5 0x000102a9520c in bun.js.bindings.JSGlobalObject.JSGlobalObject.create JSGlobalObject.zig:780
    #6 0x000102ffe8dc in bun.js.VirtualMachine.init VirtualMachine.zig:1130
    #7 0x000103081870 in bun_js.Run.boot bun_js.zig:185
    #8 0x000103089b7c in cli.run_command.RunCommand._bootAndHandleError run_command.zig:1246
    #9 0x000103088ef8 in cli.run_command.RunCommand.maybeOpenWithBunJS run_command.zig:1330
    #10 0x000103083ba0 in cli.run_command.RunCommand.exec run_command.zig:1375
    #11 0x0001030a6e78 in cli.Command.start cli.zig:1095
    #12 0x0001029fbf54 in cli.Cli.start cli.zig:48
    #13 0x0001029f8234 in main.main main.zig:66
    #14 0x0001029f8000 in main start.zig:635
    #15 0x0001864b6b94 in start+0x17b8 (dyld:arm64+0xfffffffffff3ab94)

Direct leak of 72 byte(s) in 1 object(s) allocated from:
    #0 0x000122d6649c in calloc+0x78 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x5249c)
    #1 0x0001008d2e98 in us_create_timer epoll_kqueue.c:507
    #2 0x000103b6aff8 in deps.uws.Timer.Timer.createFallthrough__anon_469714 Timer.zig:25
    #3 0x0001036393b4 in bun.js.event_loop.GarbageCollectionController.init GarbageCollectionController.zig:35
    #4 0x00010300067c in bun.js.event_loop.ensureWaker event_loop.zig:552
    #5 0x000102a9520c in bun.js.bindings.JSGlobalObject.JSGlobalObject.create JSGlobalObject.zig:780
    #6 0x000102ffe8dc in bun.js.VirtualMachine.init VirtualMachine.zig:1130
    #7 0x000103081870 in bun_js.Run.boot bun_js.zig:185
    #8 0x000103089b7c in cli.run_command.RunCommand._bootAndHandleError run_command.zig:1246
    #9 0x000103088ef8 in cli.run_command.RunCommand.maybeOpenWithBunJS run_command.zig:1330
    #10 0x000103083ba0 in cli.run_command.RunCommand.exec run_command.zig:1375
    #11 0x0001030a6e78 in cli.Command.start cli.zig:1095
    #12 0x0001029fbf54 in cli.Cli.start cli.zig:48
    #13 0x0001029f8234 in main.main main.zig:66
    #14 0x0001029f8000 in main start.zig:635
    #15 0x0001864b6b94 in start+0x17b8 (dyld:arm64+0xfffffffffff3ab94)

Direct leak of 32 byte(s) in 2 object(s) allocated from:
    #0 0x000122d66810 in __sanitizer_mz_malloc+0x70 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x52810)
    #1 0x000186689128 in _malloc_zone_malloc_instrumented_or_legacy+0x94 (libsystem_malloc.dylib:arm64+0x33128)
    #2 0x00010d69dd10 in pas_system_heap_malloc SystemHeap.cpp:276
    #3 0x00010d6c54a8 in pas_system_heap_allocate(unsigned long, unsigned long, pas_allocation_mode) pas_system_heap.h:135
    #4 0x00010d6a5bec in bmalloc_allocate_impl_casual_case(unsigned long, unsigned long, pas_allocation_mode) bmalloc_heap_inlines.h:192
    #5 0x00010d6a5208 in bmalloc_allocate_casual bmalloc_heap.c:73
    #6 0x0001097b92c0 in WTF    #7 0x0001097ff07c in WTF    #8 0x0001097eedd8 in WTF    #9 0x0001097eeb18 in WTF    #10 0x00010b69fe3c in JSC    #11 0x00010b6178bc in WTF    #12 0x0001097fab4c in WTF    #13 0x0001097fd968 in WTF    #14 0x00010979dd9c in WTF    #15 0x00010987a9d4 in WTF    #16 0x00010999eecc in WTF    #17 0x000122d62ed0 in asan_thread_start(void*)+0x48 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x4eed0)
    #18 0x000186856c08 in _pthread_start+0x84 (libsystem_pthread.dylib:arm64+0x6c08)
    #19 0x000186851b7c in thread_start+0x4 (libsystem_pthread.dylib:arm64+0x1b7c)

Direct leak of 32 byte(s) in 2 object(s) allocated from:
    #0 0x000122d66810 in __sanitizer_mz_malloc+0x70 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x52810)
    #1 0x000186689128 in _malloc_zone_malloc_instrumented_or_legacy+0x94 (libsystem_malloc.dylib:arm64+0x33128)
    #2 0x00010d69dd10 in pas_system_heap_malloc SystemHeap.cpp:276
    #3 0x00010d6c54a8 in pas_system_heap_allocate(unsigned long, unsigned long, pas_allocation_mode) pas_system_heap.h:135
    #4 0x00010d6a5bec in bmalloc_allocate_impl_casual_case(unsigned long, unsigned long, pas_allocation_mode) bmalloc_heap_inlines.h:192
    #5 0x00010d6a5208 in bmalloc_allocate_casual bmalloc_heap.c:73
    #6 0x0001097b92c0 in WTF    #7 0x00010bf7b4cc in WTF    #8 0x000100965138 in WTF    #9 0x000100964e90 in WTF    #10 0x000100964d64 in JSC    #11 0x0001011db964 in JSC    #12 0x00010cad8bcc in void JSC    #13 0x00010cac7c00 in JSC    #14 0x00010b69cdb8 in JSC    #15 0x00010b6a8700 in JSC    #16 0x00010b69d890 in JSC    #17 0x00010b69f6bc in JSC    #18 0x00010b6178bc in WTF    #19 0x0001097fab4c in WTF    #20 0x0001097fd968 in WTF    #21 0x00010979dd9c in WTF    #22 0x00010987a9d4 in WTF    #23 0x00010999eecc in WTF    #24 0x000122d62ed0 in asan_thread_start(void*)+0x48 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x4eed0)
    #25 0x000186856c08 in _pthread_start+0x84 (libsystem_pthread.dylib:arm64+0x6c08)
    #26 0x000186851b7c in thread_start+0x4 (libsystem_pthread.dylib:arm64+0x1b7c)

Direct leak of 16 byte(s) in 1 object(s) allocated from:
    #0 0x000122d66810 in __sanitizer_mz_malloc+0x70 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x52810)
    #1 0x000186689128 in _malloc_zone_malloc_instrumented_or_legacy+0x94 (libsystem_malloc.dylib:arm64+0x33128)
    #2 0x00010d69dd10 in pas_system_heap_malloc SystemHeap.cpp:276
    #3 0x00010d6c54a8 in pas_system_heap_allocate(unsigned long, unsigned long, pas_allocation_mode) pas_system_heap.h:135
    #4 0x00010d6a5bec in bmalloc_allocate_impl_casual_case(unsigned long, unsigned long, pas_allocation_mode) bmalloc_heap_inlines.h:192
    #5 0x00010d6a5208 in bmalloc_allocate_casual bmalloc_heap.c:73
    #6 0x0001097b92c0 in WTF    #7 0x0001097ff07c in WTF    #8 0x00010979c628 in bool WTF    #9 0x00010b6a000c in JSC    #10 0x00010b6178bc in WTF    #11 0x0001097fab4c in WTF    #12 0x0001097fd968 in WTF    #13 0x00010979dd9c in WTF    #14 0x00010987a9d4 in WTF    #15 0x00010999eecc in WTF    #16 0x000122d62ed0 in asan_thread_start(void*)+0x48 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x4eed0)
    #17 0x000186856c08 in _pthread_start+0x84 (libsystem_pthread.dylib:arm64+0x6c08)
    #18 0x000186851b7c in thread_start+0x4 (libsystem_pthread.dylib:arm64+0x1b7c)

Direct leak of 16 byte(s) in 1 object(s) allocated from:
    #0 0x000122d66810 in __sanitizer_mz_malloc+0x70 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x52810)
    #1 0x000186689128 in _malloc_zone_malloc_instrumented_or_legacy+0x94 (libsystem_malloc.dylib:arm64+0x33128)
    #2 0x00010d69dd10 in pas_system_heap_malloc SystemHeap.cpp:276
    #3 0x00010d6c54a8 in pas_system_heap_allocate(unsigned long, unsigned long, pas_allocation_mode) pas_system_heap.h:135
    #4 0x00010d6a5bec in bmalloc_allocate_impl_casual_case(unsigned long, unsigned long, pas_allocation_mode) bmalloc_heap_inlines.h:192
    #5 0x00010d6a5208 in bmalloc_allocate_casual bmalloc_heap.c:73
    #6 0x0001097b92c0 in WTF    #7 0x00010bf7b4cc in WTF    #8 0x00010bf9c0e8 in void* JSC    #9 0x00010cbc15e8 in JSC    #10 0x00010cbbc62c in JSC    #11 0x00010cbc6314 in JSC    #12 0x0001021e62fc in Zig__GlobalObject__create ZigGlobalObject.cpp:929
    #13 0x000102a9522c in bun.js.bindings.JSGlobalObject.JSGlobalObject.create JSGlobalObject.zig:781
    #14 0x000102ffe8dc in bun.js.VirtualMachine.init VirtualMachine.zig:1130
    #15 0x000103081870 in bun_js.Run.boot bun_js.zig:185
    #16 0x000103089b7c in cli.run_command.RunCommand._bootAndHandleError run_command.zig:1246
    #17 0x000103088ef8 in cli.run_command.RunCommand.maybeOpenWithBunJS run_command.zig:1330
    #18 0x000103083ba0 in cli.run_command.RunCommand.exec run_command.zig:1375
    #19 0x0001030a6e78 in cli.Command.start cli.zig:1095
    #20 0x0001029fbf54 in cli.Cli.start cli.zig:48
    #21 0x0001029f8234 in main.main main.zig:66
    #22 0x0001029f8000 in main start.zig:635
    #23 0x0001864b6b94 in start+0x17b8 (dyld:arm64+0xfffffffffff3ab94)

Direct leak of 16 byte(s) in 1 object(s) allocated from:
    #0 0x000122d66810 in __sanitizer_mz_malloc+0x70 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x52810)
    #1 0x000186689128 in _malloc_zone_malloc_instrumented_or_legacy+0x94 (libsystem_malloc.dylib:arm64+0x33128)
    #2 0x00010d69dd10 in pas_system_heap_malloc SystemHeap.cpp:276
    #3 0x00010d6c54a8 in pas_system_heap_allocate(unsigned long, unsigned long, pas_allocation_mode) pas_system_heap.h:135
    #4 0x00010d6a5bec in bmalloc_allocate_impl_casual_case(unsigned long, unsigned long, pas_allocation_mode) bmalloc_heap_inlines.h:192
    #5 0x00010d6a5208 in bmalloc_allocate_casual bmalloc_heap.c:73
    #6 0x0001097b92c0 in WTF    #7 0x00010981dac8 in WTF    #8 0x00010981b1bc in WTF    #9 0x00010981b050 in WTF    #10 0x0001097f1940 in void std    #11 0x0001867743e4 in std    #12 0x0001097f0518 in WTF    #13 0x0001021dd5c8 in JSCInitialize ZigGlobalObject.cpp:269
    #14 0x000102ae66ec in bun.js.jsc.initialize jsc.zig:21
    #15 0x000103081420 in bun_js.Run.boot bun_js.zig:178
    #16 0x000103089b7c in cli.run_command.RunCommand._bootAndHandleError run_command.zig:1246
    #17 0x000103088ef8 in cli.run_command.RunCommand.maybeOpenWithBunJS run_command.zig:1330
    #18 0x000103083ba0 in cli.run_command.RunCommand.exec run_command.zig:1375
    #19 0x0001030a6e78 in cli.Command.start cli.zig:1095
    #20 0x0001029fbf54 in cli.Cli.start cli.zig:48
    #21 0x0001029f8234 in main.main main.zig:66
    #22 0x0001029f8000 in main start.zig:635
    #23 0x0001864b6b94 in start+0x17b8 (dyld:arm64+0xfffffffffff3ab94)

Direct leak of 16 byte(s) in 1 object(s) allocated from:
    #0 0x000122d66810 in __sanitizer_mz_malloc+0x70 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x52810)
    #1 0x000186689128 in _malloc_zone_malloc_instrumented_or_legacy+0x94 (libsystem_malloc.dylib:arm64+0x33128)
    #2 0x00010d69dd10 in pas_system_heap_malloc SystemHeap.cpp:276
    #3 0x00010d6c54a8 in pas_system_heap_allocate(unsigned long, unsigned long, pas_allocation_mode) pas_system_heap.h:135
    #4 0x00010d6a5bec in bmalloc_allocate_impl_casual_case(unsigned long, unsigned long, pas_allocation_mode) bmalloc_heap_inlines.h:192
    #5 0x00010d6a5208 in bmalloc_allocate_casual bmalloc_heap.c:73
    #6 0x0001097b92c0 in WTF    #7 0x0001097ff07c in WTF    #8 0x0001097eedd8 in WTF    #9 0x0001097eeb18 in WTF    #10 0x00010b69ef90 in JSC    #11 0x00010b59a418 in JSC    #12 0x00010b598c2c in JSC    #13 0x00010b5a523c in JSC    #14 0x00010b58b234 in JSC    #15 0x00010b650978 in JSC    #16 0x00010cae182c in JSC    #17 0x00010c4571b0 in void* JSC    #18 0x00010c3bb944 in JSC    #19 0x00010c46d774 in JSC    #20 0x000300010038  (<unknown module>)
    #21 0x00010e9653f8 in jsc_llint_commonCallOp__llintOpWithMetadata__llintOpWithReturn__llintOp__commonOp__fn__fn__makeReturn__fn__fn__fn__826_callHelper__dispatch_LowLevelInterpreter64_asm_2535+0x0 (bun-debug:arm64+0x10e0bd3f8)
    #22 0x00010e9653f8 in jsc_llint_commonCallOp__llintOpWithMetadata__llintOpWithReturn__llintOp__commonOp__fn__fn__makeReturn__fn__fn__fn__826_callHelper__dispatch_LowLevelInterpreter64_asm_2535+0x0 (bun-debug:arm64+0x10e0bd3f8)
    #23 0x00010e966990 in jsc_llint_commonCallOp__llintOpWithMetadata__llintOpWithReturn__llintOp__commonOp__fn__fn__makeReturn__fn__fn__fn__844_callHelper__dispatch_LowLevelInterpreter64_asm_2535+0x0 (bun-debug:arm64+0x10e0be990)
    #24 0x00010e966990 in jsc_llint_commonCallOp__llintOpWithMetadata__llintOpWithReturn__llintOp__commonOp__fn__fn__makeReturn__fn__fn__fn__844_callHelper__dispatch_LowLevelInterpreter64_asm_2535+0x0 (bun-debug:arm64+0x10e0be990)
    #25 0x00010e93bd54 in llint_call_javascript+0x4 (bun-debug:arm64+0x10e093d54)
    #26 0x00010b933fd0 in JSC    #27 0x00010b934964 in JSC    #28 0x00010bfe12e8 in JSC    #29 0x00010bfe1a3c in JSC
Direct leak of 16 byte(s) in 1 object(s) allocated from:
    #0 0x000122d66810 in __sanitizer_mz_malloc+0x70 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x52810)
    #1 0x000186689128 in _malloc_zone_malloc_instrumented_or_legacy+0x94 (libsystem_malloc.dylib:arm64+0x33128)
    #2 0x00010d69dd10 in pas_system_heap_malloc SystemHeap.cpp:276
    #3 0x00010d6c54a8 in pas_system_heap_allocate(unsigned long, unsigned long, pas_allocation_mode) pas_system_heap.h:135
    #4 0x00010d6a5bec in bmalloc_allocate_impl_casual_case(unsigned long, unsigned long, pas_allocation_mode) bmalloc_heap_inlines.h:192
    #5 0x00010d6a5208 in bmalloc_allocate_casual bmalloc_heap.c:73
    #6 0x0001097b92c0 in WTF    #7 0x00010bf7b4cc in WTF    #8 0x000100965138 in WTF    #9 0x000100964e90 in WTF    #10 0x000100964d64 in JSC    #11 0x0001011db964 in JSC    #12 0x00010ca785bc in void JSC    #13 0x00010c11fe70 in void JSC    #14 0x00010c11df84 in JSC    #15 0x00010b69cdb8 in JSC    #16 0x00010b6a8700 in JSC    #17 0x00010b69d890 in JSC    #18 0x00010b69f6bc in JSC    #19 0x00010b6178bc in WTF    #20 0x0001097fab4c in WTF    #21 0x0001097fd968 in WTF    #22 0x00010979dd9c in WTF    #23 0x00010987a9d4 in WTF    #24 0x00010999eecc in WTF    #25 0x000122d62ed0 in asan_thread_start(void*)+0x48 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x4eed0)
    #26 0x000186856c08 in _pthread_start+0x84 (libsystem_pthread.dylib:arm64+0x6c08)
    #27 0x000186851b7c in thread_start+0x4 (libsystem_pthread.dylib:arm64+0x1b7c)

Indirect leak of 1688 byte(s) in 1 object(s) allocated from:
    #0 0x000122d66810 in __sanitizer_mz_malloc+0x70 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x52810)
    #1 0x000186689128 in _malloc_zone_malloc_instrumented_or_legacy+0x94 (libsystem_malloc.dylib:arm64+0x33128)
    #2 0x00010d69dd10 in pas_system_heap_malloc SystemHeap.cpp:276
    #3 0x00010d6c54a8 in pas_system_heap_allocate(unsigned long, unsigned long, pas_allocation_mode) pas_system_heap.h:135
    #4 0x00010d6a5bec in bmalloc_allocate_impl_casual_case(unsigned long, unsigned long, pas_allocation_mode) bmalloc_heap_inlines.h:192
    #5 0x00010d6a5208 in bmalloc_allocate_casual bmalloc_heap.c:73
    #6 0x0001097b92c0 in WTF    #7 0x000100b3e688 in WebCore    #8 0x000100b3e600 in std    #9 0x000100b3aeb0 in decltype(auto) WTF    #10 0x000100b3a614 in WebCore    #11 0x000100b3af54 in WebCore    #12 0x000100b3b884 in WebCore    #13 0x000100b3b234 in WebCore    #14 0x000100b3baa0 in WebCore    #15 0x000100b3ca44 in WebCore    #16 0x0001021e666c in Zig__GlobalObject__create ZigGlobalObject.cpp:969
    #17 0x000102a9522c in bun.js.bindings.JSGlobalObject.JSGlobalObject.create JSGlobalObject.zig:781
    #18 0x000102ffe8dc in bun.js.VirtualMachine.init VirtualMachine.zig:1130
    #19 0x000103081870 in bun_js.Run.boot bun_js.zig:185
    #20 0x000103089b7c in cli.run_command.RunCommand._bootAndHandleError run_command.zig:1246
    #21 0x000103088ef8 in cli.run_command.RunCommand.maybeOpenWithBunJS run_command.zig:1330
    #22 0x000103083ba0 in cli.run_command.RunCommand.exec run_command.zig:1375
    #23 0x0001030a6e78 in cli.Command.start cli.zig:1095
    #24 0x0001029fbf54 in cli.Cli.start cli.zig:48
    #25 0x0001029f8234 in main.main main.zig:66
    #26 0x0001029f8000 in main start.zig:635
    #27 0x0001864b6b94 in start+0x17b8 (dyld:arm64+0xfffffffffff3ab94)

Indirect leak of 872 byte(s) in 1 object(s) allocated from:
    #0 0x000122d66810 in __sanitizer_mz_malloc+0x70 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x52810)
    #1 0x000186689128 in _malloc_zone_malloc_instrumented_or_legacy+0x94 (libsystem_malloc.dylib:arm64+0x33128)
    #2 0x00010d69dd10 in pas_system_heap_malloc SystemHeap.cpp:276
    #3 0x00010d6c54a8 in pas_system_heap_allocate(unsigned long, unsigned long, pas_allocation_mode) pas_system_heap.h:135
    #4 0x00010d6a5bec in bmalloc_allocate_impl_casual_case(unsigned long, unsigned long, pas_allocation_mode) bmalloc_heap_inlines.h:192
    #5 0x00010d6a5208 in bmalloc_allocate_casual bmalloc_heap.c:73
    #6 0x0001097b92c0 in WTF    #7 0x000100b3bd90 in WebCore    #8 0x000100b3b834 in WebCore    #9 0x000100b3b234 in WebCore    #10 0x000100b3baa0 in WebCore    #11 0x000100b3ca44 in WebCore    #12 0x0001021e666c in Zig__GlobalObject__create ZigGlobalObject.cpp:969
    #13 0x000102a9522c in bun.js.bindings.JSGlobalObject.JSGlobalObject.create JSGlobalObject.zig:781
    #14 0x000102ffe8dc in bun.js.VirtualMachine.init VirtualMachine.zig:1130
    #15 0x000103081870 in bun_js.Run.boot bun_js.zig:185
    #16 0x000103089b7c in cli.run_command.RunCommand._bootAndHandleError run_command.zig:1246
    #17 0x000103088ef8 in cli.run_command.RunCommand.maybeOpenWithBunJS run_command.zig:1330
    #18 0x000103083ba0 in cli.run_command.RunCommand.exec run_command.zig:1375
    #19 0x0001030a6e78 in cli.Command.start cli.zig:1095
    #20 0x0001029fbf54 in cli.Cli.start cli.zig:48
    #21 0x0001029f8234 in main.main main.zig:66
    #22 0x0001029f8000 in main start.zig:635
    #23 0x0001864b6b94 in start+0x17b8 (dyld:arm64+0xfffffffffff3ab94)

Indirect leak of 648 byte(s) in 1 object(s) allocated from:
    #0 0x000122d66de8 in __sanitizer_mz_realloc+0x158 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x52de8)
    #1 0x000186689624 in _malloc_zone_realloc+0x90 (libsystem_malloc.dylib:arm64+0x33624)
    #2 0x00010d69df10 in pas_system_heap_realloc SystemHeap.cpp:290
    #3 0x0001097bb648 in WTF    #4 0x00010ac569f0 in JSC    #5 0x000109b81454 in JSC    #6 0x000109b7ea88 in void JSC    #7 0x000109b7e8fc in JSC    #8 0x000109bcd2a0 in JSC    #9 0x00010a35ccb4 in JSC    #10 0x00010bb8c84c in JSC    #11 0x00010cbbdb54 in JSC    #12 0x00010cbc6314 in JSC    #13 0x0001021e62fc in Zig__GlobalObject__create ZigGlobalObject.cpp:929
    #14 0x000102a9522c in bun.js.bindings.JSGlobalObject.JSGlobalObject.create JSGlobalObject.zig:781
    #15 0x000102ffe8dc in bun.js.VirtualMachine.init VirtualMachine.zig:1130
    #16 0x000103081870 in bun_js.Run.boot bun_js.zig:185
    #17 0x000103089b7c in cli.run_command.RunCommand._bootAndHandleError run_command.zig:1246
    #18 0x000103088ef8 in cli.run_command.RunCommand.maybeOpenWithBunJS run_command.zig:1330
    #19 0x000103083ba0 in cli.run_command.RunCommand.exec run_command.zig:1375
    #20 0x0001030a6e78 in cli.Command.start cli.zig:1095
    #21 0x0001029fbf54 in cli.Cli.start cli.zig:48
    #22 0x0001029f8234 in main.main main.zig:66
    #23 0x0001029f8000 in main start.zig:635
    #24 0x0001864b6b94 in start+0x17b8 (dyld:arm64+0xfffffffffff3ab94)

Indirect leak of 248 byte(s) in 1 object(s) allocated from:
    #0 0x000122d66810 in __sanitizer_mz_malloc+0x70 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x52810)
    #1 0x000186689128 in _malloc_zone_malloc_instrumented_or_legacy+0x94 (libsystem_malloc.dylib:arm64+0x33128)
    #2 0x00010d69dd10 in pas_system_heap_malloc SystemHeap.cpp:276
    #3 0x00010d6c54a8 in pas_system_heap_allocate(unsigned long, unsigned long, pas_allocation_mode) pas_system_heap.h:135
    #4 0x00010d6a5bec in bmalloc_allocate_impl_casual_case(unsigned long, unsigned long, pas_allocation_mode) bmalloc_heap_inlines.h:192
    #5 0x00010d6a5208 in bmalloc_allocate_casual bmalloc_heap.c:73
    #6 0x0001097b92c0 in WTF    #7 0x00010098372c in JSC    #8 0x0001009834a0 in std    #9 0x000100982350 in decltype(auto) WTF    #10 0x000102897a4c in JSC    #11 0x0001028975a0 in JSC    #12 0x000102897554 in auto JSC    #13 0x000102897344 in void* JSC    #14 0x0001027d8b84 in void* JSC    #15 0x0001027d8a64 in WebCore    #16 0x0001027da064 in WebCore    #17 0x0001022ca184 in Zig    #18 0x0001022c9d10 in void WTF    #19 0x0001022c9af0 in void JSC    #20 0x0001022c976c in Zig    #21 0x0001022c92e0 in JSC    #22 0x0001009b5bd0 in JSC    #23 0x000100dc5720 in JSC    #24 0x00010222d21c in Zig    #25 0x000102224238 in Zig    #26 0x0001021e4ee0 in Zig    #27 0x0001021e243c in Zig    #28 0x0001021e7454 in Zig__GlobalObject__create    #29 0x0001021e6728 in Zig__GlobalObject__create ZigGlobalObject.cpp:1002

Indirect leak of 248 byte(s) in 1 object(s) allocated from:
    #0 0x000122d66810 in __sanitizer_mz_malloc+0x70 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x52810)
    #1 0x000186689128 in _malloc_zone_malloc_instrumented_or_legacy+0x94 (libsystem_malloc.dylib:arm64+0x33128)
    #2 0x00010d69dd10 in pas_system_heap_malloc SystemHeap.cpp:276
    #3 0x00010d6c54a8 in pas_system_heap_allocate(unsigned long, unsigned long, pas_allocation_mode) pas_system_heap.h:135
    #4 0x00010d6a5bec in bmalloc_allocate_impl_casual_case(unsigned long, unsigned long, pas_allocation_mode) bmalloc_heap_inlines.h:192
    #5 0x00010d6a5208 in bmalloc_allocate_casual bmalloc_heap.c:73
    #6 0x0001097b92c0 in WTF    #7 0x00010098372c in JSC    #8 0x0001009834a0 in std    #9 0x000100982350 in decltype(auto) WTF    #10 0x00010107519c in JSC    #11 0x000101074cf0 in JSC    #12 0x000101074ca4 in auto JSC    #13 0x000101074a94 in void* JSC    #14 0x00010102db84 in void* JSC    #15 0x00010102da6c in Bun    #16 0x0001023294c0 in Zig    #17 0x000102329310 in void WTF    #18 0x000102328e2c in Bun    #19 0x000100c385e8 in JSC    #20 0x000100c1a77c in Zig    #21 0x000102223fe4 in Zig    #22 0x0001021e4ee0 in Zig    #23 0x0001021e243c in Zig    #24 0x0001021e7454 in Zig__GlobalObject__create    #25 0x0001021e6728 in Zig__GlobalObject__create ZigGlobalObject.cpp:1002
    #26 0x000102a9522c in bun.js.bindings.JSGlobalObject.JSGlobalObject.create JSGlobalObject.zig:781
    #27 0x000102ffe8dc in bun.js.VirtualMachine.init VirtualMachine.zig:1130
    #28 0x000103081870 in bun_js.Run.boot bun_js.zig:185
    #29 0x000103089b7c in cli.run_command.RunCommand._bootAndHandleError run_command.zig:1246

Indirect leak of 248 byte(s) in 1 object(s) allocated from:
    #0 0x000122d66810 in __sanitizer_mz_malloc+0x70 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x52810)
    #1 0x000186689128 in _malloc_zone_malloc_instrumented_or_legacy+0x94 (libsystem_malloc.dylib:arm64+0x33128)
    #2 0x00010d69dd10 in pas_system_heap_malloc SystemHeap.cpp:276
    #3 0x00010d6c54a8 in pas_system_heap_allocate(unsigned long, unsigned long, pas_allocation_mode) pas_system_heap.h:135
    #4 0x00010d6a5bec in bmalloc_allocate_impl_casual_case(unsigned long, unsigned long, pas_allocation_mode) bmalloc_heap_inlines.h:192
    #5 0x00010d6a5208 in bmalloc_allocate_casual bmalloc_heap.c:73
    #6 0x0001097b92c0 in WTF    #7 0x00010098372c in JSC    #8 0x0001009834a0 in std    #9 0x000100982350 in decltype(auto) WTF    #10 0x00010222c6e8 in JSC    #11 0x00010222c17c in Zig    #12 0x0001022d23a4 in JSC    #13 0x0001022d235c in auto JSC    #14 0x0001022d214c in void* JSC    #15 0x0001021e2494 in void* JSC    #16 0x0001021e236c in Zig    #17 0x0001021e7454 in Zig__GlobalObject__create    #18 0x0001021e6728 in Zig__GlobalObject__create ZigGlobalObject.cpp:1002
    #19 0x000102a9522c in bun.js.bindings.JSGlobalObject.JSGlobalObject.create JSGlobalObject.zig:781
    #20 0x000102ffe8dc in bun.js.VirtualMachine.init VirtualMachine.zig:1130
    #21 0x000103081870 in bun_js.Run.boot bun_js.zig:185
    #22 0x000103089b7c in cli.run_command.RunCommand._bootAndHandleError run_command.zig:1246
    #23 0x000103088ef8 in cli.run_command.RunCommand.maybeOpenWithBunJS run_command.zig:1330
    #24 0x000103083ba0 in cli.run_command.RunCommand.exec run_command.zig:1375
    #25 0x0001030a6e78 in cli.Command.start cli.zig:1095
    #26 0x0001029fbf54 in cli.Cli.start cli.zig:48
    #27 0x0001029f8234 in main.main main.zig:66
    #28 0x0001029f8000 in main start.zig:635
    #29 0x0001864b6b94 in start+0x17b8 (dyld:arm64+0xfffffffffff3ab94)

Indirect leak of 152 byte(s) in 1 object(s) allocated from:
    #0 0x000122d66810 in __sanitizer_mz_malloc+0x70 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x52810)
    #1 0x000186689128 in _malloc_zone_malloc_instrumented_or_legacy+0x94 (libsystem_malloc.dylib:arm64+0x33128)
    #2 0x00010d69dd10 in pas_system_heap_malloc SystemHeap.cpp:276
    #3 0x00010d6c54a8 in pas_system_heap_allocate(unsigned long, unsigned long, pas_allocation_mode) pas_system_heap.h:135
    #4 0x00010d6a5bec in bmalloc_allocate_impl_casual_case(unsigned long, unsigned long, pas_allocation_mode) bmalloc_heap_inlines.h:192
    #5 0x00010d6a5208 in bmalloc_allocate_casual bmalloc_heap.c:73
    #6 0x0001097b92c0 in WTF    #7 0x0001097ff0f8 in WTF    #8 0x0001097eedd8 in WTF    #9 0x0001097eeb18 in WTF    #10 0x00010b69ef90 in JSC    #11 0x00010b59a418 in JSC    #12 0x00010b598c2c in JSC    #13 0x00010b5a523c in JSC    #14 0x00010b58b234 in JSC    #15 0x00010b650978 in JSC    #16 0x00010cae182c in JSC    #17 0x00010c4571b0 in void* JSC    #18 0x00010c3bb944 in JSC    #19 0x00010c46d774 in JSC    #20 0x000300010038  (<unknown module>)
    #21 0x00010e9653f8 in jsc_llint_commonCallOp__llintOpWithMetadata__llintOpWithReturn__llintOp__commonOp__fn__fn__makeReturn__fn__fn__fn__826_callHelper__dispatch_LowLevelInterpreter64_asm_2535+0x0 (bun-debug:arm64+0x10e0bd3f8)
    #22 0x00010e9653f8 in jsc_llint_commonCallOp__llintOpWithMetadata__llintOpWithReturn__llintOp__commonOp__fn__fn__makeReturn__fn__fn__fn__826_callHelper__dispatch_LowLevelInterpreter64_asm_2535+0x0 (bun-debug:arm64+0x10e0bd3f8)
    #23 0x00010e966990 in jsc_llint_commonCallOp__llintOpWithMetadata__llintOpWithReturn__llintOp__commonOp__fn__fn__makeReturn__fn__fn__fn__844_callHelper__dispatch_LowLevelInterpreter64_asm_2535+0x0 (bun-debug:arm64+0x10e0be990)
    #24 0x00010e966990 in jsc_llint_commonCallOp__llintOpWithMetadata__llintOpWithReturn__llintOp__commonOp__fn__fn__makeReturn__fn__fn__fn__844_callHelper__dispatch_LowLevelInterpreter64_asm_2535+0x0 (bun-debug:arm64+0x10e0be990)
    #25 0x00010e93bd54 in llint_call_javascript+0x4 (bun-debug:arm64+0x10e093d54)
    #26 0x00010b933fd0 in JSC    #27 0x00010b934964 in JSC    #28 0x00010bfe12e8 in JSC    #29 0x00010bfe1a3c in JSC
Indirect leak of 128 byte(s) in 1 object(s) allocated from:
    #0 0x000122d66810 in __sanitizer_mz_malloc+0x70 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x52810)
    #1 0x000186689128 in _malloc_zone_malloc_instrumented_or_legacy+0x94 (libsystem_malloc.dylib:arm64+0x33128)
    #2 0x00010d69dd10 in pas_system_heap_malloc SystemHeap.cpp:276
    #3 0x00010d6c54a8 in pas_system_heap_allocate(unsigned long, unsigned long, pas_allocation_mode) pas_system_heap.h:135
    #4 0x00010d6a5bec in bmalloc_allocate_impl_casual_case(unsigned long, unsigned long, pas_allocation_mode) bmalloc_heap_inlines.h:192
    #5 0x00010d6a5208 in bmalloc_allocate_casual bmalloc_heap.c:73
    #6 0x0001097b92c0 in WTF    #7 0x000100986e88 in WTF    #8 0x000100986aa0 in bool WTF    #9 0x000100986538 in bool WTF    #10 0x0001009863e4 in bool WTF    #11 0x000100986144 in JSC    #12 0x000100985c58 in bool WTF    #13 0x000100985828 in bool WTF    #14 0x000100982694 in void WTF    #15 0x00010222c7c4 in JSC    #16 0x00010222c17c in Zig    #17 0x0001022d23a4 in JSC    #18 0x0001022d235c in auto JSC    #19 0x0001022d214c in void* JSC    #20 0x0001021e2494 in void* JSC    #21 0x0001021e236c in Zig    #22 0x0001021e7454 in Zig__GlobalObject__create    #23 0x0001021e6728 in Zig__GlobalObject__create ZigGlobalObject.cpp:1002
    #24 0x000102a9522c in bun.js.bindings.JSGlobalObject.JSGlobalObject.create JSGlobalObject.zig:781
    #25 0x000102ffe8dc in bun.js.VirtualMachine.init VirtualMachine.zig:1130
    #26 0x000103081870 in bun_js.Run.boot bun_js.zig:185
    #27 0x000103089b7c in cli.run_command.RunCommand._bootAndHandleError run_command.zig:1246
    #28 0x000103088ef8 in cli.run_command.RunCommand.maybeOpenWithBunJS run_command.zig:1330
    #29 0x000103083ba0 in cli.run_command.RunCommand.exec run_command.zig:1375

Indirect leak of 80 byte(s) in 1 object(s) allocated from:
    #0 0x000122d66810 in __sanitizer_mz_malloc+0x70 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x52810)
    #1 0x000186689128 in _malloc_zone_malloc_instrumented_or_legacy+0x94 (libsystem_malloc.dylib:arm64+0x33128)
    #2 0x00010d69dd10 in pas_system_heap_malloc SystemHeap.cpp:276
    #3 0x00010d6c54a8 in pas_system_heap_allocate(unsigned long, unsigned long, pas_allocation_mode) pas_system_heap.h:135
    #4 0x00010d6a5bec in bmalloc_allocate_impl_casual_case(unsigned long, unsigned long, pas_allocation_mode) bmalloc_heap_inlines.h:192
    #5 0x00010d6a5208 in bmalloc_allocate_casual bmalloc_heap.c:73
    #6 0x0001097b92c0 in WTF    #7 0x0001021f4fa4 in Bun    #8 0x0001021e75c4 in Zig    #9 0x0001021e67a0 in Zig__GlobalObject__create ZigGlobalObject.cpp:1007
    #10 0x000102a9522c in bun.js.bindings.JSGlobalObject.JSGlobalObject.create JSGlobalObject.zig:781
    #11 0x000102ffe8dc in bun.js.VirtualMachine.init VirtualMachine.zig:1130
    #12 0x000103081870 in bun_js.Run.boot bun_js.zig:185
    #13 0x000103089b7c in cli.run_command.RunCommand._bootAndHandleError run_command.zig:1246
    #14 0x000103088ef8 in cli.run_command.RunCommand.maybeOpenWithBunJS run_command.zig:1330
    #15 0x000103083ba0 in cli.run_command.RunCommand.exec run_command.zig:1375
    #16 0x0001030a6e78 in cli.Command.start cli.zig:1095
    #17 0x0001029fbf54 in cli.Cli.start cli.zig:48
    #18 0x0001029f8234 in main.main main.zig:66
    #19 0x0001029f8000 in main start.zig:635
    #20 0x0001864b6b94 in start+0x17b8 (dyld:arm64+0xfffffffffff3ab94)

Indirect leak of 53 byte(s) in 1 object(s) allocated from:
    #0 0x000122d66810 in __sanitizer_mz_malloc+0x70 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x52810)
    #1 0x000186689128 in _malloc_zone_malloc_instrumented_or_legacy+0x94 (libsystem_malloc.dylib:arm64+0x33128)
    #2 0x00010d69dd10 in pas_system_heap_malloc SystemHeap.cpp:276
    #3 0x00010d6c54a8 in pas_system_heap_allocate(unsigned long, unsigned long, pas_allocation_mode) pas_system_heap.h:135
    #4 0x00010d6a5bec in bmalloc_allocate_impl_casual_case(unsigned long, unsigned long, pas_allocation_mode) bmalloc_heap_inlines.h:192
    #5 0x00010d6a5208 in bmalloc_allocate_casual bmalloc_heap.c:73
    #6 0x0001097b92c0 in WTF    #7 0x0001099363e4 in WTF    #8 0x000109936704 in WTF    #9 0x000100b3a728 in WebCore    #10 0x000100b3af54 in WebCore    #11 0x000100b3b884 in WebCore    #12 0x000100b3b234 in WebCore    #13 0x000100b3baa0 in WebCore    #14 0x000100b3ca44 in WebCore    #15 0x0001021e666c in Zig__GlobalObject__create ZigGlobalObject.cpp:969
    #16 0x000102a9522c in bun.js.bindings.JSGlobalObject.JSGlobalObject.create JSGlobalObject.zig:781
    #17 0x000102ffe8dc in bun.js.VirtualMachine.init VirtualMachine.zig:1130
    #18 0x000103081870 in bun_js.Run.boot bun_js.zig:185
    #19 0x000103089b7c in cli.run_command.RunCommand._bootAndHandleError run_command.zig:1246
    #20 0x000103088ef8 in cli.run_command.RunCommand.maybeOpenWithBunJS run_command.zig:1330
    #21 0x000103083ba0 in cli.run_command.RunCommand.exec run_command.zig:1375
    #22 0x0001030a6e78 in cli.Command.start cli.zig:1095
    #23 0x0001029fbf54 in cli.Cli.start cli.zig:48
    #24 0x0001029f8234 in main.main main.zig:66
    #25 0x0001029f8000 in main start.zig:635
    #26 0x0001864b6b94 in start+0x17b8 (dyld:arm64+0xfffffffffff3ab94)

Indirect leak of 46 byte(s) in 1 object(s) allocated from:
    #0 0x000122d66810 in __sanitizer_mz_malloc+0x70 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x52810)
    #1 0x000186689128 in _malloc_zone_malloc_instrumented_or_legacy+0x94 (libsystem_malloc.dylib:arm64+0x33128)
    #2 0x00010d69dd10 in pas_system_heap_malloc SystemHeap.cpp:276
    #3 0x00010d6c54a8 in pas_system_heap_allocate(unsigned long, unsigned long, pas_allocation_mode) pas_system_heap.h:135
    #4 0x00010d6a5bec in bmalloc_allocate_impl_casual_case(unsigned long, unsigned long, pas_allocation_mode) bmalloc_heap_inlines.h:192
    #5 0x00010d6a5208 in bmalloc_allocate_casual bmalloc_heap.c:73
    #6 0x0001097b92c0 in WTF    #7 0x0001099363e4 in WTF    #8 0x000109936704 in WTF    #9 0x000100b3a64c in WebCore    #10 0x000100b3af54 in WebCore    #11 0x000100b3b884 in WebCore    #12 0x000100b3b234 in WebCore    #13 0x000100b3baa0 in WebCore    #14 0x000100b3ca44 in WebCore    #15 0x0001021e666c in Zig__GlobalObject__create ZigGlobalObject.cpp:969
    #16 0x000102a9522c in bun.js.bindings.JSGlobalObject.JSGlobalObject.create JSGlobalObject.zig:781
    #17 0x000102ffe8dc in bun.js.VirtualMachine.init VirtualMachine.zig:1130
    #18 0x000103081870 in bun_js.Run.boot bun_js.zig:185
    #19 0x000103089b7c in cli.run_command.RunCommand._bootAndHandleError run_command.zig:1246
    #20 0x000103088ef8 in cli.run_command.RunCommand.maybeOpenWithBunJS run_command.zig:1330
    #21 0x000103083ba0 in cli.run_command.RunCommand.exec run_command.zig:1375
    #22 0x0001030a6e78 in cli.Command.start cli.zig:1095
    #23 0x0001029fbf54 in cli.Cli.start cli.zig:48
    #24 0x0001029f8234 in main.main main.zig:66
    #25 0x0001029f8000 in main start.zig:635
    #26 0x0001864b6b94 in start+0x17b8 (dyld:arm64+0xfffffffffff3ab94)

Indirect leak of 40 byte(s) in 1 object(s) allocated from:
    #0 0x000122d66810 in __sanitizer_mz_malloc+0x70 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x52810)
    #1 0x000186689128 in _malloc_zone_malloc_instrumented_or_legacy+0x94 (libsystem_malloc.dylib:arm64+0x33128)
    #2 0x00010d69dd10 in pas_system_heap_malloc SystemHeap.cpp:276
    #3 0x00010d6c54a8 in pas_system_heap_allocate(unsigned long, unsigned long, pas_allocation_mode) pas_system_heap.h:135
    #4 0x00010d6a5bec in bmalloc_allocate_impl_casual_case(unsigned long, unsigned long, pas_allocation_mode) bmalloc_heap_inlines.h:192
    #5 0x00010d6a5208 in bmalloc_allocate_casual bmalloc_heap.c:73
    #6 0x0001097b92c0 in WTF    #7 0x00010b64da24 in JSC    #8 0x00010b64dbd8 in JSC    #9 0x000100b3a6d0 in WebCore    #10 0x000100b3af54 in WebCore    #11 0x000100b3b884 in WebCore    #12 0x000100b3b234 in WebCore    #13 0x000100b3baa0 in WebCore    #14 0x000100b3ca44 in WebCore    #15 0x0001021e666c in Zig__GlobalObject__create ZigGlobalObject.cpp:969
    #16 0x000102a9522c in bun.js.bindings.JSGlobalObject.JSGlobalObject.create JSGlobalObject.zig:781
    #17 0x000102ffe8dc in bun.js.VirtualMachine.init VirtualMachine.zig:1130
    #18 0x000103081870 in bun_js.Run.boot bun_js.zig:185
    #19 0x000103089b7c in cli.run_command.RunCommand._bootAndHandleError run_command.zig:1246
    #20 0x000103088ef8 in cli.run_command.RunCommand.maybeOpenWithBunJS run_command.zig:1330
    #21 0x000103083ba0 in cli.run_command.RunCommand.exec run_command.zig:1375
    #22 0x0001030a6e78 in cli.Command.start cli.zig:1095
    #23 0x0001029fbf54 in cli.Cli.start cli.zig:48
    #24 0x0001029f8234 in main.main main.zig:66
    #25 0x0001029f8000 in main start.zig:635
    #26 0x0001864b6b94 in start+0x17b8 (dyld:arm64+0xfffffffffff3ab94)

Indirect leak of 40 byte(s) in 1 object(s) allocated from:
    #0 0x000122d66810 in __sanitizer_mz_malloc+0x70 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x52810)
    #1 0x000186689128 in _malloc_zone_malloc_instrumented_or_legacy+0x94 (libsystem_malloc.dylib:arm64+0x33128)
    #2 0x00010d69dd10 in pas_system_heap_malloc SystemHeap.cpp:276
    #3 0x00010d6c54a8 in pas_system_heap_allocate(unsigned long, unsigned long, pas_allocation_mode) pas_system_heap.h:135
    #4 0x00010d6a5bec in bmalloc_allocate_impl_casual_case(unsigned long, unsigned long, pas_allocation_mode) bmalloc_heap_inlines.h:192
    #5 0x00010d6a5208 in bmalloc_allocate_casual bmalloc_heap.c:73
    #6 0x0001097b92c0 in WTF    #7 0x00010b64da24 in JSC    #8 0x00010b64dbd8 in JSC    #9 0x000100983634 in std    #10 0x000100982350 in decltype(auto) WTF    #11 0x000102897a4c in JSC    #12 0x0001028975a0 in JSC    #13 0x000102897554 in auto JSC    #14 0x000102897344 in void* JSC    #15 0x0001027d8b84 in void* JSC    #16 0x0001027d8a64 in WebCore    #17 0x0001027da064 in WebCore    #18 0x0001022ca184 in Zig    #19 0x0001022c9d10 in void WTF    #20 0x0001022c9af0 in void JSC    #21 0x0001022c976c in Zig    #22 0x0001022c92e0 in JSC    #23 0x0001009b5bd0 in JSC    #24 0x000100dc5720 in JSC    #25 0x00010222d21c in Zig    #26 0x000102224238 in Zig    #27 0x0001021e4ee0 in Zig    #28 0x0001021e243c in Zig    #29 0x0001021e7454 in Zig__GlobalObject__create
Indirect leak of 40 byte(s) in 1 object(s) allocated from:
    #0 0x000122d66810 in __sanitizer_mz_malloc+0x70 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x52810)
    #1 0x000186689128 in _malloc_zone_malloc_instrumented_or_legacy+0x94 (libsystem_malloc.dylib:arm64+0x33128)
    #2 0x00010d69dd10 in pas_system_heap_malloc SystemHeap.cpp:276
    #3 0x00010d6c54a8 in pas_system_heap_allocate(unsigned long, unsigned long, pas_allocation_mode) pas_system_heap.h:135
    #4 0x00010d6a5bec in bmalloc_allocate_impl_casual_case(unsigned long, unsigned long, pas_allocation_mode) bmalloc_heap_inlines.h:192
    #5 0x00010d6a5208 in bmalloc_allocate_casual bmalloc_heap.c:73
    #6 0x0001097b92c0 in WTF    #7 0x00010b64da24 in JSC    #8 0x00010b64dbd8 in JSC    #9 0x000100983634 in std    #10 0x000100982350 in decltype(auto) WTF    #11 0x00010107519c in JSC    #12 0x000101074cf0 in JSC    #13 0x000101074ca4 in auto JSC    #14 0x000101074a94 in void* JSC    #15 0x00010102db84 in void* JSC    #16 0x00010102da6c in Bun    #17 0x0001023294c0 in Zig    #18 0x000102329310 in void WTF    #19 0x000102328e2c in Bun    #20 0x000100c385e8 in JSC    #21 0x000100c1a77c in Zig    #22 0x000102223fe4 in Zig    #23 0x0001021e4ee0 in Zig    #24 0x0001021e243c in Zig    #25 0x0001021e7454 in Zig__GlobalObject__create    #26 0x0001021e6728 in Zig__GlobalObject__create ZigGlobalObject.cpp:1002
    #27 0x000102a9522c in bun.js.bindings.JSGlobalObject.JSGlobalObject.create JSGlobalObject.zig:781
    #28 0x000102ffe8dc in bun.js.VirtualMachine.init VirtualMachine.zig:1130
    #29 0x000103081870 in bun_js.Run.boot bun_js.zig:185

Indirect leak of 40 byte(s) in 1 object(s) allocated from:
    #0 0x000122d66810 in __sanitizer_mz_malloc+0x70 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x52810)
    #1 0x000186689128 in _malloc_zone_malloc_instrumented_or_legacy+0x94 (libsystem_malloc.dylib:arm64+0x33128)
    #2 0x00010d69dd10 in pas_system_heap_malloc SystemHeap.cpp:276
    #3 0x00010d6c54a8 in pas_system_heap_allocate(unsigned long, unsigned long, pas_allocation_mode) pas_system_heap.h:135
    #4 0x00010d6a5bec in bmalloc_allocate_impl_casual_case(unsigned long, unsigned long, pas_allocation_mode) bmalloc_heap_inlines.h:192
    #5 0x00010d6a5208 in bmalloc_allocate_casual bmalloc_heap.c:73
    #6 0x0001097b92c0 in WTF    #7 0x00010b64da24 in JSC    #8 0x00010b64dbd8 in JSC    #9 0x000100983634 in std    #10 0x000100982350 in decltype(auto) WTF    #11 0x00010222c6e8 in JSC    #12 0x00010222c17c in Zig    #13 0x0001022d23a4 in JSC    #14 0x0001022d235c in auto JSC    #15 0x0001022d214c in void* JSC    #16 0x0001021e2494 in void* JSC    #17 0x0001021e236c in Zig    #18 0x0001021e7454 in Zig__GlobalObject__create    #19 0x0001021e6728 in Zig__GlobalObject__create ZigGlobalObject.cpp:1002
    #20 0x000102a9522c in bun.js.bindings.JSGlobalObject.JSGlobalObject.create JSGlobalObject.zig:781
    #21 0x000102ffe8dc in bun.js.VirtualMachine.init VirtualMachine.zig:1130
    #22 0x000103081870 in bun_js.Run.boot bun_js.zig:185
    #23 0x000103089b7c in cli.run_command.RunCommand._bootAndHandleError run_command.zig:1246
    #24 0x000103088ef8 in cli.run_command.RunCommand.maybeOpenWithBunJS run_command.zig:1330
    #25 0x000103083ba0 in cli.run_command.RunCommand.exec run_command.zig:1375
    #26 0x0001030a6e78 in cli.Command.start cli.zig:1095
    #27 0x0001029fbf54 in cli.Cli.start cli.zig:48
    #28 0x0001029f8234 in main.main main.zig:66
    #29 0x0001029f8000 in main start.zig:635

Indirect leak of 40 byte(s) in 1 object(s) allocated from:
    #0 0x000122d66810 in __sanitizer_mz_malloc+0x70 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x52810)
    #1 0x000186689128 in _malloc_zone_malloc_instrumented_or_legacy+0x94 (libsystem_malloc.dylib:arm64+0x33128)
    #2 0x00010d69dd10 in pas_system_heap_malloc SystemHeap.cpp:276
    #3 0x00010d6c54a8 in pas_system_heap_allocate(unsigned long, unsigned long, pas_allocation_mode) pas_system_heap.h:135
    #4 0x00010d6a5bec in bmalloc_allocate_impl_casual_case(unsigned long, unsigned long, pas_allocation_mode) bmalloc_heap_inlines.h:192
    #5 0x00010d6a5208 in bmalloc_allocate_casual bmalloc_heap.c:73
    #6 0x0001097b92c0 in WTF    #7 0x00010b64da24 in JSC    #8 0x00010b64dbd8 in JSC    #9 0x000100b3a888 in WebCore    #10 0x000100b3af54 in WebCore    #11 0x000100b3b884 in WebCore    #12 0x000100b3b234 in WebCore    #13 0x000100b3baa0 in WebCore    #14 0x000100b3ca44 in WebCore    #15 0x0001021e666c in Zig__GlobalObject__create ZigGlobalObject.cpp:969
    #16 0x000102a9522c in bun.js.bindings.JSGlobalObject.JSGlobalObject.create JSGlobalObject.zig:781
    #17 0x000102ffe8dc in bun.js.VirtualMachine.init VirtualMachine.zig:1130
    #18 0x000103081870 in bun_js.Run.boot bun_js.zig:185
    #19 0x000103089b7c in cli.run_command.RunCommand._bootAndHandleError run_command.zig:1246
    #20 0x000103088ef8 in cli.run_command.RunCommand.maybeOpenWithBunJS run_command.zig:1330
    #21 0x000103083ba0 in cli.run_command.RunCommand.exec run_command.zig:1375
    #22 0x0001030a6e78 in cli.Command.start cli.zig:1095
    #23 0x0001029fbf54 in cli.Cli.start cli.zig:48
    #24 0x0001029f8234 in main.main main.zig:66
    #25 0x0001029f8000 in main start.zig:635
    #26 0x0001864b6b94 in start+0x17b8 (dyld:arm64+0xfffffffffff3ab94)

Indirect leak of 40 byte(s) in 1 object(s) allocated from:
    #0 0x000122d66810 in __sanitizer_mz_malloc+0x70 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x52810)
    #1 0x000186689128 in _malloc_zone_malloc_instrumented_or_legacy+0x94 (libsystem_malloc.dylib:arm64+0x33128)
    #2 0x00010d69dd10 in pas_system_heap_malloc SystemHeap.cpp:276
    #3 0x00010d6c54a8 in pas_system_heap_allocate(unsigned long, unsigned long, pas_allocation_mode) pas_system_heap.h:135
    #4 0x00010d6a5bec in bmalloc_allocate_impl_casual_case(unsigned long, unsigned long, pas_allocation_mode) bmalloc_heap_inlines.h:192
    #5 0x00010d6a5208 in bmalloc_allocate_casual bmalloc_heap.c:73
    #6 0x0001097b92c0 in WTF    #7 0x00010b64da24 in JSC    #8 0x00010b64dbd8 in JSC    #9 0x000100b3a7ac in WebCore    #10 0x000100b3af54 in WebCore    #11 0x000100b3b884 in WebCore    #12 0x000100b3b234 in WebCore    #13 0x000100b3baa0 in WebCore    #14 0x000100b3ca44 in WebCore    #15 0x0001021e666c in Zig__GlobalObject__create ZigGlobalObject.cpp:969
    #16 0x000102a9522c in bun.js.bindings.JSGlobalObject.JSGlobalObject.create JSGlobalObject.zig:781
    #17 0x000102ffe8dc in bun.js.VirtualMachine.init VirtualMachine.zig:1130
    #18 0x000103081870 in bun_js.Run.boot bun_js.zig:185
    #19 0x000103089b7c in cli.run_command.RunCommand._bootAndHandleError run_command.zig:1246
    #20 0x000103088ef8 in cli.run_command.RunCommand.maybeOpenWithBunJS run_command.zig:1330
    #21 0x000103083ba0 in cli.run_command.RunCommand.exec run_command.zig:1375
    #22 0x0001030a6e78 in cli.Command.start cli.zig:1095
    #23 0x0001029fbf54 in cli.Cli.start cli.zig:48
    #24 0x0001029f8234 in main.main main.zig:66
    #25 0x0001029f8000 in main start.zig:635
    #26 0x0001864b6b94 in start+0x17b8 (dyld:arm64+0xfffffffffff3ab94)

Indirect leak of 37 byte(s) in 1 object(s) allocated from:
    #0 0x000122d66810 in __sanitizer_mz_malloc+0x70 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x52810)
    #1 0x000186689128 in _malloc_zone_malloc_instrumented_or_legacy+0x94 (libsystem_malloc.dylib:arm64+0x33128)
    #2 0x00010d69dd10 in pas_system_heap_malloc SystemHeap.cpp:276
    #3 0x00010d6c54a8 in pas_system_heap_allocate(unsigned long, unsigned long, pas_allocation_mode) pas_system_heap.h:135
    #4 0x00010d6a5bec in bmalloc_allocate_impl_casual_case(unsigned long, unsigned long, pas_allocation_mode) bmalloc_heap_inlines.h:192
    #5 0x00010d6a5208 in bmalloc_allocate_casual bmalloc_heap.c:73
    #6 0x0001097b92c0 in WTF    #7 0x0001099363e4 in WTF    #8 0x000109936704 in WTF    #9 0x000100b3a804 in WebCore    #10 0x000100b3af54 in WebCore    #11 0x000100b3b884 in WebCore    #12 0x000100b3b234 in WebCore    #13 0x000100b3baa0 in WebCore    #14 0x000100b3ca44 in WebCore    #15 0x0001021e666c in Zig__GlobalObject__create ZigGlobalObject.cpp:969
    #16 0x000102a9522c in bun.js.bindings.JSGlobalObject.JSGlobalObject.create JSGlobalObject.zig:781
    #17 0x000102ffe8dc in bun.js.VirtualMachine.init VirtualMachine.zig:1130
    #18 0x000103081870 in bun_js.Run.boot bun_js.zig:185
    #19 0x000103089b7c in cli.run_command.RunCommand._bootAndHandleError run_command.zig:1246
    #20 0x000103088ef8 in cli.run_command.RunCommand.maybeOpenWithBunJS run_command.zig:1330
    #21 0x000103083ba0 in cli.run_command.RunCommand.exec run_command.zig:1375
    #22 0x0001030a6e78 in cli.Command.start cli.zig:1095
    #23 0x0001029fbf54 in cli.Cli.start cli.zig:48
    #24 0x0001029f8234 in main.main main.zig:66
    #25 0x0001029f8000 in main start.zig:635
    #26 0x0001864b6b94 in start+0x17b8 (dyld:arm64+0xfffffffffff3ab94)

Indirect leak of 32 byte(s) in 1 object(s) allocated from:
    #0 0x000122d6649c in calloc+0x78 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x5249c)
    #1 0x000186673af8 in _malloc_type_calloc_outlined+0x64 (libsystem_malloc.dylib:arm64+0x1daf8)
    #2 0x000186466b60 in _fetchInitializingClassList(bool)+0xb0 (libobjc.A.dylib:arm64+0xab60)
    #3 0x00018646699c in _setThisThreadIsInitializingClass(objc_class*)+0x1c (libobjc.A.dylib:arm64+0xa99c)
    #4 0x0001864667bc in initializeNonMetaClass+0x258 (libobjc.A.dylib:arm64+0xa7bc)
    #5 0x0001864665fc in initializeNonMetaClass+0x98 (libobjc.A.dylib:arm64+0xa5fc)
    #6 0x0001864665fc in initializeNonMetaClass+0x98 (libobjc.A.dylib:arm64+0xa5fc)
    #7 0x0001864665fc in initializeNonMetaClass+0x98 (libobjc.A.dylib:arm64+0xa5fc)
    #8 0x000186482a60 in initializeAndMaybeRelock(objc_class*, objc_object*, locker_mixin<lockdebug    #9 0x000186465f88 in lookUpImpOrForward+0x120 (libobjc.A.dylib:arm64+0x9f88)
    #10 0x000186465b80 in _objc_msgSend_uncached+0x40 (libobjc.A.dylib:arm64+0x9b80)
    #11 0x0001865523fc in _xpc_collect_images+0xc0 (libxpc.dylib:arm64+0x23fc)
    #12 0x000186551868 in _libxpc_initializer+0x440 (libxpc.dylib:arm64+0x1868)
    #13 0x000194a9a310 in libSystem_initializer+0xfc (libSystem.B.dylib:arm64+0x1310)
    #14 0x0001864d2ef8 in invocation function for block in dyld4    #15 0x00018650f860  (<unknown module>)
    #16 0x00018652f588  (<unknown module>)
    #17 0x00018652c314  (<unknown module>)
    #18 0x00018652da54  (<unknown module>)
    #19 0x00018650f330  (<unknown module>)
    #20 0x0001864d2cb0 in dyld4    #21 0x0001864de52c  (<unknown module>)
    #22 0x0001864f48ac  (<unknown module>)
    #23 0x0001864b7dfc in dyld4    #24 0x0001864b71d4 in dyld4    #25 0x0001864b6b48 in start+0x176c (dyld:arm64+0xfffffffffff3ab48)

Indirect leak of 27 byte(s) in 1 object(s) allocated from:
    #0 0x000122d66810 in __sanitizer_mz_malloc+0x70 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x52810)
    #1 0x000186689128 in _malloc_zone_malloc_instrumented_or_legacy+0x94 (libsystem_malloc.dylib:arm64+0x33128)
    #2 0x00010d69dd10 in pas_system_heap_malloc SystemHeap.cpp:276
    #3 0x00010d6c54a8 in pas_system_heap_allocate(unsigned long, unsigned long, pas_allocation_mode) pas_system_heap.h:135
    #4 0x00010d6a5bec in bmalloc_allocate_impl_casual_case(unsigned long, unsigned long, pas_allocation_mode) bmalloc_heap_inlines.h:192
    #5 0x00010d6a5208 in bmalloc_allocate_casual bmalloc_heap.c:73
    #6 0x0001097b92c0 in WTF    #7 0x0001099363e4 in WTF    #8 0x000109936704 in WTF    #9 0x0001009834e0 in std    #10 0x000100982350 in decltype(auto) WTF    #11 0x000102897a4c in JSC    #12 0x0001028975a0 in JSC    #13 0x000102897554 in auto JSC    #14 0x000102897344 in void* JSC    #15 0x0001027d8b84 in void* JSC    #16 0x0001027d8a64 in WebCore    #17 0x0001027da064 in WebCore    #18 0x0001022ca184 in Zig    #19 0x0001022c9d10 in void WTF    #20 0x0001022c9af0 in void JSC    #21 0x0001022c976c in Zig    #22 0x0001022c92e0 in JSC    #23 0x0001009b5bd0 in JSC    #24 0x000100dc5720 in JSC    #25 0x00010222d21c in Zig    #26 0x000102224238 in Zig    #27 0x0001021e4ee0 in Zig    #28 0x0001021e243c in Zig    #29 0x0001021e7454 in Zig__GlobalObject__create
Indirect leak of 27 byte(s) in 1 object(s) allocated from:
    #0 0x000122d66810 in __sanitizer_mz_malloc+0x70 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x52810)
    #1 0x000186689128 in _malloc_zone_malloc_instrumented_or_legacy+0x94 (libsystem_malloc.dylib:arm64+0x33128)
    #2 0x00010d69dd10 in pas_system_heap_malloc SystemHeap.cpp:276
    #3 0x00010d6c54a8 in pas_system_heap_allocate(unsigned long, unsigned long, pas_allocation_mode) pas_system_heap.h:135
    #4 0x00010d6a5bec in bmalloc_allocate_impl_casual_case(unsigned long, unsigned long, pas_allocation_mode) bmalloc_heap_inlines.h:192
    #5 0x00010d6a5208 in bmalloc_allocate_casual bmalloc_heap.c:73
    #6 0x0001097b92c0 in WTF    #7 0x0001099363e4 in WTF    #8 0x000109936704 in WTF    #9 0x0001009834e0 in std    #10 0x000100982350 in decltype(auto) WTF    #11 0x00010107519c in JSC    #12 0x000101074cf0 in JSC    #13 0x000101074ca4 in auto JSC    #14 0x000101074a94 in void* JSC    #15 0x00010102db84 in void* JSC    #16 0x00010102da6c in Bun    #17 0x0001023294c0 in Zig    #18 0x000102329310 in void WTF    #19 0x000102328e2c in Bun    #20 0x000100c385e8 in JSC    #21 0x000100c1a77c in Zig    #22 0x000102223fe4 in Zig    #23 0x0001021e4ee0 in Zig    #24 0x0001021e243c in Zig    #25 0x0001021e7454 in Zig__GlobalObject__create    #26 0x0001021e6728 in Zig__GlobalObject__create ZigGlobalObject.cpp:1002
    #27 0x000102a9522c in bun.js.bindings.JSGlobalObject.JSGlobalObject.create JSGlobalObject.zig:781
    #28 0x000102ffe8dc in bun.js.VirtualMachine.init VirtualMachine.zig:1130
    #29 0x000103081870 in bun_js.Run.boot bun_js.zig:185

Indirect leak of 27 byte(s) in 1 object(s) allocated from:
    #0 0x000122d66810 in __sanitizer_mz_malloc+0x70 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x52810)
    #1 0x000186689128 in _malloc_zone_malloc_instrumented_or_legacy+0x94 (libsystem_malloc.dylib:arm64+0x33128)
    #2 0x00010d69dd10 in pas_system_heap_malloc SystemHeap.cpp:276
    #3 0x00010d6c54a8 in pas_system_heap_allocate(unsigned long, unsigned long, pas_allocation_mode) pas_system_heap.h:135
    #4 0x00010d6a5bec in bmalloc_allocate_impl_casual_case(unsigned long, unsigned long, pas_allocation_mode) bmalloc_heap_inlines.h:192
    #5 0x00010d6a5208 in bmalloc_allocate_casual bmalloc_heap.c:73
    #6 0x0001097b92c0 in WTF    #7 0x0001099363e4 in WTF    #8 0x000109936704 in WTF    #9 0x0001009834e0 in std    #10 0x000100982350 in decltype(auto) WTF    #11 0x00010222c6e8 in JSC    #12 0x00010222c17c in Zig    #13 0x0001022d23a4 in JSC    #14 0x0001022d235c in auto JSC    #15 0x0001022d214c in void* JSC    #16 0x0001021e2494 in void* JSC    #17 0x0001021e236c in Zig    #18 0x0001021e7454 in Zig__GlobalObject__create    #19 0x0001021e6728 in Zig__GlobalObject__create ZigGlobalObject.cpp:1002
    #20 0x000102a9522c in bun.js.bindings.JSGlobalObject.JSGlobalObject.create JSGlobalObject.zig:781
    #21 0x000102ffe8dc in bun.js.VirtualMachine.init VirtualMachine.zig:1130
    #22 0x000103081870 in bun_js.Run.boot bun_js.zig:185
    #23 0x000103089b7c in cli.run_command.RunCommand._bootAndHandleError run_command.zig:1246
    #24 0x000103088ef8 in cli.run_command.RunCommand.maybeOpenWithBunJS run_command.zig:1330
    #25 0x000103083ba0 in cli.run_command.RunCommand.exec run_command.zig:1375
    #26 0x0001030a6e78 in cli.Command.start cli.zig:1095
    #27 0x0001029fbf54 in cli.Cli.start cli.zig:48
    #28 0x0001029f8234 in main.main main.zig:66
    #29 0x0001029f8000 in main start.zig:635

Indirect leak of 24 byte(s) in 1 object(s) allocated from:
    #0 0x000122d66810 in __sanitizer_mz_malloc+0x70 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x52810)
    #1 0x000186689128 in _malloc_zone_malloc_instrumented_or_legacy+0x94 (libsystem_malloc.dylib:arm64+0x33128)
    #2 0x00010d69e008 in pas_system_heap_malloc_compact SystemHeap.cpp:297
    #3 0x00010d6c5498 in pas_system_heap_allocate(unsigned long, unsigned long, pas_allocation_mode) pas_system_heap.h:136
    #4 0x00010d6a5bec in bmalloc_allocate_impl_casual_case(unsigned long, unsigned long, pas_allocation_mode) bmalloc_heap_inlines.h:192
    #5 0x00010d6a5208 in bmalloc_allocate_casual bmalloc_heap.c:73
    #6 0x0001097b9800 in WTF    #7 0x0001017173d8 in WTF    #8 0x0001022dcc70 in WTF    #9 0x0001022dc990 in WTF    #10 0x0001022dc890 in WTF    #11 0x0001022dc6a4 in WTF    #12 0x0001021f505c in WTF    #13 0x0001021e7614 in Zig    #14 0x0001021e67a0 in Zig__GlobalObject__create ZigGlobalObject.cpp:1007
    #15 0x000102a9522c in bun.js.bindings.JSGlobalObject.JSGlobalObject.create JSGlobalObject.zig:781
    #16 0x000102ffe8dc in bun.js.VirtualMachine.init VirtualMachine.zig:1130
    #17 0x000103081870 in bun_js.Run.boot bun_js.zig:185
    #18 0x000103089b7c in cli.run_command.RunCommand._bootAndHandleError run_command.zig:1246
    #19 0x000103088ef8 in cli.run_command.RunCommand.maybeOpenWithBunJS run_command.zig:1330
    #20 0x000103083ba0 in cli.run_command.RunCommand.exec run_command.zig:1375
    #21 0x0001030a6e78 in cli.Command.start cli.zig:1095
    #22 0x0001029fbf54 in cli.Cli.start cli.zig:48
    #23 0x0001029f8234 in main.main main.zig:66
    #24 0x0001029f8000 in main start.zig:635
    #25 0x0001864b6b94 in start+0x17b8 (dyld:arm64+0xfffffffffff3ab94)

Indirect leak of 16 byte(s) in 1 object(s) allocated from:
    #0 0x000122d6649c in calloc+0x78 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x5249c)
    #1 0x000186673af8 in _malloc_type_calloc_outlined+0x64 (libsystem_malloc.dylib:arm64+0x1daf8)
    #2 0x000186466b1c in _fetchInitializingClassList(bool)+0x6c (libobjc.A.dylib:arm64+0xab1c)
    #3 0x00018646699c in _setThisThreadIsInitializingClass(objc_class*)+0x1c (libobjc.A.dylib:arm64+0xa99c)
    #4 0x0001864667bc in initializeNonMetaClass+0x258 (libobjc.A.dylib:arm64+0xa7bc)
    #5 0x0001864665fc in initializeNonMetaClass+0x98 (libobjc.A.dylib:arm64+0xa5fc)
    #6 0x0001864665fc in initializeNonMetaClass+0x98 (libobjc.A.dylib:arm64+0xa5fc)
    #7 0x0001864665fc in initializeNonMetaClass+0x98 (libobjc.A.dylib:arm64+0xa5fc)
    #8 0x000186482a60 in initializeAndMaybeRelock(objc_class*, objc_object*, locker_mixin<lockdebug    #9 0x000186465f88 in lookUpImpOrForward+0x120 (libobjc.A.dylib:arm64+0x9f88)
    #10 0x000186465b80 in _objc_msgSend_uncached+0x40 (libobjc.A.dylib:arm64+0x9b80)
    #11 0x0001865523fc in _xpc_collect_images+0xc0 (libxpc.dylib:arm64+0x23fc)
    #12 0x000186551868 in _libxpc_initializer+0x440 (libxpc.dylib:arm64+0x1868)
    #13 0x000194a9a310 in libSystem_initializer+0xfc (libSystem.B.dylib:arm64+0x1310)
    #14 0x0001864d2ef8 in invocation function for block in dyld4    #15 0x00018650f860  (<unknown module>)
    #16 0x00018652f588  (<unknown module>)
    #17 0x00018652c314  (<unknown module>)
    #18 0x00018652da54  (<unknown module>)
    #19 0x00018650f330  (<unknown module>)
    #20 0x0001864d2cb0 in dyld4    #21 0x0001864de52c  (<unknown module>)
    #22 0x0001864f48ac  (<unknown module>)
    #23 0x0001864b7dfc in dyld4    #24 0x0001864b71d4 in dyld4    #25 0x0001864b6b48 in start+0x176c (dyld:arm64+0xfffffffffff3ab48)

SUMMARY: AddressSanitizer: 648474 byte(s) leaked in 48 allocation(s).
=================================================================
==99234==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 426928 byte(s) in 2 object(s) allocated from:
    #0 0x000122d661c4 in malloc+0x70 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x521c4)
    #1 0x000186673a80 in _malloc_type_malloc_outlined+0x60 (libsystem_malloc.dylib:arm64+0x1da80)
    #2 0x000186860c4c in dyld::ThreadLocalVariables::instantiateVariable(dyld::ThreadLocalVariables::Thunk const&)+0x34 (libdyld.dylib:arm64+0x3c4c)
    #3 0x00018686015c in _tlv_get_addr+0x64 (libdyld.dylib:arm64+0x315c)
    #4 0x0001097f2180 in WTF::DisableMallocRestrictionsForCurrentThreadScope::DisableMallocRestrictionsForCurrentThreadScope() MallocCommon.cpp:47
    #5 0x0001097eeb10 in WTF::Lock::lockSlow() Lock.cpp:49
    #6 0x00010b69fe3c in JSC::SlotVisitor::drainFromShared(JSC::SlotVisitor::SharedDrainMode, WTF::MonotonicTime) SlotVisitor.cpp:612
    #7 0x00010b6178bc in WTF::SharedTaskFunctor<void (), JSC::Heap::runBeginPhase(JSC::GCConductor)::$_1>::run() SharedTask.h:91
    #8 0x0001097fab4c in WTF::ParallelHelperClient::runTask(WTF::RefPtr<WTF::SharedTask<void ()>, WTF::RawPtrTraits<WTF::SharedTask<void ()>>, WTF::DefaultRefDerefTraits<WTF::SharedTask<void ()>>> const&) ParallelHelperPool.cpp:110
    #9 0x0001097fd968 in WTF::ParallelHelperPool::Thread::work() ParallelHelperPool.cpp:201
    #10 0x00010979dd9c in WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() Function.h:53
    #11 0x00010987a9d4 in WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) Threading.cpp:272
    #12 0x00010999eecc in WTF::wtfThreadEntryPoint(void*)+0x8 (bun-debug:arm64+0x1090f6ecc)
    #13 0x000122d62ed0 in asan_thread_start(void*)+0x48 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x4eed0)
    #14 0x000186856c08 in _pthread_start+0x84 (libsystem_pthread.dylib:arm64+0x6c08)
    #15 0x000186851b7c in thread_start+0x4 (libsystem_pthread.dylib:arm64+0x1b7c)

Direct leak of 213464 byte(s) in 1 object(s) allocated from:
    #0 0x000122d661c4 in malloc+0x70 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x521c4)
    #1 0x000186673a80 in _malloc_type_malloc_outlined+0x60 (libsystem_malloc.dylib:arm64+0x1da80)
    #2 0x000186860c4c in dyld::ThreadLocalVariables::instantiateVariable(dyld::ThreadLocalVariables::Thunk const&)+0x34 (libdyld.dylib:arm64+0x3c4c)
    #3 0x00018686015c in _tlv_get_addr+0x64 (libdyld.dylib:arm64+0x315c)
    #4 0x0001097f238c in WTF::assertMallocRestrictionForCurrentThreadScope() MallocCommon.cpp:59
    #5 0x0001097b8fa4 in WTF::fastMalloc(unsigned long) FastMalloc.cpp:536
    #6 0x000109808d50 in void std::__1::__call_once_proxy[abi:sn190107]<std::__1::tuple<WTF::(anonymous namespace)::myThreadData()::$_0&&>>(void*) once_flag.h:118
    #7 0x0001867743e4 in std::__1::__call_once(unsigned long volatile&, void*, void (*)(void*))+0xc0 (libc++.1.dylib:arm64+0xb3e4)
    #8 0x0001097ff020 in WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) ParkingLot.cpp:573
    #9 0x00010979c628 in bool WTF::Condition::waitUntilUnchecked<WTF::Lock>(WTF::Lock&, WTF::TimeWithDynamicClockType const&) Condition.h:192
    #10 0x00010b6a000c in JSC::SlotVisitor::drainFromShared(JSC::SlotVisitor::SharedDrainMode, WTF::MonotonicTime) SlotVisitor.cpp:661
    #11 0x00010b6178bc in WTF::SharedTaskFunctor<void (), JSC::Heap::runBeginPhase(JSC::GCConductor)::$_1>::run() SharedTask.h:91
    #12 0x0001097fab4c in WTF::ParallelHelperClient::runTask(WTF::RefPtr<WTF::SharedTask<void ()>, WTF::RawPtrTraits<WTF::SharedTask<void ()>>, WTF::DefaultRefDerefTraits<WTF::SharedTask<void ()>>> const&) ParallelHelperPool.cpp:110
    #13 0x0001097fd968 in WTF::ParallelHelperPool::Thread::work() ParallelHelperPool.cpp:201
    #14 0x00010979dd9c in WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() Function.h:53
    #15 0x00010987a9d4 in WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) Threading.cpp:272
    #16 0x00010999eecc in WTF::wtfThreadEntryPoint(void*)+0x8 (bun-debug:arm64+0x1090f6ecc)
    #17 0x000122d62ed0 in asan_thread_start(void*)+0x48 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x4eed0)
    #18 0x000186856c08 in _pthread_start+0x84 (libsystem_pthread.dylib:arm64+0x6c08)
    #19 0x000186851b7c in thread_start+0x4 (libsystem_pthread.dylib:arm64+0x1b7c)

Direct leak of 600 byte(s) in 1 object(s) allocated from:
    #0 0x000122d66ff8 in __sanitizer_mz_memalign+0x78 (libclang_rt.asan_osx_dynamic.dylib:arm64+0x52ff8)
    #1 0x000186689838 in _malloc_zone_memalign+0x13c (libsystem_malloc.dylib:arm64+0x33838)
    #2 0x000103a0b914 in heap_breakdown.Zone.alignedAlloc heap_breakdown.zig:57
    #3 0x00010339c6c0 in heap_breakdown.Zone.rawAlloc heap_breakdown.zig:66
    #4 0x00010312fdec in bun.TrivialNew__struct_245560.new bun.zig:2687

@nektro nektro marked this pull request as ready for review July 18, 2025 00:21
Comment thread test/no-validate-leaksan.txt
@nektro nektro requested a review from zackradisic July 18, 2025 03:51
Comment thread scripts/runner.node.mjs Outdated
@nektro

nektro commented Jul 21, 2025

Copy link
Copy Markdown
Contributor Author

maybe its better to stay in a branch until at least an empty file passes
but the ci work is done here for anyone thats to tackle this

@nektro nektro marked this pull request as draft July 21, 2025 22:54
Comment thread src/bun.js/bindings/InternalModuleRegistry.cpp Outdated
Comment thread src/fs.zig
Comment thread src/resolver/tsconfig_json.zig
Comment thread test/leaksan.supp
Comment thread src/defines.zig

pub fn deinit(this: *Define) void {
var diter = this.dots.valueIterator();
while (diter.next()) |key| this.allocator.free(key.*);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will almost certainly crash something. we usually don't clone the defines.

@nektro nektro Sep 19, 2025

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this.dots is a bun.StringHashMap([]DotDefine). this particular loop is only freeing those slices

This was referenced Jan 14, 2026
This was referenced Jan 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants