....never encountered this behavoiur before....
You've just been lucky then. I think most developers here have seen it and the solutions are along the lines you have indicated. Personally I cut the module code out and then past it back in again when I see the problem.