Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Feb 2014 11:42:10 +0100
From:      Stefan Farfeleder <stefanf@FreeBSD.org>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: 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
Message-ID:  <20140204104209.GA1537@mole.fafoe.narf.at>
In-Reply-To: <13B51A3E-B9C8-4B0C-9834-859ACEBC3375@FreeBSD.org>
References:  <201401300744.s0U7iNLt016044@svn.freebsd.org> <20140203123235.GA1540@mole.fafoe.narf.at> <13B51A3E-B9C8-4B0C-9834-859ACEBC3375@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 03, 2014 at 07:54:01PM +0100, Dimitry Andric wrote:
> On 03 Feb 2014, at 13:32, Stefan Farfeleder <stefanf@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140204104209.GA1537>