Session disconnect causes thread freeze
A most bizarre problem:
I am running Debian Linux on a small computer within an autonomous vehicle. The program which controls that vehicle (running on said computer) is multithreaded. Said program is started via an ssh login into said computer, using wireless ethernet. Once program has started, the connection remains until vehicle moves out of range, at which point the connection is effectively severed.
The problem is that eventually one or more threads (including the main thread) of the program freeze. But not all threads: some are unaffected. When the connection is re-established, all threads renew running.
I am using the "screen" program to keep the remote session alive after disconnect, but this does not prevent the above.
Any ideas? I can provide more details.
- Pete Brodsky