Brave crashes after change to network settings


#1

Brave: 0.18.36
rev: 7ab85e97318fef041433b0c3d73b457205fae805
Muon: 4.3.22
libchromiumcontent: 61.0.3163.79
V8: 6.1.534.32
Node.js: 7.9.0
Update Channel: dev
OS Platform: macOS
OS Release: 16.7.0
OS Architecture: x64

Having just upgraded to Brave 0.18.36, I find that if Brave is running when I connect or disconnect from my company’s VPN, then Brave crashes. This happens consistently.

Below is the start of the stack trace created by OS X

Process: Brave [4158]
Path: /Applications/Brave.app/Contents/MacOS/Brave
Identifier: com.electron.brave
Version: 0.18.36 (4.3.22)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Brave [4158]
User ID: 164554089

Date/Time: 2017-09-15 10:37:29.236 +0100
OS Version: Mac OS X 10.12.6 (16G29)
Report Version: 12
Anonymous UUID: C80188B5-4021-B042-2C77-0EB54D616F6F

Sleep/Wake UUID: AA2807CA-8C90-4638-B3B1-3A5699200DFA

Time Awake Since Boot: 18000 seconds
Time Since Wake: 7100 seconds

System Integrity Protection: enabled

Crashed Thread: 9 TaskSchedulerSingleThreadForegroundBlocking1

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000

Thread 0:: CrBrowserMain Dispatch queue: com.apple.main-thread
0 org.brave.Brave.framework 0x000000010629b343 v8::internal::IncrementalMarking::Step(unsigned long, v8::internal::IncrementalMarking::CompletionAction, v8::internal::IncrementalMarking::ForceCompletionAction, v8::internal::StepOrigin) + 8627
1 org.brave.Brave.framework 0x0000000106298e58 v8::internal::IncrementalMarking::AdvanceIncrementalMarking(double, v8::internal::IncrementalMarking::CompletionAction, v8::internal::IncrementalMarking::ForceCompletionAction, v8::internal::StepOrigin) + 808


Brave affected by OS X Apps using Kernel Extensions (kext)
#2

Brave is still crashing every time I connect or disconnect from my corporate VPN.

I have the full crash dump, but I can’t find a way to include it here because .txt files cannot be uploaded and its too big to fit inside a message reply (>32,000 chars)

Please could this basic stability issue be addressed.

Thank you


#3

Guys, this is getting tedious!

Just upgraded to Brave: 0.19.48 on macOS and every time I connect or disconnect from my corporate VPN, Brave still crashes.

Please sort this out!


#4

Hi @LogaRhythm,

I’m sorry for late response. Will ccing @suguru and @sriram


#5

Does the browser crash with the same error message?


#6

I don’t get a specific error message, just the generic Mac OS pop-up saying “Brave quit unexpectedly. Ignore, Report, Reopen”

This first few lines of the crash dump (including thread 0) look like this:

0.18.36

Process: Brave [1389]
Path: /Applications/Brave.app/Contents/MacOS/Brave
Identifier: com.electron.brave
Version: 0.18.36 (4.3.22)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Brave [1389]
User ID: 164554089

Date/Time: 2017-10-09 17:12:07.867 +0100
OS Version: Mac OS X 10.12.6 (16G29)
Report Version: 12
Anonymous UUID: C80188B5-4021-B042-2C77-0EB54D616F6F

Sleep/Wake UUID: 15EF32C4-978D-419D-859F-FB765F3A381B

Time Awake Since Boot: 39000 seconds
Time Since Wake: 15000 seconds

System Integrity Protection: enabled

Crashed Thread: 7 TaskSchedulerSingleThreadForegroundBlocking1

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000

