An improved semiconductor defects curing method and apparatus are disclosed which is free from current leakage due to pin-holes or other defects. Also an improved method for processing a semiconductor device is shown. According to the invention, the gaps or holes in the semiconductor layer produced in the fabrication process are filled with insulator in advance of deposition of electrodes.