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: mt_allocator (rev 1.28) has static initilization problems?


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.


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