brave-browser: [Desktop] Crash while executing PWA
OS : macOS 10.15.4
Version : 1.5.15 & 1.5.23
Unfortunately, Brave crashes when running PWA applications.
I was able to log in from app_mode_loader.
Note that this problem exists in all PWAs
Tested PWAs: YouTube music & twitter & clickup
NOTE: Unfortunately, the problem report is not received in brave: // crashes.
Please fix this bug
2020-04-03 13:05:16.096 app_mode_loader[4792:52753] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSAccessibilityRemoteUIElement accessibilityTitle]: unrecognized selector sent to instance 0x7fa03de2f230'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff34322d07 __exceptionPreprocess + 250
1 libobjc.A.dylib 0x00007fff6d0475bf objc_exception_throw + 48
2 CoreFoundation 0x00007fff343a1c97 -[NSObject(NSObject) __retain_OA] + 0
3 CoreFoundation 0x00007fff3428757b ___forwarding___ + 1427
4 CoreFoundation 0x00007fff34286f58 _CF_forwarding_prep_0 + 120
5 Brave Browser Framework 0x0000000117639da1 ChromeMain + 80787809
6 AppKit 0x00007fff315d1eba -[NSAccessibilityAttributeAccessorInfo getAttributeValue:forObject:] + 58
7 AppKit 0x00007fff31b8f7c9 ___NSAccessibilityEntryPointValueForAttribute_block_invoke.805 + 1674
8 AppKit 0x00007fff31b8b614 NSAccessibilityPerformEntryPointObject + 16
9 AppKit 0x00007fff3184f7d1 _NSAccessibilityEntryPointValueForAttribute + 168
10 AppKit 0x00007fff31990c53 -[NSObject(NSAccessibilityInternal) _accessibilityValueForAttribute:clientError:] + 351
11 AppKit 0x00007fff31995d6e CopyAppKitUIElementAttributeValueNoCatch + 98
12 AppKit 0x00007fff31992c52 CopyAttributeValue + 142
13 HIServices 0x00007fff325853f6 _AXXMIGCopyAttributeValue + 389
14 HIServices 0x00007fff325a64bb _XCopyAttributeValue + 443
15 HIServices 0x00007fff32565f64 mshMIGPerform + 174
16 CoreFoundation 0x00007fff342a74c4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
17 CoreFoundation 0x00007fff342a7410 __CFRunLoopDoSource1 + 541
18 CoreFoundation 0x00007fff342a5f39 __CFRunLoopRun + 2270
19 CoreFoundation 0x00007fff342a4ffe CFRunLoopRunSpecific + 462
20 HIToolbox 0x00007fff32ed8abd RunCurrentEventLoopInMode + 292
21 HIToolbox 0x00007fff32ed87d5 ReceiveNextEventCommon + 584
22 HIToolbox 0x00007fff32ed8579 _BlockUntilNextEventMatchingListInModeWithFilter + 64
23 AppKit 0x00007fff31523c99 _DPSNextEvent + 883
24 AppKit 0x00007fff315224e0 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352
25 AppKit 0x00007fff315141ee -[NSApplication run] + 658
26 Brave Browser Framework 0x000000011598598c ChromeMain + 50689356
27 Brave Browser Framework 0x00000001159843f2 ChromeMain + 50683826
28 Brave Browser Framework 0x0000000115930637 ChromeMain + 50340343
29 Brave Browser Framework 0x0000000115907427 ChromeMain + 50171879
30 Brave Browser Framework 0x000000011292e086 ChromeAppModeStart_v6 + 2182
31 app_mode_loader 0x000000010ff1b84b main + 2443
32 app_mode_loader 0x000000010ff1aedb main + 27
33 libdyld.dylib 0x00007fff6e1eecc9 start + 1
34 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
[0403/130516.114433:WARNING:process_memory_mac.cc(93)] mach_vm_read(0x7ffedfce6000, 0x2000): (os/kern) invalid address (1)
[0403/130516.270392:WARNING:system_snapshot_mac.cc(42)] sysctlbyname kern.nx: No such file or directory (2)
[1] 4792 abort
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 15
- Comments: 23 (3 by maintainers)
Please also see the discussion in this bug report for BetterSnapTool: https://community.folivora.ai/t/bettersnaptool-and-bettertouchtool-cause-brave-web-browser-apps-to-crash/12299
While it may be people in this thread discussing issues with window managers, this hints at a greater accessibility issue which could be affecting users with other assistive technology when trying to use Brave with PWAs. That would make this rather a serious issue.
Chromium seems to be handling this fine: https://github.com/chromium/chromium/search?q=accessibilityTitle&unscoped_q=accessibilityTitle
I have been experiencing the same issue and quite by chance I have discovered that it only happens when I have a productivity app called Window Tidy running. This is an app I’ve used for years to organise and resize apps on my desktop. I have never had an issue with it in the past, and I use it all the time - in fact I couldn’t live without it.
I doubt all the other users reporting this issue are using the same app, but maybe there is a common theme of apps that manage desktop layout, or something like that?
Window Tidy is still available in the App Store should anyone want to install for debugging purposes. It has actually been superseded by another app by the same developers so I may try the free trial of that and report back on my findings.
Installing and opening a PWA (like Twitter) is still crashing for me on
Brave Version 1.9.72 Chromium: 81.0.4044.138 (Official Build) (64-bit):Logs when launching Brave and then double clicking the Twitter PWA app in my Brave Browser Apps folder:
I had the same issue, but with a window management tool called Slate. Quitting Slate and launching a PWA app worked correctly. Interestingly, this issue doesn’t appear to affect Chrome.
I’ve since switched to Hammerspoon migrating my window management shortcuts and PWAs now work correctly in Brave.
Same here. I tried following PWA’s
Carbon (The github login does not work in a normal tab BUT does work in chrome, might be related) Crossnote DevDocs Twitter web.dev webwide
MacOS 10.15.4 Version 1.9.72 Chromium: 81.0.4044.138 (Official Build) (64-bit)
This problem has existed for a long time and the brave team does not pay any attention to this issue!
This is a
very, veryimportant and immediate bug. Please check and fix.Closing as duplicate of https://github.com/brave/brave-browser/issues/7205
I experienced the same crash while dragging a Brave PWA window when running BetterTouchTool for window snapping. Interestingly, Brave seems to work fine with window snapping when using Parallels Toolbox new Window Manager tool.
Same issue for me and Amethyst. Disabling it fixes PWAs.
I think @andyjw7 and @sebflipper are onto something. Based on their findings, I narrowed my issue down to the the window snapping feature of BetterTouchTool - when I disable this feature, the problem goes away.
I also use Moom which has a similar feature. I just tried it and it seems to work fine with PWAs, which is an acceptable solution for me.
I have this issue as well. Originally reported here: https://community.brave.com/t/pwas-crash-immediately/102169
I have since tried re-installing Brave, deleting all PWAs, turning off all extensions, and using a different profile. No dice.
+1 from @bong0 via https://github.com/brave/brave-browser/issues/9270