Re: [Boost-bugs] [Boost C++ Libraries] #9064: select_on_container_copy_construction for scoped_allocator segfaults

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9064: select_on_container_copy_construction for scoped_allocator segfaults
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-08-30 09:34:04


#9064: select_on_container_copy_construction for scoped_allocator segfaults
----------------------------------------------+------------------------
  Reporter: Markus Mathes <Markus.Mathes@…> | Owner: igaztanaga
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: container
   Version: Boost 1.54.0 | Severity: Regression
Resolution: | Keywords:
----------------------------------------------+------------------------

Comment (by Markus Mathes <Markus.Mathes@…>):

 The
 inner_traits_type::select_on_container_copy_construction(this->inner_allocator())
 statement in select_on_container_copy_construction causes an infinite
 recursion loop for a scoped allocator without any inner allocator type.
 (Inner allocator points back to outer) Somehow one has to distinguish the
 cases without and with inner allocator. In the latter case skipping the
 inner_traits_type::select_on_container_copy_construction part in the
 constructor call could be used to break the loop.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9064#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:14 UTC