Skip to content
Memory corruption Disclosed report Advanced CVE-2025-1012

AddressSanitizer: heap-use-after-free during delazification

Nils Bars Follow

Originally disclosed on Mozilla

  • Fixed in 14 days
  • Paid in 20 days
  • Disclosed after 14 days

Steps to reproduce:

See bug 1936511 and bug 1928819. I cannot provide a test case, but a stack trace for the allocation and free call is available this time. Hopefully, this is sufficient for reproduction. Version: 43ce3de32b3a946bceac74c3badf442af9f245c0

Actual results:

// ==3535965==ERROR: AddressSanitizer: heap-use-after-free on address 0x52e000014a51 at pc 0x5b2474cbd87a bp 0x7443fa3fccd0 sp 0x7443fa3fccc8
// READ of size 1 at 0x52e000014a51 thread T2
#0 0x5b2474cbd879 in js::frontend::TokenStreamSpecific<mozilla::Utf8Unit, js::frontend::ParserAnyCharsAccess<js::frontend::GeneralParser<js::frontend::FullParseHandler, mozilla::Utf8Unit>>>::getToken(js::frontend::TokenKind*, js::frontend::Token::Modifier) src/js/src/frontend/TokenStream.h:0:18
#1 0x5b2474cbd879 in js::frontend::TokenStreamSpecific<mozilla::Utf8Unit, js::frontend::ParserAnyCharsAccess<js::frontend::GeneralParser<js::frontend::FullParseHandler, mozilla::Utf8Unit>>>::peekTokenSameLine(js::frontend::TokenKind*, js::frontend::Token::Modifier) src/js/src/frontend/TokenStream.h:2762:10
#2 0x5b2474afddb8 in js::frontend::Parser<js::frontend::FullParseHandler, mozilla::Utf8Unit>::standaloneFunction(mozilla::Maybe<unsigned int> const&, js::frontend::FunctionSyntaxKind, js::GeneratorKind, js::FunctionAsyncKind, js::frontend::Directives, js::frontend::Directives*) src/js/src/frontend/Parser.cpp:2385:7
#3 0x5b2474b9b662 in decltype(auto) mozilla::detail::VariantImplementation<bool, 0ul, js::BaseScript*, js::frontend::ScriptStencilRef>::matchN<mozilla::Variant<js::BaseScript*, js::frontend::ScriptStencilRef> const&, js::frontend::InputScript::extent() const::'lambda'(js::BaseScript const*), js::frontend::InputScript::extent() const::'lambda'(js::frontend::ScriptStencilRef const&)>(mozilla::Variant<js::BaseScript*, js::frontend::ScriptStencilRef> const&, js::frontend::InputScript::extent() const::'lambda'(js::BaseScript const*)&&, js::frontend::InputScript::extent() const::'lambda'(js::frontend::ScriptStencilRef const&)&&) src/fuzz-asan-build/dist/include/mozilla/Variant.h:0:0
#4 0x5b2474b9b662 in decltype(auto) mozilla::Variant<js::BaseScript*, js::frontend::ScriptStencilRef>::matchN<mozilla::Variant<js::BaseScript*, js::frontend::ScriptStencilRef> const&, js::frontend::InputScript::extent() const::'lambda'(js::BaseScript const*), js::frontend::InputScript::extent() const::'lambda'(js::frontend::ScriptStencilRef const&)>(mozilla::Variant<js::BaseScript*, js::frontend::ScriptStencilRef> const&, js::frontend::InputScript::extent() const::'lambda'(js::BaseScript const*)&&, js::frontend::InputScript::extent() const::'lambda'(js::frontend::ScriptStencilRef const&)&&) src/fuzz-asan-build/dist/include/mozilla/Variant.h:902:12
#5 0x5b2474b9b662 in decltype(auto) mozilla::Variant<js::BaseScript*, js::frontend::ScriptStencilRef>::match<js::frontend::InputScript::extent() const::'lambda'(js::BaseScript const*), js::frontend::InputScript::extent() const::'lambda'(js::frontend::ScriptStencilRef const&)>(js::frontend::InputScript::extent() const::'lambda'(js::BaseScript const*)&&, js::frontend::InputScript::extent() const::'lambda'(js::frontend::ScriptStencilRef const&)&&) const & src/fuzz-asan-build/dist/include/mozilla/Variant.h:845:12
#6 0x5b2474b9b662 in js::frontend::InputScript::extent() const src/js/src/frontend/CompilationStencil.h:284:20
#7 0x5b2474b9b662 in js::frontend::CompilationInput::extent() const src/js/src/frontend/CompilationStencil.h:806:46
#8 0x5b2474b9b662 in bool CompileLazyFunctionToStencilMaybeInstantiate<mozilla::Utf8Unit>(JSContext*, js::FrontendContext*, js::LifoAlloc&, js::frontend::CompilationInput&, js::frontend::ScopeBindingCache*, mozilla::Utf8Unit const*, unsigned long, js::frontend::InitialStencilAndDelazifications*, js::frontend::CompilationStencil const**) src/js/src/frontend/BytecodeCompiler.cpp:1448:41
#9 0x5b2474b204f5 in js::AutoReportFrontendContext::convertToRuntimeErrorAndClear() src/js/src/frontend/FrontendContext.h:249:9
#10 0x5b2474b204f5 in js::AutoReportFrontendContext::~AutoReportFrontendContext() src/js/src/frontend/FrontendContext.h:241:7
#11 0x5b2474b204f5 in CompileStandaloneFunction(JSContext*, JS::ReadOnlyCompileOptions const&, JS::SourceText<char16_t>&, mozilla::Maybe<unsigned int> const&, js::frontend::FunctionSyntaxKind, js::GeneratorKind, js::FunctionAsyncKind, JS::Handle<js::Scope*>) src/js/src/frontend/BytecodeCompiler.cpp:1803:3
#12 0x5b2473e5bdc9 in js::DelazificationContext::delazify() src/js/src/vm/ConcurrentDelazification.cpp:201:0
#13 0x5b2473f01162 in mozilla::UniquePtr<js::DelazifyStrategy, JS::DeletePolicy<js::DelazifyStrategy>>::reset(js::DelazifyStrategy*) src/fuzz-asan-build/dist/include/mozilla/UniquePtr.h:299:19
#14 0x5b2473f01162 in mozilla::UniquePtr<js::DelazifyStrategy, JS::DeletePolicy<js::DelazifyStrategy>>::~UniquePtr() src/fuzz-asan-build/dist/include/mozilla/UniquePtr.h:250:18
#15 0x5b2473f01162 in js::DelazificationContext::~DelazificationContext() src/js/src/vm/ConcurrentDelazification.h:104:7
#16 0x5b2473efb7fe in JS::RunHelperThreadTask(JS::HelperThreadTask*) src/js/src/vm/HelperThreads.cpp:585:0
#17 0x5b2473efb74c in js::GlobalHelperThreadState::canStartWasmPartialTier2CompileTask(js::AutoLockHelperThreadState const&) src/js/src/vm/HelperThreads.cpp:1755:3
#18 0x5b2473f1db9e in js::HelperThread::ThreadMain(js::InternalThreadPool*, js::HelperThread*) src/js/src/vm/InternalThreadPool.cpp:253:1
#19 0x5b2473f1d7a2 in js_malloc(unsigned long) src/fuzz-asan-build/dist/include/js/Utility.h:389:26
#20 0x5b2473f1d7a2 in js::detail::ThreadTrampoline<void (&)(js::InternalThreadPool*, js::HelperThread*), js::InternalThreadPool*&, js::HelperThread*>* js_new<js::detail::ThreadTrampoline<void (&)(js::InternalThreadPool*, js::HelperThread*), js::InternalThreadPool*&, js::HelperThread*>, void (&)(js::InternalThreadPool*, js::HelperThread*), js::InternalThreadPool*&, js::HelperThread*>(void (&)(js::InternalThreadPool*, js::HelperThread*), js::InternalThreadPool*&, js::HelperThread*&&) src/fuzz-asan-build/dist/include/js/Utility.h:545:1
#21 0x5b2473f1d7a2 in bool js::Thread::init<void (&)(js::InternalThreadPool*, js::HelperThread*), js::InternalThreadPool*&, js::HelperThread*>(void (&)(js::InternalThreadPool*, js::HelperThread*), js::InternalThreadPool*&, js::HelperThread*&&) src/js/src/threading/Thread.h:81:9
#22 0x5b2473f854ea in mozilla::detail::VectorImpl<mozilla::UniquePtr<js::HelperThread, JS::DeletePolicy<js::HelperThread>>, 0ul, js::SystemAllocPolicy, false>::growTo(mozilla::Vector<mozilla::UniquePtr<js::HelperThread, JS::DeletePolicy<js::HelperThread>>, 0ul, js::SystemAllocPolicy>&, unsigned long) src/fuzz-asan-build/dist/include/mozilla/Vector.h:0:5
#23 0x5b2473a4a666 in QuickCheckForUnpoisonedRegion /builds/worker/fetches/llvm-project/compiler-rt/lib/asan/asan_interceptors_memintrinsics.h:29:7
#24 0x5b2473a4a666 in StrtolFixAndCheck(void*, char const*, char**, char*, int) /builds/worker/fetches/llvm-project/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:3577:3
#25 0x7443fc18ae2d in start_thread ./nptl/pthread_create.c:447:8
#26 0x7443fc21ca4b in __GI___clone3 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78:0

