id summary reporter owner description type status milestone component version severity resolution keywords cc 11420 program_options crash on run() on specific machine only in release mode Stephan Bertl Vladimir Prus "It's a very strange error that occured. I have deployed the program on a machine where no Visual Studio is available. Upon start it crashes instantly so I have created a dump with the task manager and analysed it in Visual Studio 2013. {{{ > test.exe!boost::program_options::basic_command_line_parser::run() Line 107 C++ }}} which resolves to {{{ template basic_parsed_options basic_command_line_parser::run() { // save the canonical prefixes which were used by this cmdline parser // eventually inside the parsed results // This will be handy to format recognisable options // for diagnostic messages if everything blows up much later on parsed_options result(m_desc, detail::cmdline::get_canonical_option_prefix()); result.options = detail::cmdline::run(); // Presense of parsed_options -> wparsed_options conversion // does the trick. return basic_parsed_options(result); } }}} in my program the crash occurs in the following line {{{ po::store(po::command_line_parser(argc, argv).options(description).allow_unregistered().run(), vm); }}} The very strange thing is that argc is 0 and argv is 0x0000000000000000 It only happens in release mode and i cannot catch any exception" Bugs new To Be Determined program_options Boost 1.58.0 Problem