Bug 238681

Summary: REGRESSION (iOS 15.4): Chrome sometimes hangs in bmalloc_medium_bitfit_create_page_header
Product: WebKit Reporter: Ali Juma <ajuma>
Component: bmallocAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ggaren, saam, webkit-bug-importer, ysuzuki
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Ali Juma 2022-04-01 13:17:39 PDT
Chrome for iOS is getting reports of a hang that's new to iOS 15.4, in bmalloc_medium_bitfit_create_page_header. There's no clear correlation to any particular website. Here's a sample stack:

0x00000001badf0688	(libsystem_kernel.dylib + 0x00001688)		__ulock_wait
0x00000001db779120	(libsystem_platform.dylib + 0x00008120)		_os_unfair_lock_lock_slow
0x000000018bf8b374	(JavaScriptCore + 0x00000000010f8374)		bmalloc_medium_bitfit_create_page_header
0x000000018bf9a968	(JavaScriptCore + 0x0000000001107968)		pas_bitfit_allocator_commit_view
0x000000018bf8c348	(JavaScriptCore + 0x00000000010f9348)		bmalloc_medium_bitfit_page_config_specialized_allocator_try_allocate
0x000000018bf90938	(JavaScriptCore + 0x00000000010fd938)		bmalloc_heap_config_specialized_local_allocator_try_allocate_slow
0x000000018bf7a9f0	(JavaScriptCore + 0x00000000010e79f0)		bmalloc_allocate_impl_casual_case
0x000000018bc55d50	(JavaScriptCore + 0x00dc2d50)		JSC::StructureIDTable::StructureIDTable()
0x000000018b6e38dc	(JavaScriptCore + 0x008508dc)		JSC::Heap::Heap(JSC::VM&, JSC::HeapType)
0x000000018bc80f6c	(JavaScriptCore + 0x00dedf6c)		JSC::VM::VM(JSC::VM::VMType, JSC::HeapType, WTF::RunLoop*, bool*)
0x000000018bc8654c	(JavaScriptCore + 0x00df354c)		JSC::VM::createContextGroup(JSC::HeapType)
0x000000018b1b62f8	(JavaScriptCore + 0x003232f8)		JSContextGroupCreate
0x000000018ae95298	(JavaScriptCore + 0x00002298)		-[JSVirtualMachine init]
0x000000018ae952ec	(JavaScriptCore + 0x000022ec)		-[JSContext init]
0x000000018e72d0ac	(WebKit + 0x0020c0ac)		API::SharedJSContext::ensureContext()
0x000000018e72d000	(WebKit + 0x0020c000)		API::SerializedScriptValue::deserialize(WebCore::SerializedScriptValue&, OpaqueJSValue const**)
0x000000018e79e32c	(WebKit + 0x0027d32c)		WTF::Detail::CallableWrapper<-[WKWebView _evaluateJavaScript:asAsyncFunction:withSourceURL:withArguments:forceUserGesture:inFrame:inWorld:completionHandler:]::$_22, void, std::experimental::fundamentals_v3::expected<WTF::RefPtr<API::SerializedScriptValue, WTF::RawPtrTraits<API::SerializedScriptValue>, WTF::DefaultRefDerefTraits<API::SerializedScriptValue> >, WebCore::ExceptionDetails>&&>::call(std::experimental::fundamentals_v3::expected<WTF::RefPtr<API::SerializedScriptValue, WTF::RawPtrTraits<API::SerializedScriptValue>, WTF::DefaultRefDerefTraits<API::SerializedScriptValue> >, WebCore::ExceptionDetails>&&)
0x000000018ea19c0c	(WebKit + 0x004f8c0c)		WTF::Detail::CallableWrapper<WebKit::WebPageProxy::runJavaScriptInFrameInScriptWorld(WebCore::RunJavaScriptParameters&&, std::__1::optional<WTF::ObjectIdentifier<WebCore::FrameIdentifierType> >, API::ContentWorld&, WTF::CompletionHandler<void (std::experimental::fundamentals_v3::expected<WTF::RefPtr<API::SerializedScriptValue, WTF::RawPtrTraits<API::SerializedScriptValue>, WTF::DefaultRefDerefTraits<API::SerializedScriptValue> >, WebCore::ExceptionDetails>&&)>&&)::$_26, void, WTF::Span<unsigned char const, 18446744073709551615ul>&&, std::__1::optional<WebCore::ExceptionDetails>&&>::call(WTF::Span<unsigned char const, 18446744073709551615ul>&&, std::__1::optional<WebCore::ExceptionDetails>&&)
0x000000018ec76288	(WebKit + 0x00755288)		Messages::WebPage::RunJavaScriptInFrameInScriptWorld::callReply(IPC::Decoder&, WTF::CompletionHandler<void (WTF::Span<unsigned char const, 18446744073709551615ul>&&, std::__1::optional<WebCore::ExceptionDetails>&&)>&&)
0x000000018ea198e0	(WebKit + 0x004f88e0)		WTF::Detail::CallableWrapper<unsigned long long IPC::MessageSender::sendWithAsyncReply<Messages::WebPage::RunJavaScriptInFrameInScriptWorld, WebKit::WebPageProxy::runJavaScriptInFrameInScriptWorld(WebCore::RunJavaScriptParameters&&, std::__1::optional<WTF::ObjectIdentifier<WebCore::FrameIdentifierType> >, API::ContentWorld&, WTF::CompletionHandler<void (std::experimental::fundamentals_v3::expected<WTF::RefPtr<API::SerializedScriptValue, WTF::RawPtrTraits<API::SerializedScriptValue>, WTF::DefaultRefDerefTraits<API::SerializedScriptValue> >, WebCore::ExceptionDetails>&&)>&&)::$_26>(Messages::WebPage::RunJavaScriptInFrameInScriptWorld&&, WebKit::WebPageProxy::runJavaScriptInFrameInScriptWorld(WebCore::RunJavaScriptParameters&&, std::__1::optional<WTF::ObjectIdentifier<WebCore::FrameIdentifierType> >, API::ContentWorld&, WTF::CompletionHandler<void (std::experimental::fundamentals_v3::expected<WTF::RefPtr<API::SerializedScriptValue, WTF::RawPtrTraits<API::SerializedScriptValue>, WTF::DefaultRefDerefTraits<API::SerializedScriptValue> >, WebCore::ExceptionDetails>&&)>&&)::$_26&&, unsigned long long, WTF::OptionSet<IPC::SendOption>)::'lambda'(IPC::Decoder*), void, IPC::Decoder*>::call(IPC::Decoder*)
0x000000018e9485f0	(WebKit + 0x004275f0)		WTF::Detail::CallableWrapper<WebKit::AuxiliaryProcessProxy::sendMessage(WTF::UniqueRef<IPC::Encoder>&&, WTF::OptionSet<IPC::SendOption>, std::__1::optional<std::__1::pair<WTF::CompletionHandler<void (IPC::Decoder*)>, unsigned long long> >&&, WebKit::AuxiliaryProcessProxy::ShouldStartProcessThrottlerActivity)::$_1, void, IPC::Decoder*>::call(IPC::Decoder*)
0x000000018e80518c	(WebKit + 0x002e418c)		IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >)
0x000000018e804914	(WebKit + 0x002e3914)		IPC::Connection::dispatchIncomingMessages()
0x000000018bf1fe4c	(JavaScriptCore + 0x000000000108ce4c)		WTF::RunLoop::performWork()
0x000000018bf209c8	(JavaScriptCore + 0x000000000108d9c8)		WTF::RunLoop::performWork(void*)
0x000000018073fee8	(CoreFoundation + 0x000b2ee8)		__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
0x0000000180750018	(CoreFoundation + 0x000c3018)		__CFRunLoopDoSource0
0x000000018069226c	(CoreFoundation + 0x0000526c)		__CFRunLoopDoSources0
0x00000001806978e4	(CoreFoundation + 0x0000a8e4)		__CFRunLoopRun
0x00000001806aac2c	(CoreFoundation + 0x0001dc2c)		CFRunLoopRunSpecific
0x00000001a10d5984	(GraphicsServices + 0x00001984)		GSEventRunModal
0x0000000182ea5c4c	(UIKitCore + 0x004e5c4c)		-[UIApplication _run]
0x0000000182c3f3cc	(UIKitCore + 0x0027f3cc)		UIApplicationMain
0x000000010098826c	(Chrome -chrome_exe_main.mm:65)		main
Comment 1 Radar WebKit Bug Importer 2022-04-01 14:36:54 PDT
<rdar://problem/91182464>
Comment 2 Yusuke Suzuki 2022-04-01 14:48:28 PDT
Could you paste the stacktrace of the other threads too?
Comment 3 Ali Juma 2022-04-04 10:35:35 PDT
Here are the other threads. Most of them seem uninteresting except thread 12 (which is detecting this hang and generating a report) and thread 17 (which is calling into AVAudioSession).

Thread 1
0x00000001badefaac	(libsystem_kernel.dylib + 0x00000aac)		mach_msg_trap
0x00000001badf0078	(libsystem_kernel.dylib + 0x00001078)		mach_msg
0x0000000101704980	(Chrome -exception_handler.cc:492)		google_breakpad::ExceptionHandler::WaitForMessage(void*)
0x00000001db781344	(libsystem_pthread.dylib + 0x00003344)		_pthread_start

Thread 2
0x00000001badefaac	(libsystem_kernel.dylib + 0x00000aac)		mach_msg_trap
0x00000001badf0078	(libsystem_kernel.dylib + 0x00001078)		mach_msg
0x0000000180693764	(CoreFoundation + 0x00006764)		__CFRunLoopServiceMachPort
0x0000000180697a6c	(CoreFoundation + 0x0000aa6c)		__CFRunLoopRun
0x00000001806aac2c	(CoreFoundation + 0x0001dc2c)		CFRunLoopRunSpecific
0x0000000181db3ea8	(Foundation + 0x00017ea8)		-[NSRunLoop(NSRunLoop) runMode:beforeDate:]
0x0000000181df2e8c	(Foundation + 0x00056e8c)		-[NSRunLoop(NSRunLoop) runUntilDate:]
0x0000000182e2509c	(UIKitCore + 0x0046509c)		-[UIEventFetcher threadMain]
0x0000000181e00d28	(Foundation + 0x00064d28)		__NSThread__start__
0x00000001db781344	(libsystem_pthread.dylib + 0x00003344)		_pthread_start

Thread 3
0x00000001badefaac	(libsystem_kernel.dylib + 0x00000aac)		mach_msg_trap
0x00000001badf0078	(libsystem_kernel.dylib + 0x00001078)		mach_msg
0x0000000180693764	(CoreFoundation + 0x00006764)		__CFRunLoopServiceMachPort
0x0000000180697a6c	(CoreFoundation + 0x0000aa6c)		__CFRunLoopRun
0x00000001806aac2c	(CoreFoundation + 0x0001dc2c)		CFRunLoopRunSpecific
0x0000000181db3ea8	(Foundation + 0x00017ea8)		-[NSRunLoop(NSRunLoop) runMode:beforeDate:]
0x0000000101243eac	(Chrome -message_pump_mac.mm:656)		base::MessagePumpNSRunLoop::DoRun(base::MessagePump::Delegate*)
0x0000000101242d1c	(Chrome -message_pump_mac.mm:161)		base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*)
0x00000001012111bc	(Chrome -thread_controller_with_message_pump_impl.cc:468)		base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta)
0x00000001011ea800	(Chrome -run_loop.cc:140)		base::RunLoop::Run(base::Location const&)
0x0000000101226780	(Chrome -thread.cc:334)		base::Thread::Run(base::RunLoop*)
0x00000001012268fc	(Chrome -thread.cc:405)		base::Thread::ThreadMain()
0x000000010123d294	(Chrome -platform_thread_posix.cc:99)		base::(anonymous namespace)::ThreadFunc(void*)
0x00000001db781344	(libsystem_pthread.dylib + 0x00003344)		_pthread_start

Thread 4
0x00000001badefaac	(libsystem_kernel.dylib + 0x00000aac)		mach_msg_trap
0x00000001badf0078	(libsystem_kernel.dylib + 0x00001078)		mach_msg
0x0000000180693764	(CoreFoundation + 0x00006764)		__CFRunLoopServiceMachPort
0x0000000180697a6c	(CoreFoundation + 0x0000aa6c)		__CFRunLoopRun
0x00000001806aac2c	(CoreFoundation + 0x0001dc2c)		CFRunLoopRunSpecific
0x0000000181db3ea8	(Foundation + 0x00017ea8)		-[NSRunLoop(NSRunLoop) runMode:beforeDate:]
0x0000000101243eac	(Chrome -message_pump_mac.mm:656)		base::MessagePumpNSRunLoop::DoRun(base::MessagePump::Delegate*)
0x0000000101242d1c	(Chrome -message_pump_mac.mm:161)		base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*)
0x00000001012111bc	(Chrome -thread_controller_with_message_pump_impl.cc:468)		base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta)
0x00000001011ea800	(Chrome -run_loop.cc:140)		base::RunLoop::Run(base::Location const&)
0x0000000101226780	(Chrome -thread.cc:334)		base::Thread::Run(base::RunLoop*)
0x0000000101218c9c	(Chrome -service_thread.cc:15)		base::internal::ServiceThread::Run(base::RunLoop*)
0x00000001012268fc	(Chrome -thread.cc:405)		base::Thread::ThreadMain()
0x000000010123d294	(Chrome -platform_thread_posix.cc:99)		base::(anonymous namespace)::ThreadFunc(void*)
0x00000001db781344	(libsystem_pthread.dylib + 0x00003344)		_pthread_start

Thread 5
0x00000001badefaac	(libsystem_kernel.dylib + 0x00000aac)		mach_msg_trap
0x00000001badf0078	(libsystem_kernel.dylib + 0x00001078)		mach_msg
0x0000000101245a0c	(Chrome -waitable_event_mac.cc:170)		base::WaitableEvent::TimedWait(base::TimeDelta const&)
0x0000000101222568	(Chrome -worker_thread.cc:75)		base::internal::WorkerThread::Delegate::WaitForWork(base::WaitableEvent*)
0x0000000101223008	(Chrome -worker_thread.cc:371)		base::internal::WorkerThread::RunWorker()
0x0000000101222b6c	(Chrome -worker_thread.cc:267)		base::internal::WorkerThread::RunPooledWorker()
0x000000010123d294	(Chrome -platform_thread_posix.cc:99)		base::(anonymous namespace)::ThreadFunc(void*)
0x00000001db781344	(libsystem_pthread.dylib + 0x00003344)		_pthread_start

Thread 6
0x00000001badefaac	(libsystem_kernel.dylib + 0x00000aac)		mach_msg_trap
0x00000001badf0078	(libsystem_kernel.dylib + 0x00001078)		mach_msg
0x0000000101245a0c	(Chrome -waitable_event_mac.cc:170)		base::WaitableEvent::TimedWait(base::TimeDelta const&)
0x0000000101222568	(Chrome -worker_thread.cc:75)		base::internal::WorkerThread::Delegate::WaitForWork(base::WaitableEvent*)
0x0000000101223008	(Chrome -worker_thread.cc:371)		base::internal::WorkerThread::RunWorker()
0x0000000101222ae8	(Chrome -worker_thread.cc:272)		base::internal::WorkerThread::RunBackgroundPooledWorker()
0x000000010123d294	(Chrome -platform_thread_posix.cc:99)		base::(anonymous namespace)::ThreadFunc(void*)
0x00000001db781344	(libsystem_pthread.dylib + 0x00003344)		_pthread_start

Thread 7
0x00000001badefaac	(libsystem_kernel.dylib + 0x00000aac)		mach_msg_trap
0x00000001badf0078	(libsystem_kernel.dylib + 0x00001078)		mach_msg
0x0000000180693764	(CoreFoundation + 0x00006764)		__CFRunLoopServiceMachPort
0x0000000180697a6c	(CoreFoundation + 0x0000aa6c)		__CFRunLoopRun
0x00000001806aac2c	(CoreFoundation + 0x0001dc2c)		CFRunLoopRunSpecific
0x0000000181db3ea8	(Foundation + 0x00017ea8)		-[NSRunLoop(NSRunLoop) runMode:beforeDate:]
0x0000000101243eac	(Chrome -message_pump_mac.mm:656)		base::MessagePumpNSRunLoop::DoRun(base::MessagePump::Delegate*)
0x0000000101242d1c	(Chrome -message_pump_mac.mm:161)		base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*)
0x00000001012111bc	(Chrome -thread_controller_with_message_pump_impl.cc:468)		base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta)
0x00000001011ea800	(Chrome -run_loop.cc:140)		base::RunLoop::Run(base::Location const&)
0x0000000101226780	(Chrome -thread.cc:334)		base::Thread::Run(base::RunLoop*)
0x0000000100c94f78	(Chrome -web_sub_thread.cc:117)		web::WebSubThread::IOThreadRun(base::RunLoop*)
0x00000001012268fc	(Chrome -thread.cc:405)		base::Thread::ThreadMain()
0x000000010123d294	(Chrome -platform_thread_posix.cc:99)		base::(anonymous namespace)::ThreadFunc(void*)
0x00000001db781344	(libsystem_pthread.dylib + 0x00003344)		_pthread_start

Thread 8
0x00000001badefaac	(libsystem_kernel.dylib + 0x00000aac)		mach_msg_trap
0x00000001badf0078	(libsystem_kernel.dylib + 0x00001078)		mach_msg
0x0000000101245a0c	(Chrome -waitable_event_mac.cc:170)		base::WaitableEvent::TimedWait(base::TimeDelta const&)
0x0000000101222568	(Chrome -worker_thread.cc:75)		base::internal::WorkerThread::Delegate::WaitForWork(base::WaitableEvent*)
0x0000000101223008	(Chrome -worker_thread.cc:371)		base::internal::WorkerThread::RunWorker()
0x0000000101222ae8	(Chrome -worker_thread.cc:272)		base::internal::WorkerThread::RunBackgroundPooledWorker()
0x000000010123d294	(Chrome -platform_thread_posix.cc:99)		base::(anonymous namespace)::ThreadFunc(void*)
0x00000001db781344	(libsystem_pthread.dylib + 0x00003344)		_pthread_start

Thread 9
0x00000001badf0688	(libsystem_kernel.dylib + 0x00001688)		__ulock_wait
0x00000001db779120	(libsystem_platform.dylib + 0x00008120)		_os_unfair_lock_lock_slow
0x00000001db784e20	(libsystem_pthread.dylib + 0x00006e20)		pthread_mach_thread_np
0x000000018bfc672c	(JavaScriptCore + 0x000000000113372c)		pas_thread_local_cache_for_all
0x000000018bfb41b4	(JavaScriptCore + 0x00000000011211b4)		scavenger_thread_main
0x00000001db781344	(libsystem_pthread.dylib + 0x00003344)		_pthread_start

Thread 10
0x00000001badefaac	(libsystem_kernel.dylib + 0x00000aac)		mach_msg_trap
0x00000001badf0078	(libsystem_kernel.dylib + 0x00001078)		mach_msg
0x0000000101245a0c	(Chrome -waitable_event_mac.cc:170)		base::WaitableEvent::TimedWait(base::TimeDelta const&)
0x0000000101222568	(Chrome -worker_thread.cc:75)		base::internal::WorkerThread::Delegate::WaitForWork(base::WaitableEvent*)
0x0000000101223008	(Chrome -worker_thread.cc:371)		base::internal::WorkerThread::RunWorker()
0x0000000101222b98	(Chrome -worker_thread.cc:277)		base::internal::WorkerThread::RunSharedWorker()
0x000000010123d294	(Chrome -platform_thread_posix.cc:99)		base::(anonymous namespace)::ThreadFunc(void*)
0x00000001db781344	(libsystem_pthread.dylib + 0x00003344)		_pthread_start

Thread 11
0x00000001badefaac	(libsystem_kernel.dylib + 0x00000aac)		mach_msg_trap
0x00000001badf0078	(libsystem_kernel.dylib + 0x00001078)		mach_msg
0x0000000101245a0c	(Chrome -waitable_event_mac.cc:170)		base::WaitableEvent::TimedWait(base::TimeDelta const&)
0x0000000101222568	(Chrome -worker_thread.cc:75)		base::internal::WorkerThread::Delegate::WaitForWork(base::WaitableEvent*)
0x0000000101223008	(Chrome -worker_thread.cc:371)		base::internal::WorkerThread::RunWorker()
0x0000000101222b6c	(Chrome -worker_thread.cc:267)		base::internal::WorkerThread::RunPooledWorker()
0x000000010123d294	(Chrome -platform_thread_posix.cc:99)		base::(anonymous namespace)::ThreadFunc(void*)
0x00000001db781344	(libsystem_pthread.dylib + 0x00003344)		_pthread_start

