mt_allocator (rev 1.28) has static initilization problems?
Paolo Carlini
pcarlini@suse.de
Tue May 18 17:11:00 GMT 2004
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.
What I reported earlier today is definitely different, due to that
__n = 245, even more mysterious, if possible.
Thanks for now,
Paolo.
More information about the Libstdc++
mailing list