|
Boost : |
Subject: Re: [boost] [simple_segregated_storage] segfault
From: Phil Bouchard (philippe_at_[hidden])
Date: 2008-10-01 00:26:08
"Chris Newbold" <Chris.Newbold_at_[hidden]> wrote in message
news:6F6A2FC198A0F943ACC2259C38A2E30B6B6FB4BD92_at_EXCHANGE-AH.ad.mathworks.com...
>> From: boost-bounces_at_[hidden]
>> [mailto:boost-bounces_at_[hidden]]
>> On Behalf Of Phil Bouchard
>> Sent: Tuesday, September 30, 2008 4:04 AM
>
>> I just tried the same problem today on Linux but using the latest Boost
>> 1.36
>> and I had the exact same crash.
>
> Hmm. What version of GCC are you using?
>
> One thing I found is that your shifted_ptr_test2 would not compile with
> the version of GCC I'm using (4.1.2) unless I moved the patches to
> list.tcc and stl_list.h out of the way.
>
> Are those patches "required"?
I'm using version 3.4.5. The patches are required to make the pool crash,
yes. All allocations end up using order_malloc() so this function causes
problems.
I will try out GCC 4...
-Phil
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk