
12 Feb
2005
12 Feb
'05
7:47 a.m.
Hello, We are trying to use boost unit test framework for our unit tests. It works fine, except it will always seg fault when quitting. Even the smallest simplest empty test will seg fault. Compiler is gcc 2.95.4, on a Woody Debian. Compiling with -g -pg -pthread Linking with -g -pg -lboost_thread-gcc-mt -lboost_unit_test_framework-gcc-1_32 unit_test.cpp is only : #define BOOST_AUTO_TEST_MAIN #include <boost/test/auto_unit_test.hpp> #include <iostream> BOOST_AUTO_UNIT_TEST(autofct) { std::cout <<"ok" << std::endl; } Seg fault is when calling dispose(), in shared_count::release() (line 147) Thanks for your help.