id summary reporter owner description type status milestone component version severity resolution keywords cc 12391 Visual Studio 2010 hangs up when linking boost log object xinyan.zhang@… Andrey Semashev "I am using Visual Studio 2010 with SP1. I met a very strange problem: Visual Studio 2010 hangs up when linking boost log object. There is a work-around -- stop the building and restart it. Then it will success. I found if I set the second parameter ""start_thread"" to false in my sink ctor, and start thread explicitly, this problem disappears. But the second problem appears -- the application hangs up at run time. I have to remove the line ""fileSink->run();"". Then it does not hang up in either building and run time. My question is if I does not start thread for asynchronous_sink, is there any problem or any impact to the performance? Any way, I can still see the log record. Thank you. {{{ typedef boost::log::sinks::asynchronous_sink< boost::log::sinks::text_file_backend > text_sink; boost::shared_ptr< text_sink > fileSink; boost::shared_ptr< sinks::text_file_backend > backend = boost::make_shared< sinks::text_file_backend >( boost::log::keywords::file_name = filePath, boost::log::keywords::time_based_rotation = sinks::file::rotation_at_time_point(0, 0, 0) //file rotation every day at midnight ); fileSink.reset(new text_sink(backend, false)); // hangs up during linking object, if set to true //fileSink->run(); // hangs up during rum time }}} " Bugs closed To Be Determined log Boost 1.61.0 Problem invalid Visual Studio 2010