Hook up something to the serial port so that debug messages can be observed and traced. Look for anything at the moment of failure.

Repeat with the following in config.ini (requires Hijack kernel):
    [hijack]

ir_debug=1
And then post the resulting trace here for us to look at.

Thanks