Re: Program killed as soon as it starts to run