Boost logo

Boost :

Subject: Re: [boost] [simple_segregated_storage] segfault
From: Chris Newbold (Chris.Newbold_at_[hidden])
Date: 2008-10-01 07:58:26


> From: boost-bounces_at_[hidden] [mailto:boost-bounces_at_[hidden]]
> On Behalf Of Phil Bouchard
> Sent: Wednesday, October 01, 2008 2:53 AM

> I have compiled the application using GCC 4.3.0 with Boost 1.35 and I got
> a
> similar crash:

With your latest updates to the shifted_ptr code I've been able to compile w/ GCC 4.1.2 and reproduce a crash; it looks a little different than the one you posted, but at least now I've got something to dig into. Stay tuned.

#0 0x000000000040378a in boost::details::PODptr<unsigned long>::next (this=0x7fff6e0ff760) at /mathworks/devel/sandbox/cnewbold/boost-trunk/boost/pool/pool.hpp:121
#1 0x0000000000404194 in boost::pool<boost::default_user_allocator_new_delete>::find_POD (this=0x52fe60, chunk=0x531470)
    at /mathworks/devel/sandbox/cnewbold/boost-trunk/boost/pool/pool.hpp:576
#2 0x00000000004041f5 in boost::pool<boost::default_user_allocator_new_delete>::is_from (this=0x52fe60, chunk=0x531470)
    at /mathworks/devel/sandbox/cnewbold/boost-trunk/boost/pool/pool.hpp:276
#3 0x000000000040ee85 in boost::detail::sh::shifted_ptr<node>::operator=<node> (this=0x7fff6e0ff8b0, p=0x533490) at ../../../boost/shifted_ptr.hpp:217
#4 0x00000000004108fc in list::insert (this=0x7fff6e0ff8a0) at shifted_ptr_test2.cpp:49
#5 0x00000000004017c0 in main () at shifted_ptr_test2.cpp:85

-Chris


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