Boost logo

Boost :

From: amerio (amerio_at_[hidden])
Date: 2005-02-12 02:47:33


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.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk