Its a threaded application
Are you printing to stdout from multiple threads?
In reply to Re: Hang on STDOUT by BrowserUk in thread Hang on STDOUT by DanEllison