==27227== Invalid read of size 1 ==27227== at 0x805FD23: Toon::ToonEngine::doMagnifierEffect() (toon.cpp:472) ==27227== by 0x805FEE9: Toon::ToonEngine::copyToVirtualScreen(bool) (toon.cpp:493) ==27227== by 0x805FB8B: Toon::ToonEngine::render() (toon.cpp:429) ==27227== by 0x806044E: Toon::ToonEngine::doFrame() (toon.cpp:552) ==27227== by 0x8061034: Toon::ToonEngine::run() (toon.cpp:810) ==27227== by 0x804F27B: runGame(PluginSubclass const*, OSystem&, Common::String const&) (main.cpp:207) ==27227== by 0x804FEA7: scummvm_main (main.cpp:420) ==27227== by 0x804E26E: main (posix-main.cpp:45) ==27227== Address 0x69cd109 is 241 bytes inside a block of size 2,048 free'd ==27227== at 0x40258EA: free (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==27227== by 0x405B183: ??? (in /usr/lib/libSDL-1.2.so.0.11.3) ==27227== by 0x40725DC: SDL_UnlockSurface (in /usr/lib/libSDL-1.2.so.0.11.3) ==27227== by 0x80F8F4D: SdlGraphicsManager::blitCursor() (sdl-graphics.cpp:1932) ==27227== by 0x80F5669: SdlGraphicsManager::setGraphicsModeIntern() (sdl-graphics.cpp:624) ==27227== by 0x80F49FC: SdlGraphicsManager::endGFXTransaction() (sdl-graphics.cpp:355) ==27227== by 0x80E44DD: ModularBackend::endGFXTransaction() (modular-backend.cpp:131) ==27227== by 0x8103B28: initGraphics(int, int, bool, Graphics::PixelFormat const*) (engine.cpp:202) ==27227== by 0x8103ECF: initGraphics(int, int, bool) (engine.cpp:281) ==27227== by 0x8060F1D: Toon::ToonEngine::run() (toon.cpp:782) ==27227== by 0x804F27B: runGame(PluginSubclass const*, OSystem&, Common::String const&) (main.cpp:207) ==27227== by 0x804FEA7: scummvm_main (main.cpp:420) ==27227== ==27227== Invalid write of size 1 ==27227== at 0x805FE40: Toon::ToonEngine::doMagnifierEffect() (toon.cpp:484) ==27227== by 0x805FEE9: Toon::ToonEngine::copyToVirtualScreen(bool) (toon.cpp:493) ==27227== by 0x805FB8B: Toon::ToonEngine::render() (toon.cpp:429) ==27227== by 0x806044E: Toon::ToonEngine::doFrame() (toon.cpp:552) ==27227== by 0x8061034: Toon::ToonEngine::run() (toon.cpp:810) ==27227== by 0x804F27B: runGame(PluginSubclass const*, OSystem&, Common::String const&) (main.cpp:207) ==27227== by 0x804FEA7: scummvm_main (main.cpp:420) ==27227== by 0x804E26E: main (posix-main.cpp:45) ==27227== Address 0x69cd10a is 242 bytes inside a block of size 2,048 free'd ==27227== at 0x40258EA: free (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==27227== by 0x405B183: ??? (in /usr/lib/libSDL-1.2.so.0.11.3) ==27227== by 0x40725DC: SDL_UnlockSurface (in /usr/lib/libSDL-1.2.so.0.11.3) ==27227== by 0x80F8F4D: SdlGraphicsManager::blitCursor() (sdl-graphics.cpp:1932) ==27227== by 0x80F5669: SdlGraphicsManager::setGraphicsModeIntern() (sdl-graphics.cpp:624) ==27227== by 0x80F49FC: SdlGraphicsManager::endGFXTransaction() (sdl-graphics.cpp:355) ==27227== by 0x80E44DD: ModularBackend::endGFXTransaction() (modular-backend.cpp:131) ==27227== by 0x8103B28: initGraphics(int, int, bool, Graphics::PixelFormat const*) (engine.cpp:202) ==27227== by 0x8103ECF: initGraphics(int, int, bool) (engine.cpp:281) ==27227== by 0x8060F1D: Toon::ToonEngine::run() (toon.cpp:782) ==27227== by 0x804F27B: runGame(PluginSubclass const*, OSystem&, Common::String const&) (main.cpp:207) ==27227== by 0x804FEA7: scummvm_main (main.cpp:420) ==27227== ==27227== Use of uninitialised value of size 4 ==27227== at 0x405D201: ??? (in /usr/lib/libSDL-1.2.so.0.11.3) ==27227== by 0x405BC3C: ??? (in /usr/lib/libSDL-1.2.so.0.11.3) ==27227== by 0x4072C79: SDL_LowerBlit (in /usr/lib/libSDL-1.2.so.0.11.3) ==27227== by 0x4072F0D: SDL_UpperBlit (in /usr/lib/libSDL-1.2.so.0.11.3) ==27227== by 0x80F6718: SdlGraphicsManager::internUpdateScreen() (sdl-graphics.cpp:1047) ==27227== by 0x80F6328: SdlGraphicsManager::updateScreen() (sdl-graphics.cpp:942) ==27227== by 0x80E45FB: ModularBackend::updateScreen() (modular-backend.cpp:163) ==27227== by 0x8060409: Toon::ToonEngine::copyToVirtualScreen(bool) (toon.cpp:542) ==27227== by 0x805FB8B: Toon::ToonEngine::render() (toon.cpp:429) ==27227== by 0x806044E: Toon::ToonEngine::doFrame() (toon.cpp:552) ==27227== by 0x8061034: Toon::ToonEngine::run() (toon.cpp:810) ==27227== by 0x804F27B: runGame(PluginSubclass const*, OSystem&, Common::String const&) (main.cpp:207) ==27227== ==27227== Use of uninitialised value of size 4 ==27227== at 0x405D211: ??? (in /usr/lib/libSDL-1.2.so.0.11.3) ==27227== by 0x405BC3C: ??? (in /usr/lib/libSDL-1.2.so.0.11.3) ==27227== by 0x4072C79: SDL_LowerBlit (in /usr/lib/libSDL-1.2.so.0.11.3) ==27227== by 0x4072F0D: SDL_UpperBlit (in /usr/lib/libSDL-1.2.so.0.11.3) ==27227== by 0x80F6718: SdlGraphicsManager::internUpdateScreen() (sdl-graphics.cpp:1047) ==27227== by 0x80F6328: SdlGraphicsManager::updateScreen() (sdl-graphics.cpp:942) ==27227== by 0x80E45FB: ModularBackend::updateScreen() (modular-backend.cpp:163) ==27227== by 0x8060409: Toon::ToonEngine::copyToVirtualScreen(bool) (toon.cpp:542) ==27227== by 0x805FB8B: Toon::ToonEngine::render() (toon.cpp:429) ==27227== by 0x806044E: Toon::ToonEngine::doFrame() (toon.cpp:552) ==27227== by 0x8061034: Toon::ToonEngine::run() (toon.cpp:810) ==27227== by 0x804F27B: runGame(PluginSubclass const*, OSystem&, Common::String const&) (main.cpp:207) ==27227== ==27227== Use of uninitialised value of size 4 ==27227== at 0x405D221: ??? (in /usr/lib/libSDL-1.2.so.0.11.3) ==27227== by 0x405BC3C: ??? (in /usr/lib/libSDL-1.2.so.0.11.3) ==27227== by 0x4072C79: SDL_LowerBlit (in /usr/lib/libSDL-1.2.so.0.11.3) ==27227== by 0x4072F0D: SDL_UpperBlit (in /usr/lib/libSDL-1.2.so.0.11.3) ==27227== by 0x80F6718: SdlGraphicsManager::internUpdateScreen() (sdl-graphics.cpp:1047) ==27227== by 0x80F6328: SdlGraphicsManager::updateScreen() (sdl-graphics.cpp:942) ==27227== by 0x80E45FB: ModularBackend::updateScreen() (modular-backend.cpp:163) ==27227== by 0x8060409: Toon::ToonEngine::copyToVirtualScreen(bool) (toon.cpp:542) ==27227== by 0x805FB8B: Toon::ToonEngine::render() (toon.cpp:429) ==27227== by 0x806044E: Toon::ToonEngine::doFrame() (toon.cpp:552) ==27227== by 0x8061034: Toon::ToonEngine::run() (toon.cpp:810) ==27227== by 0x804F27B: runGame(PluginSubclass const*, OSystem&, Common::String const&) (main.cpp:207) ==27227== ==27227== Use of uninitialised value of size 4 ==27227== at 0x405D231: ??? (in /usr/lib/libSDL-1.2.so.0.11.3) ==27227== by 0x405BC3C: ??? (in /usr/lib/libSDL-1.2.so.0.11.3) ==27227== by 0x4072C79: SDL_LowerBlit (in /usr/lib/libSDL-1.2.so.0.11.3) ==27227== by 0x4072F0D: SDL_UpperBlit (in /usr/lib/libSDL-1.2.so.0.11.3) ==27227== by 0x80F6718: SdlGraphicsManager::internUpdateScreen() (sdl-graphics.cpp:1047) ==27227== by 0x80F6328: SdlGraphicsManager::updateScreen() (sdl-graphics.cpp:942) ==27227== by 0x80E45FB: ModularBackend::updateScreen() (modular-backend.cpp:163) ==27227== by 0x8060409: Toon::ToonEngine::copyToVirtualScreen(bool) (toon.cpp:542) ==27227== by 0x805FB8B: Toon::ToonEngine::render() (toon.cpp:429) ==27227== by 0x806044E: Toon::ToonEngine::doFrame() (toon.cpp:552) ==27227== by 0x8061034: Toon::ToonEngine::run() (toon.cpp:810) ==27227== by 0x804F27B: runGame(PluginSubclass const*, OSystem&, Common::String const&) (main.cpp:207) ==27227== ==27227== Use of uninitialised value of size 4 ==27227== at 0x405D244: ??? (in /usr/lib/libSDL-1.2.so.0.11.3) ==27227== by 0x405BC3C: ??? (in /usr/lib/libSDL-1.2.so.0.11.3) ==27227== by 0x4072C79: SDL_LowerBlit (in /usr/lib/libSDL-1.2.so.0.11.3) ==27227== by 0x4072F0D: SDL_UpperBlit (in /usr/lib/libSDL-1.2.so.0.11.3) ==27227== by 0x80F6718: SdlGraphicsManager::internUpdateScreen() (sdl-graphics.cpp:1047) ==27227== by 0x80F6328: SdlGraphicsManager::updateScreen() (sdl-graphics.cpp:942) ==27227== by 0x80E45FB: ModularBackend::updateScreen() (modular-backend.cpp:163) ==27227== by 0x8060409: Toon::ToonEngine::copyToVirtualScreen(bool) (toon.cpp:542) ==27227== by 0x805FB8B: Toon::ToonEngine::render() (toon.cpp:429) ==27227== by 0x806044E: Toon::ToonEngine::doFrame() (toon.cpp:552) ==27227== by 0x8061034: Toon::ToonEngine::run() (toon.cpp:810) ==27227== by 0x804F27B: runGame(PluginSubclass const*, OSystem&, Common::String const&) (main.cpp:207) ==27227== ==27227== Use of uninitialised value of size 4 ==27227== at 0x405D25C: ??? (in /usr/lib/libSDL-1.2.so.0.11.3) ==27227== by 0x405BC3C: ??? (in /usr/lib/libSDL-1.2.so.0.11.3) ==27227== by 0x4072C79: SDL_LowerBlit (in /usr/lib/libSDL-1.2.so.0.11.3) ==27227== by 0x4072F0D: SDL_UpperBlit (in /usr/lib/libSDL-1.2.so.0.11.3) ==27227== by 0x80F6718: SdlGraphicsManager::internUpdateScreen() (sdl-graphics.cpp:1047) ==27227== by 0x80F6328: SdlGraphicsManager::updateScreen() (sdl-graphics.cpp:942) ==27227== by 0x80E45FB: ModularBackend::updateScreen() (modular-backend.cpp:163) ==27227== by 0x8060409: Toon::ToonEngine::copyToVirtualScreen(bool) (toon.cpp:542) ==27227== by 0x805FB8B: Toon::ToonEngine::render() (toon.cpp:429) ==27227== by 0x806044E: Toon::ToonEngine::doFrame() (toon.cpp:552) ==27227== by 0x8061034: Toon::ToonEngine::run() (toon.cpp:810) ==27227== by 0x804F27B: runGame(PluginSubclass const*, OSystem&, Common::String const&) (main.cpp:207) ==27227== ==27227== Use of uninitialised value of size 4 ==27227== at 0x405D26C: ??? (in /usr/lib/libSDL-1.2.so.0.11.3) ==27227== by 0x405BC3C: ??? (in /usr/lib/libSDL-1.2.so.0.11.3) ==27227== by 0x4072C79: SDL_LowerBlit (in /usr/lib/libSDL-1.2.so.0.11.3) ==27227== by 0x4072F0D: SDL_UpperBlit (in /usr/lib/libSDL-1.2.so.0.11.3) ==27227== by 0x80F6718: SdlGraphicsManager::internUpdateScreen() (sdl-graphics.cpp:1047) ==27227== by 0x80F6328: SdlGraphicsManager::updateScreen() (sdl-graphics.cpp:942) ==27227== by 0x80E45FB: ModularBackend::updateScreen() (modular-backend.cpp:163) ==27227== by 0x8060409: Toon::ToonEngine::copyToVirtualScreen(bool) (toon.cpp:542) ==27227== by 0x805FB8B: Toon::ToonEngine::render() (toon.cpp:429) ==27227== by 0x806044E: Toon::ToonEngine::doFrame() (toon.cpp:552) ==27227== by 0x8061034: Toon::ToonEngine::run() (toon.cpp:810) ==27227== by 0x804F27B: runGame(PluginSubclass const*, OSystem&, Common::String const&) (main.cpp:207) ==27227== ==27227== Use of uninitialised value of size 4 ==27227== at 0x405D27C: ??? (in /usr/lib/libSDL-1.2.so.0.11.3) ==27227== by 0x405BC3C: ??? (in /usr/lib/libSDL-1.2.so.0.11.3) ==27227== by 0x4072C79: SDL_LowerBlit (in /usr/lib/libSDL-1.2.so.0.11.3) ==27227== by 0x4072F0D: SDL_UpperBlit (in /usr/lib/libSDL-1.2.so.0.11.3) ==27227== by 0x80F6718: SdlGraphicsManager::internUpdateScreen() (sdl-graphics.cpp:1047) ==27227== by 0x80F6328: SdlGraphicsManager::updateScreen() (sdl-graphics.cpp:942) ==27227== by 0x80E45FB: ModularBackend::updateScreen() (modular-backend.cpp:163) ==27227== by 0x8060409: Toon::ToonEngine::copyToVirtualScreen(bool) (toon.cpp:542) ==27227== by 0x805FB8B: Toon::ToonEngine::render() (toon.cpp:429) ==27227== by 0x806044E: Toon::ToonEngine::doFrame() (toon.cpp:552) ==27227== by 0x8061034: Toon::ToonEngine::run() (toon.cpp:810) ==27227== by 0x804F27B: runGame(PluginSubclass const*, OSystem&, Common::String const&) (main.cpp:207)