|
Boost : |
From: Caleb Epstein (caleb.epstein_at_[hidden])
Date: 2005-02-12 09:46:12
On Sat, 12 Feb 2005 08:47:33 +0100, amerio <amerio_at_[hidden]> wrote:
> 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.
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
>
This was a bug in the CVS code earlier this week or late last. I
believe it has since been fixed. Have you tried updating?
-- Caleb Epstein caleb dot epstein at gmail dot com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk