heat death
The total failure could very well be heat related. The power supply and other parts need convection to keep cool. Convection is not possible without gas. Your faulty altitude readings might also be related when the analog voltages went out of regulation or got too noisy. If there are any electoytic caps they might have failed as most are rated to only modest altitudes.