// 0x52e000014a51 is located 34385 bytes inside of 42115-byte region [0x52e00000c400,0x52e000016883)
// freed by thread T5 here:
#0 0x5b2473a4e166 in __asan::AsanCheckIncompatibleRT() _asan_rtl_:27
#1 0x5b24742dfdad in js::Mutex::lock() src/js/src/threading/Mutex.h:77:23
#2 0x5b24742dfdad in js::ExclusiveData<js::SharedImmutableStringsCache::Inner>::acquire() const src/js/src/threading/ExclusiveData.h:93:32
#3 0x5b24742dfdad in js::ExclusiveData<js::SharedImmutableStringsCache::Inner>::Guard::Guard(js::ExclusiveData<js::SharedImmutableStringsCache::Inner> const&) src/js/src/threading/ExclusiveData.h:137:16
#4 0x5b24742dfdad in js::ExclusiveData<js::SharedImmutableStringsCache::Inner>::lock() const src/js/src/threading/ExclusiveData.h:209:31
#5 0x5b24742dfdad in js::SharedImmutableString::~SharedImmutableString() src/js/src/vm/SharedImmutableStringsCache.cpp:69:31
#6 0x5b24742dfdad in js::SharedImmutableString::operator=(js::SharedImmutableString&&) src/js/src/vm/SharedImmutableStringsCache.cpp:36:9
#7 0x5b247401b016 in mozilla::UniquePtr<js::SourceCompressionTask, JS::DeletePolicy<js::SourceCompressionTask>>::reset(js::SourceCompressionTask*) src/fuzz-asan-build/dist/include/mozilla/UniquePtr.h:301:9
#8 0x5b247401b016 in mozilla::UniquePtr<js::SourceCompressionTask, JS::DeletePolicy<js::SourceCompressionTask>>::~UniquePtr() src/fuzz-asan-build/dist/include/mozilla/UniquePtr.h:250:18
#9 0x5b247401b016 in js::ScriptSource::tryCompressOffThread(JSContext*) src/js/src/vm/JSScript.cpp:1473:3
#10 0x5b247404400b in void js::ScriptSource::TriggerConvertToCompressedSourceFromTask::operator()<mozilla::Utf8Unit, (js::SourceRetrievable)1>(js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)1> const&) src/js/src/vm/JSScript.h:964:5
#11 0x5b247404471b in mozilla::detail::Nth<10ul, js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>::Type& mozilla::Variant<js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>::as<10ul>() & src/fuzz-asan-build/dist/include/mozilla/Variant.h:754:5
#12 0x5b247404471b in void mozilla::detail::VariantImplementation<unsigned char, 10ul, js::ScriptSource::Missing>::destroy<mozilla::Variant<js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>>(mozilla::Variant<js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>&) src/fuzz-asan-build/dist/include/mozilla/Variant.h:173:17
#13 0x5b247404471b in void mozilla::detail::VariantImplementation<unsigned char, 9ul, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>::destroy<mozilla::Variant<js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>>(mozilla::Variant<js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>&) src/fuzz-asan-build/dist/include/mozilla/Variant.h:242:7
#14 0x5b247404471b in void mozilla::detail::VariantImplementation<unsigned char, 8ul, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>::destroy<mozilla::Variant<js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>>(mozilla::Variant<js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>&) src/fuzz-asan-build/dist/include/mozilla/Variant.h:242:7
#15 0x5b247404471b in void mozilla::detail::VariantImplementation<unsigned char, 7ul, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>::destroy<mozilla::Variant<js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>>(mozilla::Variant<js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>&) src/fuzz-asan-build/dist/include/mozilla/Variant.h:242:7
#16 0x5b247404471b in void mozilla::detail::VariantImplementation<unsigned char, 6ul, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>::destroy<mozilla::Variant<js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>>(mozilla::Variant<js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>&) src/fuzz-asan-build/dist/include/mozilla/Variant.h:242:7
#17 0x5b247404471b in void mozilla::detail::VariantImplementation<unsigned char, 5ul, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>::destroy<mozilla::Variant<js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>>(mozilla::Variant<js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>&) src/fuzz-asan-build/dist/include/mozilla/Variant.h:242:7
#18 0x5b247404471b in void mozilla::detail::VariantImplementation<unsigned char, 4ul, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>::destroy<mozilla::Variant<js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>>(mozilla::Variant<js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>&) src/fuzz-asan-build/dist/include/mozilla/Variant.h:242:7
#19 0x5b247404471b in void mozilla::detail::VariantImplementation<unsigned char, 3ul, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>::destroy<mozilla::Variant<js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>>(mozilla::Variant<js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>&) src/fuzz-asan-build/dist/include/mozilla/Variant.h:242:7
#20 0x5b247404471b in void mozilla::detail::VariantImplementation<unsigned char, 2ul, js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>::destroy<mozilla::Variant<js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>>(mozilla::Variant<js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>&) src/fuzz-asan-build/dist/include/mozilla/Variant.h:242:7
#21 0x5b247404471b in void mozilla::detail::VariantImplementation<unsigned char, 1ul, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>::destroy<mozilla::Variant<js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>>(mozilla::Variant<js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>&) src/fuzz-asan-build/dist/include/mozilla/Variant.h:242:7
#22 0x5b247404471b in void mozilla::detail::VariantImplementation<unsigned char, 0ul, js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>::destroy<mozilla::Variant<js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>>(mozilla::Variant<js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>&) src/fuzz-asan-build/dist/include/mozilla/Variant.h:242:7
#23 0x5b247404471b in mozilla::Variant<js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>::~Variant() src/fuzz-asan-build/dist/include/mozilla/Variant.h:688:16
#24 0x5b247404471b in void js::ScriptSource::convertToCompressedSource<mozilla::Utf8Unit>(js::SharedImmutableString, unsigned long) src/js/src/vm/JSScript.cpp:1076:5
#25 0x5b247401f121 in bool mozilla::Variant<js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>::is<0ul>() const src/fuzz-asan-build/dist/include/mozilla/Variant.h:720:24
#26 0x5b247401f121 in decltype(auto) mozilla::detail::VariantImplementation<unsigned char, 0ul, js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>::match<js::SourceCompressionTask::PerformTaskWork, mozilla::Variant<js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>&>(js::SourceCompressionTask::PerformTaskWork&&, mozilla::Variant<js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>&) src/fuzz-asan-build/dist/include/mozilla/Variant.h:258:21
#27 0x5b247401f121 in decltype(auto) mozilla::Variant<js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<mozilla::Utf8Unit, (js::SourceRetrievable)0>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)1>, js::ScriptSource::Compressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Uncompressed<char16_t, (js::SourceRetrievable)0>, js::ScriptSource::Retrievable<mozilla::Utf8Unit>, js::ScriptSource::Retrievable<char16_t>, js::ScriptSource::Missing>::match<js::SourceCompressionTask::PerformTaskWork>(js::SourceCompressionTask::PerformTaskWork&&) & src/fuzz-asan-build/dist/include/mozilla/Variant.h:852:12
#28 0x5b247401f121 in js::ScriptSource::performTaskWork(js::SourceCompressionTask*) src/js/src/vm/JSScript.cpp:1689:8
#29 0x5b247401f121 in js::SourceCompressionTask::runTask() src/js/src/vm/JSScript.cpp:1699:12
#30 0x5b247401f121 in js::SourceCompressionTask::runHelperThreadTask(js::AutoLockHelperThreadState&) src/js/src/vm/JSScript.cpp:1706:11
#31 0x5b2473f04c09 in mozilla::Vector<mozilla::UniquePtr<js::SourceCompressionTask, JS::DeletePolicy<js::SourceCompressionTask>>, 0ul, js::SystemAllocPolicy>::length() const src/fuzz-asan-build/dist/include/mozilla/Vector.h:557:34
#32 0x5b2473f04c09 in js::GlobalHelperThreadState::startHandlingCompressionTasks(js::GlobalHelperThreadState::ScheduleCompressionTask, JSRuntime*, js::AutoLockHelperThreadState const&) src/js/src/vm/HelperThreads.cpp:1466:34
#33 0x5b2474e47db6 in ?? src/fuzz-asan-build/dist/include/mozilla/Vector.h:580:12
#34 0x5b2474d8c111 in mozilla::detail::HashTable<js::gc::StoreBuffer::CellPtrEdge<JS::BigInt> const, mozilla::HashSet<js::gc::StoreBuffer::CellPtrEdge<JS::BigInt>, js::gc::StoreBuffer::PointerEdgeHasher<js::gc::StoreBuffer::CellPtrEdge<JS::BigInt>>, js::SystemAllocPolicy>::SetHashPolicy, js::SystemAllocPolicy>::changeTableSize(unsigned int, mozilla::detail::HashTable<js::gc::StoreBuffer::CellPtrEdge<JS::BigInt> const, mozilla::HashSet<js::gc::StoreBuffer::CellPtrEdge<JS::BigInt>, js::gc::StoreBuffer::PointerEdgeHasher<js::gc::StoreBuffer::CellPtrEdge<JS::BigInt>>, js::SystemAllocPolicy>::SetHashPolicy, js::SystemAllocPolicy>::FailureBehavior) src/fuzz-asan-build/dist/include/mozilla/HashTable.h:1899:16
#35 0x5b2474d8c111 in mozilla::detail::HashTable<js::gc::StoreBuffer::CellPtrEdge<JS::BigInt> const, mozilla::HashSet<js::gc::StoreBuffer::CellPtrEdge<JS::BigInt>, js::gc::StoreBuffer::PointerEdgeHasher<js::gc::StoreBuffer::CellPtrEdge<JS::BigInt>>, js::SystemAllocPolicy>::SetHashPolicy, js::SystemAllocPolicy>::rehashIfOverloaded(mozilla::detail::HashTable<js::gc::StoreBuffer::CellPtrEdge<JS::BigInt> const, mozilla::HashSet<js::gc::StoreBuffer::CellPtrEdge<JS::BigInt>, js::gc::StoreBuffer::PointerEdgeHasher<js::gc::StoreBuffer::CellPtrEdge<JS::BigInt>>, js::SystemAllocPolicy>::SetHashPolicy, js::SystemAllocPolicy>::FailureBehavior) src/fuzz-asan-build/dist/include/mozilla/HashTable.h:1940:12
#36 0x5b2474da670c in js::gc::SortedArenaList::convertToArenaList(js::gc::Arena**) src/js/src/gc/ArenaList-inl.h:118:0
#37 0x5b2474da670c in js::gc::AutoGatherSweptArenas::AutoGatherSweptArenas(JS::Zone*, js::gc::AllocKind) src/js/src/gc/Heap.cpp:199:24
#38 0x5b2474da6c77 in js::SinglyLinkedList<js::gc::Arena>::last() const src/js/src/ds/SinglyLinkedList.h:80:28
#39 0x5b2474da6c77 in js::gc::SortedArenaList::convertToArenaList(js::gc::Arena**) src/js/src/gc/ArenaList-inl.h:118:42
#40 0x5b2474da6c77 in js::gc::AutoGatherSweptArenas::AutoGatherSweptArenas(JS::Zone*, js::gc::AllocKind) src/js/src/gc/Heap.cpp:199:24
#41 0x5b2473efb7fe in JS::RunHelperThreadTask(JS::HelperThreadTask*) src/js/src/vm/HelperThreads.cpp:585:0
#42 0x5b2473efb74c in js::GlobalHelperThreadState::canStartWasmPartialTier2CompileTask(js::AutoLockHelperThreadState const&) src/js/src/vm/HelperThreads.cpp:1755:3
#43 0x5b2473f1db9e in js::HelperThread::ThreadMain(js::InternalThreadPool*, js::HelperThread*) src/js/src/vm/InternalThreadPool.cpp:253:1
#44 0x5b2473f1d7a2 in js_malloc(unsigned long) src/fuzz-asan-build/dist/include/js/Utility.h:389:26
#45 0x5b2473f1d7a2 in js::detail::ThreadTrampoline<void (&)(js::InternalThreadPool*, js::HelperThread*), js::InternalThreadPool*&, js::HelperThread*>* js_new<js::detail::ThreadTrampoline<void (&)(js::InternalThreadPool*, js::HelperThread*), js::InternalThreadPool*&, js::HelperThread*>, void (&)(js::InternalThreadPool*, js::HelperThread*), js::InternalThreadPool*&, js::HelperThread*>(void (&)(js::InternalThreadPool*, js::HelperThread*), js::InternalThreadPool*&, js::HelperThread*&&) src/fuzz-asan-build/dist/include/js/Utility.h:545:1
#46 0x5b2473f1d7a2 in bool js::Thread::init<void (&)(js::InternalThreadPool*, js::HelperThread*), js::InternalThreadPool*&, js::HelperThread*>(void (&)(js::InternalThreadPool*, js::HelperThread*), js::InternalThreadPool*&, js::HelperThread*&&) src/js/src/threading/Thread.h:81:9
#47 0x5b2473f854ea in mozilla::detail::VectorImpl<mozilla::UniquePtr<js::HelperThread, JS::DeletePolicy<js::HelperThread>>, 0ul, js::SystemAllocPolicy, false>::growTo(mozilla::Vector<mozilla::UniquePtr<js::HelperThread, JS::DeletePolicy<js::HelperThread>>, 0ul, js::SystemAllocPolicy>&, unsigned long) src/fuzz-asan-build/dist/include/mozilla/Vector.h:0:5
#48 0x5b2473a4a666 in QuickCheckForUnpoisonedRegion /builds/worker/fetches/llvm-project/compiler-rt/lib/asan/asan_interceptors_memintrinsics.h:29:7
#49 0x5b2473a4a666 in StrtolFixAndCheck(void*, char const*, char**, char*, int) /builds/worker/fetches/llvm-project/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:3577:3

