Merge "Dump dispatcher state before crashing" into main