Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2889: Unit Test framework does things that OS X's malloc dislikes
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-05-16 17:18:26
#2889: Unit Test framework does things that OS X's malloc dislikes
--------------------------------------+-------------------------------------
Reporter: akim.demaille_at_[hidden] | Owner: rogeeff
Type: Bugs | Status: new
Milestone: Boost 1.39.0 | Component: test
Version: Boost 1.38.0 | Severity: Problem
Resolution: | Keywords: osx
--------------------------------------+-------------------------------------
Comment(by warren.seine_at_[hidden]):
Same behavior experienced with Boost.Filesystem trying to run
"simple_ls.cpp" (from Boost.Filesystem tutorials).
Using:
- Mac OS X 10.5.6
- g++ 4.3.3
- Boost 1.38
Here is the stack trace:
{{{
Breakpoint 1, 0x94f824a9 in malloc_error_break ()
(gdb) bt
#0 0x94f824a9 in malloc_error_break ()
#1 0x94f7d497 in szone_error ()
#2 0x94ea7463 in szone_free ()
#3 0x94ea72cd in free ()
#4 0x001b6745 in operator delete ()
#5 0x9281f02a in std::string::_Rep::_M_destroy ()
#6 0x9281f99d in std::string::_M_mutate ()
#7 0x9281fa44 in std::string::_M_replace_safe ()
#8 0x9281fae8 in std::string::assign ()
#9 0x00015bed in boost::filesystem::detail::get_current_path_api ()
#10 0x00004dee in
boost::filesystem::current_path<boost::filesystem::basic_path<std::string,
boost::filesystem::path_traits> > ()
#11 0x0000507b in
boost::filesystem::initial_path<boost::filesystem::basic_path<std::string,
boost::filesystem::path_traits> > ()
#12 0x00001a4b in main ()
}}}
Please note that the bug seems to be specific to Mac OS X.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/2889#comment:2> 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:50:00 UTC