Fresh install on MacOS Mojave fails to run


#1

Have just installed v7.1.0 for first time. Have latest Mojave updates (non beta). On run, the spinning cog screen comes up saying ‘Loading…’, then an error from the system saying ‘Tribler quit unexpectedly.’. It appears to be attempting execution of separate process, as the ‘loading’ screen remains visible. I have no idea where to find logs, etc…


#2

Thank you for your report. I assume that you got the window with many lines of debug information? Could you send them to us?

Also, the logs are stored at ~/.Tribler/logs. Could you check these logs or send them to us? Since these logs might contain sensitive information about your computer, you can send them to my email if you want (which can be found here).


#3

The only log that contained anything was the gui-info one, the rest are zero-byte…

INFO 1539693994.65 init:1627 (root) init()
INFO 1539693994.95 init:1627 (root) self._outSocket.error() = ‘2’
INFO 1539693994.95 init:1627 (root) init(): returning
INFO 1539694039.96 init:1627 (root) Shutting down Tribler
INFO 1539694044.64 init:1627 (root) init()
INFO 1539694044.92 init:1627 (root) self._outSocket.error() = ‘0’
INFO 1539694044.92 init:1627 (root) received QLocalSocket.ConnectionRefusedError; removing server.
INFO 1539694044.93 init:1627 (root) close()
INFO 1539694044.93 init:1627 (root) close(): returning
INFO 1539694044.93 init:1627 (root) init(): returning
INFO 1539694178.73 init:1627 (root) Shutting down Tribler
INFO 1539694184.00 init:1627 (root) init()
INFO 1539694184.27 init:1627 (root) self._outSocket.error() = ‘0’
INFO 1539694184.27 init:1627 (root) received QLocalSocket.ConnectionRefusedError; removing server.
INFO 1539694184.27 init:1627 (root) close()
INFO 1539694184.27 init:1627 (root) close(): returning
INFO 1539694184.27 init:1627 (root) init(): returning
INFO 1539694326.53 init:1627 (root) Shutting down Tribler
INFO 1539694390.89 init:1627 (root) init()
INFO 1539694391.09 init:1627 (root) self._outSocket.error() = ‘0’
INFO 1539694391.09 init:1627 (root) received QLocalSocket.ConnectionRefusedError; removing server.
INFO 1539694391.09 init:1627 (root) close()
INFO 1539694391.09 init:1627 (root) close(): returning
INFO 1539694391.09 init:1627 (root) init(): returning
INFO 1539694428.16 init:1627 (root) Shutting down Tribler
INFO 1539695453.77 init:1627 (root) init()
INFO 1539695455.08 init:1627 (root) self._outSocket.error() = ‘0’
INFO 1539695455.08 init:1627 (root) received QLocalSocket.ConnectionRefusedError; removing server.
INFO 1539695455.08 init:1627 (root) close()
INFO 1539695455.08 init:1627 (root) close(): returning
INFO 1539695455.08 init:1627 (root) init(): returning
INFO 1539695991.86 init:1627 (root) Shutting down Tribler
INFO 1539699177.85 init:1627 (root) init()
INFO 1539699178.18 init:1627 (root) self._outSocket.error() = ‘0’
INFO 1539699178.18 init:1627 (root) received QLocalSocket.ConnectionRefusedError; removing server.
INFO 1539699178.18 init:1627 (root) close()
INFO 1539699178.18 init:1627 (root) close(): returning
INFO 1539699178.18 init:1627 (root) init(): returning
INFO 1539699227.99 init:1627 (root) Shutting down Tribler


#4

I am having this problem with v7.1.3 on OSX 10.12.6


#5

@NickSaintJohn @jawkey We have been tracking this issue in Github as well.
See: https://github.com/Tribler/tribler/issues/4038#issuecomment-442819109

We have created a custom build to debug this issue. It would be great if you could test it and report back.
MacOS .dmg file is available here:
https://jenkins-ci.tribler.org/job/pers/job/Build-Tribler_Mac_Custom/30/


#6

I got the same problem but the custom build didin’t work

here is the report
Process: tribler [10757]
Path: /Applications/Tribler.app/Contents/MacOS/tribler
Identifier: tribler
Version: 7.1.0 (7.1.0)
Code Type: X86-64 (Native)
Parent Process: tribler [10755]
Responsible: tribler [10757]
User ID: 501

Date/Time: 2019-01-01 15:47:36.917 -0300
OS Version: Mac OS X 10.14.2 (18C54)
Report Version: 12
Anonymous UUID: 88C117F3-44C0-1226-9B77-AE452BA808BB

Sleep/Wake UUID: 4687835A-EA1D-4111-86B9-7BBAB2864D52

Time Awake Since Boot: 77000 seconds
Time Since Wake: 13000 seconds

