Home » PLAYER'S HQ 1.13 » JA2 Complete Mods & Sequels » Stracciatella Project (Platform Independent JA2) » Crash when going into tactical screen on mine sectors
Re: Crash when going into tactical screen on mine sectors[message #250604] Wed, 28 April 2010 22:48 Go to previous messageGo to previous message
bbun is currently offline bbun

 
Messages:74
Registered:April 2004
Location: Amsterdam
So this fix works, but my game crashed again today, entering a sector (meduna airport).

HOWEVER, it seems this is because of a TOTALLY DIFFERENT issue. Would love someone's idea about this.

Stack:

The game crashes in the function
FloorAtGridNo [WorldDef.cc]
called from
LoadRottingCorpsesFromTempCorpseFile [Tactical_Save.cc]
called from
LoadCurrentSectorsInformationFromTempItemsFile [Tactical_Save.cc]

bool FloorAtGridNo(UINT32 const map_idx)
{
	DebugMsg(TOPIC_JA2, DBG_LEVEL_0, String("MAP_IDX: %d", map_idx));
	for (LEVELNODE const* i = gpWorldLevelData[map_idx].pLandHead; i;)
	{
		DebugMsg(TOPIC_JA2, DBG_LEVEL_0, String("i->usIndex: %d", i->usIndex));


The DebugMsg calls are mine. Game crashes between those, so I assume gpWorldLevelData[map_idx].pLandHead causes the Segmentation Fault by faulty access.

This happens for map_idx 25601 => gpWorldLevelData[25601].pLandHead => Crash


Anyone? Idea's?

Report message to a moderator

Corporal
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Bus Error @ Tactical screen
Next Topic: Bug: looking for enemies in adjacent sectors
Goto Forum:
  


Current Time: Sat Jan 11 01:57:41 GMT+2 2025

Total time taken to generate the page: 0.01190 seconds