Monday, July 27, 2009

Programming C problem?

I've been working on a program.... but whenever I compile it and run it, it keeps giving me this weird error. It exits afterwards.


It says....


"5 [main] a 3248 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack)


Segmentation fault (core dumped)"


This happened after I used if else statement on everything inside the main.





Please help!

Programming C problem?
probably stack is overflowing or u have to select a appropriate memory model. Check what SP %26amp; SS are pointing to using watch in the debugger
Reply:Have you tried reducing the rear stack load?
Reply:If you post your code, it would be much easier to know. The above are blind guesses.


No comments:

Post a Comment