==2073== Memcheck, a memory error detector. ==2073== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al. ==2073== Using LibVEX rev 1471, a library for dynamic binary translation. ==2073== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP. ==2073== Using valgrind-3.1.0, a dynamic binary instrumentation framework. ==2073== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. ==2073== For more details, rerun with: -v ==2073== --2073-- DWARF2 CFI reader: unhandled CFI instruction 0:50 --2073-- DWARF2 CFI reader: unhandled CFI instruction 0:50 --2073-- DWARF2 CFI reader: unhandled CFI instruction 0:50 --2073-- DWARF2 CFI reader: unhandled CFI instruction 0:50 ALSA lib confmisc.c:560:(snd_determine_driver) could not open control for card 0ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device or address ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_concat returned error: No such device or address ALSA lib confmisc.c:955:(snd_func_refer) error evaluating name ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_refer returned error: No such device or address ALSA lib conf.c:3948:(snd_config_expand) Evaluate error: No such device or address ALSA lib pcm.c:2090:(snd_pcm_open_noupdate) Unknown PCM default ALSA lib confmisc.c:560:(snd_determine_driver) could not open control for card 0ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device or address ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_concat returned error: No such device or address ALSA lib confmisc.c:955:(snd_func_refer) error evaluating name ALSA lib conf.c:3479:(_snd_config_evaluate) function snd_func_refer returned error: No such device or address ALSA lib conf.c:3948:(snd_config_expand) Evaluate error: No such device or address ALSA lib pcm.c:2090:(snd_pcm_open_noupdate) Unknown PCM default ==2130== Invalid free() / delete / delete[] ==2130== at 0x401BF6C: free (vg_replace_malloc.c:235) ==2130== by 0x43F1F4B: free_mem (in /lib/tls/libc-2.3.5.so) ==2130== by 0x43F1A14: __libc_freeres (in /lib/tls/libc-2.3.5.so) ==2130== by 0x401738C: _vgw_freeres (vg_preloaded.c:62) ==2130== by 0x41F0C92: esd_open_sound (in /usr/lib/libesd.so.0.2.36) ==2130== by 0x417E970: (within /usr/lib/libSDL-1.2.so.0.7.2) ==2130== by 0x41783F2: SDL_AudioInit (in /usr/lib/libSDL-1.2.so.0.7.2) ==2130== by 0x417724A: SDL_InitSubSystem (in /usr/lib/libSDL-1.2.so.0.7.2) ==2130== by 0x41772C6: SDL_Init (in /usr/lib/libSDL-1.2.so.0.7.2) ==2130== by 0x8050F32: OSystem_SDL::initBackend() (sdl.cpp:57) ==2130== by 0x805998A: main (main.cpp:435) ==2130== Address 0x42F48A0 is not stack'd, malloc'd or (recently) free'd ==2130== ==2130== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 92 from 3) ==2130== malloc/free: in use at exit: 376,962 bytes in 10,426 blocks. ==2130== malloc/free: 14,887 allocs, 4,462 frees, 756,134 bytes allocated. ==2130== For counts of detected errors, rerun with: -v ==2130== searching for pointers to 10,426 not-freed blocks. ==2130== checked 1,431,840 bytes. ==2130== ==2130== LEAK SUMMARY: ==2130== definitely lost: 13,114 bytes in 427 blocks. ==2130== possibly lost: 22,548 bytes in 407 blocks. ==2130== still reachable: 341,300 bytes in 9,592 blocks. ==2130== suppressed: 0 bytes in 0 blocks. ==2130== Use --leak-check=full to see details of leaked memory. Looking for gob1 Trying to start game 'Gobliiins' WARNING: Could not open audio device: No available audio device! WARNING: Sound initialization failed.! WARNING: Couldn't open drive: Invalid CD-ROM drive index! WARNING: STUB: Video::initDriver! ==2073== Invalid read of size 1 ==2073== at 0x82C8712: Gob::Video::setFullPalette(Gob::Video::PalDesc*) (video.cpp:364) ==2073== by 0x82C89B2: Gob::Video::initPrimary(short) (video.cpp:410) ==2073== by 0x82B077A: Gob::Init::initGame(char*) (init.cpp:167) ==2073== by 0x82A6D9D: Gob::GobEngine::go() (gob.cpp:267) ==2073== by 0x80594E5: runGame(GameDetector&, OSystem&) (main.cpp:310) ==2073== by 0x8059AC3: main (main.cpp:461) ==2073== Address 0x46D88C4 is 0 bytes after a block of size 2,748 alloc'd ==2073== at 0x401B802: operator new(unsigned) (vg_replace_malloc.c:164) ==2073== by 0x82A6F9E: Gob::GobEngine::init(GameDetector&) (gob.cpp:280) ==2073== by 0x80594C7: runGame(GameDetector&, OSystem&) (main.cpp:306) ==2073== by 0x8059AC3: main (main.cpp:461) ==2073== ==2073== Invalid read of size 1 ==2073== at 0x82C86C9: Gob::Video::setFullPalette(Gob::Video::PalDesc*) (video.cpp:362) ==2073== by 0x82C89B2: Gob::Video::initPrimary(short) (video.cpp:410) ==2073== by 0x82B077A: Gob::Init::initGame(char*) (init.cpp:167) ==2073== by 0x82A6D9D: Gob::GobEngine::go() (gob.cpp:267) ==2073== by 0x80594E5: runGame(GameDetector&, OSystem&) (main.cpp:310) ==2073== by 0x8059AC3: main (main.cpp:461) ==2073== Address 0x46D88C5 is 1 bytes after a block of size 2,748 alloc'd ==2073== at 0x401B802: operator new(unsigned) (vg_replace_malloc.c:164) ==2073== by 0x82A6F9E: Gob::GobEngine::init(GameDetector&) (gob.cpp:280) ==2073== by 0x80594C7: runGame(GameDetector&, OSystem&) (main.cpp:306) ==2073== by 0x8059AC3: main (main.cpp:461) ==2073== ==2073== Invalid read of size 1 ==2073== at 0x82C86ED: Gob::Video::setFullPalette(Gob::Video::PalDesc*) (video.cpp:363) ==2073== by 0x82C89B2: Gob::Video::initPrimary(short) (video.cpp:410) ==2073== by 0x82B077A: Gob::Init::initGame(char*) (init.cpp:167) ==2073== by 0x82A6D9D: Gob::GobEngine::go() (gob.cpp:267) ==2073== by 0x80594E5: runGame(GameDetector&, OSystem&) (main.cpp:310) ==2073== by 0x8059AC3: main (main.cpp:461) ==2073== Address 0x46D88C6 is 2 bytes after a block of size 2,748 alloc'd ==2073== at 0x401B802: operator new(unsigned) (vg_replace_malloc.c:164) ==2073== by 0x82A6F9E: Gob::GobEngine::init(GameDetector&) (gob.cpp:280) ==2073== by 0x80594C7: runGame(GameDetector&, OSystem&) (main.cpp:306) ==2073== by 0x8059AC3: main (main.cpp:461) ==2073== ==2073== Invalid read of size 1 ==2073== at 0x82C87C3: Gob::Video::setFullPalette(Gob::Video::PalDesc*) (video.cpp:370) ==2073== by 0x82C89B2: Gob::Video::initPrimary(short) (video.cpp:410) ==2073== by 0x82B077A: Gob::Init::initGame(char*) (init.cpp:167) ==2073== by 0x82A6D9D: Gob::GobEngine::go() (gob.cpp:267) ==2073== by 0x80594E5: runGame(GameDetector&, OSystem&) (main.cpp:310) ==2073== by 0x8059AC3: main (main.cpp:461) ==2073== Address 0x46D88C4 is 0 bytes after a block of size 2,748 alloc'd ==2073== at 0x401B802: operator new(unsigned) (vg_replace_malloc.c:164) ==2073== by 0x82A6F9E: Gob::GobEngine::init(GameDetector&) (gob.cpp:280) ==2073== by 0x80594C7: runGame(GameDetector&, OSystem&) (main.cpp:306) ==2073== by 0x8059AC3: main (main.cpp:461) ==2073== ==2073== Invalid read of size 1 ==2073== at 0x82C87E0: Gob::Video::setFullPalette(Gob::Video::PalDesc*) (video.cpp:370) ==2073== by 0x82C89B2: Gob::Video::initPrimary(short) (video.cpp:410) ==2073== by 0x82B077A: Gob::Init::initGame(char*) (init.cpp:167) ==2073== by 0x82A6D9D: Gob::GobEngine::go() (gob.cpp:267) ==2073== by 0x80594E5: runGame(GameDetector&, OSystem&) (main.cpp:310) ==2073== by 0x8059AC3: main (main.cpp:461) ==2073== Address 0x46D88C4 is 0 bytes after a block of size 2,748 alloc'd ==2073== at 0x401B802: operator new(unsigned) (vg_replace_malloc.c:164) ==2073== by 0x82A6F9E: Gob::GobEngine::init(GameDetector&) (gob.cpp:280) ==2073== by 0x80594C7: runGame(GameDetector&, OSystem&) (main.cpp:306) ==2073== by 0x8059AC3: main (main.cpp:461) ==2073== ==2073== Invalid read of size 1 ==2073== at 0x82C8749: Gob::Video::setFullPalette(Gob::Video::PalDesc*) (video.cpp:368) ==2073== by 0x82C89B2: Gob::Video::initPrimary(short) (video.cpp:410) ==2073== by 0x82B077A: Gob::Init::initGame(char*) (init.cpp:167) ==2073== by 0x82A6D9D: Gob::GobEngine::go() (gob.cpp:267) ==2073== by 0x80594E5: runGame(GameDetector&, OSystem&) (main.cpp:310) ==2073== by 0x8059AC3: main (main.cpp:461) ==2073== Address 0x46D88C5 is 1 bytes after a block of size 2,748 alloc'd ==2073== at 0x401B802: operator new(unsigned) (vg_replace_malloc.c:164) ==2073== by 0x82A6F9E: Gob::GobEngine::init(GameDetector&) (gob.cpp:280) ==2073== by 0x80594C7: runGame(GameDetector&, OSystem&) (main.cpp:306) ==2073== by 0x8059AC3: main (main.cpp:461) ==2073== ==2073== Invalid read of size 1 ==2073== at 0x82C8765: Gob::Video::setFullPalette(Gob::Video::PalDesc*) (video.cpp:368) ==2073== by 0x82C89B2: Gob::Video::initPrimary(short) (video.cpp:410) ==2073== by 0x82B077A: Gob::Init::initGame(char*) (init.cpp:167) ==2073== by 0x82A6D9D: Gob::GobEngine::go() (gob.cpp:267) ==2073== by 0x80594E5: runGame(GameDetector&, OSystem&) (main.cpp:310) ==2073== by 0x8059AC3: main (main.cpp:461) ==2073== Address 0x46D88C5 is 1 bytes after a block of size 2,748 alloc'd ==2073== at 0x401B802: operator new(unsigned) (vg_replace_malloc.c:164) ==2073== by 0x82A6F9E: Gob::GobEngine::init(GameDetector&) (gob.cpp:280) ==2073== by 0x80594C7: runGame(GameDetector&, OSystem&) (main.cpp:306) ==2073== by 0x8059AC3: main (main.cpp:461) ==2073== ==2073== Invalid read of size 1 ==2073== at 0x82C8785: Gob::Video::setFullPalette(Gob::Video::PalDesc*) (video.cpp:369) ==2073== by 0x82C89B2: Gob::Video::initPrimary(short) (video.cpp:410) ==2073== by 0x82B077A: Gob::Init::initGame(char*) (init.cpp:167) ==2073== by 0x82A6D9D: Gob::GobEngine::go() (gob.cpp:267) ==2073== by 0x80594E5: runGame(GameDetector&, OSystem&) (main.cpp:310) ==2073== by 0x8059AC3: main (main.cpp:461) ==2073== Address 0x46D88C6 is 2 bytes after a block of size 2,748 alloc'd ==2073== at 0x401B802: operator new(unsigned) (vg_replace_malloc.c:164) ==2073== by 0x82A6F9E: Gob::GobEngine::init(GameDetector&) (gob.cpp:280) ==2073== by 0x80594C7: runGame(GameDetector&, OSystem&) (main.cpp:306) ==2073== by 0x8059AC3: main (main.cpp:461) ==2073== ==2073== Invalid read of size 1 ==2073== at 0x82C87A2: Gob::Video::setFullPalette(Gob::Video::PalDesc*) (video.cpp:369) ==2073== by 0x82C89B2: Gob::Video::initPrimary(short) (video.cpp:410) ==2073== by 0x82B077A: Gob::Init::initGame(char*) (init.cpp:167) ==2073== by 0x82A6D9D: Gob::GobEngine::go() (gob.cpp:267) ==2073== by 0x80594E5: runGame(GameDetector&, OSystem&) (main.cpp:310) ==2073== by 0x8059AC3: main (main.cpp:461) ==2073== Address 0x46D88C6 is 2 bytes after a block of size 2,748 alloc'd ==2073== at 0x401B802: operator new(unsigned) (vg_replace_malloc.c:164) ==2073== by 0x82A6F9E: Gob::GobEngine::init(GameDetector&) (gob.cpp:280) ==2073== by 0x80594C7: runGame(GameDetector&, OSystem&) (main.cpp:306) ==2073== by 0x8059AC3: main (main.cpp:461) WARNING: inter_palLoad: cmd == 49 is not supported! ==2073== ==2073== Conditional jump or move depends on uninitialised value(s) ==2073== at 0x41ACAEB: X11_SetKeyboardState (in /usr/lib/libSDL-1.2.so.0.7.2)==2073== by 0x41ABDD1: (within /usr/lib/libSDL-1.2.so.0.7.2) ==2073== by 0x41AC06D: X11_PumpEvents (in /usr/lib/libSDL-1.2.so.0.7.2) ==2073== by 0x41BD632: SDL_PumpEvents (in /usr/lib/libSDL-1.2.so.0.7.2) ==2073== by 0x41BD678: SDL_PollEvent (in /usr/lib/libSDL-1.2.so.0.7.2) ==2073== by 0x804BDEC: OSystem_SDL::pollEvent(OSystem::Event&) (events.cpp:190) ==2073== by 0x82C6BAD: Gob::Util::processInput() (util.cpp:139) ==2073== by 0x82BD229: Gob::Mult::playMult(short, short, char, char) (mult.cpp:933) ==2073== by 0x82B141F: Gob::Inter_v1::o1_playMult() (inter_v1.cpp:767) ==2073== by 0x82B392D: Gob::Inter_v1::executeDrawOpcode(unsigned char) (inter_v1.cpp:1575) ==2073== by 0x82B185E: Gob::Inter_v1::o1_drawOperations(char&, short&, short&) (inter_v1.cpp:853) ==2073== by 0x82B3A5D: Gob::Inter_v1::executeFuncOpcode(unsigned char, unsigned char, char&, short&, short&) (inter_v1.cpp:1591) WARNING: inter_palLoad: cmd == 49 is not supported! WARNING: inter_palLoad: cmd == 49 is not supported! WARNING: inter_palLoad: cmd == 49 is not supported! WARNING: inter_palLoad: cmd == 49 is not supported! WARNING: inter_palLoad: cmd == 49 is not supported! WARNING: inter_palLoad: cmd == 49 is not supported! WARNING: inter_palLoad: cmd == 49 is not supported! WARNING: inter_palLoad: cmd == 49 is not supported! WARNING: inter_palLoad: cmd == 49 is not supported! WARNING: inter_palLoad: cmd == 49 is not supported! ==2073== ==2073== Invalid free() / delete / delete[] ==2073== at 0x401BF6C: free (vg_replace_malloc.c:235) ==2073== by 0x43F1F4B: free_mem (in /lib/tls/libc-2.3.5.so) ==2073== by 0x43F1A14: __libc_freeres (in /lib/tls/libc-2.3.5.so) ==2073== by 0x401738C: _vgw_freeres (vg_preloaded.c:62) ==2073== by 0x4328A05: exit (in /lib/tls/libc-2.3.5.so) ==2073== by 0x80519E6: OSystem_SDL::quit() (sdl.cpp:214) ==2073== by 0x82C6C68: Gob::Util::processInput() (util.cpp:163) ==2073== by 0x82CF36F: Gob::Game::checkKeys(short*, short*, short*, char) (game.cpp:449) ==2073== by 0x82CF7E1: Gob::Game::checkCollisions(char, short, short*, short*) (game.cpp:551) ==2073== by 0x82D1F9B: Gob::Game::collisionsBlock() (game.cpp:1346) ==2073== by 0x82D5ADA: Gob::Inter::callSub(short) (inter.cpp:266) ==2073== by 0x82B3D38: Gob::Inter_v1::o1_callSub(char&, short&, short&) (inter_v1.cpp:1641) ==2073== Address 0x42F48A0 is not stack'd, malloc'd or (recently) free'd ==2073== ==2073== ERROR SUMMARY: 1336 errors from 11 contexts (suppressed: 92 from 3) ==2073== malloc/free: in use at exit: 1,135,014 bytes in 10,346 blocks. ==2073== malloc/free: 16,119 allocs, 5,774 frees, 4,488,239 bytes allocated. ==2073== For counts of detected errors, rerun with: -v ==2073== searching for pointers to 10,346 not-freed blocks. ==2073== checked 10,457,768 bytes. ==2073== ==2073== LEAK SUMMARY: ==2073== definitely lost: 77,141 bytes in 430 blocks. ==2073== possibly lost: 24,172 bytes in 409 blocks. ==2073== still reachable: 1,033,701 bytes in 9,507 blocks. ==2073== suppressed: 0 bytes in 0 blocks. ==2073== Use --leak-check=full to see details of leaked memory.