Boost C++ Libraries: Ticket #9564: BOOST_CHECK(true) hangs on OS X 10.9 (Mavericks) https://svn.boost.org/trac10/ticket/9564 <p> Using compiler: </p> <p> g++ -v Configured with: --prefix=<a class="missing wiki">/Applications/Xcode</a>.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) Target: x86_64-apple-darwin13.0.2 Thread model: posix </p> <p> Test case: assuming the following test.cpp </p> <p> #include &lt;boost/test/included/unit_test.hpp&gt; using boost::unit_test_framework::test_suite; </p> <p> void foo() { </p> <blockquote> <p> BOOST_CHECK(true); </p> </blockquote> <p> } </p> <p> boost::unit_test_framework::test_suite * init_unit_test_suite(int argc, char *argv[]) { </p> <blockquote> <p> test_suite* test = BOOST_TEST_SUITE("Matrix test suite"); </p> </blockquote> <blockquote> <p> test-&gt;add(BOOST_TEST_CASE(&amp;foo)); </p> </blockquote> <p> </p> <blockquote> <p> return test; </p> </blockquote> <p> } </p> <p> int run_test(int argc, char* argv[]) { </p> <blockquote> <p> boost::unit_test::init_unit_test_func init_func = &amp;init_unit_test_suite; return ::boost::unit_test::unit_test_main(init_func, argc, argv ); </p> </blockquote> <p> } </p> <p> Compilation: </p> <p> make all Building file: ../test.cpp Invoking: GCC C++ Compiler g++ -I/usr/local/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"test.d" -MT"test.d" -o "test.o" "../test.cpp" Finished building: ../test.cpp Building target: <a class="missing wiki">BoostTest</a> Invoking: MacOS X C++ Linker g++ -L/usr/local/lib -o "<a class="missing wiki">BoostTest</a>" ./test.o -lboost_unit_test_framework-mt Finished building target: <a class="missing wiki">BoostTest</a> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9564 Trac 1.4.3 Ilya Ivensky <ilya.ivensky@…> Sun, 12 Jan 2014 23:52:07 GMT attachment set https://svn.boost.org/trac10/ticket/9564 https://svn.boost.org/trac10/ticket/9564 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">test.cpp</span> </li> </ul> <p> test case code </p> Ticket Gennadiy Rozental Tue, 07 Jul 2015 15:45:00 GMT status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/9564#comment:1 https://svn.boost.org/trac10/ticket/9564#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">worksforme</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.59.0</span> </li> </ul> <p> I can't reproduce this issue with new release. can you please give it a try </p> Ticket