// previously allocated by thread T0 here:
#0 0x5b2473a4e3ff in PointerIsMine /builds/worker/fetches/llvm-project/compiler-rt/lib/asan/../sanitizer_common/sanitizer_allocator_primary32.h:196:25
#1 0x5b2473a4e3ff in FromPrimary /builds/worker/fetches/llvm-project/compiler-rt/lib/asan/../sanitizer_common/sanitizer_allocator_combined.h:121:59
#2 0x5b2473a4e3ff in PointerIsMine /builds/worker/fetches/llvm-project/compiler-rt/lib/asan/../sanitizer_common/sanitizer_allocator_dlsym.h:31:12
#3 0x5b2473a4e3ff in __interceptor_free _asan_rtl_:7
#4 0x5b2473abbcbc in JS::SourceText<mozilla::Utf8Unit>::SourceText() src/fuzz-asan-build/dist/include/js/SourceText.h:95:15
#5 0x5b2473abbcbc in ProcessArgs(JSContext*, js::cli::OptionParser*) src/js/src/shell/js.cpp:11779:32
#6 0x5b2473abbcbc in Shell(JSContext*, js::cli::OptionParser*) src/js/src/shell/js.cpp:12089:12
#7 0x5b2473aa4fef in main src/js/src/shell/js.cpp:12439:26
#8 0x7443fc1133b7 in __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
#9 0x7443fc11347a in __libc_start_main ./csu/../csu/libc-start.c:360:3
#10 0x5b24739b0b08 in __FRAME_END__ ???:0:0

