Hi,
i am running soruce code with the gcc 4.7.3 it working fine
when run with gcc 4.8.2 it get seg fault
the linux redhat version is : Red Hat Enterprise Linux Server release 6.4 (Santiago)
Error :-
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x000000000040a271 in ?? ()
(gdb) bt
#0 0x000000000040a271 in ?? ()
#1 0x00002b5ac921ebf0 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#2 0x00002b5ac968f182 in start_thread (arg=0x2b5aca975700) at pthread_create.c:312
#3 0x00002b5ac999fefd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
--
Thanks and Regards
Sunil Kumar
Open Futures
New Delhi.
Land line - 011-46662024