Log in

View Full Version : Incorrect checksum for freed object


sgqwonkian
April 30th, 2008, 08:16 PM
The most recent crash had the following error messages just after the list of fleets it had chosen:

Fatal signal: Segmentation Fault (SDL Parachute Deployed)
*** malloc[431]: error for object 0x2a9d800: Incorrect checksum for freed object - object was probably modified after being freed; break at szone_error
*** malloc[431]: error for object 0x2a2d600: Incorrect checksum for freed object - object was probably modified after being freed; break at szone_error
Fatal signal: Bus Error (SDL Parachute Deployed)
Killed



Anyone know what that means? Any pointers on how I can avoid an Incorrect checksum for a freed object? I don't remember freeing any objects. http://forum.shrapnelgames.com/images/smilies/confused.gif It's all urluquaian to me.

Fingers
May 30th, 2008, 06:13 PM
This error message isn't one of mine although no doubt the bug is... It sounds like some code is modifying memory that it shouldn't. This is usually caused by a buffer overflow. You could try increasing the max fleet and ship numbers in the numbers.ini.

sgqwonkian
June 9th, 2008, 08:16 PM
I'll give it a shot. Thanks for the suggestion.