Thread 12
0x00000001badefaac	(libsystem_kernel.dylib + 0x00000aac)		mach_msg_trap
0x00000001badf0078	(libsystem_kernel.dylib + 0x00001078)		mach_msg
0x00000001badf65fc	(libsystem_kernel.dylib + 0x000075fc)		thread_get_state
0x000000016fff227c			
0x00000001017076c8	(Chrome -minidump_generator.cc:974)		google_breakpad::MinidumpGenerator::WriteThreadStream(unsigned int, MDRawThread*)
0x00000001017069a0	(Chrome -minidump_generator.cc:1021)		google_breakpad::MinidumpGenerator::WriteThreadListStream(MDRawDirectory*)
0x0000000101706804	(Chrome -minidump_generator.cc:271)		google_breakpad::MinidumpGenerator::Write(char const*)
0x0000000101702ca4	(Chrome -Breakpad.mm:580)		Breakpad::GenerateReport(NSDictionary*)
0x0000000100d54108	(Chrome -main_thread_freeze_detector.mm:275)		-[MainThreadFreezeDetector recordHangWithBreakpadRef:]
0x00000001803df090	(libdispatch.dylib + 0x00063090)		_dispatch_call_block_and_release
0x00000001803e0090	(libdispatch.dylib + 0x00064090)		_dispatch_client_callout
0x00000001803bb4a0	(libdispatch.dylib + 0x0003f4a0)		_dispatch_lane_serial_drain$VARIANT$armv81
0x00000001803bbf40	(libdispatch.dylib + 0x0003ff40)		_dispatch_lane_invoke$VARIANT$armv81
0x00000001803c58dc	(libdispatch.dylib + 0x000498dc)		_dispatch_workloop_worker_thread
0x00000001db77fe0c	(libsystem_pthread.dylib + 0x00001e0c)		_pthread_wqthread

Thread 13
0x00000001badefaac	(libsystem_kernel.dylib + 0x00000aac)		mach_msg_trap
0x00000001badf0078	(libsystem_kernel.dylib + 0x00001078)		mach_msg
0x0000000101245a0c	(Chrome -waitable_event_mac.cc:170)		base::WaitableEvent::TimedWait(base::TimeDelta const&)
0x0000000101222568	(Chrome -worker_thread.cc:75)		base::internal::WorkerThread::Delegate::WaitForWork(base::WaitableEvent*)
0x0000000101223008	(Chrome -worker_thread.cc:371)		base::internal::WorkerThread::RunWorker()
0x0000000101222ae8	(Chrome -worker_thread.cc:272)		base::internal::WorkerThread::RunBackgroundPooledWorker()
0x000000010123d294	(Chrome -platform_thread_posix.cc:99)		base::(anonymous namespace)::ThreadFunc(void*)
0x00000001db781344	(libsystem_pthread.dylib + 0x00003344)		_pthread_start

Thread 14
0x00000001badefaac	(libsystem_kernel.dylib + 0x00000aac)		mach_msg_trap
0x00000001badf0078	(libsystem_kernel.dylib + 0x00001078)		mach_msg
0x0000000180693764	(CoreFoundation + 0x00006764)		__CFRunLoopServiceMachPort
0x0000000180697a6c	(CoreFoundation + 0x0000aa6c)		__CFRunLoopRun
0x00000001806aac2c	(CoreFoundation + 0x0001dc2c)		CFRunLoopRunSpecific
0x0000000181db3ea8	(Foundation + 0x00017ea8)		-[NSRunLoop(NSRunLoop) runMode:beforeDate:]
0x0000000101243eac	(Chrome -message_pump_mac.mm:656)		base::MessagePumpNSRunLoop::DoRun(base::MessagePump::Delegate*)
0x0000000101242d1c	(Chrome -message_pump_mac.mm:161)		base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*)
0x00000001012111bc	(Chrome -thread_controller_with_message_pump_impl.cc:468)		base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta)
0x00000001011ea800	(Chrome -run_loop.cc:140)		base::RunLoop::Run(base::Location const&)
0x0000000101226780	(Chrome -thread.cc:334)		base::Thread::Run(base::RunLoop*)
0x00000001012268fc	(Chrome -thread.cc:405)		base::Thread::ThreadMain()
0x000000010123d294	(Chrome -platform_thread_posix.cc:99)		base::(anonymous namespace)::ThreadFunc(void*)
0x00000001db781344	(libsystem_pthread.dylib + 0x00003344)		_pthread_start

Thread 15
0x00000001badefaac	(libsystem_kernel.dylib + 0x00000aac)		mach_msg_trap
0x00000001badf0078	(libsystem_kernel.dylib + 0x00001078)		mach_msg
0x0000000180693764	(CoreFoundation + 0x00006764)		__CFRunLoopServiceMachPort
0x0000000180697a6c	(CoreFoundation + 0x0000aa6c)		__CFRunLoopRun
0x00000001806aac2c	(CoreFoundation + 0x0001dc2c)		CFRunLoopRunSpecific
0x00000001810afdc8	(CFNetwork + 0x00247dc8)		_CFURLStorageSessionDisableCache
0x0000000181e00d28	(Foundation + 0x00064d28)		__NSThread__start__
0x00000001db781344	(libsystem_pthread.dylib + 0x00003344)		_pthread_start

Thread 16
0x00000001badf0014	(libsystem_kernel.dylib + 0x00001014)		__workq_kernreturn
0x00000001db77fe58	(libsystem_pthread.dylib + 0x00001e58)		_pthread_wqthread

Thread 17
0x00000001db784e38	(libsystem_pthread.dylib + 0x00006e38)		pthread_mach_thread_np
0x00000001db784e20	(libsystem_pthread.dylib + 0x00006e20)		pthread_mach_thread_np
0x000000018943b958	(AudioSession + 0x0000f958)		CADeprecated::CAPThread::SetPriority(_opaque_pthread_t*, unsigned int, bool)
0x000000018943b8b4	(AudioSession + 0x0000f8b4)		___ZN8avfaudio28GetNotificationRunLoopThreadEv_block_invoke
0x00000001803e0090	(libdispatch.dylib + 0x00064090)		_dispatch_client_callout
0x00000001803b0bf0	(libdispatch.dylib + 0x00034bf0)		_dispatch_once_callout
0x000000018943c840	(AudioSession + 0x00010840)		avfaudio::GetNotificationRunLoopThread()
0x0000000189439498	(AudioSession + 0x0000d498)		-[AVAudioSession initWithSessionType:identifier:]
0x0000000189431b0c	(AudioSession + 0x00005b0c)		-[AVAudioSession initWithSessionType:]
0x000000018943194c	(AudioSession + 0x0000594c)		+[AVAudioSession auxiliarySession]
0x000000018abc80a8	(CoreHaptics + 0x0000d0a8)		-[CHHapticEngine initWithAudioSession:sessionIsShared:options:error:]
0x000000018abc3954	(CoreHaptics + 0x00008954)		-[CHHapticEngine initWithAudioSession:sessionIsShared:error:]
0x0000000182f3ffc4	(UIKitCore + 0x0057ffc4)		-[_UIFeedbackCoreHapticsEngine _internal_createCoreHapticsEngine]
0x0000000182e481d4	(UIKitCore + 0x004881d4)		-[_UIFeedbackCoreHapticsHapticsOnlyEngine _internal_createCoreHapticsEngine]
0x0000000182f2f344	(UIKitCore + 0x0056f344)		-[_UIFeedbackCoreHapticsEngine _internal_initializeCoreHapticsEngine]
0x0000000182f43370	(UIKitCore + 0x00583370)		-[_UIFeedbackCoreHapticsEngine _internal_activateUnderlyingPlayerWithCompletion:]
0x0000000182fdb5e4	(UIKitCore + 0x0061b5e4)		-[_UIFeedbackEngine _internal_activateEngine]
0x0000000182c29704	(UIKitCore + 0x00269704)		-[_UIFeedbackEngine _internal_activate:andPerformWhenRunning:]
0x00000001803df090	(libdispatch.dylib + 0x00063090)		_dispatch_call_block_and_release
0x00000001803e0090	(libdispatch.dylib + 0x00064090)		_dispatch_client_callout
0x00000001803bb4a0	(libdispatch.dylib + 0x0003f4a0)		_dispatch_lane_serial_drain$VARIANT$armv81
0x00000001803bbf40	(libdispatch.dylib + 0x0003ff40)		_dispatch_lane_invoke$VARIANT$armv81
0x00000001803c58dc	(libdispatch.dylib + 0x000498dc)		_dispatch_workloop_worker_thread
0x00000001db77fe0c	(libsystem_pthread.dylib + 0x00001e0c)		_pthread_wqthread

