Oh no! What could this error mean?

This is a discussion on Oh no! What could this error mean? within the C Programming forums, part of the General Programming Boards category; I got a test file and a header file. I made the header file. My friend made the test file. ...

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    24

    Oh no! What could this error mean?

    I got a test file and a header file. I made the header file.

    My friend made the test file. theoretically, my header file SHOULD work for it!(his file has no errors, and his header file(which used the same function names) worked perfectly)

    It compiles just fine. but when I run I get this error.

    0 [main] A 1000 handle_exceptions: Exception: STATUS_STACK_OVERFLOW
    1082 [main] A 1000 stackdump: Dumping stack trace to A.EXE.stackdump

    What does this mean? What kind of error is that and what can one do to fix it?

  2. #2
    Registered User pinko_liberal's Avatar
    Join Date
    Oct 2001
    Posts
    284
    OS , Complier ?????

  3. #3
    Registered User
    Join Date
    Oct 2001
    Posts
    24
    sory,

    windows 98, jGrasp

  4. #4
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    My guess is that a "Bad Thing(TM)" just happened.

    Perhaps if you gave us a bit of sample code, we may be able to narrow it down.

    What is basicly happening, is that you're running out of stack space. Try this (actually, on a Win9x box, this may take a while...):
    Code:
    #include <stdlib.h>
    int nuke(  )
    {
       int *x =  malloc( sizeof(int) * 1024 );
       return nuke( );
    }
    int main ( void )
    {
       return nuke( );
    }
    MSVC++ Debugger gives me:
    "Unhandled exception. Stack overflow." Plus a bit of hex, kernel32.dll, etc...

    Quzah.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21