Crash on startup

After the latest automatic update, Brave crashes on launch on macOS Mojave (10.14.6).

Process:               Brave Browser [14293]
Path:                  /Applications/Brave Browser.app/Contents/MacOS/Brave Browser
Identifier:            com.brave.Browser
Version:               79.1.2.41 (102.41)
Code Type:             X86-64 (Native)
Responsible:           Brave Browser [14293]

Date/Time:             2020-01-07 11:31:29.619 +0200
OS Version:            Mac OS X 10.14.6 (18G2022)

Time Awake Since Boot: 110000 seconds
Time Since Wake:       2500 seconds

System Integrity Protection: enabled

Crashed Thread:        0  CrBrowserMain  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000048

VM Regions Near 0x48:
--> 
    __TEXT                 000000010b9b7000-000000010b9e0000 [  164K] r-x/rwx SM=COW  /Applications/Brave Browser.app/Contents/MacOS/Brave Browser

Thread 0 Crashed:: CrBrowserMain  Dispatch queue: com.apple.main-thread
0   com.brave.Browser.framework   	0x00000001107816d8 0x10ba0a000 + 81229528
1   com.brave.Browser.framework   	0x000000011152016b 0x10ba0a000 + 95510891
2   com.apple.AppKit              	0x00007fff48f6df1a -[NSMenu _populateFromDelegateWithEventRef:] + 340
3   com.apple.AppKit              	0x00007fff48e534a5 -[NSMenu _populateWithEventRef:] + 81
4   com.apple.AppKit              	0x00007fff48f6d16e -[NSCarbonMenuImpl _carbonPopulateEvent:handlerCallRef:] + 466
5   com.apple.AppKit              	0x00007fff48f6cee2 NSSLMMenuEventHandler + 1193
6   com.apple.HIToolbox           	0x00007fff4a8b722e DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1422
7   com.apple.HIToolbox           	0x00007fff4a8b65df SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 371
8   com.apple.HIToolbox           	0x00007fff4a8b6465 SendEventToEventTargetWithOptions + 45
9   com.apple.HIToolbox           	0x00007fff4a90ffef SendMenuPopulate(MenuData*, OpaqueEventTargetRef*, unsigned int, double, unsigned int, OpaqueEventRef*, unsigned char, unsigned char*) + 318
10  com.apple.HIToolbox           	0x00007fff4a93591f SendMenuOpening(MenuSelectData*, MenuData*, double, unsigned int, unsigned int, __CFDictionary*, unsigned char, unsigned char*) + 291
11  com.apple.HIToolbox           	0x00007fff4aa5bef0 _SimulateMenuOpening + 110
12  com.apple.HIToolbox           	0x00007fff4aa51b55 OpenMenuForInspection(MenuData*) + 94
13  com.apple.HIToolbox           	0x00007fff4aa5295f MenuData::HandleGetNamedAccessibleAttribute(unsigned long long, __CFString const*, unsigned int, OpaqueEventRef*) + 157
14  com.apple.HIToolbox           	0x00007fff4aa528ac MenuData::GetNamedAccessibleAttributeSelf(unsigned long long, __CFString const*, unsigned int, OpaqueEventRef*) + 180
15  com.apple.HIToolbox           	0x00007fff4aa6bcab HIObject::DispatchAccessibilityEvent(OpaqueEventRef*, unsigned long long, AccessibilityHandlers const*, void*) + 489
16  com.apple.HIToolbox           	0x00007fff4aa6b982 HIObject::HandleClassAccessibilityEvent(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 106
17  com.apple.HIToolbox           	0x00007fff4a8b7819 HIObject::EventHook(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 135
18  com.apple.HIToolbox           	0x00007fff4a8b722e DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1422
19  com.apple.HIToolbox           	0x00007fff4a8b65df SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 371
20  com.apple.HIToolbox           	0x00007fff4a94c5fc CallNextEventHandler + 105
21  com.apple.AppKit              	0x00007fff49177b4f -[NSCarbonMenuImpl _carbonGetAccessibleAttributeEvent:handlerCallRef:axElement:] + 37
22  com.apple.AppKit              	0x00007fff48f6ce53 NSSLMMenuEventHandler + 1050
23  com.apple.HIToolbox           	0x00007fff4a8b722e DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1422
24  com.apple.HIToolbox           	0x00007fff4a8b65df SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 371
25  com.apple.HIToolbox           	0x00007fff4a8b6465 SendEventToEventTargetWithOptions + 45
26  com.apple.HIToolbox           	0x00007fff4a9636cc Accessible::SendEvent(OpaqueEventRef*, bool) const + 88
27  com.apple.HIToolbox           	0x00007fff4a962c1f Accessible::GetNamedAttributeData(__CFString const*, void const*, void const**, unsigned char*) + 151
28  com.apple.HIToolbox           	0x00007fff4a9629c4 HLTBCopyUIElementAttributeValue + 57
29  com.apple.HIToolbox           	0x00007fff4a964fbc CarbonCopyAttributeValueCallback(__CFData const*, unsigned int, __CFString const*, void const**, void*) + 84
30  com.apple.AppKit              	0x00007fff490f3575 CopyCarbonUIElementAttributeValue + 62
31  com.apple.AppKit              	0x00007fff490f07d2 CopyAttributeValue + 126
32  com.apple.HIServices          	0x00007fff49e5135d _AXXMIGCopyAttributeValue + 269
33  com.apple.HIServices          	0x00007fff49e5a890 _XCopyAttributeValue + 424
34  com.apple.HIServices          	0x00007fff49e31c9d mshMIGPerform + 203
35  com.apple.CoreFoundation      	0x00007fff4b673347 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
36  com.apple.CoreFoundation      	0x00007fff4b6732a5 __CFRunLoopDoSource1 + 527
37  com.apple.CoreFoundation      	0x00007fff4b65b29c __CFRunLoopRun + 2524
38  com.apple.CoreFoundation      	0x00007fff4b65a66e CFRunLoopRunSpecific + 455
39  com.apple.HIToolbox           	0x00007fff4a8b91ab RunCurrentEventLoopInMode + 292
40  com.apple.HIToolbox           	0x00007fff4a8b8ee5 ReceiveNextEventCommon + 603
41  com.apple.HIToolbox           	0x00007fff4a8b8c76 _BlockUntilNextEventMatchingListInModeWithFilter + 64
42  com.apple.AppKit              	0x00007fff48c5077d _DPSNextEvent + 1135
43  com.apple.AppKit              	0x00007fff48c4f46b -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1361
44  com.brave.Browser.framework   	0x000000010e529a00 0x10ba0a000 + 45218304
45  com.brave.Browser.framework   	0x000000010e95c51a 0x10ba0a000 + 49620250
46  com.brave.Browser.framework   	0x000000010e529939 0x10ba0a000 + 45218105
47  com.apple.AppKit              	0x00007fff48c49588 -[NSApplication run] + 699
48  com.brave.Browser.framework   	0x000000010e96713c 0x10ba0a000 + 49664316
49  com.brave.Browser.framework   	0x000000010e965c68 0x10ba0a000 + 49658984
50  com.brave.Browser.framework   	0x000000010e9b78a2 0x10ba0a000 + 49993890
51  com.brave.Browser.framework   	0x000000010e98bd67 0x10ba0a000 + 49814887
52  com.brave.Browser.framework   	0x000000010e52faff 0x10ba0a000 + 45243135
53  com.brave.Browser.framework   	0x000000010c767afb 0x10ba0a000 + 14015227
54  com.brave.Browser.framework   	0x000000010c769432 0x10ba0a000 + 14021682
55  com.brave.Browser.framework   	0x000000010c764fda 0x10ba0a000 + 14004186
56  com.brave.Browser.framework   	0x000000010e46fab4 0x10ba0a000 + 44456628
57  com.brave.Browser.framework   	0x000000010e46f7be 0x10ba0a000 + 44455870
58  com.brave.Browser.framework   	0x0000000110d64659 0x10ba0a000 + 87402073
59  com.brave.Browser.framework   	0x000000010e46edb4 0x10ba0a000 + 44453300
60  com.brave.Browser.framework   	0x000000010ba0d3ab ChromeMain + 187
61  com.brave.Browser             	0x000000010b9b7944 main + 372
62  libdyld.dylib                 	0x00007fff775c13d5 start + 1

Hi @supernes - thanks for reporting. Have you been able to load correctly since this report? Or does it continue to crash on opening?

After crashing a few times in a row, one of the attempts to launch succeeds and the browser is then stable. If I quit and try to launch again, it crashes a few consecutive times and then again randomly succeeds.

I’m getting the same crash on the same brave version with the same macOS version.

I tried turning it off and on again.

Process:               Brave Browser [1205]
Path:                  /Applications/Brave Browser.app/Contents/MacOS/Brave Browser
Identifier:            com.brave.Browser
Version:               79.1.2.41 (102.41)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Brave Browser [1205]

Date/Time:             2020-01-07 21:49:28.866 +0100
OS Version:            Mac OS X 10.14.6 (18G2022)
Report Version:        12
Time Awake Since Boot: 2400 seconds

System Integrity Protection: enabled

Crashed Thread:        0  CrBrowserMain  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000048

VM Regions Near 0x48:
--> 
    __TEXT                 000000010c6d9000-000000010c702000 [  164K] r-x/rwx SM=COW  /Applications/Brave Browser.app/Contents/MacOS/Brave Browser

Thread 0 Crashed:: CrBrowserMain  Dispatch queue: com.apple.main-thread
0   com.brave.Browser.framework   	0x0000000111e636d8 0x10d0ec000 + 81229528
1   com.brave.Browser.framework   	0x0000000112c0216b 0x10d0ec000 + 95510891
2   com.apple.AppKit              	0x00007fff3976bf1a -[NSMenu _populateFromDelegateWithEventRef:] + 340
3   com.apple.AppKit              	0x00007fff396514a5 -[NSMenu _populateWithEventRef:] + 81
4   com.apple.AppKit              	0x00007fff3976b16e -[NSCarbonMenuImpl _carbonPopulateEvent:handlerCallRef:] + 466
5   com.apple.AppKit              	0x00007fff3976aee2 NSSLMMenuEventHandler + 1193
6   com.apple.HIToolbox           	0x00007fff3b0b522e DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1422
7   com.apple.HIToolbox           	0x00007fff3b0b45df SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 371
8   com.apple.HIToolbox           	0x00007fff3b0b4465 SendEventToEventTargetWithOptions + 45
9   com.apple.HIToolbox           	0x00007fff3b10dfef SendMenuPopulate(MenuData*, OpaqueEventTargetRef*, unsigned int, double, unsigned int, OpaqueEventRef*, unsigned char, unsigned char*) + 318
10  com.apple.HIToolbox           	0x00007fff3b13391f SendMenuOpening(MenuSelectData*, MenuData*, double, unsigned int, unsigned int, __CFDictionary*, unsigned char, unsigned char*) + 291
11  com.apple.HIToolbox           	0x00007fff3b259ef0 _SimulateMenuOpening + 110
12  com.apple.HIToolbox           	0x00007fff3b24fb55 OpenMenuForInspection(MenuData*) + 94
13  com.apple.HIToolbox           	0x00007fff3b25095f MenuData::HandleGetNamedAccessibleAttribute(unsigned long long, __CFString const*, unsigned int, OpaqueEventRef*) + 157
14  com.apple.HIToolbox           	0x00007fff3b2508ac MenuData::GetNamedAccessibleAttributeSelf(unsigned long long, __CFString const*, unsigned int, OpaqueEventRef*) + 180
15  com.apple.HIToolbox           	0x00007fff3b269cab HIObject::DispatchAccessibilityEvent(OpaqueEventRef*, unsigned long long, AccessibilityHandlers const*, void*) + 489
16  com.apple.HIToolbox           	0x00007fff3b269982 HIObject::HandleClassAccessibilityEvent(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 106
17  com.apple.HIToolbox           	0x00007fff3b0b5819 HIObject::EventHook(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 135
18  com.apple.HIToolbox           	0x00007fff3b0b522e DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1422
19  com.apple.HIToolbox           	0x00007fff3b0b45df SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 371
20  com.apple.HIToolbox           	0x00007fff3b14a5fc CallNextEventHandler + 105
21  com.apple.AppKit              	0x00007fff39975b4f -[NSCarbonMenuImpl _carbonGetAccessibleAttributeEvent:handlerCallRef:axElement:] + 37
22  com.apple.AppKit              	0x00007fff3976ae53 NSSLMMenuEventHandler + 1050
23  com.apple.HIToolbox           	0x00007fff3b0b522e DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1422
24  com.apple.HIToolbox           	0x00007fff3b0b45df SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 371
25  com.apple.HIToolbox           	0x00007fff3b0b4465 SendEventToEventTargetWithOptions + 45
26  com.apple.HIToolbox           	0x00007fff3b1616cc Accessible::SendEvent(OpaqueEventRef*, bool) const + 88
27  com.apple.HIToolbox           	0x00007fff3b160c1f Accessible::GetNamedAttributeData(__CFString const*, void const*, void const**, unsigned char*) + 151
28  com.apple.HIToolbox           	0x00007fff3b1609c4 HLTBCopyUIElementAttributeValue + 57
29  com.apple.HIToolbox           	0x00007fff3b162fbc CarbonCopyAttributeValueCallback(__CFData const*, unsigned int, __CFString const*, void const**, void*) + 84
30  com.apple.AppKit              	0x00007fff398f1575 CopyCarbonUIElementAttributeValue + 62
31  com.apple.AppKit              	0x00007fff398ee7d2 CopyAttributeValue + 126
32  com.apple.HIServices          	0x00007fff3a64f35d _AXXMIGCopyAttributeValue + 269
33  com.apple.HIServices          	0x00007fff3a658890 _XCopyAttributeValue + 424
34  com.apple.HIServices          	0x00007fff3a62fc9d mshMIGPerform + 203
35  com.apple.CoreFoundation      	0x00007fff3be71347 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
36  com.apple.CoreFoundation      	0x00007fff3be712a5 __CFRunLoopDoSource1 + 527
37  com.apple.CoreFoundation      	0x00007fff3be5929c __CFRunLoopRun + 2524
38  com.apple.CoreFoundation      	0x00007fff3be5866e CFRunLoopRunSpecific + 455
39  com.apple.HIToolbox           	0x00007fff3b0b71ab RunCurrentEventLoopInMode + 292
40  com.apple.HIToolbox           	0x00007fff3b0b6ee5 ReceiveNextEventCommon + 603
41  com.apple.HIToolbox           	0x00007fff3b0b6c76 _BlockUntilNextEventMatchingListInModeWithFilter + 64
42  com.apple.AppKit              	0x00007fff3944e77d _DPSNextEvent + 1135
43  com.apple.AppKit              	0x00007fff3944d46b -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1361
44  com.brave.Browser.framework   	0x000000010fc0ba00 0x10d0ec000 + 45218304
45  com.brave.Browser.framework   	0x000000011003e51a 0x10d0ec000 + 49620250
46  com.brave.Browser.framework   	0x000000010fc0b939 0x10d0ec000 + 45218105
47  com.apple.AppKit              	0x00007fff39447588 -[NSApplication run] + 699
48  com.brave.Browser.framework   	0x000000011004913c 0x10d0ec000 + 49664316
49  com.brave.Browser.framework   	0x0000000110047c68 0x10d0ec000 + 49658984
50  com.brave.Browser.framework   	0x00000001100998a2 0x10d0ec000 + 49993890
51  com.brave.Browser.framework   	0x000000011006dd67 0x10d0ec000 + 49814887
52  com.brave.Browser.framework   	0x000000010fc11aff 0x10d0ec000 + 45243135
53  com.brave.Browser.framework   	0x000000010de49afb 0x10d0ec000 + 14015227
54  com.brave.Browser.framework   	0x000000010de4b432 0x10d0ec000 + 14021682
55  com.brave.Browser.framework   	0x000000010de46fda 0x10d0ec000 + 14004186
56  com.brave.Browser.framework   	0x000000010fb51ab4 0x10d0ec000 + 44456628
57  com.brave.Browser.framework   	0x000000010fb517be 0x10d0ec000 + 44455870
58  com.brave.Browser.framework   	0x0000000112446659 0x10d0ec000 + 87402073
59  com.brave.Browser.framework   	0x000000010fb50db4 0x10d0ec000 + 44453300
60  com.brave.Browser.framework   	0x000000010d0ef3ab ChromeMain + 187
61  com.brave.Browser             	0x000000010c6d9944 main + 372
62  libdyld.dylib                 	0x00007fff67dbb3d5 start + 1

Same crash is present in Version 79.1.2.42 (102.42)

Hi @supernes - can you try launch from the terminal with Hardware Acceleration disabled? open -a "Brave-browser.app" --args --disable-gpu

If that doesn’t work, can you try the same but with Sync disabled? open -a "Brave-browser.app" --args --disable-brave-sync

Crashes with both args.

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