Re: [Boost-bugs] [Boost C++ Libraries] #1230: mbstate uninitialized

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1230: mbstate uninitialized
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-02-26 11:17:46


#1230: mbstate uninitialized
-------------------------------------+--------------------------------------
  Reporter: Jan-Erik.Dahlin_at_[hidden] | Owner: bemandawes
      Type: Bugs | Status: closed
 Milestone: Boost 1.35.0 | Component: filesystem
   Version: Boost 1.34.1 | Severity: Problem
Resolution: fixed | Keywords:
-------------------------------------+--------------------------------------

Comment(by vital):

 Hello![[BR]]
 It really must be initialized. We have a crash inside boost due to this
 bug in 1.34.1. I found corresponding bug to gcc (but left as "not a bug")
 where the reason of crash was also unitizalized state
 (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28059)
 [[BR]][[BR]]
 Stack of crash:[[BR]]
 #0 0xb7f6c410 in __kernel_vsyscall ()[[BR]]
 #1 0xb6c66085 in raise () from /lib/tls/i686/cmov/libc.so.6[[BR]]
 #2 0xb6c67a01 in abort () from /lib/tls/i686/cmov/libc.so.6[[BR]]
 #3 0xb6e86480 in __gnu_cxx::__verbose_terminate_handler () from
 ../lib32/libstdc++.so.6[[BR]]
 #4 0xb6e83d05 in std::set_unexpected () from
 ../lib32/libstdc++.so.6[[BR]]
 #5 0xb6e83d42 in std::terminate () from ../lib32/libstdc++.so.6[[BR]]
 #6 0xb6e83e6a in __cxa_throw () from ../lib32/libstdc++.so.6[[BR]]
 #7 0xb7be2220 in
 boost::throw_exception<boost::filesystem::basic_filesystem_error<boost::filesystem::basic_path<std::basic_string<wchar_t,
 std::char_traits<wchar_t>, std::allocator<wchar_t> >,
 boost::filesystem::wpath_traits> > > (e=@0xbf9a6fac)
     at throw_exception.hpp:39[[BR]]
 #8 0xb7be159e in boost::filesystem::wpath_traits::to_external
 (ph=@0xbf9a7138, src=@0xbf9a701c)
     at boost/boost/libs/filesystem/src/path.cpp:94[[BR]]
 #9 0xb76b8b43 in boost::filesystem::basic_path<std::basic_string<wchar_t,
 std::char_traits<wchar_t>, std::allocator<wchar_t> >,
 boost::filesystem::wpath_traits>::external_directory_string
 (this=0xbf9a7138) at path.hpp:303[[BR]]
 ...

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/1230#comment:4>
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