[Boost-bugs] [Boost C++ Libraries] #2798: crash upon test framework deallocation on cygwin gcc3.4.4

Subject: [Boost-bugs] [Boost C++ Libraries] #2798: crash upon test framework deallocation on cygwin gcc3.4.4
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-02-25 11:54:29


#2798: crash upon test framework deallocation on cygwin gcc3.4.4
--------------------------------+-------------------------------------------
 Reporter: m.champlon_at_[hidden] | Owner: rogeeff
     Type: Bugs | Status: new
Milestone: Boost 1.39.0 | Component: None
  Version: Boost 1.38.0 | Severity: Problem
 Keywords: |
--------------------------------+-------------------------------------------
 Attached test file triggers a crash when built and run on cygwin using gcc
 3.4.4.
 It seems it comes from the deallocation/unregistering of test cases in
 ~framework.
 Commenting out the code in framework::clear is the only workaround I found
 for now.

 Boost.Test is built from boost_1_38_0.tar.gz2 using :
 $ ./tools/jam/src/bin.cygwinx86/bjam.exe --toolset=gcc --build-
 type=complete link=static runtime-link=shared threading=multi stage
 --with-test

 And then the test case is built with :
 $ g++ -o crash.exe -I"path_to_boost" -L"path_to_boost/stage/lib"
 -lboost_unit_test_framework-gcc34-mt-d-1_38 crash.cpp

 And run :
 $./crash.exe
 Running 33 test cases...

 *** No errors detected
      10 [main] crash 2812 _cygtls::handle_exceptions: Error while dumping
 state (probably corrupted stack)
 Segmentation fault (core dumped)

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2798>
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:59 UTC