PWA apps crashing

Description of the issue:

PWA apps crash when starting. I did try to manually add the apps to the MacOS Accessibility security setting as suggested in this thread: PWA’s Crash Immediately

How can this issue be reproduced?

  1. Create user profile (I did also try to create a new, empty, user profile)
  2. Install PWA
  3. Open PWA

Expected result:

PWA opens

Brave Version( check About Brave):

Version 1.23.71 Chromium: 90.0.4430.72 (Official Build) (x86_64)

Additional Information:

Launching PWA using the CLI gives back the following content:
joris@joris ~ % /Users/joris/Applications/Brave\ Browser\ Apps.localized/The\ Lounge.app/Contents/MacOS/app_mode_loader
[0420/120008.863576:INFO:app_mode_loader_mac.mm(76)] Using user data dir /Users/joris/Library/Application Support/BraveSoftware/Brave-Browser
[0420/120008.866308:INFO:app_mode_loader_mac.mm(95)] Framework version from symlink 90.1.23.71
[0420/120008.866987:INFO:app_mode_loader_mac.mm(134)] Loading framework /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/90.1.23.71/Brave Browser Framework
objc[52973]: Class BaseView is implemented in both /Users/joris/Applications/Brave Browser Apps.localized/The Lounge.app/Contents/MacOS/app_mode_loader (0x10b2ace78) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/90.1.23.71/Brave Browser Framework (0x123501828). One of the two will be used. Which one is undefined.
objc[52973]: Class CommandDispatcher is implemented in both /Users/joris/Applications/Brave Browser Apps.localized/The Lounge.app/Contents/MacOS/app_mode_loader (0x10b2acec8) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/90.1.23.71/Brave Browser Framework (0x123501878). One of the two will be used. Which one is undefined.
objc[52973]: Class ConstrainedWindowAnimationBase is implemented in both /Users/joris/Applications/Brave Browser Apps.localized/The Lounge.app/Contents/MacOS/app_mode_loader (0x10b2acf18) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/90.1.23.71/Brave Browser Framework (0x1235018c8). One of the two will be used. Which one is undefined.
objc[52973]: Class ConstrainedWindowAnimationShow is implemented in both /Users/joris/Applications/Brave Browser Apps.localized/The Lounge.app/Contents/MacOS/app_mode_loader (0x10b2acf90) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/90.1.23.71/Brave Browser Framework (0x123501940). One of the two will be used. Which one is undefined.
objc[52973]: Class ConstrainedWindowAnimationHide is implemented in both /Users/joris/Applications/Brave Browser Apps.localized/The Lounge.app/Contents/MacOS/app_mode_loader (0x10b2acfe0) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/90.1.23.71/Brave Browser Framework (0x123501990). One of the two will be used. Which one is undefined.
objc[52973]: Class ConstrainedWindowAnimationPulse is implemented in both /Users/joris/Applications/Brave Browser Apps.localized/The Lounge.app/Contents/MacOS/app_mode_loader (0x10b2ad030) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/90.1.23.71/Brave Browser Framework (0x1235019e0). One of the two will be used. Which one is undefined.
objc[52973]: Class ButtonUtils is implemented in both /Users/joris/Applications/Brave Browser Apps.localized/The Lounge.app/Contents/MacOS/app_mode_loader (0x10b2ad080) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/90.1.23.71/Brave Browser Framework (0x123501a30). One of the two will be used. Which one is undefined.
objc[52973]: Class TextFieldUtils is implemented in both /Users/joris/Applications/Brave Browser Apps.localized/The Lounge.app/Contents/MacOS/app_mode_loader (0x10b2ad0d0) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/90.1.23.71/Brave Browser Framework (0x123501a80). One of the two will be used. Which one is undefined.
objc[52973]: Class FindPasteboard is implemented in both /Users/joris/Applications/Brave Browser Apps.localized/The Lounge.app/Contents/MacOS/app_mode_loader (0x10b2ad0f8) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/90.1.23.71/Brave Browser Framework (0x123501aa8). One of the two will be used. Which one is undefined.
objc[52973]: Class FlippedView is implemented in both /Users/joris/Applications/Brave Browser Apps.localized/The Lounge.app/Contents/MacOS/app_mode_loader (0x10b2ad170) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/90.1.23.71/Brave Browser Framework (0x123501b20). One of the two will be used. Which one is undefined.
objc[52973]: Class FocusTracker is implemented in both /Users/joris/Applications/Brave Browser Apps.localized/The Lounge.app/Contents/MacOS/app_mode_loader (0x10b2ad198) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/90.1.23.71/Brave Browser Framework (0x123501b48). One of the two will be used. Which one is undefined.
objc[52973]: Class WeakPtrToMenuModelAsNSObject is implemented in both /Users/joris/Applications/Brave Browser Apps.localized/The Lounge.app/Contents/MacOS/app_mode_loader (0x10b2ad1e8) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/90.1.23.71/Brave Browser Framework (0x123501b98). One of the two will be used. Which one is undefined.
objc[52973]: Class MenuControllerCocoa is implemented in both /Users/joris/Applications/Brave Browser Apps.localized/The Lounge.app/Contents/MacOS/app_mode_loader (0x10b2ad238) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/90.1.23.71/Brave Browser Framework (0x123501be8). One of the two will be used. Which one is undefined.
objc[52973]: Class KeyboardInputSourceListener is implemented in both /Users/joris/Applications/Brave Browser Apps.localized/The Lounge.app/Contents/MacOS/app_mode_loader (0x10b2ad288) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/90.1.23.71/Brave Browser Framework (0x123501c38). One of the two will be used. Which one is undefined.
objc[52973]: Class ToolTipBaseView is implemented in both /Users/joris/Applications/Brave Browser Apps.localized/The Lounge.app/Contents/MacOS/app_mode_loader (0x10b2ad2d8) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/90.1.23.71/Brave Browser Framework (0x123501c88). One of the two will be used. Which one is undefined.
objc[52973]: Class CrTrackingAreaOwnerProxy is implemented in both /Users/joris/Applications/Brave Browser Apps.localized/The Lounge.app/Contents/MacOS/app_mode_loader (0x10b2ad328) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/90.1.23.71/Brave Browser Framework (0x123501cd8). One of the two will be used. Which one is undefined.
objc[52973]: Class CrTrackingArea is implemented in both /Users/joris/Applications/Brave Browser Apps.localized/The Lounge.app/Contents/MacOS/app_mode_loader (0x10b2ad378) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/90.1.23.71/Brave Browser Framework (0x123501d28). One of the two will be used. Which one is undefined.
objc[52973]: Class UnderlayOpenGLHostingWindow is implemented in both /Users/joris/Applications/Brave Browser Apps.localized/The Lounge.app/Contents/MacOS/app_mode_loader (0x10b2ad3c8) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/90.1.23.71/Brave Browser Framework (0x123501d78). One of the two will be used. Which one is undefined.
objc[52973]: Class WeakPtrNSObject is implemented in both /Users/joris/Applications/Brave Browser Apps.localized/The Lounge.app/Contents/MacOS/app_mode_loader (0x10b2ad440) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/90.1.23.71/Brave Browser Framework (0x123501df0). One of the two will be used. Which one is undefined.
objc[52973]: Class CrPasteboardItemWrapper is implemented in both /Users/joris/Applications/Brave Browser Apps.localized/The Lounge.app/Contents/MacOS/app_mode_loader (0x10b2ad468) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/90.1.23.71/Brave Browser Framework (0x123501e18). One of the two will be used. Which one is undefined.
[0420/120009.071959:INFO:app_shim_controller.mm(258)] Connected to com.brave.Browser.apps.07654a8461798813498ddc1e42123cf4
[0420/120009.084957:INFO:app_shim_controller.mm(344)] Sent OnShimConnected
[0420/120009.155308:INFO:app_shim_controller.mm(378)] Received OnShimConnected.
2021-04-20 12:00:09.516 app_mode_loader[52973:920077] -[NSAccessibilityRemoteUIElement accessibilityTitle]: unrecognized selector sent to instance 0x7f94b6535aa0
2021-04-20 12:00:09.522 app_mode_loader[52973:920077] *** Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘-[NSAccessibilityRemoteUIElement accessibilityTitle]: unrecognized selector sent to instance 0x7f94b6535aa0’
*** First throw call stack:
(
0 CoreFoundation 0x00007fff207a56af __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007fff204dd3c9 objc_exception_throw + 48
2 CoreFoundation 0x00007fff20827c85 -[NSObject(NSObject) __retain_OA] + 0
3 CoreFoundation 0x00007fff2070d07d forwarding + 1467
4 CoreFoundation 0x00007fff2070ca38 _CF_forwarding_prep_0 + 120
5 Brave Browser Framework 0x000000011e8b4101 ChromeMain + 97570929
6 AppKit 0x00007fff22fed21a -[NSAccessibilityAttributeAccessorInfo getAttributeValue:forObject:] + 58
7 AppKit 0x00007fff2358cd6a ___NSAccessibilityEntryPointValueForAttribute_block_invoke.811 + 1691
8 AppKit 0x00007fff235889d3 NSAccessibilityPerformEntryPointObject + 16
9 AppKit 0x00007fff232485d6 _NSAccessibilityEntryPointValueForAttribute + 168
10 AppKit 0x00007fff23380ab5 -[NSObject(NSAccessibilityInternal) _accessibilityValueForAttribute:clientError:] + 341
11 AppKit 0x00007fff23385a66 CopyAppKitUIElementAttributeValueNoCatch + 98
12 AppKit 0x00007fff23382a1b CopyAttributeValue + 142
13 HIServices 0x00007fff259c497b _AXXMIGCopyAttributeValue + 409
14 HIServices 0x00007fff259e67fb _XCopyAttributeValue + 443
15 HIServices 0x00007fff259a5654 mshMIGPerform + 174
16 CoreFoundation 0x00007fff2072c188 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION + 41
17 CoreFoundation 0x00007fff2072c065 __CFRunLoopDoSource1 + 595
18 CoreFoundation 0x00007fff2072a709 __CFRunLoopRun + 2402
19 CoreFoundation 0x00007fff207296ce CFRunLoopRunSpecific + 563
20 HIToolbox 0x00007fff289b1630 RunCurrentEventLoopInMode + 292
21 HIToolbox 0x00007fff289b1282 ReceiveNextEventCommon + 283
22 HIToolbox 0x00007fff289b114f _BlockUntilNextEventMatchingListInModeWithFilter + 64
23 AppKit 0x00007fff22f499b1 _DPSNextEvent + 883
24 AppKit 0x00007fff22f48177 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1366
25 AppKit 0x00007fff22f3a68a -[NSApplication run] + 586
26 Brave Browser Framework 0x000000011c91aaac ChromeMain + 64436764
27 Brave Browser Framework 0x000000011c91990c ChromeMain + 64432252
28 Brave Browser Framework 0x000000011c8d6cf7 ChromeMain + 64158823
29 Brave Browser Framework 0x000000011c8a323b ChromeMain + 63947179
30 Brave Browser Framework 0x0000000118ba6d04 ChromeAppModeStart_v6 + 2436
31 app_mode_loader 0x000000010ad064fe main + 3326
32 app_mode_loader 0x000000010ad0581b main + 27
33 libdyld.dylib 0x00007fff2064e621 start + 1
34 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
[0420/120009.532919:WARNING:process_memory_mac.cc(93)] mach_vm_read(0x7ffee4efb000, 0x2000): (os/kern) invalid address (1)
zsh: abort

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.