Crashes on Mac OS X
|Reported by:||SF/piusii||Owned by:||fingolfin|
|Cc:||Game:||Beneath a Steel Sky|
BASS crashes in Mac OS X. I'm using a current (11.7.2003) cvs snapshot, BASS version v0.0288 (1404 dnr entries). The crash happens while loading the game, "*** malloc: error for object 0x28e5720: Incorrect checksum for freed object - object was probably modified after being freed; break at szone_error
Program received signal EXC_BAD_ACCESS, Could not access memory." relevant stack backtrace: #0 0x90004288 in free_list_remove_ptr () #1 0x90003f40 in szone_free () #2 0x0009b9c0 in free_check(void*) (ptr=0x0) at common/main.cpp:261 #3 0x00086fcc in SkyDisk::loadFile(unsigned short, unsigned char*) (this=0x1e6c0c0, fileNr=12310, dest=0xbfffdb00 "") at sky/disk.cpp:203 #4 0x0008cf48 in SkyMouse::SkyMouse(OSystem*, SkyDisk*) (this=0xd55c40, system=0x0, skyDisk=0x1) at sky/mouse.cpp:95 #5 0x0008ceb8 in SkyMouse::SkyMouse(OSystem*, SkyDisk*) (this=0x0, system=0x0, skyDisk=0x1) at sky/mouse.cpp:80 #6 0x0007f090 in SkyState::initialise() (this=0x1e62a40) at sky/sky.cpp:203 #7 0x0007eb18 in SkyState::go() (this=0x1e62a40) at sky/sky.cpp:116 #8 0x0009b4d4 in SDL_main (argc=1, argv=0x9e5760) at common/main.cpp:230
This doesn't happen under Windows (with the same data files). No idea about Linux/PPC. I can reproduce this crash since more than a month, but since BASS has only just been declared supported...
Ticket imported from: #769734. Ticket imported from: bugs/976.