==10942== Thread 1: ==10942== Invalid write of size 2 ==10942== at 0xA45AA2: Graphics::VectorRendererSpec >::colorFill(unsigned short*, unsigned short*, unsigned short) (VectorRendererSpec.cpp:444) ==10942== by 0xA5BCE4: Graphics::VectorRendererSpec >::drawTriangleFast(int, int, int, bool, unsigned short, Graphics::VectorRenderer::FillMode) (VectorRendererSpec.cpp:1139) ==10942== by 0xA425F7: Graphics::VectorRendererSpec >::drawTriangle(int, int, int, int, Graphics::VectorRenderer::TriangleOrientation) (VectorRendererSpec.cpp:722) ==10942== by 0xA2DA9B: Graphics::VectorRenderer::drawCallback_TRIANGLE(Common::Rect const&, Graphics::DrawStep const&) (VectorRenderer.h:425) ==10942== by 0xA412F0: Graphics::VectorRenderer::drawStep(Common::Rect const&, Graphics::DrawStep const&, unsigned) (VectorRenderer.cpp:77) ==10942== by 0xA16199: GUI::ThemeItemDrawData::drawSelf(bool, bool) (ThemeEngine.cpp:219) ==10942== by 0xA18F05: GUI::ThemeEngine::updateScreen() (ThemeEngine.cpp:1083) ==10942== by 0x9F6EF8: GUI::GuiManager::redraw() (GuiManager.cpp:166) ==10942== by 0x9F715A: GUI::GuiManager::runLoop() (GuiManager.cpp:210) ==10942== by 0x9F66E2: GUI::Dialog::runModal() (dialog.cpp:77) ==10942== by 0x9F4C13: GUI::Debugger::enter() (debugger.cpp:135) ==10942== by 0x9F4C65: GUI::Debugger::onFrame() (debugger.cpp:111) ==10942== Address 0xb94e110 is not stack'd, malloc'd or (recently) free'd ==10942== ==10942== Invalid write of size 2 ==10942== at 0xA45AB2: Graphics::VectorRendererSpec >::colorFill(unsigned short*, unsigned short*, unsigned short) (VectorRendererSpec.cpp:445) ==10942== by 0xA5BCE4: Graphics::VectorRendererSpec >::drawTriangleFast(int, int, int, bool, unsigned short, Graphics::VectorRenderer::FillMode) (VectorRendererSpec.cpp:1139) ==10942== by 0xA425F7: Graphics::VectorRendererSpec >::drawTriangle(int, int, int, int, Graphics::VectorRenderer::TriangleOrientation) (VectorRendererSpec.cpp:722) ==10942== by 0xA2DA9B: Graphics::VectorRenderer::drawCallback_TRIANGLE(Common::Rect const&, Graphics::DrawStep const&) (VectorRenderer.h:425) ==10942== by 0xA412F0: Graphics::VectorRenderer::drawStep(Common::Rect const&, Graphics::DrawStep const&, unsigned) (VectorRenderer.cpp:77) ==10942== by 0xA16199: GUI::ThemeItemDrawData::drawSelf(bool, bool) (ThemeEngine.cpp:219) ==10942== by 0xA18F05: GUI::ThemeEngine::updateScreen() (ThemeEngine.cpp:1083) ==10942== by 0x9F6EF8: GUI::GuiManager::redraw() (GuiManager.cpp:166) ==10942== by 0x9F715A: GUI::GuiManager::runLoop() (GuiManager.cpp:210) ==10942== by 0x9F66E2: GUI::Dialog::runModal() (dialog.cpp:77) ==10942== by 0x9F4C13: GUI::Debugger::enter() (debugger.cpp:135) ==10942== by 0x9F4C65: GUI::Debugger::onFrame() (debugger.cpp:111) ==10942== Address 0xb94e112 is not stack'd, malloc'd or (recently) free'd ==10942== ==10942== Invalid write of size 2 ==10942== at 0xA45A82: Graphics::VectorRendererSpec >::colorFill(unsigned short*, unsigned short*, unsigned short) (VectorRendererSpec.cpp:442) ==10942== by 0xA5BCE4: Graphics::VectorRendererSpec >::drawTriangleFast(int, int, int, bool, unsigned short, Graphics::VectorRenderer::FillMode) (VectorRendererSpec.cpp:1139) ==10942== by 0xA425F7: Graphics::VectorRendererSpec >::drawTriangle(int, int, int, int, Graphics::VectorRenderer::TriangleOrientation) (VectorRendererSpec.cpp:722) ==10942== by 0xA2DA9B: Graphics::VectorRenderer::drawCallback_TRIANGLE(Common::Rect const&, Graphics::DrawStep const&) (VectorRenderer.h:425) ==10942== by 0xA412F0: Graphics::VectorRenderer::drawStep(Common::Rect const&, Graphics::DrawStep const&, unsigned) (VectorRenderer.cpp:77) ==10942== by 0xA16199: GUI::ThemeItemDrawData::drawSelf(bool, bool) (ThemeEngine.cpp:219) ==10942== by 0xA18F05: GUI::ThemeEngine::updateScreen() (ThemeEngine.cpp:1083) ==10942== by 0x9F6EF8: GUI::GuiManager::redraw() (GuiManager.cpp:166) ==10942== by 0x9F711C: GUI::GuiManager::runLoop() (GuiManager.cpp:198) ==10942== by 0x9F66E2: GUI::Dialog::runModal() (dialog.cpp:77) ==10942== by 0x9F4C13: GUI::Debugger::enter() (debugger.cpp:135) ==10942== by 0x9F4C65: GUI::Debugger::onFrame() (debugger.cpp:111) ==10942== Address 0xb94e10e is 14 bytes after a block of size 128,000 alloc'd ==10942== at 0x4C265AE: malloc (vg_replace_malloc.c:207) ==10942== by 0x600B8E0: SDL_CreateRGBSurface (in /usr/lib/libSDL-1.2.so.0.11.1) ==10942== by 0x40AB23: OSystem_SDL::loadGFXMode() (graphics.cpp:470) ==10942== by 0x4070E4: OSystem_SDL::endGFXTransaction() (graphics.cpp:147) ==10942== by 0x40D83D: _ZL13setupGraphicsR7OSystem (main.cpp:224) ==10942== by 0x40E602: scummvm_main (main.cpp:295) ==10942== by 0x40B1F6: main (main.cpp:108) ==10942== ==10942== Invalid write of size 2 ==10942== at 0xA45A92: Graphics::VectorRendererSpec >::colorFill(unsigned short*, unsigned short*, unsigned short) (VectorRendererSpec.cpp:443) ==10942== by 0xA5BCE4: Graphics::VectorRendererSpec >::drawTriangleFast(int, int, int, bool, unsigned short, Graphics::VectorRenderer::FillMode) (VectorRendererSpec.cpp:1139) ==10942== by 0xA425F7: Graphics::VectorRendererSpec >::drawTriangle(int, int, int, int, Graphics::VectorRenderer::TriangleOrientation) (VectorRendererSpec.cpp:722) ==10942== by 0xA2DA9B: Graphics::VectorRenderer::drawCallback_TRIANGLE(Common::Rect const&, Graphics::DrawStep const&) (VectorRenderer.h:425) ==10942== by 0xA412F0: Graphics::VectorRenderer::drawStep(Common::Rect const&, Graphics::DrawStep const&, unsigned) (VectorRenderer.cpp:77) ==10942== by 0xA16199: GUI::ThemeItemDrawData::drawSelf(bool, bool) (ThemeEngine.cpp:219) ==10942== by 0xA18F05: GUI::ThemeEngine::updateScreen() (ThemeEngine.cpp:1083) ==10942== by 0x9F6EF8: GUI::GuiManager::redraw() (GuiManager.cpp:166) ==10942== by 0x9F711C: GUI::GuiManager::runLoop() (GuiManager.cpp:198) ==10942== by 0x9F66E2: GUI::Dialog::runModal() (dialog.cpp:77) ==10942== by 0x9F4C13: GUI::Debugger::enter() (debugger.cpp:135) ==10942== by 0x9F4C65: GUI::Debugger::onFrame() (debugger.cpp:111) ==10942== Address 0xb94e110 is not stack'd, malloc'd or (recently) free'd