When I run from xterm and do the same thing (see my earlier post) it shows an "Segmentation Fault" on exit.