fatal error

Help regarding development/scripting, troubleshooting or just general gameplay -- anything that hasn't already been answered in the Wiki or pinned FAQs.

Moderator: Developers

Post Reply
jofadda
Acid Blob (New member)
Acid Blob (New member)
Posts: 5
Joined: Sat Jun 16, 2012 6:37 am

fatal error

Post by jofadda »

when i try to run multiplayer, i get this error
****A math operation resulted in an invalid result (NAN)****
("c:\users\johan jansen\programmering\egoboo2.8.x\game\egoboo_math.inl" -623)
so is there a fix and if so, what is it?
User avatar
penguinflyer5234
Sheep (Developer)
Sheep (Developer)
Posts: 3025
Joined: Wed Jul 23, 2008 1:39 am
Location: Best Southwest

Re: fatal error

Post by penguinflyer5234 »

Hmm... between rev1473 and rev1538, sounds like 2.8.1
Spoiler: code in question
[code]# define LOG_NAN(XX) if( ieee32_bad(XX) ) log_error( "**** A math operation resulted in an invalid result (NAN) ****\n (\"%s\" - %d)\n", __FILE__, __LINE__ );
static INLINE float fvec3_length_abs( const fvec3_base_t A )
{
float retval;

if ( NULL == A ) return 0.0f;

retval = ABS( A[kX] ) + ABS( A[kY] ) + ABS( A[kZ] );

LOG_NAN( retval ); // Error's here

return retval;
}[/code]
I suspect some memory corruption :| Nothing really can be done; could you try 2.8.2 or 2.9.0 RC 1 and see if that fixes it?

(It's technically not logged as fatal, but can do some unexpected things)
...
jofadda
Acid Blob (New member)
Acid Blob (New member)
Posts: 5
Joined: Sat Jun 16, 2012 6:37 am

Re: fatal error

Post by jofadda »

i am currently using 2.8.2 version, and this only happens with more than one player, could it be a problem with two players using the keyboard setting with different controls? or is it something that cant be fixed at all currently?
Post Reply