Skip to main content
GameDev.net gamedev.net
🔒 Locked

Assertion Failure

Started by Shannon Barber Jun 27, 2000 at 8:01 PM 1 replies 300+ views
Original Post
Shannon Barber
Shannon Barber
Whay typically causes an Assertion Failure? I''m getting one when I try to delete a node in a threaded tree... and it''s not a null pointer... I''ve used this same code before... not with windows though
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
Kylotan
Kylotan
quote:
Original post by Magmai Kai Holmlor

Whay typically causes an Assertion Failure?

I''m getting one when I try to delete a node in a threaded tree...
and it''s not a null pointer...
I''ve used this same code before... not with windows though


What kind of ''assertion failure''? Does it say something like "DAMAGE after normal block" or something similar? That would be the MSVC memory deallocation routine telling you that you''re deleting something you shouldn''t.
Shannon Barber
Shannon Barber
Thanks, I was trying to delete something off the stack


I thought it was a compiler error...
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

Topic Locked

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

Sign in to reply to this topic.