Error coming in the code

/bin/run.sh: line 4: 19 Segmentation fault (core dumped) ./exe < run.stdin > run.stdout 2> run.stderr
this error is coming


this is the code