Skip to main content
gamedev.net
🔒 Locked

Stack over flow on a function call

Started by cow_in_the_well Jun 24, 2000 at 8:22 PM 4 replies 500+ views
deadlinegrunt
deadlinegrunt
You really need to show a little more code in order for me to help. My questions to you would be:

Is this in any template function/class?
What is the routine calling it? ( Is the recursion there? )

The snippet you show doesn''t really cause any problems that I can think of. I can''t imagine any condition that would cause those 3 lines to chunder on you by themselves alone.

goodluck
~deadlinegrunt
cow_in_the_well
cow_in_the_well
okay...its not called recursively. its called when you press L and it displays an Open Dialog. its not in a class.
i don''t understand it either cause it was working previously, then i changed a few things that are independant of this function and it started showing this error.


-----------------------------
-cow_in_the_well

http://cowswell.gda.ods.org/
deadlinegrunt
deadlinegrunt
Unwind your callstack and look for bugs prior to the exception instead of the point in which it is thrown. That''s all the advice I can give so far. Anyone else?

YAP YFIO,
deadlinegrunt
~deadlinegrunt
Shannon Barber
Shannon Barber
I think the compiler is lying to you. (Don''t laugh it happens!)
Try creating a new project and executing that code with as little extra stuff as needed... and see if it still blows up
The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara
ranxact
ranxact


Make sure you aren''t useing a bad pointer or exceeding the bounds on an array, and writing to bad memory location somewhere else in the code.. this will produce ramdom errors as such.

Just a thought...
RanXacT

RanXact@yahoo.com

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.