Thread 0:: CrBrowserMain Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fffd69ce34a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fffd69cd797 mach_msg + 55
2 com.apple.CoreFoundation 0x00007fffc1120434 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fffc111f8c1 __CFRunLoopRun + 1361
4 com.apple.CoreFoundation 0x00007fffc111f114 CFRunLoopRunSpecific + 420
5 com.apple.HIToolbox 0x00007fffc067febc RunCurrentEventLoopInMode + 240
6 com.apple.HIToolbox 0x00007fffc067fcf1 ReceiveNextEventCommon + 432
7 com.apple.HIToolbox 0x00007fffc067fb26 _BlockUntilNextEventMatchingListInModeWithFilter + 71
8 com.apple.AppKit 0x00007fffbec18a54 _DPSNextEvent + 1120
9 com.apple.AppKit 0x00007fffbf3947ee -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2796
10 com.apple.AppKit 0x00007fffbec0d3db -[NSApplication run] + 926
11 org.brave.Brave.framework 0x000000010a1e066e 0x108b47000 + 23697006
12 org.brave.Brave.framework 0x000000010a1df06c 0x108b47000 + 23691372
13 org.brave.Brave.framework 0x000000010a1fb793 0x108b47000 + 23807891
14 org.brave.Brave.framework 0x000000010904bd2f 0x108b47000 + 5262639
15 org.brave.Brave.framework 0x000000010904bb50 0x108b47000 + 5262160
16 org.brave.Brave.framework 0x000000010904e202 0x108b47000 + 5272066
17 org.brave.Brave.framework 0x0000000109047bac 0x108b47000 + 5245868
18 org.brave.Brave.framework 0x000000010a19f270 0x108b47000 + 23429744
19 org.brave.Brave.framework 0x000000010b5d74f4 0x108b47000 + 44631284
20 org.brave.Brave.framework 0x000000010a19e854 0x108b47000 + 23427156
21 org.brave.Brave.framework 0x0000000108b490cd ChromeMain + 141
22 com.electron.brave 0x0000000108acddba main + 522
23 libdyld.dylib 0x00007fffd68a7235 start + 1

0.19.48

Process: Brave [38353]
Path: /Applications/Brave.app/Contents/MacOS/Brave
Identifier: com.electron.brave
Version: 0.19.48 (4.4.28)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Brave [38353]
User ID: 164554089

Date/Time: 2017-10-16 09:08:10.952 +0100
OS Version: Mac OS X 10.12.6 (16G29)
Report Version: 12
Anonymous UUID: C80188B5-4021-B042-2C77-0EB54D616F6F

Sleep/Wake UUID: F4766116-5D1D-49DE-9E17-00CA0903B5D7

Time Awake Since Boot: 170000 seconds
Time Since Wake: 100 seconds

System Integrity Protection: enabled

Crashed Thread: 7 TaskSchedulerSingleThreadForegroundBlocking1

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000

