[Webkit-unassigned] [Bug 217773] New: v2: WebKit::XPCServiceEventHandler block should call exit() on the main thread
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Oct 15 11:42:30 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=217773
Bug ID: 217773
Summary: v2: WebKit::XPCServiceEventHandler block should call
exit() on the main thread
Product: WebKit
Version: Other
Hardware: Unspecified
OS: Unspecified
Status: NEW
Keywords: InRadar
Severity: Normal
Priority: P2
Component: WebKit2
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ddkilzer at webkit.org
CC: cdumez at apple.com
Depends on: 216594
WebKit::XPCServiceEventHandler block should call exit() on the main thread.
The fix in Bug 216594 / r267206 didn't work because apparently libdispatch thought the main thread was the current thread (maybe since this happened during exit():
Thread 0:: Dispatch queue: com.apple.main-thread
0 libSC.dylib 0x00007fff5df818f5 void std::__1::__tree_remove<std::__1::__tree_node_base<void*>*>(std::__1::__tree_node_base<void*>*, std::__1::__tree_node_base<void*>*) + 565
1 libSC.dylib 0x00007fff5df81296 boost::serialization::typeid_system::extended_type_info_typeid_0::type_unregister() + 598
2 libSC.dylib 0x00007fff5e116a1f boost::serialization::detail::singleton_wrapper<boost::serialization::extended_type_info_typeid<_SC_CI_TRANSFORM_SHADER_DESC> >::~singleton_wrapper() + 47
3 libsystem_c.dylib 0x00007fff20324ca7 __cxa_finalize_ranges + 316
4 libsystem_c.dylib 0x00007fff20324f92 exit + 53
5 com.apple.WebKit 0x00007fff3c627bcc invocation function for block in WebKit::AuxiliaryProcess::stopNSRunLoop() + 11
6 com.apple.CoreFoundation 0x00007fff204f05a2 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
7 com.apple.CoreFoundation 0x00007fff204f044c __CFRunLoopDoBlocks + 437
8 com.apple.CoreFoundation 0x00007fff204ef132 __CFRunLoopRun + 907
9 com.apple.CoreFoundation 0x00007fff204ee6ce CFRunLoopRunSpecific + 563
10 com.apple.Foundation 0x00007fff212786d1 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
11 com.apple.Foundation 0x00007fff21306ab4 -[NSRunLoop(NSRunLoop) run] + 76
12 libxpc.dylib 0x00007fff201473dd _xpc_objc_main + 825
13 libxpc.dylib 0x00007fff20146e65 xpc_main + 437
14 com.apple.WebKit 0x00007fff3c5dc3d2 WebKit::XPCServiceMain(int, char const**) + 629
15 libdyld.dylib 0x00007fff20413591 start + 1
[...]
Thread 3 Crashed:: Dispatch queue: com.apple.root.default-qos
0 libSC.dylib 0x00007fff5df80e65 boost::serialization::typeid_system::extended_type_info_typeid_0::is_less_than(boost::serialization::extended_type_info const&) const + 21
1 libSC.dylib 0x00007fff5df810dc boost::serialization::typeid_system::extended_type_info_typeid_0::type_unregister() + 156
2 libSC.dylib 0x00007fff5e1165bf boost::serialization::detail::singleton_wrapper<boost::serialization::extended_type_info_typeid<_SC_PRIMSHADER_VPORT_CONTROLS_LUT> >::~singleton_wrapper() + 47
3 libsystem_c.dylib 0x00007fff20324ca7 __cxa_finalize_ranges + 316
4 libsystem_c.dylib 0x00007fff20324f92 exit + 53
5 com.apple.WebKit 0x00007fff3c5dd755 invocation function for block in WebKit::XPCServiceEventHandler(NSObject<OS_xpc_object>*) + 616
6 libxpc.dylib 0x00007fff2013ec28 _xpc_connection_call_event_handler + 56
7 libxpc.dylib 0x00007fff2013d90c _xpc_connection_mach_event + 535
8 libdispatch.dylib 0x00007fff2024c867 _dispatch_client_callout4 + 9
9 libdispatch.dylib 0x00007fff20266ec0 _dispatch_mach_cancel_invoke + 65
10 libdispatch.dylib 0x00007fff202647f4 _dispatch_mach_invoke + 1070
11 libdispatch.dylib 0x00007fff2025cc5d _dispatch_workloop_worker_thread + 819
12 libsystem_pthread.dylib 0x00007fff203f4499 _pthread_wqthread + 314
13 libsystem_pthread.dylib 0x00007fff203f3467 start_wqthread + 15
Referenced Bugs:
https://bugs.webkit.org/show_bug.cgi?id=216594
[Bug 216594] WebKit::XPCServiceEventHandler block should call exit() on the main thread
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201015/24a9ab16/attachment.htm>
More information about the webkit-unassigned
mailing list