The good news:
Since building and installing the latest version with the patch that you mentioned I have not seen any further instances of the daemon crashing.
Thanks for the fix
The not so good??? news:
What should the daemons behaviour be when a connected tcp data source becomes unavailable, then, later, becomes available again?
Should the daemon try to reconnect to the external tcp data source more than once?
That doesn't seem to be what is happening.
What I see in the logfile is a single attempt to reconnect followed by a deactivation, with no further reconnect attempts.:
Jun 1 08:00:01 sop gpsd[29377]: gpsd:ERROR: TCP device open error can't connect to host/port pair.
Jun 1 08:00:01 sop gpsd[29377]: gpsd:ERROR: tcp://localhost:46001: device activation failed.
Jun 1 08:00:01 sop gpsd[29377]: gpsd:ERROR: tcp://localhost:46001: activation failed, freeing device
If I start gpsd with several TCP sources, then kill one of the sources and restart it, nothing ever comes out the other end from the restarted tcp source,