Merge "Dump dispatcher state before crashing due to unexpected events" into main