[mohaa] (fixed) 2.15 Spearhead server.

Ryan C. Gordon icculus at clutteredmind.org
Tue Mar 18 22:22:35 EST 2003


> Cant tell u if its a linux thing dont have the win32 version. Just went
> to try some of the offending maps ( obj/dasboot is one ) on a test
> server ( beta had expired ) updated to 2.15Beta5 and it no longer
> crashes :) just get the following, not sure if this will cause an issue
> with the client but this doesnt happen with mohaa_lnxded:

There was some horrible memory corruption before beta5 due to a symbol
clash. It's something like this:

class Event
{
   int a;
#ifdef GAME_DLL
   int b;
#endif

#ifdef CGAME_DLL
   //some other stuff
#endif
}

So "Events" are different sizes depending on what DLL is using them, and
the main binary uses a third type. They aren't SUPPOSED to overlap, but
for various reasons, GCC ended up passing all of them through the same
memory pool allocator in the main binary, which expected them to have a
fixed size (the size of the version in the main binary), which means all
sorts of memory was getting trampled, as events are somewhat central to
MOHAA.

Before beta5, all bets are off. Any crashes previously reported should be
considered fixed unless they happen again in this version.

> SkeletorCacheFileCallback: Could not open binary file
> 'newanim/models/player/allied_oss.skc' or 'models/player/allied_oss.skc'

These happen on the win32 version, too. Ignore them.

--ryan.






More information about the Mohaa mailing list