Advertisement

stackSize assertion, as_bytecode.cpp, line 231

Started by April 04, 2009 01:45 PM
1 comment, last by WitchLord 15 years, 7 months ago
Assert like this http://www.gamedev.net/community/forums/topic.asp?topic_id=508451 Assertion failed: instr->stackSize == stackSize, file ..\..\source\as_bytecode.cpp, line 231 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. WinXP x86. Reproduce: class Some{} void Func(Some@ some) { if(@some==null) return; Func_(null); } void Func_(uint i) { }
Thanks for the report. I'll look into this.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Advertisement
The compiler was incorrectly performing an implicit conversion of null to uint, it should have given an error instead. That was the cause of the stackSize assert failure.

I've checked in the fix for this now.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

This topic is closed to new replies.

Advertisement