// Thread T2 created by T0 here:
#0 0x5b2473a33c41 in __sanitizer_syscall_pre_impl_sigaltstack /builds/worker/fetches/llvm-project/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_syscalls.inc:3179:5
#1 0x5b2473d51640 in js::GetCPUCount() src/js/src/threading/posix/CpuCount.cpp:15:13
#2 0x5b2473f1d50e in js::InternalThreadPool::dispatchOrQueueTask(JS::HelperThreadTask*) src/js/src/vm/InternalThreadPool.cpp:223:1
#3 0x5b2473f1c09f in mozilla::UniquePtr<js::HelperThread, JS::DeletePolicy<js::HelperThread>>::reset(js::HelperThread*) src/fuzz-asan-build/dist/include/mozilla/UniquePtr.h:299:19
#4 0x5b2473f1c09f in mozilla::UniquePtr<js::HelperThread, JS::DeletePolicy<js::HelperThread>>::~UniquePtr() src/fuzz-asan-build/dist/include/mozilla/UniquePtr.h:250:18
#5 0x5b2473f1c09f in mozilla::detail::VectorImpl<mozilla::UniquePtr<js::HelperThread, JS::DeletePolicy<js::HelperThread>>, 0ul, js::SystemAllocPolicy, false>::destroy(mozilla::UniquePtr<js::HelperThread, JS::DeletePolicy<js::HelperThread>>*, mozilla::UniquePtr<js::HelperThread, JS::DeletePolicy<js::HelperThread>>*) src/fuzz-asan-build/dist/include/mozilla/Vector.h:161:11
#6 0x5b2473f1c09f in mozilla::Vector<mozilla::UniquePtr<js::HelperThread, JS::DeletePolicy<js::HelperThread>>, 0ul, js::SystemAllocPolicy>::~Vector() src/fuzz-asan-build/dist/include/mozilla/Vector.h:999:3
#7 0x5b2473f1c09f in js::ProtectedData<js::CheckGlobalLock<(js::GlobalLock)1, (js::AllowedHelperThread)0>, mozilla::Vector<mozilla::UniquePtr<js::HelperThread, JS::DeletePolicy<js::HelperThread>>, 0ul, js::SystemAllocPolicy>>::~ProtectedData() src/js/src/threading/ProtectedData.h:77:7
#8 0x5b2473f1c09f in js::InternalThreadPool::~InternalThreadPool() src/js/src/vm/InternalThreadPool.h:36:7
#9 0x5b2473f1c09f in void js_delete<js::InternalThreadPool>(js::InternalThreadPool const*) src/fuzz-asan-build/dist/include/js/Utility.h:580:9
#10 0x5b2473f1c09f in JS::DeletePolicy<js::InternalThreadPool>::operator()(js::InternalThreadPool const*) src/fuzz-asan-build/dist/include/js/Utility.h:653:35
#11 0x5b2473f1c09f in mozilla::UniquePtr<js::InternalThreadPool, JS::DeletePolicy<js::InternalThreadPool>>::reset(js::InternalThreadPool*) src/fuzz-asan-build/dist/include/mozilla/UniquePtr.h:302:7
#12 0x5b2473f1c09f in mozilla::UniquePtr<js::InternalThreadPool, JS::DeletePolicy<js::InternalThreadPool>>::~UniquePtr() src/fuzz-asan-build/dist/include/mozilla/UniquePtr.h:250:18
#13 0x5b2473f1c09f in js::InternalThreadPool::Initialize(unsigned long, js::AutoLockHelperThreadState&) src/js/src/vm/InternalThreadPool.cpp:130:1
#14 0x5b2473f1bae9 in js::ImmutableTenuredPtr<JS::Symbol*>::init(JS::Symbol*) src/js/src/gc/Barrier.h:1086:11
#15 0x5b2473f1bae9 in JSRuntime::initializeAtoms(JSContext*) src/js/src/vm/JSAtomUtils.cpp:238:18
#16 0x5b2473ef2bff in mozilla::UniquePtr<js::jit::IonFreeTask, JS::DeletePolicy<js::jit::IonFreeTask>>::reset(js::jit::IonFreeTask*) src/fuzz-asan-build/dist/include/mozilla/UniquePtr.h:301:9
#17 0x5b2473ef2bff in mozilla::UniquePtr<js::jit::IonFreeTask, JS::DeletePolicy<js::jit::IonFreeTask>>::~UniquePtr() src/fuzz-asan-build/dist/include/mozilla/UniquePtr.h:250:18
#18 0x5b2473ef2bff in js::GlobalHelperThreadState::finish(js::AutoLockHelperThreadState&) src/js/src/vm/HelperThreads.cpp:243:3
#19 0x5b2474258ab0 in mozilla::detail::EntrySlot<mozilla::HashMapEntry<JS::Value*, char const*>>::isLive() const src/fuzz-asan-build/dist/include/mozilla/HashTable.h:1190:43
#20 0x5b2474258ab0 in mozilla::detail::HashTable<mozilla::HashMapEntry<JS::Value*, char const*>, mozilla::HashMap<JS::Value*, char const*, mozilla::DefaultHasher<JS::Value*, void>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::destroyTable(js::SystemAllocPolicy&, char*, unsigned int)::'lambda'(mozilla::detail::EntrySlot<mozilla::HashMapEntry<JS::Value*, char const*>> const&)::operator()(mozilla::detail::EntrySlot<mozilla::HashMapEntry<JS::Value*, char const*>> const&) const src/fuzz-asan-build/dist/include/mozilla/HashTable.h:1720:16
#21 0x5b2474258ab0 in void mozilla::detail::HashTable<mozilla::HashMapEntry<JS::Value*, char const*>, mozilla::HashMap<JS::Value*, char const*, mozilla::DefaultHasher<JS::Value*, void>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::forEachSlot<mozilla::detail::HashTable<mozilla::HashMapEntry<JS::Value*, char const*>, mozilla::HashMap<JS::Value*, char const*, mozilla::DefaultHasher<JS::Value*, void>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::destroyTable(js::SystemAllocPolicy&, char*, unsigned int)::'lambda'(mozilla::detail::EntrySlot<mozilla::HashMapEntry<JS::Value*, char const*>> const&)>(char*, unsigned int, mozilla::detail::HashTable<mozilla::HashMapEntry<JS::Value*, char const*>, mozilla::HashMap<JS::Value*, char const*, mozilla::DefaultHasher<JS::Value*, void>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::destroyTable(js::SystemAllocPolicy&, char*, unsigned int)::'lambda'(mozilla::detail::EntrySlot<mozilla::HashMapEntry<JS::Value*, char const*>> const&)&&) src/fuzz-asan-build/dist/include/mozilla/HashTable.h:1232:7
#22 0x5b2474258ab0 in mozilla::detail::HashTable<mozilla::HashMapEntry<JS::Value*, char const*>, mozilla::HashMap<JS::Value*, char const*, mozilla::DefaultHasher<JS::Value*, void>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::destroyTable(js::SystemAllocPolicy&, char*, unsigned int) src/fuzz-asan-build/dist/include/mozilla/HashTable.h:1719:5
#23 0x5b2474258ab0 in mozilla::detail::HashTable<mozilla::HashMapEntry<JS::Value*, char const*>, mozilla::HashMap<JS::Value*, char const*, mozilla::DefaultHasher<JS::Value*, void>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::~HashTable() src/fuzz-asan-build/dist/include/mozilla/HashTable.h:1754:7
#24 0x5b2474258ab0 in mozilla::HashMap<JS::Value*, char const*, mozilla::DefaultHasher<JS::Value*, void>, js::SystemAllocPolicy>::~HashMap() src/fuzz-asan-build/dist/include/mozilla/HashTable.h:142:7
#25 0x5b2474258ab0 in js::ProtectedData<js::CheckMainThread<(js::AllowedHelperThread)0>, mozilla::HashMap<JS::Value*, char const*, mozilla::DefaultHasher<JS::Value*, void>, js::SystemAllocPolicy>>::~ProtectedData() src/js/src/threading/ProtectedData.h:77:7
#26 0x5b2474258ab0 in js::gc::GCRuntime::~GCRuntime() src/js/src/gc/GCRuntime.h:272:7
#27 0x5b2473f9548b in void mozilla::Maybe<unsigned long>::emplace<unsigned long>(unsigned long&&) src/fuzz-asan-build/dist/include/mozilla/Maybe.h:1014:3
#28 0x5b2473f9548b in JSContext::init() src/js/src/vm/JSContext.cpp:118:20
#29 0x5b2473aa4be1 in js::cli::OptionParser::OptionParser(char const*) src/js/src/shell/jsoptparse.h:280:9
#30 0x5b2473aa4be1 in main src/js/src/shell/js.cpp:12347:16
#31 0x7443fc1133b7 in __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
#32 0x7443fc11347a in __libc_start_main ./csu/../csu/libc-start.c:360:3
#33 0x5b24739b0b08 in __FRAME_END__ ???:0:0

