Tor quits unexpectedly at Brave startup


#1

First, I am running Brave 0.23.19
V8 6.7.288.46
rev 178c3fb
Muon 7.1.3
OS Release 15.6.0
Update Channe| Release
OS Architecture x64
OS Platform macOS
Node.js 7.9.0
Brave Sync v1.4.2
libchromiumcontent 67.0.3396.87

I am running Brave on an iMac using OS X 10.11.6.

Whenever I start Brave, I get a message that says ‘tor quit unexpectedly’ with an option to ‘ignore’ or ‘report’. If I select ‘ignore’ Brave seems to open normally. If I select ‘report’, I get the option to send what appears to be a dump to Apple. If I choose to send the report to Apple, Brave still seems to open normally.

I am not a Tor user nor have I done anything with regard to Tor on this Mac…at least that I know of.

I have a screenshot of the message and I have copied the contents of the ‘report’ to an RTF file that I’d be happy to send you if that could be useful…but I haven’t figured out how to attach either file to this message. The contents of the report are as follows, if that is useful.

Process: tor [52932]
Path: /Applications/Brave.app/Contents/Resources/extensions/bin/tor
Identifier: tor
Version: 0
Code Type: X86-64 (Native)
Parent Process: Brave Helper [52918]
Responsible: Brave [52913]
User ID: 501

Date/Time: 2018-07-03 07:45:29.123 -0600
OS Version: Mac OS X 10.11.6 (15G21013)
Report Version: 11
Anonymous UUID: 1459BA9F-A1E1-45BA-AB1D-45C7F025C0BD

Time Awake Since Boot: 850000 seconds

System Integrity Protection: enabled

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

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

Dyld Error Message:
Symbol not found: _getentropy
Referenced from: /Applications/Brave.app/Contents/Resources/extensions/bin/tor (which was built for Mac OS X 10.13)
Expected in: /usr/lib/libSystem.B.dylib

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 dyld 0x00007fff657d6075 dyld_fatal_error + 1
1 dyld 0x00007fff657d9094 dyld::fastBindLazySymbol(ImageLoader**, unsigned long) + 139
2 libdyld.dylib 0x00007fff89c7a262 dyld_stub_binder + 282
3 ??? 0x0000000104cf80b0 0 + 4375675056
4 tor 0x0000000104a97c05 crypto_seed_rng + 85
5 tor 0x0000000104a97af2 crypto_early_init + 226
6 tor 0x00000001049fd4d5 tor_init + 149
7 tor 0x00000001049fe0b8 tor_run_main + 104
8 tor 0x0000000104a70586 tor_main + 70
9 tor 0x0000000104937e1b main + 27
10 libdyld.dylib 0x00007fff89c7c5ad start + 1

Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x00007fff6580f290 rbx: 0x00007fb9a0515bf0 rcx: 0x0000000000000000 rdx: 0x0000000000000000
rdi: 0x00007fff6580f400 rsi: 0x0000000000000000 rbp: 0x00007fff5b2c83a0 rsp: 0x00007fff5b2c8388
r8: 0x00007fff657f804c r9: 0x0000000000000000 r10: 0x00007fff5b2c8175 r11: 0x00007fff6580f400
r12: 0x00007fff5b2c85c0 r13: 0x00007fff5b2c85c0 r14: 0x00007fff6580f400 r15: 0x0000000000000020
rip: 0x00007fff657d6075 rfl: 0x0000000000000246 cr2: 0x00007fff65804a48

Logical CPU: 1
Error Code: 0x00000000
Trap Number: 3

