Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not responding on start-up on macOS #5609

Closed
da2x opened this issue Oct 5, 2020 · 14 comments
Closed

Not responding on start-up on macOS #5609

da2x opened this issue Oct 5, 2020 · 14 comments

Comments

@da2x
Copy link
Contributor

da2x commented Oct 5, 2020

Tribler version/branch+revision:

7.5.2

Operating system and version:
  • macOS 11.20A5384c (Big Sur beta 5)
  • macOS 10.15.4
Steps to reproduce the behavior:
  1. Download Tribler.
  2. Right-click on it and chose Open.
  3. Ignore the warning about it not being signed.
  4. Repeat two and chose Open in the dialog to bypass gatekeeper.
Expected behavior:

Tribler should start.

Actual behavior:

Tribler doesn't start. The top bar changes the current app name to Tribler and then beachballs (stops responding) indefinitely.

Relevant log file output:

Nothing in ~/.Trilber/, spindump can't sample the process either.

@xoriole
Copy link
Contributor

xoriole commented Oct 5, 2020

@da2x Thank you for reporting. I'm running 10.15.5 and I cannot reproduce the issue. Tribler.dmg is not signed yet so it shows the warning but it should have worked.
@devos50 any ideas?

@devos50
Copy link
Contributor

devos50 commented Oct 5, 2020

This can be caused by many different things. Without debug logs, we are not able to investigate this issue further.

@da2x you could try to run Tribler from the command line, which reveals the log messages. Could you help us to debug this issue further? If so, please run /Applications/Tribler.app/Contents/MacOS/tribler from your command line, and post the full log output in this thread 👍

@da2x
Copy link
Contributor Author

da2x commented Oct 5, 2020

/Applications/Tribler.app/Contents/MacOS/tribler
INFO - root(24) - __init__()
INFO - root(50) -   self._outSocket.error() = '0'
INFO - root(52) - received QLocalSocket.ConnectionRefusedError; removing server.
INFO - root(64) - close()
INFO - root(71) - close(): returning
INFO - root(60) - __init__(): returning
INFO - TriblerGUI(134) - Will connect to events endpoint

@devos50
Copy link
Contributor

devos50 commented Oct 5, 2020

@da2x thank you! Do you, by any chance, still have a Tribler background process running?

If that's not the case, this might be a gatekeeper issue. Maybe you could try to temporarily disable gatekeeper, see here? Please don't forget to re-enable it when you are done 👍

@da2x
Copy link
Contributor Author

da2x commented Oct 5, 2020

still have a Tribler background process running?

killall tribler
No matching processes belonging to you were found

Maybe you could try to temporarily disable gatekeeper, see here? Please don't forget to re-enable it when you are done 👍

That made no difference.

However, I turned off the firewall and got one more line of output:

/Applications/Tribler.app/Contents/MacOS/tribler
INFO - root(24) - __init__()
INFO - root(50) -   self._outSocket.error() = '0'
INFO - root(52) - received QLocalSocket.ConnectionRefusedError; removing server.
INFO - root(64) - close()
INFO - root(71) - close(): returning
INFO - root(60) - __init__(): returning
INFO - TriblerGUI(134) - Will connect to events endpoint
INFO - TriblerGUI(78) - Got Tribler core error: 1

I turned everything back on again and rebooted. When I tried Tribler again, I finally got something in ~/.Tribler/ (this folder was empty before):

  • tribler-gui-info.log is empty
  • tribler-gui-error.log is empty
  • crash-report.log is empty
  • tribler-core-error.log
  • tribler-core-info.log
  • version_history.json, populated with version data
  • triblerd.lock, contains a number

@balupton
Copy link

Just upgraded to Big Sur, same issue. Tribler never starts.

@balupton
Copy link

balupton commented Nov 13, 2020

Can still use other apps, right clicking the icon reveals it has stopped responding. Force quit does close it.

Screen Shot 2020-11-13 at 6 12 30 pm

Update: Force Quit from the Dock does not close it, you got to search for tribler in the Activity Monitor and Force Quit it from there: #5609 (comment)

@devos50
Copy link
Contributor

devos50 commented Nov 13, 2020

@balupton thanks for reporting this issue! I am currently upgrading my Mac to Big Sur and I will let you know if I can reproduce this 👍 . Are you trying to run Tribler 7.5.4?

@balupton
Copy link

Whichever is the latest

@devos50
Copy link
Contributor

devos50 commented Nov 13, 2020

I can reproduce this. Tribler is indeed not starting on Big Sur. It does not even load the GUI, so I'm suspecting that the issue is related to PyQt.

martijndevos@MacBook-Pro-van-Martijn MacOS % ./tribler
[PID:49492] 2020-11-13 10:26:41,750 - INFO - root(24) - __init__()
[PID:49492] 2020-11-13 10:26:41,850 - INFO - root(50) -   self._outSocket.error() = '2'
[PID:49492] 2020-11-13 10:26:41,850 - INFO - root(60) - __init__(): returning
[PID:49492] 2020-11-13 10:26:42,488 - INFO - TriblerGUI(134) - Will connect to events endpoint
[PID:49492] 2020-11-13 10:26:42,566 - INFO - TriblerGUI(78) - Got Tribler core error: 1

@balupton
Copy link

balupton commented Nov 14, 2020

Seems force quit from the dock does not actually close Tribler. My local dns client (adguard home) was getting DNS queries for torrent trackers even though Tribler was no longer running in the Dock, turns out Tribler was still running in the background:

Screen Shot 2020-11-14 at 11 03 17 am

Anyway to find out what exactly I was participating with as a tribler exit node during that time? As I had my VPN shutdown as I thought Tribler had exited from the dock force quit from earlier.

@madcat-nl
Copy link

madcat-nl commented Dec 2, 2020

I got the same issue on my machine, sorry opened Duplicate of #5776

for me it does show a window, but it's an "empty" windows without any icons.

i uploaded the .hang file, maybe it helps in debugging (please delete it when you downloaded it)

@balupton
Copy link

balupton commented Dec 9, 2020

@da2x
Copy link
Contributor Author

da2x commented Apr 27, 2021

This started working on my mac in version 7.9. I deleted my profile and retested with 7.7 and 7.8, but neither worked.

@da2x da2x closed this as completed Apr 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

6 participants