Boost logo

Boost :

Subject: [boost] [block_ptr] Works on MSVC + Boost.Pool bug
From: Phil Bouchard (philippeb8_at_[hidden])
Date: 2016-02-14 22:35:08


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:

      Project2.exe!boost::simple_segregated_storage<unsigned
int>::try_malloc_n(void * & start, unsigned int n, unsigned int
partition_size) Line 333 C++
      Project2.exe!boost::simple_segregated_storage<unsigned
int>::malloc_n(unsigned int n, unsigned int partition_size) Line 363 C++

Project2.exe!boost::pool<boost::default_user_allocator_new_delete>::ordered_malloc(unsigned
int n) Line 801 C++

Project2.exe!boost::singleton_pool<boost::detail::bp::pool,1,boost::default_user_allocator_new_delete,boost::details::pool::null_mutex,32,0>::ordered_malloc(const
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:
https://github.com/philippeb8/block_ptr/blob/master/example/block_ptr_test2.cpp

Thanks,
-Phil


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk