On the application crashes, if it is started via the .app bundle.
Reason: Mac OS X gives each application that is started via the app bundle a so called "Process Serial Number". This number is passed as a commandline argument: "-psn_0_XXXXX".
Since this commandline option is unknown the following exception is thrown:
Poco::Util::UnknownOptionException: Unknown option specified
an the application crashes.