Jump to content

Debug Assertion Failed


Recommended Posts

Posted

Hello everyone
 

Im trying to run compiled openjk.x86.exe and im getting "Debug Assertion Failed".

Im using VS 2012

It says:

 

File: f:\dd\vctools\crt_bld\self_x86\crt\src\isctype.c

Line: 56

 

Expression: c >= -1 && c <= 255

If i press 'Skip' few times game will run and work as it must.
How can i fix this? : o

 

Posted

Don't compile a debug build. Choose release from the dropdown in the toolbar.

 

Also the assert likely means someone has an out of range character in a name or something to that effect?  (A full callstack is required to determine this)

 

What language are you running the game in?

ewardd likes this
Posted

Make sure the paths you have for the game are not unicode.

 

Assert failed isn't a crash or anything in this case (and its not even in openjk code, its in the C runtime for VS).

 

Stop running Debug compile, use a release build instead and see what happens.

Posted

If an assertion has triggered then it's a really bad idea to ignore it, especially if it's coming from the C runtime. You probably want to go up the call stack until you reach OpenJK and see what it's calling, and with what input.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...