id summary reporter owner description type status milestone component version severity resolution keywords cc 967 [program_options] crash on release builds on windows using msvc-8.0 and msvc-8.0_64 Christopher Lux "i compiled boost for windows using the msvc-8.0 and msvc-8.0_64 targets. the following code works perfectly on debug builds but crashes on the marked line in x64 mode and goes into an infinite loop in x86 mode. i used visual studio 2005 with and without service pack 1 and even tried the head version of boost from cvs. everytime the crash occurs. {{{ #include #include namespace po = boost::program_options; int main(int argc, char **argv) { int width; int height; try { po::options_description cmd_options(""program options""); cmd_options.add_options() (""help"", ""show this help message"") (""width"", po::value(&width)->default_value(1024), ""output width"") (""height"", po::value(&height)->default_value(640), ""output height""); po::variables_map command_line; // the next line produces the crash po::store(po::parse_command_line(argc, argv, cmd_options), command_line); po::notify(command_line); if (command_line.count(""help"")) { std::cout << ""usage: "" << std::endl; std::cout << cmd_options; return (0); } } catch (std::exception& e) { std::cout << e.what() << std::endl; return (-1); } return (0); } }}} " Bugs closed None Boost 1.34.0 Showstopper invalid program_options, msvc