[kirben@c210-49-180-142 scummvm]$ valgrind ./scummvm -b450 comi ==9704== Memcheck, a.k.a. Valgrind, a memory error detector for x86-linux. ==9704== Copyright (C) 2002-2003, and GNU GPL'd, by Julian Seward. ==9704== Using valgrind-2.0.0, a program supervision framework for x86-linux. ==9704== Copyright (C) 2000-2003, and GNU GPL'd, by Julian Seward. ==9704== Estimated CPU clock rate is 2600 MHz ==9704== For more details, rerun with: -v ==9704== ==9704== Use of uninitialised value of size 16 ==9704== at 0x1B45F23: Arts::CpuInfoStartup::startup() (in /usr/lib/libartsflow.so.1.0.0) ==9704== by 0x2204FF2: Arts::StartupManager::startup() (in /usr/lib/libmcop.so.1.0.0) ==9704== by 0x21EB376: Arts::Dispatcher::Dispatcher(Arts::IOManager*, Arts::Dispatcher::StartServer) (in /usr/lib/libmcop.so.1.0.0) ==9704== by 0x1209B14: arts_backend_init (in /usr/lib/libartscbackend.so.0.0.0) ==9704== discard syms in /usr/lib/libartscbackend.so.0.0.0 due to munmap() ==9704== discard syms in /usr/lib/libsoundserver_idl.so.1.0.0 due to munmap() ==9704== discard syms in /usr/lib/libkmedia2_idl.so.1.0.0 due to munmap() ==9704== discard syms in /usr/lib/libartsc.so.0.0.0 due to munmap() ==9709== discard syms in /lib/libnss_files-2.3.2.so due to munmap() ==9709== ==9709== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 36 from 3) ==9709== malloc/free: in use at exit: 287127 bytes in 5930 blocks. ==9709== malloc/free: 8291 allocs, 2361 frees, 611754 bytes allocated. ==9709== For a detailed leak analysis, rerun with: --leak-check=yes ==9709== For counts of detected errors, rerun with: -v ==9704== discard syms in /usr/lib/libesd.so.0.2.31 due to munmap() ==9704== valgrind's libpthread.so: KLUDGED call to: sem_destroy Looking for comi Trying to start game 'The Curse of Monkey Island' ==9714== discard syms in /lib/libnss_files-2.3.2.so due to munmap() ==9714== ==9714== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 40 from 3) ==9714== malloc/free: in use at exit: 361052 bytes in 5942 blocks. ==9714== malloc/free: 8382 allocs, 2440 frees, 697808 bytes allocated. ==9714== For a detailed leak analysis, rerun with: --leak-check=yes ==9714== For counts of detected errors, rerun with: -v ==9704== valgrind's libpthread.so: KLUDGED call to: sem_destroy ==9704== ==9704== Syscall param writev(vector[...]) contains uninitialised or unaddressable byte(s) ==9704== at 0xB16CAD: vgAllRoadsLeadToRome_writev (vg_intercept.c:109) ==9704== by 0xB16CE9: __writev (vg_intercept.c:774) ==9704== by 0x3D624F: (within /usr/X11R6/lib/libX11.so.6.2) ==9704== by 0x3D6E3E: _X11TransWritev (in /usr/X11R6/lib/libX11.so.6.2) ==9704== Address 0x14A3593 is 19 bytes inside a block of size 2048 alloc'd ==9704== at 0x707B00: calloc (vg_replace_malloc.c:284) ==9704== by 0x3A8D0C: XOpenDisplay (in /usr/X11R6/lib/libX11.so.6.2) ==9704== by 0x6A73E6: (within /usr/lib/libSDL-1.2.so.0.0.5) ==9704== by 0x69C120: SDL_VideoInit (in /usr/lib/libSDL-1.2.so.0.0.5) DEBUG: room number in boot = 450 DEBUG: sputm-debug = 1 WARNING: SO_VERB_LINE_SPACING 24: not yet implemented! DEBUG: exit room 1 Adding object 442 from room 16 into inventory Adding object 412 from room 15 into inventory Adding object 411 from room 15 into inventory Adding object 669 from room 26 into inventory DEBUG: exit room 1 ==9704== ==9704== Invalid read of size 1 ==9704== at 0x80AC323: Scumm::Gdi::drawStripToScreen(Scumm::VirtScreen*, int, int, int, int) (gfx.cpp:495) ==9704== by 0x80AC148: Scumm::Gdi::updateDirtyScreen(Scumm::VirtScreen*) (gfx.cpp:434) ==9704== by 0x80AC05E: Scumm::ScummEngine::updateDirtyScreen(Scumm::VirtScreenNumber) (gfx.cpp:406) ==9704== by 0x80ABF97: Scumm::ScummEngine::drawDirtyScreenParts() (gfx.cpp:392) ==9704== Address 0x5BF348C is 0 bytes after a block of size 307200 alloc'd ==9704== at 0x70768E: malloc (vg_replace_malloc.c:153) ==9704== by 0x80AB9FA: Scumm::Gdi::init() (gfx.cpp:224) ==9704== by 0x80AB990: Scumm::ScummEngine::initScreens(int, int) (gfx.cpp:216) ==9704== by 0x805D7BE: Scumm::ScummEngine::scummInit() (scumm.cpp:1129) ==9704== ==9704== Invalid read of size 1 ==9704== at 0x80AC34A: Scumm::Gdi::drawStripToScreen(Scumm::VirtScreen*, int, int, int, int) (gfx.cpp:498) ==9704== by 0x80AC148: Scumm::Gdi::updateDirtyScreen(Scumm::VirtScreen*) (gfx.cpp:434) ==9704== by 0x80AC05E: Scumm::ScummEngine::updateDirtyScreen(Scumm::VirtScreenNumber) (gfx.cpp:406) ==9704== by 0x80ABF97: Scumm::ScummEngine::drawDirtyScreenParts() (gfx.cpp:392) ==9704== Address 0x5BF348C is 0 bytes after a block of size 307200 alloc'd ==9704== at 0x70768E: malloc (vg_replace_malloc.c:153) ==9704== by 0x80AB9FA: Scumm::Gdi::init() (gfx.cpp:224) ==9704== by 0x80AB990: Scumm::ScummEngine::initScreens(int, int) (gfx.cpp:216) ==9704== by 0x805D7BE: Scumm::ScummEngine::scummInit() (scumm.cpp:1129) ==9704== ==9704== Invalid write of size 1 ==9704== at 0x80AC34C: Scumm::Gdi::drawStripToScreen(Scumm::VirtScreen*, int, int, int, int) (gfx.cpp:498) ==9704== by 0x80AC148: Scumm::Gdi::updateDirtyScreen(Scumm::VirtScreen*) (gfx.cpp:434) ==9704== by 0x80AC05E: Scumm::ScummEngine::updateDirtyScreen(Scumm::VirtScreenNumber) (gfx.cpp:406) ==9704== by 0x80ABF97: Scumm::ScummEngine::drawDirtyScreenParts() (gfx.cpp:392) ==9704== Address 0x5BA845C is 0 bytes after a block of size 307200 alloc'd ==9704== at 0x70768E: malloc (vg_replace_malloc.c:153) ==9704== by 0x80AB9E6: Scumm::Gdi::init() (gfx.cpp:223) ==9704== by 0x80AB990: Scumm::ScummEngine::initScreens(int, int) (gfx.cpp:216)