id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 12441,Crash in Boost.Test 1.61,Andy Salnikov ,Gennadiy Rozental,"We have switched from boost 1.59 to 1.61 and I observe strange crashes when trying to run unit tests. I manage to reproduce it with a trivial example which has no used-added code, only Boost.Test stuff. This is observed with g++ 4.9.3 on Scientific Linux 6 with glibc 2.12. Here is an example: {{{ % cat unit_test.cc #define BOOST_TEST_MODULE UnitTest #include BOOST_AUTO_TEST_CASE(Test1) { } % g++ --version g++ (GCC) 4.9.3 % BOO=/path/to/boost/1.61.0 % g++ -std=c++11 -o unit_test -fPIC unit_test.cc -I$BOO/include/boost-1_61 -L$BOO/lib -lboost_unit_test_framework-gcc49-mt-1_61 -lboost_timer-gcc49-mt-1_61 -lboost_system-gcc49-mt-1_61 -lboost_chrono-gcc49-mt-1_61 -Wl,--rpath=$BOO/lib % ./unit_test Running 1 test case... *** No errors detected *** glibc detected *** ./unit_test: double free or corruption (!prev): 0x0000000001ca4c70 *** ======= Backtrace: ========= /lib64/libc.so.6[0x33cfe75f3e] /lib64/libc.so.6[0x33cfe78dd0] /lib64/libc.so.6(__cxa_finalize+0x9d)[0x33cfe35e7d] /afs/cern.ch/sw/lcg/releases/LCG_85/Boost/1.61.0/x86_64-slc6-gcc49-opt//lib/libboost_unit_test_framework-gcc49-mt-1_61.so.1.61.0(+0x3b046)[0x7feba3c17046] ======= Memory map: ======== ................... }}} ",Bugs,closed,To Be Determined,test,Boost 1.61.0,Showstopper,invalid,,