Thread 0:: CrBrowserMain Dispatch queue: com.apple.main-thread
0 org.brave.Brave.framework 0x0000000105a598c7 0x104b80000 + 15571143
1 org.brave.Brave.framework 0x00000001055b7d37 v8::Object::Set(v8::Localv8::Context, unsigned int, v8::Localv8::Value) + 359
2 org.brave.Brave.framework 0x00000001055b7ed1 v8::Object::Set(unsigned int, v8::Localv8::Value) + 113
3 org.brave.Brave.framework 0x0000000105e4e671 0x104b80000 + 19719793
4 org.brave.Brave.framework 0x0000000105e4e801 0x104b80000 + 19720193
5 org.brave.Brave.framework 0x0000000105e4e801 0x104b80000 + 19720193
6 org.brave.Brave.framework 0x0000000105e4de4d 0x104b80000 + 19717709
7 org.brave.Brave.framework 0x0000000105e4f3fb 0x104b80000 + 19723259
8 org.brave.Brave.framework 0x0000000105dae35f 0x104b80000 + 19063647
9 org.brave.Brave.framework 0x0000000105dcff52 0x104b80000 + 19201874
10 org.brave.Brave.framework 0x00000001061f9c72 0x104b80000 + 23567474
11 org.brave.Brave.framework 0x000000010621d7ab 0x104b80000 + 23713707
12 org.brave.Brave.framework 0x000000010621db95 0x104b80000 + 23714709
13 org.brave.Brave.framework 0x000000010621de69 0x104b80000 + 23715433
14 org.brave.Brave.framework 0x00000001062212ea 0x104b80000 + 23728874
15 org.brave.Brave.framework 0x000000010621215a 0x104b80000 + 23667034
16 org.brave.Brave.framework 0x0000000106220c0f 0x104b80000 + 23727119
17 com.apple.CoreFoundation 0x00007fffc113f321 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17
18 com.apple.CoreFoundation 0x00007fffc112021d __CFRunLoopDoSources0 + 557
19 com.apple.CoreFoundation 0x00007fffc111f716 __CFRunLoopRun + 934
20 com.apple.CoreFoundation 0x00007fffc111f114 CFRunLoopRunSpecific + 420
21 com.apple.HIToolbox 0x00007fffc067febc RunCurrentEventLoopInMode + 240
22 com.apple.HIToolbox 0x00007fffc067fcf1 ReceiveNextEventCommon + 432
23 com.apple.HIToolbox 0x00007fffc067fb26 _BlockUntilNextEventMatchingListInModeWithFilter + 71
24 com.apple.AppKit 0x00007fffbec18a54 _DPSNextEvent + 1120
25 com.apple.AppKit 0x00007fffbf3947ee -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2796
26 com.apple.AppKit 0x00007fffbec0d3db -[NSApplication run] + 926
27 org.brave.Brave.framework 0x0000000106221b1e 0x104b80000 + 23730974
28 org.brave.Brave.framework 0x000000010622051c 0x104b80000 + 23725340
29 org.brave.Brave.framework 0x000000010623cc43 0x104b80000 + 23841859
30 org.brave.Brave.framework 0x0000000105084d2f 0x104b80000 + 5262639
31 org.brave.Brave.framework 0x0000000105084b50 0x104b80000 + 5262160
32 org.brave.Brave.framework 0x0000000105087202 0x104b80000 + 5272066
33 org.brave.Brave.framework 0x0000000105080bac 0x104b80000 + 5245868
34 org.brave.Brave.framework 0x00000001061e0720 0x104b80000 + 23463712
35 org.brave.Brave.framework 0x000000010761a124 0x104b80000 + 44671268
36 org.brave.Brave.framework 0x00000001061dfd04 0x104b80000 + 23461124
37 org.brave.Brave.framework 0x0000000104b8204d ChromeMain + 141
38 com.electron.brave 0x00000001010c1dba main + 522
39 libdyld.dylib 0x00007fffd68a7235 start + 1

I’ve got the full crash dumps from both versions but this forum provides no way to attach a ZIP file…

Is there some other address to which I can send the crash dump info?


#7

thanks for the info. I’ll forward that issue to the dev team before I will request you more info. best,


#8

Here’s the first part of the same crash dump in 0.19.53

Process: Brave [49200]
Path: /Applications/Brave.app/Contents/MacOS/Brave
Identifier: com.electron.brave
Version: 0.19.53 (4.4.29)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Brave [49200]
User ID: 164554089

Date/Time: 2017-10-17 09:44:19.162 +0100
OS Version: Mac OS X 10.12.6 (16G29)
Report Version: 12
Anonymous UUID: C80188B5-4021-B042-2C77-0EB54D616F6F

Sleep/Wake UUID: A739CDC8-86B0-49BE-BD06-6269618D7B13

Time Awake Since Boot: 220000 seconds
Time Since Wake: 2300 seconds

System Integrity Protection: enabled

Crashed Thread: 10 TaskSchedulerSingleThreadForegroundBlocking1

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000

