abort/segfault in CVS main

Stefan Olsson stefan@xapa.se
Fri Feb 6 17:02:00 GMT 2004


Hi,

I might have a complete meltdown this late friday and miss the obvious, 
but after the recent changes to mt allocator (interface to allocate etc) 
my simple testapplication (see attached file) does not work anymore:
terminate called after throwing an instance of 'terminate called after 
throwing an instance of 'std::bad_alloc'
std::bad_alloc'
  what():  St9bad_alloc
  what():  St9bad_alloc
Aborted

Sometimes it segfaults...
The original test program (that in a modified version now is part of the 
testsuite) runs just fine however.

I have no idea why? Help? I have done a "cvs update" and a full "make 
bootstrap" just to be sure...

Btw: The malloc_allocator also complains about missning declarations 
(for malloc and free) just like the version of mt_allocator currently in 
cvs. See patch in an earlier email from me today.

Brgds

/Stefan
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: comp.cpp
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20040206/796fc099/attachment.ksh>


More information about the Libstdc++ mailing list