Set the sync switch to M, connect the flash, cock then trip the shutter. The flash should fire as soon as the trip lever reaches the release point. Any other firing of the flash is a malfunction.
Set the sync switch to X while the shutter is in the released state. Cock, then release the shutter. The flash should fire when the shutter blades reach full open. Any other firing of the flash is a malfunction.
If the shutter flash sync malfunctions have the shutter serviced.