// Thread T5 created by T0 here:
#0 0x5b2473a33c41 in __sanitizer_syscall_pre_impl_sigaltstack /builds/worker/fetches/llvm-project/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_syscalls.inc:3179:5
#1 0x5b2473d51640 in js::GetCPUCount() src/js/src/threading/posix/CpuCount.cpp:15:13
#2 0x5b2473f1d50e in js::InternalThreadPool::dispatchOrQueueTask(JS::HelperThreadTask*) src/js/src/vm/InternalThreadPool.cpp:223:1
#3 0x5b2473f1c09f in mozilla::UniquePtr<js::HelperThread, JS::DeletePolicy<js::HelperThread>>::reset(js::HelperThread*) src/fuzz-asan-build/dist/include/mozilla/UniquePtr.h:299:19
#4 0x5b2473f1c09f in mozilla::UniquePtr<js::HelperThread, JS::DeletePolicy<js::HelperThread>>::~UniquePtr() src/fuzz-asan-build/dist/include/mozilla/UniquePtr.h:250:18
#5 0x5b2473f1c09f in mozilla::detail::VectorImpl<mozilla::UniquePtr<js::HelperThread, JS::DeletePolicy<js::HelperThread>>, 0ul, js::SystemAllocPolicy, false>::destroy(mozilla::UniquePtr<js::HelperThread, JS::DeletePolicy<js::HelperThread>>*, mozilla::UniquePtr<js::HelperThread, JS::DeletePolicy<js::HelperThread>>*) src/fuzz-asan-build/dist/include/mozilla/Vector.h:161:11
#6 0x5b2473f1c09f in mozilla::Vector<mozilla::UniquePtr<js::HelperThread, JS::DeletePolicy<js::HelperThread>>, 0ul, js::SystemAllocPolicy>::~Vector() src/fuzz-asan-build/dist/include/mozilla/Vector.h:999:3
#7 0x5b2473f1c09f in js::ProtectedData<js::CheckGlobalLock<(js::GlobalLock)1, (js::AllowedHelperThread)0>, mozilla::Vector<mozilla::UniquePtr<js::HelperThread, JS::DeletePolicy<js::HelperThread>>, 0ul, js::SystemAllocPolicy>>::~ProtectedData() src/js/src/threading/ProtectedData.h:77:7
#8 0x5b2473f1c09f in js::InternalThreadPool::~InternalThreadPool() src/js/src/vm/InternalThreadPool.h:36:7
#9 0x5b2473f1c09f in void js_delete<js::InternalThreadPool>(js::InternalThreadPool const*) src/fuzz-asan-build/dist/include/js/Utility.h:580:9
#10 0x5b2473f1c09f in JS::DeletePolicy<js::InternalThreadPool>::operator()(js::InternalThreadPool const*) src/fuzz-asan-build/dist/include/js/Utility.h:653:35
#11 0x5b2473f1c09f in mozilla::UniquePtr<js::InternalThreadPool, JS::DeletePolicy<js::InternalThreadPool>>::reset(js::InternalThreadPool*) src/fuzz-asan-build/dist/include/mozilla/UniquePtr.h:302:7
#12 0x5b2473f1c09f in mozilla::UniquePtr<js::InternalThreadPool, JS::DeletePolicy<js::InternalThreadPool>>::~UniquePtr() src/fuzz-asan-build/dist/include/mozilla/UniquePtr.h:250:18
#13 0x5b2473f1c09f in js::InternalThreadPool::Initialize(unsigned long, js::AutoLockHelperThreadState&) src/js/src/vm/InternalThreadPool.cpp:130:1
#14 0x5b2473f1bae9 in js::ImmutableTenuredPtr<JS::Symbol*>::init(JS::Symbol*) src/js/src/gc/Barrier.h:1086:11
#15 0x5b2473f1bae9 in JSRuntime::initializeAtoms(JSContext*) src/js/src/vm/JSAtomUtils.cpp:238:18
#16 0x5b2473ef2bff in mozilla::UniquePtr<js::jit::IonFreeTask, JS::DeletePolicy<js::jit::IonFreeTask>>::reset(js::jit::IonFreeTask*) src/fuzz-asan-build/dist/include/mozilla/UniquePtr.h:301:9
#17 0x5b2473ef2bff in mozilla::UniquePtr<js::jit::IonFreeTask, JS::DeletePolicy<js::jit::IonFreeTask>>::~UniquePtr() src/fuzz-asan-build/dist/include/mozilla/UniquePtr.h:250:18
#18 0x5b2473ef2bff in js::GlobalHelperThreadState::finish(js::AutoLockHelperThreadState&) src/js/src/vm/HelperThreads.cpp:243:3
#19 0x5b2474258ab0 in mozilla::detail::EntrySlot<mozilla::HashMapEntry<JS::Value*, char const*>>::isLive() const src/fuzz-asan-build/dist/include/mozilla/HashTable.h:1190:43
#20 0x5b2474258ab0 in mozilla::detail::HashTable<mozilla::HashMapEntry<JS::Value*, char const*>, mozilla::HashMap<JS::Value*, char const*, mozilla::DefaultHasher<JS::Value*, void>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::destroyTable(js::SystemAllocPolicy&, char*, unsigned int)::'lambda'(mozilla::detail::EntrySlot<mozilla::HashMapEntry<JS::Value*, char const*>> const&)::operator()(mozilla::detail::EntrySlot<mozilla::HashMapEntry<JS::Value*, char const*>> const&) const src/fuzz-asan-build/dist/include/mozilla/HashTable.h:1720:16
#21 0x5b2474258ab0 in void mozilla::detail::HashTable<mozilla::HashMapEntry<JS::Value*, char const*>, mozilla::HashMap<JS::Value*, char const*, mozilla::DefaultHasher<JS::Value*, void>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::forEachSlot<mozilla::detail::HashTable<mozilla::HashMapEntry<JS::Value*, char const*>, mozilla::HashMap<JS::Value*, char const*, mozilla::DefaultHasher<JS::Value*, void>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::destroyTable(js::SystemAllocPolicy&, char*, unsigned int)::'lambda'(mozilla::detail::EntrySlot<mozilla::HashMapEntry<JS::Value*, char const*>> const&)>(char*, unsigned int, mozilla::detail::HashTable<mozilla::HashMapEntry<JS::Value*, char const*>, mozilla::HashMap<JS::Value*, char const*, mozilla::DefaultHasher<JS::Value*, void>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::destroyTable(js::SystemAllocPolicy&, char*, unsigned int)::'lambda'(mozilla::detail::EntrySlot<mozilla::HashMapEntry<JS::Value*, char const*>> const&)&&) src/fuzz-asan-build/dist/include/mozilla/HashTable.h:1232:7
#22 0x5b2474258ab0 in mozilla::detail::HashTable<mozilla::HashMapEntry<JS::Value*, char const*>, mozilla::HashMap<JS::Value*, char const*, mozilla::DefaultHasher<JS::Value*, void>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::destroyTable(js::SystemAllocPolicy&, char*, unsigned int) src/fuzz-asan-build/dist/include/mozilla/HashTable.h:1719:5
#23 0x5b2474258ab0 in mozilla::detail::HashTable<mozilla::HashMapEntry<JS::Value*, char const*>, mozilla::HashMap<JS::Value*, char const*, mozilla::DefaultHasher<JS::Value*, void>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::~HashTable() src/fuzz-asan-build/dist/include/mozilla/HashTable.h:1754:7
#24 0x5b2474258ab0 in mozilla::HashMap<JS::Value*, char const*, mozilla::DefaultHasher<JS::Value*, void>, js::SystemAllocPolicy>::~HashMap() src/fuzz-asan-build/dist/include/mozilla/HashTable.h:142:7
#25 0x5b2474258ab0 in js::ProtectedData<js::CheckMainThread<(js::AllowedHelperThread)0>, mozilla::HashMap<JS::Value*, char const*, mozilla::DefaultHasher<JS::Value*, void>, js::SystemAllocPolicy>>::~ProtectedData() src/js/src/threading/ProtectedData.h:77:7
#26 0x5b2474258ab0 in js::gc::GCRuntime::~GCRuntime() src/js/src/gc/GCRuntime.h:272:7
#27 0x5b2473f9548b in void mozilla::Maybe<unsigned long>::emplace<unsigned long>(unsigned long&&) src/fuzz-asan-build/dist/include/mozilla/Maybe.h:1014:3
#28 0x5b2473f9548b in JSContext::init() src/js/src/vm/JSContext.cpp:118:20
#29 0x5b2473aa4be1 in js::cli::OptionParser::OptionParser(char const*) src/js/src/shell/jsoptparse.h:280:9
#30 0x5b2473aa4be1 in main src/js/src/shell/js.cpp:12347:16
#31 0x7443fc1133b7 in __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
#32 0x7443fc11347a in __libc_start_main ./csu/../csu/libc-start.c:360:3
#33 0x5b24739b0b08 in __FRAME_END__ ???:0:0

The original report as published on Mozilla's Bugzilla, by Nils Bars. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is known

A medium-severity memory corruption bug in JavaScript Engine. Mozilla made it public on 16 January 2025 as CVE-2025-1012.

About Memory corruption

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by Nils Bars

View all

9 more disclosed reports, best first.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.