transmission-remote-gui / transgui

🧲 A feature rich cross platform Transmission BitTorrent client. Faster and has more functionality than the built-in web GUI.
GNU General Public License v2.0
3.24k stars 281 forks source link

[Bug] Failed to create new thread after wake up #1384

Closed tetraf closed 2 years ago

tetraf commented 3 years ago

When I wake up my computer from suspend-to-ram, transgui create a message box with "Failed to create new thread" text, and terminate itself when I click on "OK".

I tried to stop and continue the process before and after the suspend-to-ram with pkill --signal STOP transgui and pkill --signal CONT transgui but this only lead to delay the apparition of the message box and the auto-termination of transgui.

Context:

tetraf commented 3 years ago

After some further testing, I think the problem is related to the network connection breaking at the time of suspend-to-ram. Transgui could try to reconnect a few times.

tetraf commented 2 years ago

Since I rebuilt transgui with fpc 3.2.2 and lazarus 2.2.0.4 it seems the problem has vanished.