Thread 18
0x00000001badf0014	(libsystem_kernel.dylib + 0x00001014)		__workq_kernreturn
0x00000001db77fe58	(libsystem_pthread.dylib + 0x00001e58)		_pthread_wqthread

Thread 19
0x00000001badefaac	(libsystem_kernel.dylib + 0x00000aac)		mach_msg_trap
0x00000001badf0078	(libsystem_kernel.dylib + 0x00001078)		mach_msg
0x0000000101245a0c	(Chrome -waitable_event_mac.cc:170)		base::WaitableEvent::TimedWait(base::TimeDelta const&)
0x0000000101222568	(Chrome -worker_thread.cc:75)		base::internal::WorkerThread::Delegate::WaitForWork(base::WaitableEvent*)
0x0000000101223008	(Chrome -worker_thread.cc:371)		base::internal::WorkerThread::RunWorker()
0x0000000101222b6c	(Chrome -worker_thread.cc:267)		base::internal::WorkerThread::RunPooledWorker()
0x000000010123d294	(Chrome -platform_thread_posix.cc:99)		base::(anonymous namespace)::ThreadFunc(void*)
0x00000001db781344	(libsystem_pthread.dylib + 0x00003344)		_pthread_start

Thread 20
0x00000001badefaac	(libsystem_kernel.dylib + 0x00000aac)		mach_msg_trap
0x00000001badf0078	(libsystem_kernel.dylib + 0x00001078)		mach_msg
0x0000000101245a0c	(Chrome -waitable_event_mac.cc:170)		base::WaitableEvent::TimedWait(base::TimeDelta const&)
0x0000000101222568	(Chrome -worker_thread.cc:75)		base::internal::WorkerThread::Delegate::WaitForWork(base::WaitableEvent*)
0x0000000101222d04	(Chrome -worker_thread.cc:346)		base::internal::WorkerThread::RunWorker()
0x0000000101222b6c	(Chrome -worker_thread.cc:267)		base::internal::WorkerThread::RunPooledWorker()
0x000000010123d294	(Chrome -platform_thread_posix.cc:99)		base::(anonymous namespace)::ThreadFunc(void*)
0x00000001db781344	(libsystem_pthread.dylib + 0x00003344)		_pthread_start

Thread 21
0x00000001badefaac	(libsystem_kernel.dylib + 0x00000aac)		mach_msg_trap
0x00000001badf0078	(libsystem_kernel.dylib + 0x00001078)		mach_msg
0x0000000180693764	(CoreFoundation + 0x00006764)		__CFRunLoopServiceMachPort
0x0000000180697a6c	(CoreFoundation + 0x0000aa6c)		__CFRunLoopRun
0x00000001806aac2c	(CoreFoundation + 0x0001dc2c)		CFRunLoopRunSpecific
0x0000000189432474	(AudioSession + 0x00006474)		CADeprecated::GenericRunLoopThread::Entry(void*)
0x000000018943b7c4	(AudioSession + 0x0000f7c4)		CADeprecated::CAPThread::Entry(CADeprecated::CAPThread*)
0x00000001db781344	(libsystem_pthread.dylib + 0x00003344)		_pthread_start
Comment 4 Yusuke Suzuki 2022-04-04 10:52:22 PDT
@Ali Thank you so much!
This is dupe of bug 236798 and fixed in ToT :)

*** This bug has been marked as a duplicate of bug 236798 ***