System Integrity Protection: enabled

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

Exception Type: EXC_CRASH (SIGILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Application Specific Information:
dyld2 mode

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff780ef23e __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff781a5c1c pthread_kill + 285
2 libsystem_c.dylib 0x00007fff7800b096 raise + 26
3 nl.tudelft.tribler 0x000000010e185ed7 0x10e182000 + 16087
4 nl.tudelft.tribler 0x000000010e183ec4 0x10e182000 + 7876
5 nl.tudelft.tribler 0x000000010e1828a4 0x10e182000 + 2212

Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x000000011a79f5c0 rcx: 0x00007ffee1a7cd58 rdx: 0x0000000000000000
rdi: 0x0000000000000307 rsi: 0x0000000000000004 rbp: 0x00007ffee1a7cd90 rsp: 0x00007ffee1a7cd58
r8: 0x0000000000000007 r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x0000000000000287
r12: 0x0000000000000307 r13: 0x00000000ffffffff r14: 0x0000000000000004 r15: 0x000000000000002d
rip: 0x00007fff780ef23e rfl: 0x0000000000000286 cr2: 0x00007fedd6402aae

Logical CPU: 0
Error Code: 0x02000148
Trap Number: 133

Binary Images:
0x10e182000 - 0x10e187ff7 +nl.tudelft.tribler (7.1.0 - 7.1.0) <55B994E1-1614-3E85-B704-22C6158BB3D8> /Applications/Tribler.app/Contents/MacOS/tribler
0x11a6e9000 - 0x11a767a67 dyld (640.2) <289AB27E-F09F-3384-A14A-100431139559> /usr/lib/dyld
0x7fff753ac000 - 0x7fff753adffb libSystem.B.dylib (1252.200.5) <25F4A1F5-6551-312F-B397-C8D45ACC530A> /usr/lib/libSystem.B.dylib
0x7fff75686000 - 0x7fff756ddff7 libc++.1.dylib (400.9.4) /usr/lib/libc++.1.dylib
0x7fff756de000 - 0x7fff756f3fff libc++abi.dylib (400.17) <446F4748-8A89-3D2E-AE1C-27EEBE93A8AB> /usr/lib/libc++abi.dylib
0x7fff76ed3000 - 0x7fff7765cfd7 libobjc.A.dylib (750.1) <4D6C889C-60F4-3028-9B13-DD3DFE6A2A44> /usr/lib/libobjc.A.dylib
0x7fff77dae000 - 0x7fff77dc0ffb libz.1.dylib (70.200.4) <15F7B40A-424C-33BB-BF2C-7E8195128B78> /usr/lib/libz.1.dylib
0x7fff77e31000 - 0x7fff77e35ff3 libcache.dylib (81) <704331AC-E43D-343A-8C24-39201142AF27> /usr/lib/system/libcache.dylib
0x7fff77e36000 - 0x7fff77e40ff3 libcommonCrypto.dylib (60118.220.1) <9C865644-EE9A-3662-AB77-7C8A5E561784> /usr/lib/system/libcommonCrypto.dylib
0x7fff77e41000 - 0x7fff77e48fff libcompiler_rt.dylib (63.4) <817772E3-E836-3FFD-A39B-BDCD1C357221> /usr/lib/system/libcompiler_rt.dylib
0x7fff77e49000 - 0x7fff77e52ff3 libcopyfile.dylib (146.200.3) <5C5C4F35-DAB7-3CF1-940F-F47192AB8289> /usr/lib/system/libcopyfile.dylib
0x7fff77e53000 - 0x7fff77ed7fdf libcorecrypto.dylib (602.230.1) /usr/lib/system/libcorecrypto.dylib
0x7fff77f5e000 - 0x7fff77f98ff7 libdispatch.dylib (1008.220.2) <2FDB1401-5119-3DF0-91F5-F4E105F00CD7> /usr/lib/system/libdispatch.dylib
0x7fff77f99000 - 0x7fff77fc8ff3 libdyld.dylib (640.2) <376E3F3A-6942-3B0E-AD5E-4B97E8255CF5> /usr/lib/system/libdyld.dylib
0x7fff77fc9000 - 0x7fff77fc9ffb libkeymgr.dylib (30) /usr/lib/system/libkeymgr.dylib
0x7fff77fd7000 - 0x7fff77fd7ff7 liblaunch.dylib (1336.220.5) <8563299C-2493-3DBD-8E88-3FC673DB47DD> /usr/lib/system/liblaunch.dylib
0x7fff77fd8000 - 0x7fff77fddfff libmacho.dylib (921) <6ADB99F3-D142-3A0A-B3CE-031354766ACC> /usr/lib/system/libmacho.dylib
0x7fff77fde000 - 0x7fff77fe0ffb libquarantine.dylib (86.220.1) <58524FD7-63C5-38E0-9D90-845A79551C14> /usr/lib/system/libquarantine.dylib
0x7fff77fe1000 - 0x7fff77fe2ff3 libremovefile.dylib (45.200.2) /usr/lib/system/libremovefile.dylib
0x7fff77fe3000 - 0x7fff77ffaff3 libsystem_asl.dylib (356.200.4) <33C62769-1242-3BC1-9459-13CBCDECC7FE> /usr/lib/system/libsystem_asl.dylib
0x7fff77ffb000 - 0x7fff77ffbfff libsystem_blocks.dylib (73) <152EDADF-7D94-35F2-89B7-E66DCD945BBA> /usr/lib/system/libsystem_blocks.dylib
0x7fff77ffc000 - 0x7fff78084fff libsystem_c.dylib (1272.200.26) /usr/lib/system/libsystem_c.dylib
0x7fff78085000 - 0x7fff78088ff7 libsystem_configuration.dylib (963.200.27) <94898525-ECC8-3CC9-B312-CBEAAC305E32> /usr/lib/system/libsystem_configuration.dylib
0x7fff78089000 - 0x7fff7808cff7 libsystem_coreservices.dylib (66) <10818C17-70E1-328E-A3E3-C3EB81AEC590> /usr/lib/system/libsystem_coreservices.dylib
0x7fff7808d000 - 0x7fff78093ffb libsystem_darwin.dylib (1272.200.26) <07468CF7-982F-37C4-83D0-D5E602A683AA> /usr/lib/system/libsystem_darwin.dylib
0x7fff78094000 - 0x7fff7809aff7 libsystem_dnssd.dylib (878.230.2) /usr/lib/system/libsystem_dnssd.dylib
0x7fff7809b000 - 0x7fff780e7ff3 libsystem_info.dylib (517.200.9) <54B65F21-2E93-3579-9B72-6637A03245D9> /usr/lib/system/libsystem_info.dylib
0x7fff780e8000 - 0x7fff78110ff7 libsystem_kernel.dylib (4903.231.4) /usr/lib/system/libsystem_kernel.dylib
0x7fff78111000 - 0x7fff7815cff7 libsystem_m.dylib (3158.200.7) /usr/lib/system/libsystem_m.dylib
0x7fff7815d000 - 0x7fff78181ff7 libsystem_malloc.dylib (166.220.1) <4777DC06-F9C6-356E-82AB-86A1C6D62F3A> /usr/lib/system/libsystem_malloc.dylib
0x7fff78182000 - 0x7fff7818dff3 libsystem_networkextension.dylib (767.220.1) <74818C3D-9B68-3823-A737-6A4B782618F2> /usr/lib/system/libsystem_networkextension.dylib
0x7fff7818e000 - 0x7fff78195fff libsystem_notify.dylib (172.200.21) <65B3061D-41D7-3485-B217-A861E05AD50B> /usr/lib/system/libsystem_notify.dylib
0x7fff78196000 - 0x7fff7819ffef libsystem_platform.dylib (177.200.16) <83DED753-51EC-3B8C-A98D-883A5184086B> /usr/lib/system/libsystem_platform.dylib
0x7fff781a0000 - 0x7fff781aafff libsystem_pthread.dylib (330.230.1) /usr/lib/system/libsystem_pthread.dylib
0x7fff781ab000 - 0x7fff781aeff7 libsystem_sandbox.dylib (851.230.3) <4D0CB1CA-160C-3C29-BE5D-131D68D43B1B> /usr/lib/system/libsystem_sandbox.dylib
0x7fff781af000 - 0x7fff781b1ff3 libsystem_secinit.dylib (30.220.1) <5964B6D2-19D4-3CF9-BDBC-4EB1D42348F1> /usr/lib/system/libsystem_secinit.dylib
0x7fff781b2000 - 0x7fff781b9ff7 libsystem_symptoms.dylib (820.237.2) <487E1794-4C6E-3B1B-9C55-95B1A5FF9B90> /usr/lib/system/libsystem_symptoms.dylib
0x7fff781ba000 - 0x7fff781cfff7 libsystem_trace.dylib (906.220.1) <4D4BA88A-FA32-379D-8860-33838723B35F> /usr/lib/system/libsystem_trace.dylib
0x7fff781d1000 - 0x7fff781d6ffb libunwind.dylib (35.4) /usr/lib/system/libunwind.dylib
0x7fff781d7000 - 0x7fff78207fff libxpc.dylib (1336.220.5) /usr/lib/system/libxpc.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: 48962
thread_create: 0
thread_set_state: 0

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

                            VIRTUAL   REGION 

REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Kernel Alloc Once 8K 2
MALLOC 9260K 8
MALLOC guard page 16K 5
STACK GUARD 56.0M 2
Stack 8192K 2
__DATA 2272K 42
__LINKEDIT 227.4M 4
__TEXT 11.8M 41
shared memory 8K 3
=========== ======= =======
TOTAL 314.5M 100


#7

@NickSaintJohn @jawkey @pogonio I’m unable to reproduce the issue on my personal machine as well as on Tribler test machines. It could be quicker to diagnose if I could the problem myself. Would any of you be interested in having a chat with me?


#8

I’ve tried the above exp version hoping that if fixes the spinning gear issue I have had with the last few releases, 7.0.1-7.0.3. Still getting spinning gears on MacOS High Sierra. I’ve tried removing the .tribler folder, running from a fresh user space, uninstalling, rebooting … etc … pretty much everything I can think of doing.


Here is the command line readout when I try to run Tribler-7.1.0-exp1-634:

INFO 1546794186.75 init:1627 (root) init()
INFO 1546794186.98 init:1627 (root) self._outSocket.error() = ‘0’
INFO 1546794186.98 init:1627 (root) received QLocalSocket.ConnectionRefusedError; removing server.
INFO 1546794186.98 init:1627 (root) close()
INFO 1546794186.98 init:1627 (root) close(): returning
INFO 1546794186.98 init:1627 (root) init(): returning
INFO 1546794187.82 vlc:244 (TriblerGUI.vlc) VLC libs not found/bundled. Trying from system library path.
INFO 1546794188.17 event_request_manager:151 (TriblerGUI) Will connect to events endpoint
2019-01-06 12:03:08.256 tribler[1216:50562] NSDocumentController Info.plist warning: The values of CFBundleTypeRole entries must be ‘Editor’, ‘Viewer’, ‘None’, or ‘Shell’.
INFO 1546794188.27 event_request_manager:53 (TriblerGUI) Got Tribler core error: 1


And,

.Tribler/Logs/tribler-gui-info.log (all other log files are empty):

INFO 1546453330.67 init:1627 (root) init()
INFO 1546453331.21 init:1627 (root) self._outSocket.error() = ‘0’
INFO 1546453331.21 init:1627 (root) received QLocalSocket.ConnectionRefusedError; removing server.
INFO 1546453331.21 init:1627 (root) close()
INFO 1546453331.21 init:1627 (root) close(): returning
INFO 1546453331.21 init:1627 (root) init(): returning
INFO 1546461857.49 init:1627 (root) Shutting down Tribler
INFO 1546794150.38 init:1627 (root) init()
INFO 1546794150.59 init:1627 (root) init(): returning
INFO 1546794150.59 init:1627 (root) Shutting down Tribler
INFO 1546793539.32 init:1627 (root) init()
INFO 1546793539.57 init:1627 (root) self._outSocket.error() = ‘2’
INFO 1546793539.57 init:1627 (root) init(): returning
INFO 1546794158.62 init:1627 (root) Shutting down Tribler
INFO 1546794186.75 init:1627 (root) init()
INFO 1546794186.98 init:1627 (root) self._outSocket.error() = ‘0’
INFO 1546794186.98 init:1627 (root) received QLocalSocket.ConnectionRefusedError; removing server.
INFO 1546794186.98 init:1627 (root) close()
INFO 1546794186.98 init:1627 (root) close(): returning
INFO 1546794186.98 init:1627 (root) init(): returning
INFO 1546794398.37 init:1627 (root) Shutting down Tribler


Any assistance would be greatly appreciated.


#9

@Semeniuk I see the following in the logs.

Tribler did not find vlc libraries. It should be bundled but somehow it is missing. Could you try manually installing vlc 2.4 and run Tribler again?


#10

I was not able to resolve the vlc library issue by installing VLC manually, or by copying the lib folder from tribler 7.1.3; however, I when I run 7.1.3 I don’t have the vlc lib issue, but still have spinning gears. Here is the error log with 7.1.3:


INFO 1546913091.98 init:1627 (root) init()
INFO 1546913095.57 init:1627 (root) self._outSocket.error() = ‘0’
INFO 1546913095.57 init:1627 (root) received QLocalSocket.ConnectionRefusedError; removing server.
INFO 1546913095.57 init:1627 (root) close()
INFO 1546913095.57 init:1627 (root) close(): returning
INFO 1546913095.58 init:1627 (root) init(): returning
INFO 1546913107.54 event_request_manager:151 (TriblerGUI) Will connect to events endpoint
2019-01-07 21:05:10.793 tribler[1495:897977] NSDocumentController Info.plist warning: The values of CFBundleTypeRole entries must be ‘Editor’, ‘Viewer’, ‘None’, or ‘Shell’.
INFO 1546913111.60 event_request_manager:53 (TriblerGUI) Got Tribler core error: 1
INFO 1546913173.75 init:1627 (root) Shutting down Tribler