Boost logo

Boost :

Subject: Re: [boost] [block_ptr] Request for a review manager
From: Phil Bouchard (phil_at_[hidden])
Date: 2016-02-14 21:00:21

On 2016-02-13 1:12 AM, Phil Bouchard wrote:
> On 2016-02-12 11:39 PM, Phil Bouchard wrote:
>> On 2016-02-09 9:52 PM, Phil Bouchard wrote:
>>> On 02/09/2016 11:51 AM, Peter Dimov wrote:
>>>>> Phil Bouchard wrote:
>>>>> > I added the new repository with the right folder structure:
>>>>> >
>>>>> You should update this to work with the latest Boost, because
>>>>> currently block_base is abstract as it doesn't implement
>>>>> virtual void * get_untyped_deleter() = 0;
>>>> It also doesn't work with -DBOOST_DISABLE_THREADS, which makes it
>>>> inconvenient to test as it requires Boost.Thread.
>>> I just fixed the code to support the latest standards and
>> Unfortunately it's going to take some time supporting MSVC 2015 because
>> of their use of proxies with STL containers making the support of user
>> defined allocators more complicated...
> Settings the _ITERATOR_DEBUG_LEVEL=0 preprocessor flag helps disabling
> the proxy usages...

It looks like I was able to fix a bug which makes it run correctly under
MSVC 2015 Express.

Although I do have a crash in the boost::pool:

int>::try_malloc_n(void * & start, unsigned int n, unsigned int
partition_size) Line 333 C++
int>::malloc_n(unsigned int n, unsigned int partition_size) Line 363 C++
int n) Line 801 C++
unsigned int n) Line 149 C++
          Project2.exe!boost::detail::bp::pool::allocate(unsigned int s) Line
148 C++
          Project2.exe!boost::detail::bp::block<int>::operator new(unsigned int
s) Line 283 C++
          Project2.exe!boost::detail::bp::make_block<int,int>(const int & t0)
Line 520 C++
> Project2.exe!main() Line 119 C++

When I try this example:


Boost list run by bdawes at, gregod at, cpdaniel at, john at