Open IvDmNe opened 1 year ago
This is handled either here:
or here:
Use a debugger to verify that it works, and then, when the application is stuck, break with the debugger to see what it is waiting for.
Thank you for response! I tracked down the reason: after pressing close button the updateThread still waits for update from the server.
In my case update server nereid.pl is unable (some inner filters in my company), so connect function stucks for a long time:
After 1-2 mins it finally fails and the application can be closed normally.
UPD: @wolfpld Do you think that it is worth to add small timeout (about 1-10 seconds) after creating of the socket to prevent long waiting?
Please don't ask questions in edits, these are not visible.
Changing the timeout to a small value doesn't fix the problem, only hides it. A proper solution is to abort the query, as the result won't be needed anyway.
Profiler GUI application does not respond to close button, stucking forever until Ctrl-C.
System: Ubuntu 20.04, 22.04 Version: v0.9, v0.10 Tried LEGACY = 0 and 1
Capstone v0.4.2 installed from sources in 20.04, installed via apt in 22.04.
I also tried to use it inside docker container, but the behavior is similar.
Did anyone have this issue?