Red Hat Bugzilla – Bug 641350
implicit destructor of CppUnit::Message causes segfault when test is built with debug. STL
Last modified: 2011-07-12 01:18:24 EDT
Created attachment 452337 [details]
Description of problem:
CppUnit::Message contains a std::deque. Because the class doesn't
declare destructor, the compiler synthetises one in every compilation
unit where the class is used. But now, if the compilation unit is
compiled with debugging STL support (i.e. with -D_GLIBCXX_DEBUG), the
synthetised ~Message destructs the deque member by calling
std::__debug::deque::~deque instead of std::deque::~deque, with expected
Version-Release number of selected component (if applicable):
always with the attached reproducer
Steps to Reproduce:
1. g++ -o cppunit -Wall -g -O0 $(pkg-config --cflags --libs cppunit) -D_GLIBCXX_DEBUG cppunit.cc
Created attachment 452338 [details]
Created attachment 452340 [details]
hey, are you there?
cppunit-1.12.1-5.fc15 has been submitted as an update for Fedora 15.
cppunit-1.12.1-5.fc14 has been submitted as an update for Fedora 14.
* should fix your issue,
* was pushed to the Fedora 14 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing cppunit-1.12.1-5.fc14'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
cppunit-1.12.1-5.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
cppunit-1.12.1-5.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.