On Tue, Jun 25, 2002 at 03:36:50PM +0900, R. Lahaye wrote: > > What compiler, what machine was that? > > FreeBSD 4.5-RELEASE i386 / GNU project C and C++ Compiler (gcc-2.95.3)
I have the same compiler, Linux though, but that should really make no difference. > On another Linux (Mandrake 8.0) PC the SIGSEGV is not there: > > Linux 2.4.3-20mdk i686 / GNU project C++ Compiler 2.96 *shrug* > Does that help? > If you've just got any ideas why? No. Really not. I have some suspicion that the 2.95 std::strings are not really kosher, I have sometimes code which "obviously should work" that crashes mysteriously. std::valarray<std::string> is one of my favourites. There are usually work arounds by changing a line or two, putting local strings in a larger scope and things like that but without being able to reproduce the crash this is difficult. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)