This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: mt_allocator (rev 1.28) has static initilization problems?
On Tue, May 18, 2004 at 07:11:58PM +0200, Paolo Carlini wrote:
> Brad Spencer wrote:
>
> >IIRC, the _S_options are stuck at zero, but when you call allocate()
> >it tries to use those zeros to initialize _S_binmap and so on. That
> >"works", but doesn't make the proper _S_binmap, etc, and it ends up
> >crashing in deallocate().
> >
> Ah, ok, now I understand the whole picture of your problem.
I've got a couple of ideas on how to fix this; I'll try them out this
coming week and report back.
--
------------------------------------------------------------------
Brad Spencer - spencer@infointeractive.com - "It's quite nice..."
Systems Architect | InfoInterActive Corp. | A Canadian AOL Company