weirdo problem: segfault in locale::_Impl

Rob Taylor robt@flyingpig.com
Wed Jun 14 10:00:00 GMT 2000


this must be some configuration problem I'm having here, but I cant figure out
what's happeing at all..

the program I'm compiling is

#include <iostream>
#include <stdlib.h>

int main(int argc, char *argv[])
{
  std::cout << "Hello World\n" << std::endl;
  return 1;
}

with
g++ main.c -o main
(doent get more simple a case, huh?!)

and i get a segfault in locale::_Impl::facet::_M_install_facet(const locale::id
*__idp, facet *__fp)
due to __index into (*_M_facets) being out of range. __index =
++locale::id::_S_highwater.
anyone got any clue what I've done to break things so badly??!


Thanks,
Rob Taylor
Flying Pig Systems



More information about the Libstdc++ mailing list