Thread 0:: CrBrowserMain Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fffd69ce34a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fffd69cd797 mach_msg + 55
2 com.apple.CoreFoundation 0x00007fffc1120434 __CFRunLoopServiceMachPort + 212
3 com.apple.CoreFoundation 0x00007fffc111f8c1 __CFRunLoopRun + 1361
4 com.apple.CoreFoundation 0x00007fffc111f114 CFRunLoopRunSpecific + 420
5 com.apple.HIToolbox 0x00007fffc067febc RunCurrentEventLoopInMode + 240
6 com.apple.HIToolbox 0x00007fffc067fcf1 ReceiveNextEventCommon + 432
7 com.apple.HIToolbox 0x00007fffc067fb26 _BlockUntilNextEventMatchingListInModeWithFilter + 71
8 com.apple.AppKit 0x00007fffbec18a54 _DPSNextEvent + 1120
9 com.apple.AppKit 0x00007fffbf3947ee -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2796
10 com.apple.AppKit 0x00007fffbec0d3db -[NSApplication run] + 926
11 org.brave.Brave.framework 0x000000010a891b1e 0x1091f0000 + 23730974
12 org.brave.Brave.framework 0x000000010a89051c 0x1091f0000 + 23725340
13 org.brave.Brave.framework 0x000000010a8acc43 0x1091f0000 + 23841859
14 org.brave.Brave.framework 0x00000001096f4bef 0x1091f0000 + 5262319
15 org.brave.Brave.framework 0x00000001096f4a10 0x1091f0000 + 5261840
16 org.brave.Brave.framework 0x00000001096f70c2 0x1091f0000 + 5271746
17 org.brave.Brave.framework 0x00000001096f0a6c 0x1091f0000 + 5245548
18 org.brave.Brave.framework 0x000000010a850720 0x1091f0000 + 23463712
19 org.brave.Brave.framework 0x000000010bc8a124 0x1091f0000 + 44671268
20 org.brave.Brave.framework 0x000000010a84fd04 0x1091f0000 + 23461124
21 org.brave.Brave.framework 0x00000001091f1f0d ChromeMain + 141
22 com.electron.brave 0x0000000106decdba main + 522
23 libdyld.dylib 0x00007fffd68a7235 start + 1


#9

I created an account here to specifically add support for the importance of this issue. This problem also happens to me very consistently. I don’t want to stop using Brave, but this problem is becoming a very serious annoyance. I’ve been hoping that new releases would fix this problem, but I’ve been through at least two updates now since the problem first started, and it still exists.

This problem did not occur in previous version, was working during the summer, and it started happening after one particular update around September - likely when this thread was first started by LogaRhythm.

Please try to fix.


#10

This problem has been rumbling on for weeks.

I might be wrong, but I venture to say that this problem reveals a deep-seated issue in Brave’s architecture. To me it looks like some fundamental part of Brave’s foundation binds itself directly to the active network adaptor instead of a network abstraction interface that points to whichever adaptor is currently active.

Consequently, when the network adaptor changes, Brave nose-dives into the ground.

I’m on 0.19.88 and this is still a problem

Brave: 0.19.88
rev: c29eca63249e3d43584ca1dcc47f3e7a7e904324
Muon: 4.5.15
libchromiumcontent: 62.0.3202.89
V8: 6.2.414.40
Node.js: 7.9.0
Update Channel: Release
OS Platform: macOS
OS Release: 16.7.0
OS Architecture: x64


#11

I can cofirm the issue, it is reproduceable on my Mac as well.

As soon as I siwtch networks (e. g. from office to home Wi-Fi or to corporate VPN), brave crashes.

Brave: 0.19.95
rev: cc0ebadfd8950d1b5f454cb39c0c3a64028cc935
Muon: 4.5.16
libchromiumcontent: 62.0.3202.94
V8: 6.2.414.42
Node.js: 7.9.0
Update Channel: Release
OS Platform: macOS
OS Release: 16.7.0
OS Architecture: x64


#12

Finally, Brave 0.20.30 no longer crashes when connecting or disconnecting from a corporate VPN.

However, Brave is still broken because now when connected to my corporate VPN, it does not pick up the system’s proxy settings, and so cannot see outside the intranet.

I’ve create another thread for this issue.

Chris W