I have written a piece of source code running on Cygwin. It works well on the Win 98 platform. However, when the Cygwin is installed on Win XP, it have error.
What is going on? I have use the debugger to debug it. I found that the simple statement:
ifstream ifd;
ifd.open(filename);
Creates segmentation fault.
The whole error message is that:
Program received signal SIGSEGV, Segmentation Fault.
0x61054e32 in _size_of_stack_reserve_ ()
I dont know why this would happen. Can anyone help? Thanks~