-
Notifications
You must be signed in to change notification settings - Fork 445
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
Unable to close Tribler after subscribing to a channel. #7489
Comments
@milahu thank you for this report. It appears that a database file might be locked, or we could be seeing a sequence of events as follows:
Could you kindly provide more details about the activities performed during this specific running session? It would be greatly beneficial if you could also share the associated logs with us. If that's not feasible, searching the logs for any ERROR and sharing these specific instances would be equally helpful. Thank you in advance for your cooperation. cc @kozlovsky |
activities: start tribler, subscribe to some channels, wait some minutes, close tribler (Ctrl-C). logs: i will try to reproduce.
at the time of closing, tribler was either/or
currently, when tribler is updating
ideally the log should be less verbose by default |
logs
|
@milahu thank you very much for your prompt response! We'll examine the logs promptly and will get back to you regarding your case as soon as possible. |
This bug is probably a duplicate of #7098 (or related to it) |
I was able to reproduce the error. Regarding the logs it seems that core doesn't receive shutdown event: [tribler-core PID:37015] 2023-06-19 14:14:40,201 - INFO - TriblerTunnelCommunity(687) - We joined circuit 512688682 with neighbour UDPv4Address(ip='31.173.80.7', port=27509)
Traceback (most recent call last):
[tribler-gui PID:37012] 2023-06-19 14:14:41,290 - INFO - CoreManager(220) - Stopping Core manager
[tribler-gui PID:37012] 2023-06-19 14:14:41,291 - INFO - CoreManager(236) - Sending shutdown request to Tribler Core
[tribler-gui PID:37012] 2023-06-19 14:14:41,291 - INFO - RequestManager(130) - Request: PUT http://localhost:20100/shutdown
File "/Users/<>/Projects/github.com/Tribler/tribler/src/run_tribler.py", line 106, in <module>
run_core(api_port, api_key, root_state_dir, parsed_args)
File "/Users/<>/Projects/github.com/Tribler/tribler/src/tribler/core/start_core.py", line 205, in run_core
exit_code = run_tribler_core_session(api_port, api_key, state_dir, gui_test_mode=parsed_args.gui_test_mode)
File "/Users/<>/Projects/github.com/Tribler/tribler/src/tribler/core/start_core.py", line 170, in run_tribler_core_session
exit_code = loop.run_until_complete(core_session(config, components=list(components_gen(config))))
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 629, in run_until_complete
self.run_forever()
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 596, in run_forever
self._run_once()
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 1854, in _run_once
event_list = self._selector.select(timeout)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/selectors.py", line 562, in select
kev_list = self._selector.control(None, max_ev, timeout)
KeyboardInterrupt
[tribler-core PID:37015] 2023-06-19 14:14:42,819 - WARNING - KnowledgeRulesProcessor(182) - Queue is full
[tribler-core PID:37015] 2023-06-19 14:14:52,819 - WARNING - KnowledgeRulesProcessor(182) - Queue is full
[tribler-core PID:37015] 2023-06-19 14:15:02,834 - WARNING - KnowledgeRulesProcessor(182) - Queue is full
[tribler-core PID:37015] 2023-06-19 14:15:12,835 - WARNING - KnowledgeRulesProcessor(182) - Queue is full
[tribler-core PID:37015] 2023-06-19 14:15:22,869 - WARNING - KnowledgeRulesProcessor(182) - Queue is full
[tribler-core PID:37015] 2023-06-19 14:15:32,869 - WARNING - KnowledgeRulesProcessor(182) - Queue is full
[tribler-core PID:37015] 2023-06-19 14:15:42,969 - WARNING - KnowledgeRulesProcessor(182) - Queue is full
[tribler-core PID:37015] 2023-06-19 14:15:52,970 - WARNING - KnowledgeRulesProcessor(182) - Queue is full
[tribler-core PID:37015] 2023-06-19 14:16:03,002 - WARNING - KnowledgeRulesProcessor(182) - Queue is full
[tribler-core PID:37015] 2023-06-19 14:16:13,003 - WARNING - KnowledgeRulesProcessor(182) - Queue is full
[tribler-core PID:37015] 2023-06-19 14:16:23,004 - WARNING - KnowledgeRulesProcessor(182) - Queue is full ![]() The core still active, consumes a lot of CPU. Perhaps the main process is locked for some reason. This could explain the freeze and the absence of Could be related: #7494 |
This issue will be fixed in #7669 |
Describe the bug
on shutdown, the log is flooded with this message:
tribler seems to hang forever. when i kill tribler, the log says
To Reproduce
close tribler.
Expected behavior
be less verbose.
Environment
The text was updated successfully, but these errors were encountered: