Crashing again

Once again I am in a situation where I cannot get a decent uptime. Unfortunately I also cannot get core dumps from plcd either. I think it is time to explore how I am parsing commands from the network interface.

It appears to crash between two overnight events. The first event occurs as expected, the second does not. A quick look at the device control section of this site indicates that there is a problem with its socket communication which is in turn indicative of a plcd crash.

I think there will be a revamp of how the network thread interprets commands sent to it. At the moment the code just assumes the client sent enough parameters. Which is clearly not valid.

Subject: