This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: STL mt_allocator crash in global construcutor
- From: Paolo Carlini <pcarlini at suse dot de>
- To: Neil Bird <neil at fnxweb dot com>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Tue, 06 Dec 2005 15:30:22 +0100
- Subject: Re: STL mt_allocator crash in global construcutor
- References: <43946A72.2090100@fnxweb.com> <43959CF6.6060204@fnxweb.com>
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.