==9819== Memcheck, a.k.a. Valgrind, a memory error detector for x86-linux. ==9819== Copyright (C) 2002-2003, and GNU GPL'd, by Julian Seward. ==9819== Using valgrind-2.0.0, a program supervision framework for x86-linux. ==9819== Copyright (C) 2000-2003, and GNU GPL'd, by Julian Seward. ==9819== Estimated CPU clock rate is 2606 MHz ==9819== For more details, rerun with: -v ==9819== Debuglevel (from command line): 0 - Game only ==9819== Use of uninitialised value of size 16 ==9819== at 0x181AF23: Arts::CpuInfoStartup::startup() (in /usr/lib/libartsflow.so.1.0.0) ==9819== by 0x1D02FF2: Arts::StartupManager::startup() (in /usr/lib/libmcop.so.1.0.0) ==9819== by 0x1CE9376: Arts::Dispatcher::Dispatcher(Arts::IOManager*, Arts::Dispatcher::StartServer) (in /usr/lib/libmcop.so.1.0.0) ==9819== by 0x164CB14: arts_backend_init (in /usr/lib/libartscbackend.so.0.0.0) ==9819== discard syms in /usr/lib/libartscbackend.so.0.0.0 due to munmap() ==9819== discard syms in /usr/lib/libsoundserver_idl.so.1.0.0 due to munmap() ==9819== discard syms in /usr/lib/libkmedia2_idl.so.1.0.0 due to munmap() ==9819== discard syms in /usr/lib/libartsc.so.0.0.0 due to munmap() ==9824== discard syms in /lib/libnss_files-2.3.2.so due to munmap() ==9824== ==9824== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 36 from 3) ==9824== malloc/free: in use at exit: 286759 bytes in 5915 blocks. ==9824== malloc/free: 8260 allocs, 2345 frees, 611303 bytes allocated. ==9824== For a detailed leak analysis, rerun with: --leak-check=yes ==9824== For counts of detected errors, rerun with: -v ==9819== discard syms in /usr/lib/libesd.so.0.2.31 due to munmap() ==9819== valgrind's libpthread.so: KLUDGED call to: sem_destroy Looking for pajama2 Trying to start game 'Pajama Sam 2: Thunder and Lightning Aren't so Frightening'==9827== discard syms in /lib/libnss_files-2.3.2.so due to munmap() ==9827== ==9827== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 40 from 3) ==9827== malloc/free: in use at exit: 365242 bytes in 5927 blocks. ==9827== malloc/free: 8354 allocs, 2427 frees, 701997 bytes allocated. ==9827== For a detailed leak analysis, rerun with: --leak-check=yes ==9827== For counts of detected errors, rerun with: -v ==9819== valgrind's libpthread.so: KLUDGED call to: sem_destroy ==9819== ==9819== Syscall param writev(vector[...]) contains uninitialised or unaddressable byte(s) ==9819== at 0xD75CAD: vgAllRoadsLeadToRome_writev (vg_intercept.c:109) ==9819== by 0xD75CE9: __writev (vg_intercept.c:774) ==9819== by 0x3D624F: (within /usr/X11R6/lib/libX11.so.6.2) ==9819== by 0x3D6E3E: _X11TransWritev (in /usr/X11R6/lib/libX11.so.6.2) ==9819== Address 0x1583083 is 19 bytes inside a block of size 2048 alloc'd ==9819== at 0x515B00: calloc (vg_replace_malloc.c:284) ==9819== by 0x3A8D0C: XOpenDisplay (in /usr/X11R6/lib/libX11.so.6.2) ==9819== by 0x6A73E6: (within /usr/lib/libSDL-1.2.so.0.0.5) ==9819== by 0x69C120: SDL_VideoInit (in /usr/lib/libSDL-1.2.so.0.0.5) o72_addMessageToStack("Pajama Sam 2: Thunder and Lightning aren't so Frightening") DEBUG: video-speed: 0 o72_addMessageToStack("CD") o72_addMessageToStack("NoMusic") o72_addMessageToStack("NoBackgroundSound") o72_addMessageToStack("NoPrinting") o72_addMessageToStack("MouseOverride") o72_addMessageToStack("Demo") o72_addMessageToStack("E3Demo") o72_addMessageToStack("HideAllText") DEBUG: hide-all-text: 0 o72_addMessageToStack("PlaybackAutoPlayFile") o72_addMessageToStack("AutoPlay") o72_addMessageToStack("TextOn") DEBUG: display-dialog-text: 0 o72_addMessageToStack("BlackAndWhiteCursors") o72_addMessageToStack("SputmDebug") o72_addMessageToStack("WhosABigCheater") o72_addMessageToStack("GameSetup") DEBUG: GOT STRING DEBUG: BAD STRING o72_addMessageToStack("GameSetup") o72_addMessageToStack("") o72_addMessageToStack("GamesFinished") DEBUG: BAD STRING, GamesFinished o72_addMessageToStack("GamesFinished") o72_addMessageToStack("000000") DEBUG: PICKED NEXT GAME NOT YET SOLVED 1 o72_addMessageToStack("LastGame") o72_addMessageToStack("InventoryPopY") o72_addMessageToStack("InventoryDropY") o72_addMessageToStack("SlowMachineInventory") DEBUG: free-arrays: 92 DEBUG: HELogo Test: 11. o72_addMessageToStack("DisplayHELogoTest") DEBUG: machine-speed = SLOW-MACHINE o72_addMessageToStack("CDGamePath") DEBUG: No CDGamePath o72_addMessageToStack("ForceMachineSpeed") o72_addMessageToStack(" ") DEBUG: This room has a piece: 13 DEBUG: This room has a piece: 11 DEBUG: This room has a piece: 15 DEBUG: This room has a piece: 39 DEBUG: This room has a piece: 42 DEBUG: This room has a piece: 33 DEBUG: This room has a piece: 26 DEBUG: This room has a piece: 28 DEBUG: This room has a piece: 36 DEBUG: This room has a piece: 21 DEBUG: This room has a piece: 23 DEBUG: This room has a piece: 22 DEBUG: This room has a piece: 37 DEBUG: This room has a piece: 40 DEBUG: This room has a piece: 16 DEBUG: This room has a piece: 34 DEBUG: set pool DEBUG: Adding song 8000 1 times. DEBUG: Adding song 8001 1 times. DEBUG: Adding song 8002 1 times. DEBUG: playing standard song DEBUG: Starting music 8002 DEBUG: Starting music 8023 playSound #8023 playSound #8002 DEBUG: free-arrays: 85 Set actor XMAP idx to 202 DEBUG: playing standard song DEBUG: Starting music 8002 playSound #8002 DEBUG: free-arrays: 85 ==9819== ==9819== Invalid read of size 2 ==9819== at 0x80649EE: READ_LE_UINT16(void const*) (scummsys.h:376) ==9819== by 0x80AE51A: Scumm::Gdi::drawBMAPBg(unsigned char const*, Scumm::VirtScreen*, int, int) (gfx.cpp:1373) ==9819== by 0x80AC5CA: Scumm::ScummEngine::redrawBGAreas() (gfx.cpp:580) ==9819== by 0x8101C08: Scumm::ScummEngine_v72he::redrawBGAreas() (script_v72he.cpp:1703) ==9819== Address 0x60167DF is 51131 bytes inside a block of size 51132 alloc'd ==9819== at 0x515B00: calloc (vg_replace_malloc.c:284) ==9819== by 0x80D98FF: Scumm::ScummEngine::createResource(int, int, unsigned) (resource.cpp:2021) ==9819== by 0x80D6CB2: Scumm::ScummEngine::loadResource(int, int) (resource.cpp:880) ==9819== by 0x80D68C9: Scumm::ScummEngine::ensureResourceLoaded(int, int) (resource.cpp:805) DEBUG: Song finished DEBUG: playing standard song DEBUG: Starting music 8000 playSound #8000 DEBUG: free-arrays: 85 DEBUG: Song finished DEBUG: playing standard song DEBUG: Starting music 8001 playSound #8001 o72_addMessageToStack("PAJAMA SAM 2") o72_addMessageToStack("THUNDER AND LIGHTNING") o72_addMessageToStack("AREN'T SO FRIGHTNING") o72_addMessageToStack("INTERACTIVE DESIGNnn") o72_addMessageToStack("Rhonda Conley") o72_addMessageToStack("Matt Mahon") o72_addMessageToStack("LEAD PROGRAMMER") ==9819== ==9819== Invalid write of size 1 ==9819== at 0x50EB00: memcpy (mac_replace_strmem.c:258) ==9819== by 0x809EBE6: Scumm::CharsetRendererClassic::printChar(int) (charset.cpp:1321) ==9819== by 0x806ABC5: Scumm::ScummEngine::drawString(int, unsigned char const*) (string.cpp:495) ==9819== by 0x8068F8C: Scumm::ScummEngine::printString(int, unsigned char const*) (string.cpp:43) ==9819== Address 0x407E803 is 175 bytes inside a block of size 252 free'd ==9819== at 0x515A5A: __builtin_vec_delete (vg_replace_malloc.c:263) ==9819== by 0x515A78: operator delete[](void*) (vg_replace_malloc.c:272) ==9819== by 0x8091060: Scumm::ScummEngine::processActors() (actor.cpp:980) ==9819== by 0x805FD38: Scumm::ScummEngine::scummLoop(int) (scumm.cpp:1648) ==9819== ==9819== Invalid write of size 1 ==9819== at 0x50EB06: memcpy (mac_replace_strmem.c:259) ==9819== by 0x809EBE6: Scumm::CharsetRendererClassic::printChar(int) (charset.cpp:1321) ==9819== by 0x806ABC5: Scumm::ScummEngine::drawString(int, unsigned char const*) (string.cpp:495) ==9819== by 0x8068F8C: Scumm::ScummEngine::printString(int, unsigned char const*) (string.cpp:43) ==9819== Address 0x407E802 is 174 bytes inside a block of size 252 free'd ==9819== at 0x515A5A: __builtin_vec_delete (vg_replace_malloc.c:263) ==9819== by 0x515A78: operator delete[](void*) (vg_replace_malloc.c:272) ==9819== by 0x8091060: Scumm::ScummEngine::processActors() (actor.cpp:980) ==9819== by 0x805FD38: Scumm::ScummEngine::scummLoop(int) (scumm.cpp:1648) ==9819== ==9819== Invalid write of size 1 ==9819== at 0x50EB0C: memcpy (mac_replace_strmem.c:260) ==9819== by 0x809EBE6: Scumm::CharsetRendererClassic::printChar(int) (charset.cpp:1321) ==9819== by 0x806ABC5: Scumm::ScummEngine::drawString(int, unsigned char const*) (string.cpp:495) ==9819== by 0x8068F8C: Scumm::ScummEngine::printString(int, unsigned char const*) (string.cpp:43) ==9819== Address 0x407E801 is 173 bytes inside a block of size 252 free'd ==9819== at 0x515A5A: __builtin_vec_delete (vg_replace_malloc.c:263) ==9819== by 0x515A78: operator delete[](void*) (vg_replace_malloc.c:272) ==9819== by 0x8091060: Scumm::ScummEngine::processActors() (actor.cpp:980) ==9819== by 0x805FD38: Scumm::ScummEngine::scummLoop(int) (scumm.cpp:1648) ==9819== ==9819== Invalid write of size 1 ==9819== at 0x50EB12: memcpy (mac_replace_strmem.c:261) ==9819== by 0x809EBE6: Scumm::CharsetRendererClassic::printChar(int) (charset.cpp:1321) ==9819== by 0x806ABC5: Scumm::ScummEngine::drawString(int, unsigned char const*) (string.cpp:495) ==9819== by 0x8068F8C: Scumm::ScummEngine::printString(int, unsigned char const*) (string.cpp:43) ==9819== Address 0x407E800 is 172 bytes inside a block of size 252 free'd ==9819== at 0x515A5A: __builtin_vec_delete (vg_replace_malloc.c:263) ==9819== by 0x515A78: operator delete[](void*) (vg_replace_malloc.c:272) ==9819== by 0x8091060: Scumm::ScummEngine::processActors() (actor.cpp:980) ==9819== by 0x805FD38: Scumm::ScummEngine::scummLoop(int) (scumm.cpp:1648) ==9819== ==9819== Invalid write of size 1 ==9819== at 0x50EB26: memcpy (mac_replace_strmem.c:265) ==9819== by 0x809EBE6: Scumm::CharsetRendererClassic::printChar(int) (charset.cpp:1321) ==9819== by 0x806ABC5: Scumm::ScummEngine::drawString(int, unsigned char const*) (string.cpp:495) ==9819== by 0x8068F8C: Scumm::ScummEngine::printString(int, unsigned char const*) (string.cpp:43) ==9819== Address 0x407E7FB is 167 bytes inside a block of size 252 free'd ==9819== at 0x515A5A: __builtin_vec_delete (vg_replace_malloc.c:263) ==9819== by 0x515A78: operator delete[](void*) (vg_replace_malloc.c:272) ==9819== by 0x8091060: Scumm::ScummEngine::processActors() (actor.cpp:980) ==9819== by 0x805FD38: Scumm::ScummEngine::scummLoop(int) (scumm.cpp:1648) o72_addMessageToStack("Matt Mahon") ==9819== ==9819== Invalid read of size 1 ==9819== at 0x50EAFE: memcpy (mac_replace_strmem.c:258) ==9819== by 0x809EBE6: Scumm::CharsetRendererClassic::printChar(int) (charset.cpp:1321) ==9819== by 0x806ABC5: Scumm::ScummEngine::drawString(int, unsigned char const*) (string.cpp:495) ==9819== by 0x8068F8C: Scumm::ScummEngine::printString(int, unsigned char const*) (string.cpp:43) ==9819== Address 0x338BAD6 is 4 bytes after a block of size 8326 alloc'd ==9819== at 0x515B00: calloc (vg_replace_malloc.c:284) ==9819== by 0x80D98FF: Scumm::ScummEngine::createResource(int, int, unsigned) (resource.cpp:2021) ==9819== by 0x80AB9E9: Scumm::ScummEngine::initVirtScreen(Scumm::VirtScreenNumber, int, int, int, int, bool, bool) (gfx.cpp:275) ==9819== by 0x80AB6E5: Scumm::ScummEngine::initScreens(int, int) (gfx.cpp:206) ==9819== ==9819== Invalid read of size 1 ==9819== at 0x50EB04: memcpy (mac_replace_strmem.c:259) ==9819== by 0x809EBE6: Scumm::CharsetRendererClassic::printChar(int) (charset.cpp:1321) ==9819== by 0x806ABC5: Scumm::ScummEngine::drawString(int, unsigned char const*) (string.cpp:495) ==9819== by 0x8068F8C: Scumm::ScummEngine::printString(int, unsigned char const*) (string.cpp:43) ==9819== Address 0x338BAD5 is 3 bytes after a block of size 8326 alloc'd ==9819== at 0x515B00: calloc (vg_replace_malloc.c:284) ==9819== by 0x80D98FF: Scumm::ScummEngine::createResource(int, int, unsigned) (resource.cpp:2021) ==9819== by 0x80AB9E9: Scumm::ScummEngine::initVirtScreen(Scumm::VirtScreenNumber, int, int, int, int, bool, bool) (gfx.cpp:275) ==9819== by 0x80AB6E5: Scumm::ScummEngine::initScreens(int, int) (gfx.cpp:206) ==9819== ==9819== Invalid read of size 1 ==9819== at 0x50EB0A: memcpy (mac_replace_strmem.c:260) ==9819== by 0x809EBE6: Scumm::CharsetRendererClassic::printChar(int) (charset.cpp:1321) ==9819== by 0x806ABC5: Scumm::ScummEngine::drawString(int, unsigned char const*) (string.cpp:495) ==9819== by 0x8068F8C: Scumm::ScummEngine::printString(int, unsigned char const*) (string.cpp:43) ==9819== Address 0x338BAD4 is 2 bytes after a block of size 8326 alloc'd ==9819== at 0x515B00: calloc (vg_replace_malloc.c:284) ==9819== by 0x80D98FF: Scumm::ScummEngine::createResource(int, int, unsigned) (resource.cpp:2021) ==9819== by 0x80AB9E9: Scumm::ScummEngine::initVirtScreen(Scumm::VirtScreenNumber, int, int, int, int, bool, bool) (gfx.cpp:275) ==9819== by 0x80AB6E5: Scumm::ScummEngine::initScreens(int, int) (gfx.cpp:206) ==9819== ==9819== Invalid read of size 1 ==9819== at 0x50EB10: memcpy (mac_replace_strmem.c:261) ==9819== by 0x809EBE6: Scumm::CharsetRendererClassic::printChar(int) (charset.cpp:1321) ==9819== by 0x806ABC5: Scumm::ScummEngine::drawString(int, unsigned char const*) (string.cpp:495) ==9819== by 0x8068F8C: Scumm::ScummEngine::printString(int, unsigned char const*) (string.cpp:43) ==9819== Address 0x338BAD3 is 1 bytes after a block of size 8326 alloc'd ==9819== at 0x515B00: calloc (vg_replace_malloc.c:284) ==9819== by 0x80D98FF: Scumm::ScummEngine::createResource(int, int, unsigned) (resource.cpp:2021) ==9819== by 0x80AB9E9: Scumm::ScummEngine::initVirtScreen(Scumm::VirtScreenNumber, int, int, int, int, bool, bool) (gfx.cpp:275) ==9819== by 0x80AB6E5: Scumm::ScummEngine::initScreens(int, int) (gfx.cpp:206) ==9819== ==9819== Invalid read of size 1 ==9819== at 0x50EB24: memcpy (mac_replace_strmem.c:265) ==9819== by 0x809EBE6: Scumm::CharsetRendererClassic::printChar(int) (charset.cpp:1321) ==9819== by 0x806ABC5: Scumm::ScummEngine::drawString(int, unsigned char const*) (string.cpp:495) ==9819== by 0x8068F8C: Scumm::ScummEngine::printString(int, unsigned char const*) (string.cpp:43) ==9819== Address 0x338BAE4 is not stack'd, malloc'd or free'd o72_addMessageToStack("LEAD ARTIST") o72_addMessageToStack("Rhonda Conley")