[Boost-bugs] [Boost C++ Libraries] #1323: Assertion Error during cleanup after running out of thread resources

Subject: [Boost-bugs] [Boost C++ Libraries] #1323: Assertion Error during cleanup after running out of thread resources
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-10-16 09:41:08


#1323: Assertion Error during cleanup after running out of thread resources
-------------------------------------+--------------------------------------
 Reporter: martin_wille | Owner: anthonyw
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------+--------------------------------------
 If test_barrier is run under certain resource constraints then an
 assertion violation is triggered during cleanup. I believe this assertion
 error indicates a bug.

 Note: if Boost.Test is used and a signal got raised in response to hitting
 a resource limit then the problem could actually be in Boost.Test.

 Example run with LIMIT_NPROC == 20 (using Linux x86_64, gcc 3.4.6 and also
 with gcc 4.1.2):

 Running 1 test case...
 unknown location(0): fatal error in "test_barrier": std::exception:
 boost::thread_resource_error

 *** 1 failure detected in test suite "Master Test Suite"
 test_barrier_lib: ../libs/thread/src/condition.cpp:354:
 boost::detail::condition
 _impl::~condition_impl(): Assertion `res == 0' failed.


 The first error message is the correct response. The second looks like a
 bug.

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1323>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.


This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:56 UTC