Program stack when trying to open serial port

O.K. Tank you all.