There's something seriously wrong somewhere if your PIC hangs or goes walkabout regardless what value is used for Calibrating OSCCAL.