Binary Images:
0x104937000 - 0x104cf71e3 +tor (0) <251521AD-DE17-32C8-ADAF-EFC9D3ADED42> /Applications/Brave.app/Contents/Resources/extensions/bin/tor
0x7fff657d5000 - 0x7fff6580ca47 dyld (360.22) <6B9CD3BA-2D60-3629-A0CB-AB810F55E8DD> /usr/lib/dyld
0x7fff81dbe000 - 0x7fff81dc7ff3 libsystem_notify.dylib (150.40.1) /usr/lib/system/libsystem_notify.dylib
0x7fff82038000 - 0x7fff82067fc3 libsystem_m.dylib (3105) <8A645D53-92DD-3C2E-8AFA-F28BC63E3657> /usr/lib/system/libsystem_m.dylib
0x7fff826b9000 - 0x7fff826bbfff libsystem_coreservices.dylib (19.2) <1B3F5AFC-FFCD-3ECB-8B9A-5538366FB20D> /usr/lib/system/libsystem_coreservices.dylib
0x7fff82db4000 - 0x7fff82e1aff7 libsystem_network.dylib (583.50.1) /usr/lib/system/libsystem_network.dylib
0x7fff82eeb000 - 0x7fff83256657 libobjc.A.dylib (680) /usr/lib/libobjc.A.dylib
0x7fff837ec000 - 0x7fff837edffb libremovefile.dylib (41) <552EF39E-14D7-363E-9059-4565AC2F894E> /usr/lib/system/libremovefile.dylib
0x7fff85638000 - 0x7fff8564fff7 libsystem_coretls.dylib (83.40.5) /usr/lib/system/libsystem_coretls.dylib
0x7fff85f4e000 - 0x7fff85f56fff libcopyfile.dylib (127) /usr/lib/system/libcopyfile.dylib
0x7fff86aba000 - 0x7fff86acbff7 libsystem_trace.dylib (201.10.3) <4D757E1E-B823-3D29-9189-82B261FF2225> /usr/lib/system/libsystem_trace.dylib
0x7fff86b03000 - 0x7fff86b49ff7 libauto.dylib (186) <999E610F-41FC-32A3-ADCA-5EC049B65DFB> /usr/lib/libauto.dylib
0x7fff87480000 - 0x7fff87485ff7 libmacho.dylib (875.1) <318264FA-58F1-39D8-8285-1F6254EE410E> /usr/lib/system/libmacho.dylib
0x7fff87d3f000 - 0x7fff87d40fff libsystem_secinit.dylib (20) <32B1A8C6-DC84-3F4F-B8CE-9A52B47C3E6B> /usr/lib/system/libsystem_secinit.dylib
0x7fff87dba000 - 0x7fff87de3fff libsystem_info.dylib (477.50.4) /usr/lib/system/libsystem_info.dylib
0x7fff882d2000 - 0x7fff882dafef libsystem_platform.dylib (74.40.2) <29A905EF-6777-3C33-82B0-6C3A88C4BA15> /usr/lib/system/libsystem_platform.dylib
0x7fff885b9000 - 0x7fff885bcfff libsystem_sandbox.dylib (460.60.4) <71D697CA-7339-37C7-8DAF-3BAA1D57B56A> /usr/lib/system/libsystem_sandbox.dylib
0x7fff889ac000 - 0x7fff889acff7 libunc.dylib (29) /usr/lib/system/libunc.dylib
0x7fff88d70000 - 0x7fff88d77ff7 libcompiler_rt.dylib (62) /usr/lib/system/libcompiler_rt.dylib
0x7fff89c79000 - 0x7fff89c7cffb libdyld.dylib (360.22) /usr/lib/system/libdyld.dylib
0x7fff8b6e0000 - 0x7fff8b709ff7 libxpc.dylib (765.70.1) <4FB1311F-4032-3F56-BF0B-CFF45D78FB01> /usr/lib/system/libxpc.dylib
0x7fff8b7c6000 - 0x7fff8b819ff7 libc++.1.dylib (120.1) <8FC3D139-8055-3498-9AC5-6467CB7F4D14> /usr/lib/libc++.1.dylib
0x7fff8c531000 - 0x7fff8c55bff7 libc++abi.dylib (307.4) /usr/lib/libc++abi.dylib
0x7fff8f25e000 - 0x7fff8f25eff7 libkeymgr.dylib (28) <8371CE54-5FDD-3CE9-B3DF-E98C761B6FE0> /usr/lib/system/libkeymgr.dylib
0x7fff8f733000 - 0x7fff8f735ff7 libsystem_configuration.dylib (802.40.13) /usr/lib/system/libsystem_configuration.dylib
0x7fff8fe41000 - 0x7fff8fe43ff7 libquarantine.dylib (80) <5B351BEC-27CC-3935-82F3-A065CC764255> /usr/lib/system/libquarantine.dylib
0x7fff90928000 - 0x7fff9099ffeb libcorecrypto.dylib (335.50.1) /usr/lib/system/libcorecrypto.dylib
0x7fff90f1b000 - 0x7fff90f23fff libsystem_networkextension.dylib (385.40.36) <66095DC7-6539-38F2-95EE-458F15F6D014> /usr/lib/system/libsystem_networkextension.dylib
0x7fff90f4f000 - 0x7fff90f6bff7 libsystem_malloc.dylib (67.40.1) <5748E8B2-F81C-34C6-8B13-456213127678> /usr/lib/system/libsystem_malloc.dylib
0x7fff91236000 - 0x7fff9123bff3 libunwind.dylib (35.3) /usr/lib/system/libunwind.dylib
0x7fff9123c000 - 0x7fff9123dffb libSystem.B.dylib (1226.10.1) /usr/lib/libSystem.B.dylib
0x7fff91645000 - 0x7fff9164eff7 libsystem_pthread.dylib (138.10.4) <62FC23B9-1DEE-3918-A30D-A58EC95A0720> /usr/lib/system/libsystem_pthread.dylib
0x7fff918f9000 - 0x7fff9190aff7 libz.1.dylib (61.20.1) /usr/lib/libz.1.dylib
0x7fff9213f000 - 0x7fff921ccfef libsystem_c.dylib (1082.60.1) <0F0C7ED5-3902-3427-9C1D-E2F130B528C5> /usr/lib/system/libsystem_c.dylib
0x7fff92c15000 - 0x7fff92c19fff libcache.dylib (75) <9548AAE9-2AB7-3525-9ECE-A2A7C4688447> /usr/lib/system/libcache.dylib
0x7fff92c67000 - 0x7fff92c85ff7 libsystem_kernel.dylib (3248.73.10) <6EB191A4-3A40-3835-BDC6-73448AC2832B> /usr/lib/system/libsystem_kernel.dylib
0x7fff935db000 - 0x7fff935dcfff libDiagnosticMessagesClient.dylib (100) <4243B6B4-21E9-355B-9C5A-95A216233B96> /usr/lib/libDiagnosticMessagesClient.dylib
0x7fff95b79000 - 0x7fff95b79ff7 liblaunch.dylib (765.70.1) <96D7C3EE-82E2-39AB-870F-B317A030E86D> /usr/lib/system/liblaunch.dylib
0x7fff97228000 - 0x7fff97229fff libsystem_blocks.dylib (65) <1244D9D5-F6AA-35BB-B307-86851C24B8E5> /usr/lib/system/libsystem_blocks.dylib
0x7fff973e8000 - 0x7fff973f3ff7 libcommonCrypto.dylib (60075.50.1) /usr/lib/system/libcommonCrypto.dylib
0x7fff97437000 - 0x7fff97464fff libdispatch.dylib (501.40.12) /usr/lib/system/libdispatch.dylib
0x7fff979b0000 - 0x7fff979b8ffb libsystem_dnssd.dylib (625.60.4) <80189998-32B0-316C-B5C5-53857486713D> /usr/lib/system/libsystem_dnssd.dylib
0x7fff97f66000 - 0x7fff97f7dff7 libsystem_asl.dylib (323.50.1) <41F8E11F-1BD0-3F1D-BA3A-AA1577ED98A9> /usr/lib/system/libsystem_asl.dylib

External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 448022
thread_create: 0
thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=104.0M resident=0K(0%) swapped_out_or_unallocated=104.0M(100%)
Writable regions: Total=28.4M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=28.4M(100%)

                            VIRTUAL   REGION 

REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Activity Tracing 2048K 2
Kernel Alloc Once 4K 2
MALLOC 18.2M 8
MALLOC guard page 16K 4
STACK GUARD 56.0M 2
Stack 8192K 2
VM_ALLOCATE 4K 2
__DATA 1724K 44
__LINKEDIT 92.6M 4
__TEXT 11.3M 44
shared memory 8K 3
=========== ======= =======
TOTAL 189.8M 106

Any advice would be appreciated…bob


#2

Does this relate to your problem or can you not connect at all? https://github.com/brave/browser-laptop/issues/14623


#3

Thanks but it doesn’t seem to be related to what I am seeing. Is there a way to disable this Tor feature in Brave? Brave seems to work fine for me without it.


#4

You can just turn it off, shouldn’t interrupt anything for you, since you turned it off, turn the orange switch to grey when you are in a private tab.


#5

A screenshot of the Tor message I get at startup is attached. I’ve replied to your message to me. Thanks…b


#6

This is the message you get while using a ‘tor tab’ in Brave?


#7

This is the message I get when I start Brave. Once I choose to ‘ignore’ the error, Brave runs normally from what I can see. If I try to use a Tor tab, which I don’t normally do, I get the message as noted in the attached, where I would respond to disable Tor.

Does this clarify what I am seeing? …b

]


#8

Thanks for the report! From the crash dump this looks like a pretty straightforward problem. I’ve filed an issue to track it: https://github.com/brave/tor_build_scripts/issues/18


#9

Thanks so much…appreciated…b


#10

Just downloaded the latest update to Brave 0.23.31. This issue is resolved. Thanks again…b


#11

@BCanuel Just to be clear: 0.23.31 does not fix the bug you reported, but it does delay the symptom — you won’t see the bug until you open a new private tab with Tor. We still need to fix https://github.com/brave/tor_build_scripts/issues/18 in order for private tabs with Tor to work for you.


#12

Got it…thanks so much for the clarification. I never use Tor so I’m not expecting to see this issue. Regards…bob