Thread: Why this would have error???

  1. #1
    Help
    Guest

    Why this would have error???

    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~

  2. #2
    Unregistered
    Guest
    Thats for DOS right?
    Cause im no expert on this but NT/XP/ME doesnt have a real DOS

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting an error with OpenGL: collect2: ld returned 1 exit status
    By Lorgon Jortle in forum C++ Programming
    Replies: 6
    Last Post: 05-08-2009, 08:18 PM
  2. An error is driving me nuts!
    By ulillillia in forum C Programming
    Replies: 5
    Last Post: 04-04-2009, 09:15 PM
  3. Making C DLL using MSVC++ 2005
    By chico1st in forum C Programming
    Replies: 26
    Last Post: 05-28-2008, 01:17 PM
  4. Connecting to a mysql server and querying problem
    By Diod in forum C++ Programming
    Replies: 8
    Last Post: 02-13-2006, 10:33 AM
  5. Couple C questions :)
    By Divx in forum C Programming
    Replies: 5
    Last Post: 01-28-2003, 01:10 AM