An apparatus for detecting abnormal states which prevents damage to a
laser diode or data recorded on a disc and swiftly correcting the
abnormal state. An overflow/underflow detector detects whether overflow
or underflow of the laser diode occurs, by comparing a laser diode output
power control value, which is output from the laser diode output power
control circuit, with an overflow setting value and an underflow setting
value. A mode switch switches an operation mode of the laser diode output
power control circuit from a recording mode to a reproducing mode, in
response to the detection result of the overflow/underflow detector.