If revevant, I'm seeing these issues while debugging in Xcode, however they may be basic/expected type errors as I am not able to reproduce the issue on my machine anyway.objc[99539]: Class AMSupportURLConnectionDelegate is implemented in both /System/Library/PrivateFrameworks/OSPersonalization.framework/Versions/A/OSPersonalization (0x7fff8b54cb68) and /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x103cfb228). One of the two will be used. Which one is undefined.
objc[99539]: Class AMSupportURLSession is implemented in both /System/Library/PrivateFrameworks/OSPersonalization.framework/Versions/A/OSPersonalization (0x7fff8b54cbb8) and /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x103cfb278). One of the two will be used. Which one is undefined.
2020-05-21 11:09:44.426694-0400 Safari[99539:37398753] Metal API Validation Enabled
2020-05-21 11:09:46.158099-0400 Safari[99539:37398994] Bogus event on event stream listener.
2020-05-21 11:09:46.159252-0400 Safari[99539:37399514] Bogus event on event stream listener.
2020-05-21 11:09:46.343217-0400 Safari[99539:37398956] [RemotePlistController] The downloaded plist could not be loaded: Error Domain=NSCocoaErrorDomain Code=260
2020-05-21 11:09:46.359454-0400 Safari[99539:37398988] [RemotePlistController] The downloaded plist could not be loaded: Error Domain=NSCocoaErrorDomain Code=260
2020-05-21 11:09:46.362195-0400 Safari[99539:37398929] [RemotePlistController] The downloaded plist could not be loaded: Error Domain=NSCocoaErrorDomain Code=260
2020-05-21 11:09:46.401237-0400 Safari[99539:37398753] [PerSitePreferences] Failed to set up all website policies before timeout
2020-05-21 11:09:46.761884-0400 Safari[99539:37398988] Failed to get contents of content providers directory Error Domain=NSCocoaErrorDomain Code=260 "The folder “ContentProviding” doesn’t exist." UserInfo={NSFilePath=/System/Library/PrivateFrameworks/CoreDuet.framework/PlugIns/ContentProviding, NSUserStringVariant=(
Folder
), NSUnderlyingError=0x7fcfb4edeb60 {Error Domain=NSOSStatusErrorDomain Code=-43 "fnfErr: File not found"}}
2020-05-21 11:09:46.860301-0400 Safari[99539:37398993] [Warning] Bad response from daemon for setup info
2020-05-21 11:09:47.333422-0400 Safari[99539:37398753] [Safari] extractOptions:140: *** unknown hint identifier 'kCGImageSourceTypeIdentifierHint:dyn.age8u' -- ignoring...
2020-05-21 11:09:47.372950-0400 Safari[99539:37398934] Calling IOPPFGetProperty simulator_utility_clamp!
2020-05-21 11:09:48.579175-0400 Safari[99539:37398753] [Client,LAContext] invalidate LAContext[99539:2 uiDelegate:<AutoFillLocalAuthenticationOperation: 0x7fcfb49d2db0>] cid:5 internally returned Error Domain=com.apple.LocalAuthentication Code=-9 "invalidate called" UserInfo={NSLocalizedDescription=invalidate called}
2020-05-21 11:09:49.952381-0400 Safari[99539:37398988] Creating client/daemon connection: E3DA243B-8E50-456D-8A6D-6356A1F52848
2020-05-21 11:09:50.002397-0400 Safari[99539:37398988] Got the query meta data reply for: com.apple.MobileAsset.CoreSuggestions, response: 0
2020-05-21 11:09:50.006443-0400 Safari[99539:37398988] Consumed extension
2020-05-21 11:09:50.014767-0400 Safari[99539:37398988] Got the query meta data reply for: com.apple.MobileAsset.CoreSuggestions, response: 0
2020-05-21 11:09:55.075734-0400 Safari[99539:37398753] [Extensions] View service did terminate with error: Error Domain=com.apple.ViewBridge Code=18
2020-05-21 11:10:00.159266-0400 Safari[99539:37398753] [Extensions] View service did terminate with error: Error Domain=com.apple.ViewBridge Code=18
2020-05-21 11:11:13.159718-0400 Safari[99539:37398753] [Extensions] View service did terminate with error: Error Domain=com.apple.ViewBridge Code=17
2020-05-21 11:13:14.555241-0400 Safari[99539:37398753] [default] RWIServiceDeviceConnection: No connection to start
2020-05-21 11:14:18.507050-0400 Safari[99539:37398753] [default] RWIServiceDeviceConnection: No connection to start
2020-05-21 11:14:33.907487-0400 Safari[99539:37398753] [default] RWIServiceDeviceConnection: No connection to start
2020-05-21 11:14:56.572791-0400 Safari[99539:37398753] [default] RWIServiceDeviceConnection: No connection to start
2020-05-21 11:15:27.809003-0400 Safari[99539:37398753] [default] RWIServiceDeviceConnection: No connection to start
2020-05-21 11:15:41.581441-0400 Safari[99539:37398753] [Extensions] View service did terminate with error: Error Domain=com.apple.ViewBridge Code=18
2020-05-21 11:15:47.580716-0400 Safari[99539:37398753] [Extensions] View service did terminate with error: Error Domain=com.apple.ViewBridge Code=18
2020-05-21 11:16:05.726504-0400 Safari[99539:37398753] [default] RWIServiceDeviceConnection: No connection to start
2020-05-21 11:16:51.811762-0400 Safari[99539:37398753] [default] RWIServiceDeviceConnection: No connection to start
2020-05-21 11:16:57.448582-0400 Safari[99539:37398753] [Extensions] View service did terminate with error: Error Domain=com.apple.ViewBridge Code=18
2020-05-21 11:18:00.329309-0400 Safari[99539:37398753] [default] RWIServiceDeviceConnection: No connection to start
2020-05-21 11:18:43.714911-0400 Safari[99539:37398753] [default] RWIServiceDeviceConnection: No connection to start
2020-05-21 11:19:07.065657-0400 Safari[99539:37398753] [default] RWIServiceDeviceConnection: No connection to start
2020-05-21 11:21:28.369957-0400 Safari[99539:37398753] [default] RWIServiceDeviceConnection: No connection to start
2020-05-21 11:22:40.472223-0400 Safari[99539:37398753] [default] RWIServiceDeviceConnection: No connection to start
2020-05-21 11:27:49.479089-0400 Safari[99539:37398753] [default] RWIServiceDeviceConnection: No connection to start
2020-05-21 11:31:04.371900-0400 Safari[99539:37398753] [default] RWIServiceDeviceConnection: No connection to start
2020-05-21 11:33:20.739358-0400 Safari[99539:37398753] [default] RWIServiceDeviceConnection: No connection to start
2020-05-21 11:36:06.796918-0400 Safari[99539:37398753] [default] RWIServiceDeviceConnection: No connection to start
2020-05-21 11:37:52.084117-0400 Safari[99539:37398753] [default] RWIServiceDeviceConnection: No connection to start
2020-05-21 11:38:37.735424-0400 Safari[99539:37398753] [default] RWIServiceDeviceConnection: No connection to start
2020-05-21 11:39:38.392962-0400 Safari[99539:37398753] [Extensions] View service did terminate with error: Error Domain=com.apple.ViewBridge Code=18
2020-05-21 11:40:06.588605-0400 Safari[99539:37398753] [default] RWIServiceDeviceConnection: No connection to start
2020-05-21 11:41:23.340604-0400 Safari[99539:37398753] [default] RWIServiceDeviceConnection: No connection to start
2020-05-21 11:44:06.711357-0400 Safari[99539:37398753] [default] RWIServiceDeviceConnection: No connection to start
2020-05-21 11:45:13.748526-0400 Safari[99539:37398753] [default] RWIServiceDeviceConnection: No connection to start
2020-05-21 11:45:33.084352-0400 Safari[99539:37398753] [default] RWIServiceDeviceConnection: No connection to start
2020-05-21 11:48:02.652315-0400 Safari[99539:37398753] [default] RWIServiceDeviceConnection: No connection to start
2020-05-21 11:49:05.647360-0400 Safari[99539:37398753] [default] RWIServiceDeviceConnection: No connection to start
2020-05-21 11:51:17.908681-0400 Safari[99539:37398753] [Extensions] View service did terminate with error: Error Domain=com.apple.ViewBridge Code=18
2020-05-21 11:51:57.423800-0400 Safari[99539:37398753] [default] RWIServiceDeviceConnection: No connection to start
2020-05-21 11:53:05.647485-0400 Safari[99539:37398753] [default] RWIServiceDeviceConnection: No connection to start
Post
Replies
Boosts
Views
Activity
TSI was requested, which was redirected right back to Feedback Assistant, which is already filed under # 7709602. Really need someone to help look at this issue as it's impacting a large number of our users and the Apple Developer team is hinting that it seems to be an OS or Safair issue.
Made some progress on swift code cleanup, however we're still seeing crashing coming in:
Process:							 safari [38865]
Path:									/Applications/Bitwarden.app/Contents/PlugIns/safari.appex/Contents/MacOS/safari
Identifier:						com.bitwarden.desktop.safari
Version:							 1.44.0 (1.44.0)
Code Type:						 X86-64 (Native)
Parent Process:				??? [1]
Responsible:					 safari [38865]
User ID:							 501
Date/Time:						 2020-06-24 13:58:59.613 -0700
OS Version:						Mac OS X 10.15.5 (19F101)
Report Version:				12
Bridge OS Version:		 4.5 (17P5300)
Anonymous UUID:				3F80BAA9-6034-78E4-362C-F984D783D804
Sleep/Wake UUID:			 4EB9346F-DFA1-4481-BE19-13796836F648
Time Awake Since Boot: 300000 seconds
Time Since Wake:			 1500 seconds
System Integrity Protection: enabled
Crashed Thread:				8	Dispatch queue: com.apple.NSXPCConnection.user.endpoint
Exception Type:				EXC_BREAKPOINT (SIGTRAP)
Exception Codes:			 0x0000000000000002, 0x0000000000000000
Exception Note:				EXC_CORPSE_NOTIFY
Termination Signal:		Trace/BPT trap: 5
Termination Reason:		Namespace SIGNAL, Code 0x5
Terminating Process:	 exc handler [38865]
Thread 8 Crashed:: Dispatch queue: com.apple.NSXPCConnection.user.endpoint
0	 com.apple.WebKit							 0x00007fff3f4b2b33 WTFCrashWithInfo(int, char const*, char const*, int) + 19
1	 com.apple.WebKit							 0x00007fff3f763d2f WebKit::CallbackMap::put(WTF::Ref<WebKit::CallbackBase, WTF::DumbPtrTraits<WebKit::CallbackBase> >&&) + 357
2	 com.apple.WebKit							 0x00007fff3f755aa9 WebKit::WebPageProxy::runJavaScriptInMainFrameScriptWorld(WebCore::RunJavaScriptParameters&&, WTF::Optional<WTF::String> const&, WTF::Function<void (API::SerializedScriptValue*, WTF::Optional<WebCore::ExceptionDetails>, WebKit::CallbackBase::Error)>&&) + 283
3	 com.apple.WebKit							 0x00007fff3f755960 WebKit::WebPageProxy::runJavaScriptInMainFrame(WebCore::RunJavaScriptParameters&&, WTF::Function<void (API::SerializedScriptValue*, WTF::Optional<WebCore::ExceptionDetails>, WebKit::CallbackBase::Error)>&&) + 36
4	 com.apple.WebKit							 0x00007fff3f68ea82 -[WKWebView _evaluateJavaScript:asAsyncFunction:withArguments:forceUserGesture:completionHandler:] + 1248
5	 com.apple.WebKit							 0x00007fff3f68e59c -[WKWebView evaluateJavaScript:completionHandler:] + 36
6	 com.bitwarden.desktop.safari	 0x0000000103e86c3b SafariExtensionViewController.replyMessage(message:) + 347
7	 com.bitwarden.desktop.safari	 0x0000000103e84a2f specialized processWindowsForTabs(wins:options:complete:) + 911
8	 com.bitwarden.desktop.safari	 0x0000000103e915bb thunk for @escaping @callee_guaranteed (@guaranteed [SFSafariWindow]) -> () + 75
9	 com.apple.SafariServices.framework 0x00007fff3a85d597 __58+[SFSafariApplication getAllWindowsWithCompletionHandler:]_block_invoke + 285
10	com.apple.CoreFoundation			 0x00007fff2e59093c invoking_ + 140
11	com.apple.CoreFoundation			 0x00007fff2e5907e1 -[NSInvocation invoke] + 303
12	com.apple.Foundation					 0x00007fff30c06765 NSXPCCONNECTION_IS_CALLING_OUT_TO_REPLY_BLOCK + 17
13	com.apple.Foundation					 0x00007fff30c04378 -[NSXPCConnection _decodeAndInvokeReplyBlockWithEvent:sequence:replyInfo:] + 684
14	com.apple.Foundation					 0x00007fff30c03d73 __88-[NSXPCConnection _sendInvocation:orArguments:count:methodSignature:selector:withProxy:]_block_invoke_3 + 216
15	libxpc.dylib									 0x00007fff687ef28f _xpc_connection_reply_callout + 36
16	libxpc.dylib									 0x00007fff687ef217 _xpc_connection_call_reply_async + 69
17	libdispatch.dylib						 0x00007fff685506c2 _dispatch_client_callout3 + 8
18	libdispatch.dylib						 0x00007fff6856715d _dispatch_mach_msg_async_reply_invoke + 369
19	libdispatch.dylib						 0x00007fff68555af6 _dispatch_lane_serial_drain + 263
20	libdispatch.dylib						 0x00007fff68556609 _dispatch_lane_invoke + 414
21	libdispatch.dylib						 0x00007fff6855fc09 _dispatch_workloop_worker_thread + 596
22	libsystem_pthread.dylib			 0x00007fff687aaa3d _pthread_wqthread + 290
23	libsystem_pthread.dylib			 0x00007fff687a9b77 start_wqthread + 15
Thread 8 crashed with X86 Thread State (64-bit):
	rax: 0x0000000106d15000	rbx: 0x0000000106d15000	rcx: 0x000000000000001d	rdx: 0x00007fff3fa59c99
	rdi: 0x00000000000000ae	rsi: 0x00007fff3fa59be8	rbp: 0x000070000c872ff0	rsp: 0x000070000c872ff0
	 r8: 0x00000000000130a8	 r9: 0x0000000000000000	r10: 0x00006000014ef830	r11: 0x00006000014ef828
	r12: 0x000070000c873088	r13: 0x000070000c873070	r14: 0x000070000c8730b8	r15: 0x00007faf898303f0
	rip: 0x00007fff3f4b2b33	rfl: 0x0000000000000246	cr2: 0x0000000106d0f000
	
Logical CPU:		 0
Error Code:			0x00000000
Trap Number:		 3
Thanks Quinn! I did run the app locally outside of the debugger and have the full crash report, can be found here also: https://github.com/bitwarden/browser/issues/1338.
Crash log:
safari_2020-07-22-155821_Chads-MacBook-Pro.crash - https://developer.apple.com/forums/content/attachment/3b757173-27a0-43f2-8491-29e3494e5a92
Actually, thanks to your reply Quinn I was able to track down the culprit of the crash, https://github.com/bitwarden/browser/pull/1339... Now if only I could figure out the same for https://github.com/bitwarden/browser/issues/1021.
We are experiencing the exact same reports with our Safari extension ever since migrating to Web Extensions. It appears that Safari is spinning its wheels with each open of the pop-up for about 1.2+ seconds or more with each click, before even making the first request to fetch index.html and render.
See for reference (also a link in there for a timeline recording): https://github.com/bitwarden/browser/issues/1732.
Has there been any progress on this issue or movement on the feedback issue(s)?