Re: [Boost-bugs] [Boost C++ Libraries] #4595: boost::lexical_cast throws std::bad_cast on OS X 10.6 when using _GLIBCXX_DEBUG

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4595: boost::lexical_cast throws std::bad_cast on OS X 10.6 when using _GLIBCXX_DEBUG
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-09-21 21:12:49


#4595: boost::lexical_cast throws std::bad_cast on OS X 10.6 when using
_GLIBCXX_DEBUG
------------------------------------+---------------------------------------
  Reporter: etlverified@… | Owner: nasonov
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: lexical_cast
   Version: Boost 1.44.0 | Severity: Problem
Resolution: | Keywords:
------------------------------------+---------------------------------------

Comment (by Spinach <dspiciarich@…>):

 Have you solved this error? I'm getting a similar error


 {{{
 terminate called after throwing an instance of 'std::bad_cast'
   what(): std::bad_cast
 Abort trap
 }}}

 In the error log I see:

 {{{
 Thread 0 Crashed: Dispatch queue: com.apple.main-thread
 0 libSystem.B.dylib 0x00007fff837c33d6 __kill + 10
 1 libSystem.B.dylib 0x00007fff83863972 abort + 83
 2 libstdc++.6.dylib 0x00007fff826785d2 __tcf_0 + 0
 3 libstdc++.6.dylib 0x00007fff82676ae1
 __cxxabiv1::__terminate(void (*)()) + 11
 4 libstdc++.6.dylib 0x00007fff82676b16
 __cxxabiv1::__unexpected(void (*)()) + 0
 5 libstdc++.6.dylib 0x00007fff82676bfc
 __gxx_exception_cleanup(_Unwind_Reason_Code, _Unwind_Exception*) + 0
 6 libstdc++.6.dylib 0x00007fff8263293f
 std::__throw_bad_alloc() + 0
 7 libboost_regex.dylib 0x00000001000e94b8
 std::collate<char> const& std::use_facet<std::collate<char> >(std::locale
 const&) + 85 (locale_facets.tcc:117)
 8 libboost_regex.dylib 0x00000001000c1794
 boost::re_detail::cpp_regex_traits_base<char>::imbue(std::locale const&) +
 124 (cpp_regex_traits.hpp:218)
 9 libboost_regex.dylib 0x00000001000f3e35
 boost::re_detail::cpp_regex_traits_base<char>::cpp_regex_traits_base(std::locale
 const&) + 43 (cpp_regex_traits.hpp:173)
 10 libboost_regex.dylib 0x00000001000f3e83
 boost::shared_ptr<boost::re_detail::cpp_regex_traits_implementation<char>
 const> boost::re_detail::create_cpp_regex_traits<char>(std::locale const&)
 + 30 (cpp_regex_traits.hpp:852)
 11 libboost_regex.dylib 0x00000001000f3eed
 boost::cpp_regex_traits<char>::cpp_regex_traits() + 35
 (cpp_regex_traits.hpp:872)
 12 libboost_regex.dylib 0x00000001000f3f33
 boost::regex_traits<char, boost::cpp_regex_traits<char> >::regex_traits()
 + 21 (regex_traits.hpp:75)
 13 libboost_regex.dylib 0x00000001000f3f4b
 boost::regex_traits_wrapper<boost::regex_traits<char,
 boost::cpp_regex_traits<char> > >::regex_traits_wrapper() + 21
 (regex_traits.hpp:169)
 14 libboost_regex.dylib 0x00000001000f3f8d
 boost::re_detail::regex_data<char, boost::regex_traits<char,
 boost::cpp_regex_traits<char> > >::regex_data() + 63 (basic_regex.hpp:212)
 15 libboost_regex.dylib 0x00000001000f4041
 boost::re_detail::basic_regex_implementation<char,
 boost::regex_traits<char, boost::cpp_regex_traits<char> >
>::basic_regex_implementation() + 21 (basic_regex.hpp:248)
 16 libboost_regex.dylib 0x00000001000c1815
 boost::basic_regex<char, boost::regex_traits<char,
 boost::cpp_regex_traits<char> > >::do_assign(char const*, char const*,
 unsigned int) + 75 (basic_regex.hpp:698)
 }}}

 Any help is greatly appreciated,
 Spinach

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4595#comment:1>
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:04 UTC