Hello all,
I've got a program that works on my local machine:
g++ (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
It also works when I compile it under Visual C++ and IBM's xlC
compiler. When, I re-compile it on my web server's machine, which is:
g++ (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-56)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
The program loops (well, by loop, I mean it chews up the CPU) on the
web server's machine at the following point:
Program received signal SIGINT, Interrupt.
0xb7d46574 in malloc_consolidate () from /lib/tls/libc.so.6
(gdb) where
#0 0xb7d46574 in malloc_consolidate () from /lib/tls/libc.so.6
#1 0xb7d46438 in _int_free () from /lib/tls/libc.so.6
#2 0xb7d45278 in free () from /lib/tls/libc.so.6
#3 0xb7ec3223 in operator delete () from /usr/lib/libstdc++.so.5
#4 0xb7eb6bee in std::string::_Rep::_M_destroy () from
/usr/lib/libstdc++.so.5
#5 0xb7eb3dd1 in std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::~basic_string () from /usr/lib/libstdc++.so.5
#6 0x0804bdf3 in mascot::BoardFetcher::Fetch ()
#7 0x08049d2c in main ()
(gdb)
Any help would be appreciated.
_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus