==2341== Memcheck, a memory error detector. ==2341== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al. ==2341== Using LibVEX rev 1313, a library for dynamic binary translation. ==2341== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP. ==2341== Using valgrind-3.0.0, a dynamic binary instrumentation framework. ==2341== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. ==2341== For more details, rerun with: -v ==2341== vex x86->IR: unhandled instruction bytes: 0xF 0x11 0x4 0x24 audio_alsa: no cards found! ==2378== Invalid free() / delete / delete[] ==2378== at 0x1B8FE570: free (vg_replace_malloc.c:235) ==2378== by 0x1BD134DB: free_mem (in /lib/libc-2.3.2.so) ==2378== by 0x1BD13248: __libc_freeres (in /lib/libc-2.3.2.so) ==2378== by 0x1B8FA8B0: _vgw_freeres (vg_preloaded.c:62) ==2378== by 0x1BF1CCCC: esd_open_sound (in /usr/lib/libesd.so.0.2.34) ==2378== by 0x1BA53740: (within /usr/lib/libSDL-1.2.so.0.7.0) ==2378== by 0x1BA4E692: SDL_AudioInit (in /usr/lib/libSDL-1.2.so.0.7.0) ==2378== by 0x1BA4D4DA: SDL_InitSubSystem (in /usr/lib/libSDL-1.2.so.0.7.0) ==2378== by 0x1BA4D556: SDL_Init (in /usr/lib/libSDL-1.2.so.0.7.0) ==2378== by 0x8050DBB: OSystem_SDL::initBackend() (sdl.cpp:54) ==2378== by 0x805937D: main (main.cpp:430) ==2378== Address 0x1BAD3F00 is not stack'd, malloc'd or (recently) free'd ==2378== ==2378== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 85 from 3) ==2378== malloc/free: in use at exit: 272339 bytes in 5526 blocks. ==2378== malloc/free: 7889 allocs, 2364 frees, 628986 bytes allocated. ==2378== For counts of detected errors, rerun with: -v ==2378== searching for pointers to 5526 not-freed blocks. ==2378== checked 2571704 bytes. ==2378== ==2378== LEAK SUMMARY: ==2378== definitely lost: 59 bytes in 2 blocks. ==2378== possibly lost: 17016 bytes in 302 blocks. ==2378== still reachable: 255264 bytes in 5222 blocks. ==2378== suppressed: 0 bytes in 0 blocks. ==2378== Use --leak-check=full to see details of leaked memory. ==2341== Syscall param write(buf) points to uninitialised byte(s) ==2341== at 0x1BADFDFB: write (in /lib/libpthread-0.10.so) ==2341== by 0x1BADBAED: pthread_create@@GLIBC_2.1 (in /lib/libpthread-0.10.so) ==2341== by 0x1BA97666: SDL_SYS_CreateThread (in /usr/lib/libSDL-1.2.so.0.7.0) ==2341== by 0x1BA97492: SDL_CreateThread (in /usr/lib/libSDL-1.2.so.0.7.0) ==2341== by 0x1BA98642: SDL_SYS_TimerInit (in /usr/lib/libSDL-1.2.so.0.7.0) ==2341== by 0x1BA97FC5: SDL_TimerInit (in /usr/lib/libSDL-1.2.so.0.7.0) ==2341== by 0x1BA4D494: SDL_InitSubSystem (in /usr/lib/libSDL-1.2.so.0.7.0) ==2341== by 0x1BA4D556: SDL_Init (in /usr/lib/libSDL-1.2.so.0.7.0) ==2341== by 0x8050DBB: OSystem_SDL::initBackend() (sdl.cpp:54) ==2341== by 0x805937D: main (main.cpp:430) ==2341== Address 0x52BFE5C0 is on thread 1's stack ==2341== ==2341== Syscall param write(buf) points to uninitialised byte(s) ==2341== at 0x1BADFDFB: write (in /lib/libpthread-0.10.so) ==2341== by 0x1BA97666: SDL_SYS_CreateThread (in /usr/lib/libSDL-1.2.so.0.7.0) ==2341== by 0x1BA97492: SDL_CreateThread (in /usr/lib/libSDL-1.2.so.0.7.0) ==2341== by 0x1BA98642: SDL_SYS_TimerInit (in /usr/lib/libSDL-1.2.so.0.7.0) ==2341== by 0x1BA97FC5: SDL_TimerInit (in /usr/lib/libSDL-1.2.so.0.7.0) ==2341== by 0x1BA4D494: SDL_InitSubSystem (in /usr/lib/libSDL-1.2.so.0.7.0) ==2341== by 0x1BA4D556: SDL_Init (in /usr/lib/libSDL-1.2.so.0.7.0) ==2341== by 0x8050DBB: OSystem_SDL::initBackend() (sdl.cpp:54) ==2341== by 0x805937D: main (main.cpp:430) ==2341== Address 0x52BFE6BC is on thread 1's stack ==2341== Warning: bad signal number 0 in sigaction() Looking for ite Trying to start game 'Inherit the Earth' WARNING: Could not open audio device: No available audio device! WARNING: Sound initialization failed.! ==2341== ==2341== Invalid read of size 1 ==2341== at 0x1B8FFA30: memcpy (mac_replace_strmem.c:392) ==2341== by 0x80AF4FB: Common::MemoryReadStream::read(void*, unsigned) (stream.h:283) ==2341== by 0x806AC99: Common::ReadStream::readByte() (stream.h:148) ==2341== by 0x8232F43: Saga::Sprite::decodeRLEBuffer(unsigned char const*, unsigned, unsigned) (sprite.cpp:370) ==2341== by 0x82325FA: Saga::Sprite::loadList(int, Saga::SpriteList&) (sprite.cpp:128) ==2341== by 0x82396F1: Saga::Actor::loadActorResources(Saga::ActorData*) (actor.cpp:359) ==2341== by 0x8238EB5: Saga::Actor::Actor(Saga::SagaEngine*) (actor.cpp:251) ==2341== by 0x822490F: Saga::SagaEngine::init(GameDetector&) (saga.cpp:211) ==2341== by 0x8058F97: runGame(GameDetector&, OSystem&) (main.cpp:305) ==2341== by 0x80594B6: main (main.cpp:456) ==2341== Address 0x1C4AC93B is 0 bytes after a block of size 65267 alloc'd ==2341== at 0x1B8FDA7B: malloc (vg_replace_malloc.c:149) ==2341== by 0x825F7CB: Saga::Resource::loadResource(Saga::ResourceContext*, unsigned, unsigned char*&, unsigned&) (rscfile.cpp:418) ==2341== by 0x82322FF: Saga::Sprite::loadList(int, Saga::SpriteList&) (sprite.cpp:77) ==2341== by 0x82396F1: Saga::Actor::loadActorResources(Saga::ActorData*) (actor.cpp:359) ==2341== by 0x8238EB5: Saga::Actor::Actor(Saga::SagaEngine*) (actor.cpp:251) ==2341== by 0x822490F: Saga::SagaEngine::init(GameDetector&) (saga.cpp:211) ==2341== by 0x8058F97: runGame(GameDetector&, OSystem&) (main.cpp:305) ==2341== by 0x80594B6: main (main.cpp:456) WARNING: Frame List ID = 0 for actor index 177! WARNING: Frame List ID = 0 for actor index 178! WARNING: Frame List ID = 0 for actor index 179!