News for hackers. Stuff that matters.
Re:Are we shooting ourselves in the foot with stack overflows? by vidarh on Tuesday February 18, 2014 @08:32AM (#7257998)
> a complete CPU reset would have occurred within just 11 feet of vehicle’s travel.

Then it fails again. Resets again. Fails again...

It may be preferable to restart, but in many failure scenarios, if the source of the failure is unknown, it is not a given that you'll be able to restart cleanly again.

I agree that failing fast to an extent is preferable, but that too requires careful testing and consideration.

Re:Are we shooting ourselves in the foot with stack overflows? by XorNot on Tuesday February 18, 2014 @09:41AM (#7258284)
Except in a modern car the effect would be the vehicle stops accelerating and starts coasting - brakes and steering are mechanically connected, so in the event of no control system the default situation is safe.

The missing bit is generally that if it fails, it needs to set a note that it should not resume normal operations.

Re:Are we shooting ourselves in the foot with stack overflows? by sitkack on Tuesday February 18, 2014 @10:53AM (#7258732)
If it keeps failing, then the car does not function and it gets towed to a repair shop. It could be failing for completely valid reasons, not just a programming error. Failure is a expected, we need to account for it.
Re:Are we shooting ourselves in the foot with stack overflows? by danellis on Tuesday February 18, 2014 @01:07PM (#7259780)
What makes you think it would fail again right after the reset? It hasn't necessarily been put through the same sequence of state changes.