Ticket #4173: valgrind.log

File valgrind.log, 6.5 KB (added by lordhoto, 15 years ago)

GUI related valgrind warnings

Line 
1==10942== Thread 1:
2==10942== Invalid write of size 2
3==10942== at 0xA45AA2: Graphics::VectorRendererSpec<unsigned short, Graphics::ColorMasks<565> >::colorFill(unsigned short*, unsigned short*, unsigned short) (VectorRendererSpec.cpp:444)
4==10942== by 0xA5BCE4: Graphics::VectorRendererSpec<unsigned short, Graphics::ColorMasks<565> >::drawTriangleFast(int, int, int, bool, unsigned short, Graphics::VectorRenderer::FillMode) (VectorRendererSpec.cpp:1139)
5==10942== by 0xA425F7: Graphics::VectorRendererSpec<unsigned short, Graphics::ColorMasks<565> >::drawTriangle(int, int, int, int, Graphics::VectorRenderer::TriangleOrientation) (VectorRendererSpec.cpp:722)
6==10942== by 0xA2DA9B: Graphics::VectorRenderer::drawCallback_TRIANGLE(Common::Rect const&, Graphics::DrawStep const&) (VectorRenderer.h:425)
7==10942== by 0xA412F0: Graphics::VectorRenderer::drawStep(Common::Rect const&, Graphics::DrawStep const&, unsigned) (VectorRenderer.cpp:77)
8==10942== by 0xA16199: GUI::ThemeItemDrawData::drawSelf(bool, bool) (ThemeEngine.cpp:219)
9==10942== by 0xA18F05: GUI::ThemeEngine::updateScreen() (ThemeEngine.cpp:1083)
10==10942== by 0x9F6EF8: GUI::GuiManager::redraw() (GuiManager.cpp:166)
11==10942== by 0x9F715A: GUI::GuiManager::runLoop() (GuiManager.cpp:210)
12==10942== by 0x9F66E2: GUI::Dialog::runModal() (dialog.cpp:77)
13==10942== by 0x9F4C13: GUI::Debugger::enter() (debugger.cpp:135)
14==10942== by 0x9F4C65: GUI::Debugger::onFrame() (debugger.cpp:111)
15==10942== Address 0xb94e110 is not stack'd, malloc'd or (recently) free'd
16==10942==
17==10942== Invalid write of size 2
18==10942== at 0xA45AB2: Graphics::VectorRendererSpec<unsigned short, Graphics::ColorMasks<565> >::colorFill(unsigned short*, unsigned short*, unsigned short) (VectorRendererSpec.cpp:445)
19==10942== by 0xA5BCE4: Graphics::VectorRendererSpec<unsigned short, Graphics::ColorMasks<565> >::drawTriangleFast(int, int, int, bool, unsigned short, Graphics::VectorRenderer::FillMode) (VectorRendererSpec.cpp:1139)
20==10942== by 0xA425F7: Graphics::VectorRendererSpec<unsigned short, Graphics::ColorMasks<565> >::drawTriangle(int, int, int, int, Graphics::VectorRenderer::TriangleOrientation) (VectorRendererSpec.cpp:722)
21==10942== by 0xA2DA9B: Graphics::VectorRenderer::drawCallback_TRIANGLE(Common::Rect const&, Graphics::DrawStep const&) (VectorRenderer.h:425)
22==10942== by 0xA412F0: Graphics::VectorRenderer::drawStep(Common::Rect const&, Graphics::DrawStep const&, unsigned) (VectorRenderer.cpp:77)
23==10942== by 0xA16199: GUI::ThemeItemDrawData::drawSelf(bool, bool) (ThemeEngine.cpp:219)
24==10942== by 0xA18F05: GUI::ThemeEngine::updateScreen() (ThemeEngine.cpp:1083)
25==10942== by 0x9F6EF8: GUI::GuiManager::redraw() (GuiManager.cpp:166)
26==10942== by 0x9F715A: GUI::GuiManager::runLoop() (GuiManager.cpp:210)
27==10942== by 0x9F66E2: GUI::Dialog::runModal() (dialog.cpp:77)
28==10942== by 0x9F4C13: GUI::Debugger::enter() (debugger.cpp:135)
29==10942== by 0x9F4C65: GUI::Debugger::onFrame() (debugger.cpp:111)
30==10942== Address 0xb94e112 is not stack'd, malloc'd or (recently) free'd
31==10942==
32==10942== Invalid write of size 2
33==10942== at 0xA45A82: Graphics::VectorRendererSpec<unsigned short, Graphics::ColorMasks<565> >::colorFill(unsigned short*, unsigned short*, unsigned short) (VectorRendererSpec.cpp:442)
34==10942== by 0xA5BCE4: Graphics::VectorRendererSpec<unsigned short, Graphics::ColorMasks<565> >::drawTriangleFast(int, int, int, bool, unsigned short, Graphics::VectorRenderer::FillMode) (VectorRendererSpec.cpp:1139)
35==10942== by 0xA425F7: Graphics::VectorRendererSpec<unsigned short, Graphics::ColorMasks<565> >::drawTriangle(int, int, int, int, Graphics::VectorRenderer::TriangleOrientation) (VectorRendererSpec.cpp:722)
36==10942== by 0xA2DA9B: Graphics::VectorRenderer::drawCallback_TRIANGLE(Common::Rect const&, Graphics::DrawStep const&) (VectorRenderer.h:425)
37==10942== by 0xA412F0: Graphics::VectorRenderer::drawStep(Common::Rect const&, Graphics::DrawStep const&, unsigned) (VectorRenderer.cpp:77)
38==10942== by 0xA16199: GUI::ThemeItemDrawData::drawSelf(bool, bool) (ThemeEngine.cpp:219)
39==10942== by 0xA18F05: GUI::ThemeEngine::updateScreen() (ThemeEngine.cpp:1083)
40==10942== by 0x9F6EF8: GUI::GuiManager::redraw() (GuiManager.cpp:166)
41==10942== by 0x9F711C: GUI::GuiManager::runLoop() (GuiManager.cpp:198)
42==10942== by 0x9F66E2: GUI::Dialog::runModal() (dialog.cpp:77)
43==10942== by 0x9F4C13: GUI::Debugger::enter() (debugger.cpp:135)
44==10942== by 0x9F4C65: GUI::Debugger::onFrame() (debugger.cpp:111)
45==10942== Address 0xb94e10e is 14 bytes after a block of size 128,000 alloc'd
46==10942== at 0x4C265AE: malloc (vg_replace_malloc.c:207)
47==10942== by 0x600B8E0: SDL_CreateRGBSurface (in /usr/lib/libSDL-1.2.so.0.11.1)
48==10942== by 0x40AB23: OSystem_SDL::loadGFXMode() (graphics.cpp:470)
49==10942== by 0x4070E4: OSystem_SDL::endGFXTransaction() (graphics.cpp:147)
50==10942== by 0x40D83D: _ZL13setupGraphicsR7OSystem (main.cpp:224)
51==10942== by 0x40E602: scummvm_main (main.cpp:295)
52==10942== by 0x40B1F6: main (main.cpp:108)
53==10942==
54==10942== Invalid write of size 2
55==10942== at 0xA45A92: Graphics::VectorRendererSpec<unsigned short, Graphics::ColorMasks<565> >::colorFill(unsigned short*, unsigned short*, unsigned short) (VectorRendererSpec.cpp:443)
56==10942== by 0xA5BCE4: Graphics::VectorRendererSpec<unsigned short, Graphics::ColorMasks<565> >::drawTriangleFast(int, int, int, bool, unsigned short, Graphics::VectorRenderer::FillMode) (VectorRendererSpec.cpp:1139)
57==10942== by 0xA425F7: Graphics::VectorRendererSpec<unsigned short, Graphics::ColorMasks<565> >::drawTriangle(int, int, int, int, Graphics::VectorRenderer::TriangleOrientation) (VectorRendererSpec.cpp:722)
58==10942== by 0xA2DA9B: Graphics::VectorRenderer::drawCallback_TRIANGLE(Common::Rect const&, Graphics::DrawStep const&) (VectorRenderer.h:425)
59==10942== by 0xA412F0: Graphics::VectorRenderer::drawStep(Common::Rect const&, Graphics::DrawStep const&, unsigned) (VectorRenderer.cpp:77)
60==10942== by 0xA16199: GUI::ThemeItemDrawData::drawSelf(bool, bool) (ThemeEngine.cpp:219)
61==10942== by 0xA18F05: GUI::ThemeEngine::updateScreen() (ThemeEngine.cpp:1083)
62==10942== by 0x9F6EF8: GUI::GuiManager::redraw() (GuiManager.cpp:166)
63==10942== by 0x9F711C: GUI::GuiManager::runLoop() (GuiManager.cpp:198)
64==10942== by 0x9F66E2: GUI::Dialog::runModal() (dialog.cpp:77)
65==10942== by 0x9F4C13: GUI::Debugger::enter() (debugger.cpp:135)
66==10942== by 0x9F4C65: GUI::Debugger::onFrame() (debugger.cpp:111)
67==10942== Address 0xb94e110 is not stack'd, malloc'd or (recently) free'd