Sih sitl lockstep failure

Hi dears,

I noticed the sih sitl crashes sometimes when I try to run the simulation faster than real time. with PX4_SIM_SPEED_FACTOR=100 for instance. It doesn’t crash systematically, it seems my computer get runs the CPU at 100% and sometimes the sih never reaches its next sample.

It seems the sih gets stuck mid-simulation in px4_lockstep_wait_for_components() and never reaches the next instruction. Any idea how to fix that?

I’m working on v1.12, maybe there was a fix about the lockstep in later versions?