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

Option to send an error report when Tribler is stuck at shutdown #7444

Closed
xoriole opened this issue May 30, 2023 · 3 comments
Closed

Option to send an error report when Tribler is stuck at shutdown #7444

xoriole opened this issue May 30, 2023 · 3 comments

Comments

@xoriole
Copy link
Contributor

xoriole commented May 30, 2023

Sometimes Tribler is stuck at shutdown which is not easy to reproduce. Currently, after a while, we show the users a button to force shutdown. In such a case, if we provide an option for the user to send us an error report, it will help us better understand the reason why Tribler was stuck.

tribler-force-shutdown

@xoriole xoriole added this to the 7.14.0 milestone May 30, 2023
@synctext
Copy link
Member

synctext commented May 31, 2023

Very good idea. This 'stuck' (== long wait of 10+ minutes) at shutdown is trivial to reproduce, just leave running for few days. Then shutdown takes long. Perhaps the checkpoints to 30 swarms take a while to commit to disk. Libtorrent IO still seems to act out on Tribler. This would be great way to diagnose the 10-15 minute shutdown duration on a 6-years old Mac by User 0.

@drew2a
Copy link
Contributor

drew2a commented May 31, 2024

@xoriole

In such a case, if we provide an option for the user to send us an error report.

How do you see the formation of the error report in this case? I'm asking because it is not obvious, and I want to know your view. If Tribler is stuck at shutdown, there would probably be no errors, just slow operations. Our FeedbackDialog method of sending errors assumes that you have an actual exception.

@qstokkink
Copy link
Contributor

The extended shutdown status reported by the new Tribler core code resolves this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants