==1597== Invalid read of size 8 ==1597== at 0x4C2E206: memcpy@@GLIBC_2.14 (mc_replace_strmem.c:877) ==1597== by 0x62F293: OpenGL::Texture::copyRectToTexture(unsigned int, unsigned int, unsigned int, unsigned int, void const*, unsigned int) (texture.cpp:149) ==1597== by 0x62B7E6: OpenGL::OpenGLGraphicsManager::copyRectToScreen(void const*, int, int, int, int, int) (opengl-graphics.cpp:337) ==1597== by 0x622388: ModularBackend::copyRectToScreen(void const*, int, int, int, int, int) (modular-backend.cpp:129) ==1597== by 0x49E4B1: Sci::GfxScreen::copyRectToScreen(Common::Rect const&) (screen.cpp:186) ==1597== by 0x4A3035: Sci::GfxTransitions::copyRectToScreen(Common::Rect, bool) (transitions.cpp:276) ==1597== by 0x4A477E: Sci::GfxTransitions::diagonalRollFromCenter(bool) (transitions.cpp:634) ==1597== by 0x4A2EA0: Sci::GfxTransitions::doTransition(short, bool) (transitions.cpp:220) ==1597== by 0x4A2D30: Sci::GfxTransitions::doit(Common::Rect) (transitions.cpp:190) ==1597== by 0x4806F5: Sci::GfxAnimate::animateShowPic() (animate.cpp:583) ==1597== by 0x480912: Sci::GfxAnimate::kernelAnimate(Sci::reg_t, bool, int, Sci::reg_t*) (animate.cpp:633) ==1597== by 0x443B59: Sci::kAnimate(Sci::EngineState*, int, Sci::reg_t*) (kgraphics.cpp:1133) ==1597== Address 0x12231970 is 0 bytes after a block of size 64,000 alloc'd ==1597== at 0x4C2A554: calloc (vg_replace_malloc.c:593) ==1597== by 0x49E05F: Sci::GfxScreen::GfxScreen(Sci::ResourceManager*) (screen.cpp:116) ==1597== by 0x430951: Sci::SciEngine::run() (sci.cpp:223) ==1597== by 0x40BFBE: runGame(PluginSubclass const*, OSystem&, Common::String const&) (main.cpp:242) ==1597== by 0x40CFB0: scummvm_main (main.cpp:487) ==1597== by 0x40AB03: main (posix-main.cpp:45) ==1597== ==1597== Invalid write of size 8 ==1597== at 0x4C2E1FB: memcpy@@GLIBC_2.14 (mc_replace_strmem.c:877) ==1597== by 0x62F293: OpenGL::Texture::copyRectToTexture(unsigned int, unsigned int, unsigned int, unsigned int, void const*, unsigned int) (texture.cpp:149) ==1597== by 0x62B7E6: OpenGL::OpenGLGraphicsManager::copyRectToScreen(void const*, int, int, int, int, int) (opengl-graphics.cpp:337) ==1597== by 0x622388: ModularBackend::copyRectToScreen(void const*, int, int, int, int, int) (modular-backend.cpp:129) ==1597== by 0x49E4B1: Sci::GfxScreen::copyRectToScreen(Common::Rect const&) (screen.cpp:186) ==1597== by 0x4A3035: Sci::GfxTransitions::copyRectToScreen(Common::Rect, bool) (transitions.cpp:276) ==1597== by 0x4A477E: Sci::GfxTransitions::diagonalRollFromCenter(bool) (transitions.cpp:634) ==1597== by 0x4A2EA0: Sci::GfxTransitions::doTransition(short, bool) (transitions.cpp:220) ==1597== by 0x4A2D30: Sci::GfxTransitions::doit(Common::Rect) (transitions.cpp:190) ==1597== by 0x4806F5: Sci::GfxAnimate::animateShowPic() (animate.cpp:583) ==1597== by 0x480912: Sci::GfxAnimate::kernelAnimate(Sci::reg_t, bool, int, Sci::reg_t*) (animate.cpp:633) ==1597== by 0x443B59: Sci::kAnimate(Sci::EngineState*, int, Sci::reg_t*) (kgraphics.cpp:1133) ==1597== Address 0x10d6b3c0 is 0 bytes after a block of size 64,000 alloc'd ==1597== at 0x4C2A554: calloc (vg_replace_malloc.c:593) ==1597== by 0x68828E: Graphics::Surface::create(unsigned short, unsigned short, Graphics::PixelFormat const&) (surface.cpp:73) ==1597== by 0x62F9E8: OpenGL::TextureCLUT8::allocate(unsigned int, unsigned int) (texture.cpp:294) ==1597== by 0x62B610: OpenGL::OpenGLGraphicsManager::endGFXTransaction() (opengl-graphics.cpp:286) ==1597== by 0x6222BA: ModularBackend::endGFXTransaction() (modular-backend.cpp:113) ==1597== by 0x40C315: setupGraphics(OSystem&) (main.cpp:275) ==1597== by 0x40CC8C: scummvm_main (main.cpp:431) ==1597== by 0x40AB03: main (posix-main.cpp:45) ==1597== ==1597== Invalid read of size 8 ==1597== at 0x4C2E1F8: memcpy@@GLIBC_2.14 (mc_replace_strmem.c:877) ==1597== by 0x62F293: OpenGL::Texture::copyRectToTexture(unsigned int, unsigned int, unsigned int, unsigned int, void const*, unsigned int) (texture.cpp:149) ==1597== by 0x62B7E6: OpenGL::OpenGLGraphicsManager::copyRectToScreen(void const*, int, int, int, int, int) (opengl-graphics.cpp:337) ==1597== by 0x622388: ModularBackend::copyRectToScreen(void const*, int, int, int, int, int) (modular-backend.cpp:129) ==1597== by 0x49E4B1: Sci::GfxScreen::copyRectToScreen(Common::Rect const&) (screen.cpp:186) ==1597== by 0x4A3035: Sci::GfxTransitions::copyRectToScreen(Common::Rect, bool) (transitions.cpp:276) ==1597== by 0x4A477E: Sci::GfxTransitions::diagonalRollFromCenter(bool) (transitions.cpp:634) ==1597== by 0x4A2EA0: Sci::GfxTransitions::doTransition(short, bool) (transitions.cpp:220) ==1597== by 0x4A2D30: Sci::GfxTransitions::doit(Common::Rect) (transitions.cpp:190) ==1597== by 0x4806F5: Sci::GfxAnimate::animateShowPic() (animate.cpp:583) ==1597== by 0x480912: Sci::GfxAnimate::kernelAnimate(Sci::reg_t, bool, int, Sci::reg_t*) (animate.cpp:633) ==1597== by 0x443B59: Sci::kAnimate(Sci::EngineState*, int, Sci::reg_t*) (kgraphics.cpp:1133) ==1597== Address 0x12231978 is 8 bytes after a block of size 64,000 alloc'd ==1597== at 0x4C2A554: calloc (vg_replace_malloc.c:593) ==1597== by 0x49E05F: Sci::GfxScreen::GfxScreen(Sci::ResourceManager*) (screen.cpp:116) ==1597== by 0x430951: Sci::SciEngine::run() (sci.cpp:223) ==1597== by 0x40BFBE: runGame(PluginSubclass const*, OSystem&, Common::String const&) (main.cpp:242) ==1597== by 0x40CFB0: scummvm_main (main.cpp:487) ==1597== by 0x40AB03: main (posix-main.cpp:45) ==1597== ==1597== Invalid read of size 2 ==1597== at 0x4C2E240: memcpy@@GLIBC_2.14 (mc_replace_strmem.c:877) ==1597== by 0x62F293: OpenGL::Texture::copyRectToTexture(unsigned int, unsigned int, unsigned int, unsigned int, void const*, unsigned int) (texture.cpp:149) ==1597== by 0x62B7E6: OpenGL::OpenGLGraphicsManager::copyRectToScreen(void const*, int, int, int, int, int) (opengl-graphics.cpp:337) ==1597== by 0x622388: ModularBackend::copyRectToScreen(void const*, int, int, int, int, int) (modular-backend.cpp:129) ==1597== by 0x49E4B1: Sci::GfxScreen::copyRectToScreen(Common::Rect const&) (screen.cpp:186) ==1597== by 0x4A3035: Sci::GfxTransitions::copyRectToScreen(Common::Rect, bool) (transitions.cpp:276) ==1597== by 0x4A477E: Sci::GfxTransitions::diagonalRollFromCenter(bool) (transitions.cpp:634) ==1597== by 0x4A2EA0: Sci::GfxTransitions::doTransition(short, bool) (transitions.cpp:220) ==1597== by 0x4A2D30: Sci::GfxTransitions::doit(Common::Rect) (transitions.cpp:190) ==1597== by 0x4806F5: Sci::GfxAnimate::animateShowPic() (animate.cpp:583) ==1597== by 0x480912: Sci::GfxAnimate::kernelAnimate(Sci::reg_t, bool, int, Sci::reg_t*) (animate.cpp:633) ==1597== by 0x443B59: Sci::kAnimate(Sci::EngineState*, int, Sci::reg_t*) (kgraphics.cpp:1133) ==1597== Address 0x12231aa8 is not stack'd, malloc'd or (recently) free'd ==1597== ==1597== Invalid write of size 2 ==1597== at 0x4C2E243: memcpy@@GLIBC_2.14 (mc_replace_strmem.c:877) ==1597== by 0x62F293: OpenGL::Texture::copyRectToTexture(unsigned int, unsigned int, unsigned int, unsigned int, void const*, unsigned int) (texture.cpp:149) ==1597== by 0x62B7E6: OpenGL::OpenGLGraphicsManager::copyRectToScreen(void const*, int, int, int, int, int) (opengl-graphics.cpp:337) ==1597== by 0x622388: ModularBackend::copyRectToScreen(void const*, int, int, int, int, int) (modular-backend.cpp:129) ==1597== by 0x49E4B1: Sci::GfxScreen::copyRectToScreen(Common::Rect const&) (screen.cpp:186) ==1597== by 0x4A3035: Sci::GfxTransitions::copyRectToScreen(Common::Rect, bool) (transitions.cpp:276) ==1597== by 0x4A477E: Sci::GfxTransitions::diagonalRollFromCenter(bool) (transitions.cpp:634) ==1597== by 0x4A2EA0: Sci::GfxTransitions::doTransition(short, bool) (transitions.cpp:220) ==1597== by 0x4A2D30: Sci::GfxTransitions::doit(Common::Rect) (transitions.cpp:190) ==1597== by 0x4806F5: Sci::GfxAnimate::animateShowPic() (animate.cpp:583) ==1597== by 0x480912: Sci::GfxAnimate::kernelAnimate(Sci::reg_t, bool, int, Sci::reg_t*) (animate.cpp:633) ==1597== by 0x443B59: Sci::kAnimate(Sci::EngineState*, int, Sci::reg_t*) (kgraphics.cpp:1133) ==1597== Address 0x10d6b4f8 is 8 bytes after a block of size 32 free'd ==1597== at 0x4C2A9BC: operator delete[](void*) (vg_replace_malloc.c:515) ==1597== by 0x737439: Common::String::decRefCount(int*) (str.cpp:206) ==1597== by 0x7370D6: Common::String::~String() (str.cpp:102) ==1597== by 0x4093AC: OSystem_SDL::addSysArchivesToSearchSet(Common::SearchSet&, int) (sdl.cpp:298) ==1597== by 0x7205B3: Common::SearchManager::clear() (archive.cpp:281) ==1597== by 0x72055C: Common::SearchManager::SearchManager() (archive.cpp:271) ==1597== by 0x40E4F6: Common::Singleton::makeInstance() (singleton.h:52) ==1597== by 0x40DCA8: Common::Singleton::instance() (singleton.h:71) ==1597== by 0x73CBD3: Common::TranslationManager::openTranslationsFile(Common::File&) (translation.cpp:233) ==1597== by 0x73CFFA: Common::TranslationManager::loadTranslationsInfoDat() (translation.cpp:283) ==1597== by 0x73BFE9: Common::TranslationManager::TranslationManager() (translation.cpp:49) ==1597== by 0x40E55A: Common::Singleton::makeInstance() (singleton.h:52) ==1597== ==1597== Invalid read of size 2 ==1597== at 0x4C2E24E: memcpy@@GLIBC_2.14 (mc_replace_strmem.c:877) ==1597== by 0x62F293: OpenGL::Texture::copyRectToTexture(unsigned int, unsigned int, unsigned int, unsigned int, void const*, unsigned int) (texture.cpp:149) ==1597== by 0x62B7E6: OpenGL::OpenGLGraphicsManager::copyRectToScreen(void const*, int, int, int, int, int) (opengl-graphics.cpp:337) ==1597== by 0x622388: ModularBackend::copyRectToScreen(void const*, int, int, int, int, int) (modular-backend.cpp:129) ==1597== by 0x49E4B1: Sci::GfxScreen::copyRectToScreen(Common::Rect const&) (screen.cpp:186) ==1597== by 0x4A3035: Sci::GfxTransitions::copyRectToScreen(Common::Rect, bool) (transitions.cpp:276) ==1597== by 0x4A477E: Sci::GfxTransitions::diagonalRollFromCenter(bool) (transitions.cpp:634) ==1597== by 0x4A2EA0: Sci::GfxTransitions::doTransition(short, bool) (transitions.cpp:220) ==1597== by 0x4A2D30: Sci::GfxTransitions::doit(Common::Rect) (transitions.cpp:190) ==1597== by 0x4806F5: Sci::GfxAnimate::animateShowPic() (animate.cpp:583) ==1597== by 0x480912: Sci::GfxAnimate::kernelAnimate(Sci::reg_t, bool, int, Sci::reg_t*) (animate.cpp:633) ==1597== by 0x443B59: Sci::kAnimate(Sci::EngineState*, int, Sci::reg_t*) (kgraphics.cpp:1133) ==1597== Address 0x12231aac is not stack'd, malloc'd or (recently) free'd ==1597== ==1597== Invalid read of size 1 ==1597== at 0x4C2E260: memcpy@@GLIBC_2.14 (mc_replace_strmem.c:877) ==1597== by 0x62F293: OpenGL::Texture::copyRectToTexture(unsigned int, unsigned int, unsigned int, unsigned int, void const*, unsigned int) (texture.cpp:149) ==1597== by 0x62B7E6: OpenGL::OpenGLGraphicsManager::copyRectToScreen(void const*, int, int, int, int, int) (opengl-graphics.cpp:337) ==1597== by 0x622388: ModularBackend::copyRectToScreen(void const*, int, int, int, int, int) (modular-backend.cpp:129) ==1597== by 0x49E4B1: Sci::GfxScreen::copyRectToScreen(Common::Rect const&) (screen.cpp:186) ==1597== by 0x4A3035: Sci::GfxTransitions::copyRectToScreen(Common::Rect, bool) (transitions.cpp:276) ==1597== by 0x4A477E: Sci::GfxTransitions::diagonalRollFromCenter(bool) (transitions.cpp:634) ==1597== by 0x4A2EA0: Sci::GfxTransitions::doTransition(short, bool) (transitions.cpp:220) ==1597== by 0x4A2D30: Sci::GfxTransitions::doit(Common::Rect) (transitions.cpp:190) ==1597== by 0x4806F5: Sci::GfxAnimate::animateShowPic() (animate.cpp:583) ==1597== by 0x480912: Sci::GfxAnimate::kernelAnimate(Sci::reg_t, bool, int, Sci::reg_t*) (animate.cpp:633) ==1597== by 0x443B59: Sci::kAnimate(Sci::EngineState*, int, Sci::reg_t*) (kgraphics.cpp:1133) ==1597== Address 0x12231aae is not stack'd, malloc'd or (recently) free'd ==1597== ==1597== Invalid write of size 1 ==1597== at 0x4C2E263: memcpy@@GLIBC_2.14 (mc_replace_strmem.c:877) ==1597== by 0x62F293: OpenGL::Texture::copyRectToTexture(unsigned int, unsigned int, unsigned int, unsigned int, void const*, unsigned int) (texture.cpp:149) ==1597== by 0x62B7E6: OpenGL::OpenGLGraphicsManager::copyRectToScreen(void const*, int, int, int, int, int) (opengl-graphics.cpp:337) ==1597== by 0x622388: ModularBackend::copyRectToScreen(void const*, int, int, int, int, int) (modular-backend.cpp:129) ==1597== by 0x49E4B1: Sci::GfxScreen::copyRectToScreen(Common::Rect const&) (screen.cpp:186) ==1597== by 0x4A3035: Sci::GfxTransitions::copyRectToScreen(Common::Rect, bool) (transitions.cpp:276) ==1597== by 0x4A477E: Sci::GfxTransitions::diagonalRollFromCenter(bool) (transitions.cpp:634) ==1597== by 0x4A2EA0: Sci::GfxTransitions::doTransition(short, bool) (transitions.cpp:220) ==1597== by 0x4A2D30: Sci::GfxTransitions::doit(Common::Rect) (transitions.cpp:190) ==1597== by 0x4806F5: Sci::GfxAnimate::animateShowPic() (animate.cpp:583) ==1597== by 0x480912: Sci::GfxAnimate::kernelAnimate(Sci::reg_t, bool, int, Sci::reg_t*) (animate.cpp:633) ==1597== by 0x443B59: Sci::kAnimate(Sci::EngineState*, int, Sci::reg_t*) (kgraphics.cpp:1133) ==1597== Address 0x10d6b4fe is 14 bytes after a block of size 32 free'd ==1597== at 0x4C2A9BC: operator delete[](void*) (vg_replace_malloc.c:515) ==1597== by 0x737439: Common::String::decRefCount(int*) (str.cpp:206) ==1597== by 0x7370D6: Common::String::~String() (str.cpp:102) ==1597== by 0x4093AC: OSystem_SDL::addSysArchivesToSearchSet(Common::SearchSet&, int) (sdl.cpp:298) ==1597== by 0x7205B3: Common::SearchManager::clear() (archive.cpp:281) ==1597== by 0x72055C: Common::SearchManager::SearchManager() (archive.cpp:271) ==1597== by 0x40E4F6: Common::Singleton::makeInstance() (singleton.h:52) ==1597== by 0x40DCA8: Common::Singleton::instance() (singleton.h:71) ==1597== by 0x73CBD3: Common::TranslationManager::openTranslationsFile(Common::File&) (translation.cpp:233) ==1597== by 0x73CFFA: Common::TranslationManager::loadTranslationsInfoDat() (translation.cpp:283) ==1597== by 0x73BFE9: Common::TranslationManager::TranslationManager() (translation.cpp:49) ==1597== by 0x40E55A: Common::Singleton::makeInstance() (singleton.h:52) ==1597== ==1597== Invalid read of size 8 ==1597== at 0x40E7AE: Common::Singleton::destroyInstance() (singleton.h:56) ==1597== by 0x40DF03: Common::Singleton::destroy() (singleton.h:76) ==1597== by 0x40D221: scummvm_main (main.cpp:551) ==1597== by 0x40AB03: main (posix-main.cpp:45) ==1597== Address 0x7fefb8cc8 is not stack'd, malloc'd or (recently) free'd ==1597== ==1597== Jump to the invalid address stated on the next line ==1597== at 0xEB06258: ??? ==1597== by 0x40DF03: Common::Singleton::destroy() (singleton.h:76) ==1597== by 0x40D221: scummvm_main (main.cpp:551) ==1597== by 0x40AB03: main (posix-main.cpp:45) ==1597== Address 0xeb06258 is 34,024 bytes inside a block of size 241,664 free'd ==1597== at 0x4C2B40C: free (vg_replace_malloc.c:446) ==1597== by 0x72EE98: Common::MemoryPool::~MemoryPool() (memorypool.cpp:59) ==1597== by 0x723F81: Common::FixedSizeMemoryPool<1888ul, 10ul>::~FixedSizeMemoryPool() (memorypool.h:105) ==1597== by 0x723FB5: Common::ObjectPool::Node, 10ul>::~ObjectPool() (memorypool.h:132) ==1597== by 0x72411C: Common::HashMap::~HashMap() (hashmap.h:360) ==1597== by 0x725048: Common::ConfigManager::~ConfigManager() (in /attic2/scummvm/scummvm/scummvm) ==1597== by 0x725097: Common::ConfigManager::~ConfigManager() (config-manager.h:45) ==1597== by 0x40E660: Common::Singleton::destroyInstance() (singleton.h:56) ==1597== by 0x40DED7: Common::Singleton::destroy() (singleton.h:76) ==1597== by 0x40D20D: scummvm_main (main.cpp:544) ==1597== by 0x40AB03: main (posix-main.cpp:45) ==1597==