svn commit: r261283 - in head: contrib/libc++ contrib/libc++/include contrib/libc++/include/experimental contrib/libc++/include/ext contrib/libc++/src etc/mtree lib/libc++ sys/sys tools/build/mk
Stefan Farfeleder
stefanf at FreeBSD.org
Tue Feb 4 10:42:20 UTC 2014
On Mon, Feb 03, 2014 at 07:54:01PM +0100, Dimitry Andric wrote:
> On 03 Feb 2014, at 13:32, Stefan Farfeleder <stefanf at FreeBSD.org> wrote:
> > On Thu, Jan 30, 2014 at 07:44:23AM +0000, Dimitry Andric wrote:
> >> Author: dim
> >> Date: Thu Jan 30 07:44:22 2014
> >> New Revision: 261283
> >> URL: http://svnweb.freebsd.org/changeset/base/261283
> >>
> >> Log:
> >> Import libc++ 3.4 release. This contains a lot of bugfixes, and some
> >> preliminary support for C++1y.
> >>
> >> MFC after: 3 weeks
> >
> > Hi Dimitry,
> >
> > Is this expected to change the ABI? I had to recompile the boost
> > libraries to stop my applications from crashing.
>
> As far as I know, this should not change the ABI. But maybe boost does
> something strange, it would not amaze me. Do you have any coredumps or
> actual crash reports you could share?
At the moment I can only provide a backtrace, a very simple test program
doesn't crash (of course). I'll try to come up with something later or
tomorrow. What might be interesting is that
boost::program_options::variables_map derives from std::map.
Here's the backtrace:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 806806400 (LWP 100777)]
compare (this=<optimized out>, __str=...) at /usr/include/c++/v1/string:3585
3585 size_t __rhs_sz = __str.size();
(gdb) bt
#0 compare (this=<optimized out>, __str=...) at /usr/include/c++/v1/string:3585
#1 operator<<char, std::__1::char_traits<char>, std::__1::allocator<char> > (__lhs=..., __rhs=...)
at /usr/include/c++/v1/string:3769
#2 operator() (this=<optimized out>, __x=..., __y=...) at /usr/include/c++/v1/__functional_base:63
#3 std::__1::__tree<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >::__find_equal<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > (this=<optimized out>, __parent=@0x7fffffffb758: 0x7fffffffb8b0, __v=...)
at /usr/include/c++/v1/__tree:1613
#4 0x00000008009b5f41 in std::__1::__tree<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >::__insert_unique (this=0x7fffffffb8e0, __v=...)
at /usr/include/c++/v1/__tree:1867
#5 0x00000008034ca383 in boost::program_options::store(boost::program_options::basic_parsed_options<char> const&, boost::program_options::variables_map&, bool) ()
from /usr/local/lib/libboost_program_options.so.5
Stefan
More information about the svn-src-all
mailing list