Software glitch. Planes have been incredibly safe for decades. If it aint broke...
[If it aint broke...]
I generally agree.
There have been a few where there were surprises. A couple of guys forgot to turn off the autothrottle system which had idled the engines. They could not get the power they needed.
In another one, OTOH, the starboard thrust reverser deployed just after takeoff and the aircraft rolled right.
In that case, the software reacted properly, idling the starboard engine. The co-pilot, shocked by the idling, kept pushing the starboard thrust to max. The software fought back, idling the starboard engine again. On the 3rd attempt, it broke the cable used by the software. The aircraft rolled right, unrecoverable, and into the ground.
Of course he had no idea the starboard thrust reverser had deployed in error.