This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: STL mt_allocator crash in global construcutor


Neil Bird wrote:

> Around about 05/12/05 16:27, Neil Bird typed ...
>
>>   FC4, g++ (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8)
>> ... I'm getting a crash immediately at start-up in mt_allocator.h,
>> within
>> _M_adjust_freelist:
>
>   I've just tried the latest 4.1 snapshot.  I now get past the point
> in my full build where the crash occurs with 4.0.2, and my cut down
> test now passes, however, the problem's still around because I only
> hit the same crash a library further on.

You mean, a default configured 4.1 snapshot? By default, 4.1 (or FSF
4.0.x, for that matter), does *not* use mt_allocator. The default is
simply the so-called "new allocator", which just forwards to new/delete.
It's hard to imagine something more robust and stable in that area: if
you still experiencing problems must be something entirely different...

Paolo.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]