valgrind --leak-check=full --track-origins=yes ./widelands ==1355== Memcheck, a memory error detector ==1355== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. ==1355== Using Valgrind-3.12.0 and LibVEX; rerun with -h for copyright info ==1355== Command: ./widelands ==1355== This is Widelands Version bzr8377[trunk] (Debug) Set home directory: /home/kaputtnik/.widelands Widelands executable directory: /home/kaputtnik/Quellcode/widelands-repo/trunk/ Adding directory: /home/kaputtnik/Quellcode/widelands-repo/trunk/data selected language: de using locale de_DE ==1355== Syscall param writev(vector[...]) points to uninitialised byte(s) ==1355== at 0x7878D6D: ??? (in /usr/lib/libc-2.25.so) ==1355== by 0xB48FBAC: ??? (in /usr/lib/libxcb.so.1.1.0) ==1355== by 0xB48FFAC: ??? (in /usr/lib/libxcb.so.1.1.0) ==1355== by 0xB49002C: xcb_writev (in /usr/lib/libxcb.so.1.1.0) ==1355== by 0xA3E3F3D: _XSend (in /usr/lib/libX11.so.6.3.0) ==1355== by 0xA3E4431: _XReply (in /usr/lib/libX11.so.6.3.0) ==1355== by 0xA3CF2EE: XInternAtom (in /usr/lib/libX11.so.6.3.0) ==1355== by 0x4EFB79A: ??? (in /usr/lib/libSDL2-2.0.so.0.4.1) ==1355== by 0x4EFC694: ??? (in /usr/lib/libSDL2-2.0.so.0.4.1) ==1355== by 0x4EEB87F: ??? (in /usr/lib/libSDL2-2.0.so.0.4.1) ==1355== by 0x4EEB60E: ??? (in /usr/lib/libSDL2-2.0.so.0.4.1) ==1355== by 0x4E4F1C6: ??? (in /usr/lib/libSDL2-2.0.so.0.4.1) ==1355== Address 0xc38b0e3 is 35 bytes inside a block of size 16,384 alloc'd ==1355== at 0x4C2CF35: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==1355== by 0xA3D4385: XOpenDisplay (in /usr/lib/libX11.so.6.3.0) ==1355== by 0x4EFA84F: ??? (in /usr/lib/libSDL2-2.0.so.0.4.1) ==1355== by 0x4EEB5BB: ??? (in /usr/lib/libSDL2-2.0.so.0.4.1) ==1355== by 0x4E4F1C6: ??? (in /usr/lib/libSDL2-2.0.so.0.4.1) ==1355== by 0xC868C2: WLApplication::WLApplication(int, char const* const*) (wlapplication.cc:331) ==1355== by 0xC862F7: WLApplication::get(int, char const**) (wlapplication.cc:264) ==1355== by 0xC85741: main (main.cc:47) ==1355== Uninitialised value was created by a stack allocation ==1355== at 0xA3DF6D0: XStoreColors (in /usr/lib/libX11.so.6.3.0) ==1355== Graphics: Try to set Videomode 1440x900 Graphics: OpenGL: Version "3.0 Mesa 17.1.2" Graphics: SDL_GL_RED_SIZE is 8 Graphics: SDL_GL_GREEN_SIZE is 8 Graphics: SDL_GL_BLUE_SIZE is 8 Graphics: SDL_GL_ALPHA_SIZE is 0 Graphics: SDL_GL_BUFFER_SIZE is 24 Graphics: SDL_GL_DOUBLEBUFFER is 1 Graphics: SDL_GL_DEPTH_SIZE is 24 Graphics: SDL_GL_STENCIL_SIZE is 0 Graphics: SDL_GL_ACCUM_RED_SIZE is 0 Graphics: SDL_GL_ACCUM_GREEN_SIZE is 0 Graphics: SDL_GL_ACCUM_BLUE_SIZE is 0 Graphics: SDL_GL_ACCUM_ALPHA_SIZE is 0 Graphics: SDL_GL_STEREO is 0 Graphics: SDL_GL_MULTISAMPLEBUFFERS is 0 Graphics: SDL_GL_MULTISAMPLESAMPLES is 0 Graphics: SDL_GL_ACCELERATED_VISUAL is 1 Graphics: SDL_GL_CONTEXT_MAJOR_VERSION is 2 Graphics: SDL_GL_CONTEXT_MINOR_VERSION is 1 Graphics: SDL_GL_CONTEXT_FLAGS is 0 Graphics: SDL_GL_CONTEXT_PROFILE_MASK is 2 Graphics: SDL_GL_SHARE_WITH_CURRENT_CONTEXT is 0 Graphics: SDL_GL_FRAMEBUFFER_SRGB_CAPABLE is 0 Graphics: OpenGL: Double buffering enabled Graphics: OpenGL: Max texture size: 16384 Graphics: OpenGL: ShadingLanguage: "1.30" **** GRAPHICS REPORT **** VIDEO DRIVER x11 pixel fmt 370546692 size 1440 900 **** END GRAPHICS REPORT **** SoundHandler closing times 1, freq 22050, format 32784, chan 2 SDL_AUDIODRIVER pulseaudio ==1355== ==1355== HEAP SUMMARY: ==1355== in use at exit: 227,481 bytes in 2,046 blocks ==1355== total heap usage: 171,892 allocs, 169,846 frees, 87,468,609 bytes allocated ==1355== ==1355== 32 (24 direct, 8 indirect) bytes in 1 blocks are definitely lost in loss record 230 of 1,127 ==1355== at 0x4C2B58F: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==1355== by 0xD6F572: RT::TextNode::render(TextureCache*) (rt_render.cc:560) ==1355== by 0xD74904: RT::DivTagRenderNode::render(TextureCache*) (rt_render.cc:835) ==1355== by 0xD71EB8: RT::Renderer::render(std::__cxx11::basic_string, std::allocator > const&, unsigned short, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > const&) (rt_render.cc:1617) ==1355== by 0xD43359: UI::FontHandler1::render(std::__cxx11::basic_string, std::allocator > const&, unsigned short) (font_handler1.cc:90) ==1355== by 0x10F755B: text_height(int, UI::FontSet::Face) (text_layout.cc:57) ==1355== by 0xF6EB3D: UI::Textarea::update_desired_size() (textarea.cc:195) ==1355== by 0xF6E9DD: UI::Textarea::expand() (textarea.cc:164) ==1355== by 0xF6E735: UI::Textarea::update() (textarea.cc:90) ==1355== by 0xF6E5FD: UI::Textarea::init() (textarea.cc:65) ==1355== by 0xF6E145: UI::Textarea::Textarea(UI::Panel*, int, int, std::__cxx11::basic_string, std::allocator > const&, UI::Align) (textarea.cc:29) ==1355== by 0xF8C9DF: FullscreenMenuIntro::FullscreenMenuIntro() (intro.cc:32) ==1355== ==1355== 64 (48 direct, 16 indirect) bytes in 2 blocks are definitely lost in loss record 1,036 of 1,127 ==1355== at 0x4C2B58F: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==1355== by 0xD6F572: RT::TextNode::render(TextureCache*) (rt_render.cc:560) ==1355== by 0xD73773: RT::WordSpacerNode::render(TextureCache*) (rt_render.cc:654) ==1355== by 0xD74904: RT::DivTagRenderNode::render(TextureCache*) (rt_render.cc:835) ==1355== by 0xD71EB8: RT::Renderer::render(std::__cxx11::basic_string, std::allocator > const&, unsigned short, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > const&) (rt_render.cc:1617) ==1355== by 0xD43359: UI::FontHandler1::render(std::__cxx11::basic_string, std::allocator > const&, unsigned short) (font_handler1.cc:90) ==1355== by 0x10F801E: autofit_ui_text(std::__cxx11::basic_string, std::allocator > const&, int, RGBColor, int) (text_layout.cc:170) ==1355== by 0xF6E6F5: UI::Textarea::update() (textarea.cc:87) ==1355== by 0xF6E7B7: UI::Textarea::set_text(std::__cxx11::basic_string, std::allocator > const&) (textarea.cc:103) ==1355== by 0xF6E158: UI::Textarea::Textarea(UI::Panel*, int, int, std::__cxx11::basic_string, std::allocator > const&, UI::Align) (textarea.cc:30) ==1355== by 0xFA972F: FullscreenMenuMain::FullscreenMenuMain() (main.cc:106) ==1355== by 0xC8A4C6: WLApplication::mainmenu() (wlapplication.cc:984) ==1355== ==1355== 64 (48 direct, 16 indirect) bytes in 2 blocks are definitely lost in loss record 1,037 of 1,127 ==1355== at 0x4C2B58F: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==1355== by 0xD6F572: RT::TextNode::render(TextureCache*) (rt_render.cc:560) ==1355== by 0xD73773: RT::WordSpacerNode::render(TextureCache*) (rt_render.cc:654) ==1355== by 0xD74904: RT::DivTagRenderNode::render(TextureCache*) (rt_render.cc:835) ==1355== by 0xD71EB8: RT::Renderer::render(std::__cxx11::basic_string, std::allocator > const&, unsigned short, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > const&) (rt_render.cc:1617) ==1355== by 0xD43359: UI::FontHandler1::render(std::__cxx11::basic_string, std::allocator > const&, unsigned short) (font_handler1.cc:90) ==1355== by 0x10F801E: autofit_ui_text(std::__cxx11::basic_string, std::allocator > const&, int, RGBColor, int) (text_layout.cc:170) ==1355== by 0xF6E6F5: UI::Textarea::update() (textarea.cc:87) ==1355== by 0xF6E7B7: UI::Textarea::set_text(std::__cxx11::basic_string, std::allocator > const&) (textarea.cc:103) ==1355== by 0xF6E158: UI::Textarea::Textarea(UI::Panel*, int, int, std::__cxx11::basic_string, std::allocator > const&, UI::Align) (textarea.cc:30) ==1355== by 0xFA97D9: FullscreenMenuMain::FullscreenMenuMain() (main.cc:106) ==1355== by 0xC8A4C6: WLApplication::mainmenu() (wlapplication.cc:984) ==1355== ==1355== 72 bytes in 1 blocks are definitely lost in loss record 1,039 of 1,127 ==1355== at 0x4C2CF35: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==1355== by 0xA433F30: XkbGetMap (in /usr/lib/libX11.so.6.3.0) ==1355== by 0x4EF4E6E: ??? (in /usr/lib/libSDL2-2.0.so.0.4.1) ==1355== by 0x4EFB395: ??? (in /usr/lib/libSDL2-2.0.so.0.4.1) ==1355== by 0x4EEB405: ??? (in /usr/lib/libSDL2-2.0.so.0.4.1) ==1355== by 0x4E4F1C6: ??? (in /usr/lib/libSDL2-2.0.so.0.4.1) ==1355== by 0xC868C2: WLApplication::WLApplication(int, char const* const*) (wlapplication.cc:331) ==1355== by 0xC862F7: WLApplication::get(int, char const**) (wlapplication.cc:264) ==1355== by 0xC85741: main (main.cc:47) ==1355== ==1355== 96 (72 direct, 24 indirect) bytes in 3 blocks are definitely lost in loss record 1,046 of 1,127 ==1355== at 0x4C2B58F: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==1355== by 0xD6F572: RT::TextNode::render(TextureCache*) (rt_render.cc:560) ==1355== by 0xD74904: RT::DivTagRenderNode::render(TextureCache*) (rt_render.cc:835) ==1355== by 0xD71EB8: RT::Renderer::render(std::__cxx11::basic_string, std::allocator > const&, unsigned short, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > const&) (rt_render.cc:1617) ==1355== by 0xD43359: UI::FontHandler1::render(std::__cxx11::basic_string, std::allocator > const&, unsigned short) (font_handler1.cc:90) ==1355== by 0x10F801E: autofit_ui_text(std::__cxx11::basic_string, std::allocator > const&, int, RGBColor, int) (text_layout.cc:170) ==1355== by 0xF6E6F5: UI::Textarea::update() (textarea.cc:87) ==1355== by 0xF6E7B7: UI::Textarea::set_text(std::__cxx11::basic_string, std::allocator > const&) (textarea.cc:103) ==1355== by 0xF6E158: UI::Textarea::Textarea(UI::Panel*, int, int, std::__cxx11::basic_string, std::allocator > const&, UI::Align) (textarea.cc:30) ==1355== by 0xFA972F: FullscreenMenuMain::FullscreenMenuMain() (main.cc:106) ==1355== by 0xC8A4C6: WLApplication::mainmenu() (wlapplication.cc:984) ==1355== by 0xC8711D: WLApplication::run() (wlapplication.cc:440) ==1355== ==1355== 96 (72 direct, 24 indirect) bytes in 3 blocks are definitely lost in loss record 1,047 of 1,127 ==1355== at 0x4C2B58F: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==1355== by 0xD6F572: RT::TextNode::render(TextureCache*) (rt_render.cc:560) ==1355== by 0xD74904: RT::DivTagRenderNode::render(TextureCache*) (rt_render.cc:835) ==1355== by 0xD71EB8: RT::Renderer::render(std::__cxx11::basic_string, std::allocator > const&, unsigned short, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > const&) (rt_render.cc:1617) ==1355== by 0xD43359: UI::FontHandler1::render(std::__cxx11::basic_string, std::allocator > const&, unsigned short) (font_handler1.cc:90) ==1355== by 0x10F801E: autofit_ui_text(std::__cxx11::basic_string, std::allocator > const&, int, RGBColor, int) (text_layout.cc:170) ==1355== by 0xF6E6F5: UI::Textarea::update() (textarea.cc:87) ==1355== by 0xF6E7B7: UI::Textarea::set_text(std::__cxx11::basic_string, std::allocator > const&) (textarea.cc:103) ==1355== by 0xF6E158: UI::Textarea::Textarea(UI::Panel*, int, int, std::__cxx11::basic_string, std::allocator > const&, UI::Align) (textarea.cc:30) ==1355== by 0xFA97D9: FullscreenMenuMain::FullscreenMenuMain() (main.cc:106) ==1355== by 0xC8A4C6: WLApplication::mainmenu() (wlapplication.cc:984) ==1355== by 0xC8711D: WLApplication::run() (wlapplication.cc:440) ==1355== ==1355== 96 (72 direct, 24 indirect) bytes in 3 blocks are definitely lost in loss record 1,048 of 1,127 ==1355== at 0x4C2B58F: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==1355== by 0xD6F572: RT::TextNode::render(TextureCache*) (rt_render.cc:560) ==1355== by 0xD73773: RT::WordSpacerNode::render(TextureCache*) (rt_render.cc:654) ==1355== by 0xD74904: RT::DivTagRenderNode::render(TextureCache*) (rt_render.cc:835) ==1355== by 0xD71EB8: RT::Renderer::render(std::__cxx11::basic_string, std::allocator > const&, unsigned short, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > const&) (rt_render.cc:1617) ==1355== by 0xD43359: UI::FontHandler1::render(std::__cxx11::basic_string, std::allocator > const&, unsigned short) (font_handler1.cc:90) ==1355== by 0x10F801E: autofit_ui_text(std::__cxx11::basic_string, std::allocator > const&, int, RGBColor, int) (text_layout.cc:170) ==1355== by 0xF3A0DA: UI::Button::draw(RenderTarget&) (button.cc:210) ==1355== by 0xF51C47: UI::Panel::do_draw_inner(RenderTarget&) (panel.cc:725) ==1355== by 0xF51E06: UI::Panel::do_draw(RenderTarget&) (panel.cc:758) ==1355== by 0xF51C6D: UI::Panel::do_draw_inner(RenderTarget&) (panel.cc:729) ==1355== by 0xF51E06: UI::Panel::do_draw(RenderTarget&) (panel.cc:758) ==1355== ==1355== 144 bytes in 1 blocks are definitely lost in loss record 1,058 of 1,127 ==1355== at 0x4C2CF35: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==1355== by 0x4EF95D8: ??? (in /usr/lib/libSDL2-2.0.so.0.4.1) ==1355== by 0x4EE9A65: ??? (in /usr/lib/libSDL2-2.0.so.0.4.1) ==1355== by 0xD34DE3: Graphic::initialize(Graphic::TraceGl const&, int, int, bool) (graphic.cc:75) ==1355== by 0xC86A60: WLApplication::WLApplication(int, char const* const*) (wlapplication.cc:344) ==1355== by 0xC862F7: WLApplication::get(int, char const**) (wlapplication.cc:264) ==1355== by 0xC85741: main (main.cc:47) ==1355== ==1355== 224 (168 direct, 56 indirect) bytes in 7 blocks are definitely lost in loss record 1,072 of 1,127 ==1355== at 0x4C2B58F: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==1355== by 0xD6F572: RT::TextNode::render(TextureCache*) (rt_render.cc:560) ==1355== by 0xD73773: RT::WordSpacerNode::render(TextureCache*) (rt_render.cc:654) ==1355== by 0xD74904: RT::DivTagRenderNode::render(TextureCache*) (rt_render.cc:835) ==1355== by 0xD71EB8: RT::Renderer::render(std::__cxx11::basic_string, std::allocator > const&, unsigned short, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > const&) (rt_render.cc:1617) ==1355== by 0xD43359: UI::FontHandler1::render(std::__cxx11::basic_string, std::allocator > const&, unsigned short) (font_handler1.cc:90) ==1355== by 0x10F801E: autofit_ui_text(std::__cxx11::basic_string, std::allocator > const&, int, RGBColor, int) (text_layout.cc:170) ==1355== by 0xF6E6F5: UI::Textarea::update() (textarea.cc:87) ==1355== by 0xF6E7B7: UI::Textarea::set_text(std::__cxx11::basic_string, std::allocator > const&) (textarea.cc:103) ==1355== by 0xF6E158: UI::Textarea::Textarea(UI::Panel*, int, int, std::__cxx11::basic_string, std::allocator > const&, UI::Align) (textarea.cc:30) ==1355== by 0xF8C9DF: FullscreenMenuIntro::FullscreenMenuIntro() (intro.cc:32) ==1355== by 0xC8709C: WLApplication::run() (wlapplication.cc:435) ==1355== ==1355== 224 (168 direct, 56 indirect) bytes in 7 blocks are definitely lost in loss record 1,073 of 1,127 ==1355== at 0x4C2B58F: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==1355== by 0xD6F572: RT::TextNode::render(TextureCache*) (rt_render.cc:560) ==1355== by 0xD73773: RT::WordSpacerNode::render(TextureCache*) (rt_render.cc:654) ==1355== by 0xD74904: RT::DivTagRenderNode::render(TextureCache*) (rt_render.cc:835) ==1355== by 0xD71EB8: RT::Renderer::render(std::__cxx11::basic_string, std::allocator > const&, unsigned short, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > const&) (rt_render.cc:1617) ==1355== by 0xD43359: UI::FontHandler1::render(std::__cxx11::basic_string, std::allocator > const&, unsigned short) (font_handler1.cc:90) ==1355== by 0x10F801E: autofit_ui_text(std::__cxx11::basic_string, std::allocator > const&, int, RGBColor, int) (text_layout.cc:170) ==1355== by 0xF6E6F5: UI::Textarea::update() (textarea.cc:87) ==1355== by 0xF6E68E: UI::Textarea::set_fontsize(int) (textarea.cc:78) ==1355== by 0xF8CA38: FullscreenMenuIntro::FullscreenMenuIntro() (intro.cc:33) ==1355== by 0xC8709C: WLApplication::run() (wlapplication.cc:435) ==1355== by 0xC85751: main (main.cc:49) ==1355== ==1355== 224 (168 direct, 56 indirect) bytes in 7 blocks are definitely lost in loss record 1,074 of 1,127 ==1355== at 0x4C2B58F: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==1355== by 0xD6F572: RT::TextNode::render(TextureCache*) (rt_render.cc:560) ==1355== by 0xD73773: RT::WordSpacerNode::render(TextureCache*) (rt_render.cc:654) ==1355== by 0xD74904: RT::DivTagRenderNode::render(TextureCache*) (rt_render.cc:835) ==1355== by 0xD71EB8: RT::Renderer::render(std::__cxx11::basic_string, std::allocator > const&, unsigned short, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > const&) (rt_render.cc:1617) ==1355== by 0xD43359: UI::FontHandler1::render(std::__cxx11::basic_string, std::allocator > const&, unsigned short) (font_handler1.cc:90) ==1355== by 0x10F801E: autofit_ui_text(std::__cxx11::basic_string, std::allocator > const&, int, RGBColor, int) (text_layout.cc:170) ==1355== by 0xF6E6F5: UI::Textarea::update() (textarea.cc:87) ==1355== by 0xF6E654: UI::Textarea::set_color(RGBColor) (textarea.cc:71) ==1355== by 0xF8CA83: FullscreenMenuIntro::FullscreenMenuIntro() (intro.cc:34) ==1355== by 0xC8709C: WLApplication::run() (wlapplication.cc:435) ==1355== by 0xC85751: main (main.cc:49) ==1355== ==1355== 224 (168 direct, 56 indirect) bytes in 7 blocks are definitely lost in loss record 1,075 of 1,127 ==1355== at 0x4C2B58F: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==1355== by 0xD6F572: RT::TextNode::render(TextureCache*) (rt_render.cc:560) ==1355== by 0xD73773: RT::WordSpacerNode::render(TextureCache*) (rt_render.cc:654) ==1355== by 0xD74904: RT::DivTagRenderNode::render(TextureCache*) (rt_render.cc:835) ==1355== by 0xD71EB8: RT::Renderer::render(std::__cxx11::basic_string, std::allocator > const&, unsigned short, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > const&) (rt_render.cc:1617) ==1355== by 0xD43359: UI::FontHandler1::render(std::__cxx11::basic_string, std::allocator > const&, unsigned short) (font_handler1.cc:90) ==1355== by 0x10F801E: autofit_ui_text(std::__cxx11::basic_string, std::allocator > const&, int, RGBColor, int) (text_layout.cc:170) ==1355== by 0xF6E6F5: UI::Textarea::update() (textarea.cc:87) ==1355== by 0xF6E7B7: UI::Textarea::set_text(std::__cxx11::basic_string, std::allocator > const&) (textarea.cc:103) ==1355== by 0xF6E158: UI::Textarea::Textarea(UI::Panel*, int, int, std::__cxx11::basic_string, std::allocator > const&, UI::Align) (textarea.cc:30) ==1355== by 0xFA9863: FullscreenMenuMain::FullscreenMenuMain() (main.cc:106) ==1355== by 0xC8A4C6: WLApplication::mainmenu() (wlapplication.cc:984) ==1355== ==1355== 256 (192 direct, 64 indirect) bytes in 8 blocks are definitely lost in loss record 1,078 of 1,127 ==1355== at 0x4C2B58F: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==1355== by 0xD6F572: RT::TextNode::render(TextureCache*) (rt_render.cc:560) ==1355== by 0xD74904: RT::DivTagRenderNode::render(TextureCache*) (rt_render.cc:835) ==1355== by 0xD71EB8: RT::Renderer::render(std::__cxx11::basic_string, std::allocator > const&, unsigned short, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > const&) (rt_render.cc:1617) ==1355== by 0xD43359: UI::FontHandler1::render(std::__cxx11::basic_string, std::allocator > const&, unsigned short) (font_handler1.cc:90) ==1355== by 0x10F801E: autofit_ui_text(std::__cxx11::basic_string, std::allocator > const&, int, RGBColor, int) (text_layout.cc:170) ==1355== by 0xF6E6F5: UI::Textarea::update() (textarea.cc:87) ==1355== by 0xF6E7B7: UI::Textarea::set_text(std::__cxx11::basic_string, std::allocator > const&) (textarea.cc:103) ==1355== by 0xF6E158: UI::Textarea::Textarea(UI::Panel*, int, int, std::__cxx11::basic_string, std::allocator > const&, UI::Align) (textarea.cc:30) ==1355== by 0xF8C9DF: FullscreenMenuIntro::FullscreenMenuIntro() (intro.cc:32) ==1355== by 0xC8709C: WLApplication::run() (wlapplication.cc:435) ==1355== by 0xC85751: main (main.cc:49) ==1355== ==1355== 256 (192 direct, 64 indirect) bytes in 8 blocks are definitely lost in loss record 1,079 of 1,127 ==1355== at 0x4C2B58F: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==1355== by 0xD6F572: RT::TextNode::render(TextureCache*) (rt_render.cc:560) ==1355== by 0xD74904: RT::DivTagRenderNode::render(TextureCache*) (rt_render.cc:835) ==1355== by 0xD71EB8: RT::Renderer::render(std::__cxx11::basic_string, std::allocator > const&, unsigned short, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > const&) (rt_render.cc:1617) ==1355== by 0xD43359: UI::FontHandler1::render(std::__cxx11::basic_string, std::allocator > const&, unsigned short) (font_handler1.cc:90) ==1355== by 0x10F801E: autofit_ui_text(std::__cxx11::basic_string, std::allocator > const&, int, RGBColor, int) (text_layout.cc:170) ==1355== by 0xF6E6F5: UI::Textarea::update() (textarea.cc:87) ==1355== by 0xF6E68E: UI::Textarea::set_fontsize(int) (textarea.cc:78) ==1355== by 0xF8CA38: FullscreenMenuIntro::FullscreenMenuIntro() (intro.cc:33) ==1355== by 0xC8709C: WLApplication::run() (wlapplication.cc:435) ==1355== by 0xC85751: main (main.cc:49) ==1355== ==1355== 256 (192 direct, 64 indirect) bytes in 8 blocks are definitely lost in loss record 1,080 of 1,127 ==1355== at 0x4C2B58F: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==1355== by 0xD6F572: RT::TextNode::render(TextureCache*) (rt_render.cc:560) ==1355== by 0xD74904: RT::DivTagRenderNode::render(TextureCache*) (rt_render.cc:835) ==1355== by 0xD71EB8: RT::Renderer::render(std::__cxx11::basic_string, std::allocator > const&, unsigned short, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > const&) (rt_render.cc:1617) ==1355== by 0xD43359: UI::FontHandler1::render(std::__cxx11::basic_string, std::allocator > const&, unsigned short) (font_handler1.cc:90) ==1355== by 0x10F801E: autofit_ui_text(std::__cxx11::basic_string, std::allocator > const&, int, RGBColor, int) (text_layout.cc:170) ==1355== by 0xF6E6F5: UI::Textarea::update() (textarea.cc:87) ==1355== by 0xF6E654: UI::Textarea::set_color(RGBColor) (textarea.cc:71) ==1355== by 0xF8CA83: FullscreenMenuIntro::FullscreenMenuIntro() (intro.cc:34) ==1355== by 0xC8709C: WLApplication::run() (wlapplication.cc:435) ==1355== by 0xC85751: main (main.cc:49) ==1355== ==1355== 256 (192 direct, 64 indirect) bytes in 8 blocks are definitely lost in loss record 1,081 of 1,127 ==1355== at 0x4C2B58F: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==1355== by 0xD6F572: RT::TextNode::render(TextureCache*) (rt_render.cc:560) ==1355== by 0xD74904: RT::DivTagRenderNode::render(TextureCache*) (rt_render.cc:835) ==1355== by 0xD71EB8: RT::Renderer::render(std::__cxx11::basic_string, std::allocator > const&, unsigned short, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > const&) (rt_render.cc:1617) ==1355== by 0xD43359: UI::FontHandler1::render(std::__cxx11::basic_string, std::allocator > const&, unsigned short) (font_handler1.cc:90) ==1355== by 0x10F801E: autofit_ui_text(std::__cxx11::basic_string, std::allocator > const&, int, RGBColor, int) (text_layout.cc:170) ==1355== by 0xF6E6F5: UI::Textarea::update() (textarea.cc:87) ==1355== by 0xF6E7B7: UI::Textarea::set_text(std::__cxx11::basic_string, std::allocator > const&) (textarea.cc:103) ==1355== by 0xF6E158: UI::Textarea::Textarea(UI::Panel*, int, int, std::__cxx11::basic_string, std::allocator > const&, UI::Align) (textarea.cc:30) ==1355== by 0xFA9863: FullscreenMenuMain::FullscreenMenuMain() (main.cc:106) ==1355== by 0xC8A4C6: WLApplication::mainmenu() (wlapplication.cc:984) ==1355== by 0xC8711D: WLApplication::run() (wlapplication.cc:440) ==1355== ==1355== 352 (264 direct, 88 indirect) bytes in 11 blocks are definitely lost in loss record 1,086 of 1,127 ==1355== at 0x4C2B58F: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==1355== by 0xD6F572: RT::TextNode::render(TextureCache*) (rt_render.cc:560) ==1355== by 0xD74904: RT::DivTagRenderNode::render(TextureCache*) (rt_render.cc:835) ==1355== by 0xD71EB8: RT::Renderer::render(std::__cxx11::basic_string, std::allocator > const&, unsigned short, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > const&) (rt_render.cc:1617) ==1355== by 0xD43359: UI::FontHandler1::render(std::__cxx11::basic_string, std::allocator > const&, unsigned short) (font_handler1.cc:90) ==1355== by 0x10F801E: autofit_ui_text(std::__cxx11::basic_string, std::allocator > const&, int, RGBColor, int) (text_layout.cc:170) ==1355== by 0xF3A0DA: UI::Button::draw(RenderTarget&) (button.cc:210) ==1355== by 0xF51C47: UI::Panel::do_draw_inner(RenderTarget&) (panel.cc:725) ==1355== by 0xF51E06: UI::Panel::do_draw(RenderTarget&) (panel.cc:758) ==1355== by 0xF51C6D: UI::Panel::do_draw_inner(RenderTarget&) (panel.cc:729) ==1355== by 0xF51E06: UI::Panel::do_draw(RenderTarget&) (panel.cc:758) ==1355== by 0xF51C6D: UI::Panel::do_draw_inner(RenderTarget&) (panel.cc:729) ==1355== ==1355== 735 bytes in 1 blocks are definitely lost in loss record 1,093 of 1,127 ==1355== at 0x4C2AF1F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==1355== by 0xEAC0828: ??? ==1355== by 0xEAC0CCF: ??? ==1355== by 0xA6E6651: glXGetClientString (in /usr/lib/libGLX.so.0.0.0) ==1355== by 0x6A2119B: glxewInit (in /usr/lib/libGLEW.so.2.0.0) ==1355== by 0x6A2962F: glewInit (in /usr/lib/libGLEW.so.2.0.0) ==1355== by 0x12794E5: Gl::initialize(Gl::Trace const&, SDL_Window*, int*) (initialize.cc:86) ==1355== by 0xD34ED8: Graphic::initialize(Graphic::TraceGl const&, int, int, bool) (graphic.cc:85) ==1355== by 0xC86A60: WLApplication::WLApplication(int, char const* const*) (wlapplication.cc:344) ==1355== by 0xC862F7: WLApplication::get(int, char const**) (wlapplication.cc:264) ==1355== by 0xC85741: main (main.cc:47) ==1355== ==1355== 4,800 bytes in 1 blocks are definitely lost in loss record 1,121 of 1,127 ==1355== at 0x4C2AF1F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==1355== by 0xEABC0B3: ??? ==1355== by 0xEABD301: ??? ==1355== by 0xA6E43E0: glXChooseFBConfig (in /usr/lib/libGLX.so.0.0.0) ==1355== by 0x4EF9EB1: ??? (in /usr/lib/libSDL2-2.0.so.0.4.1) ==1355== by 0x4EEA7DF: ??? (in /usr/lib/libSDL2-2.0.so.0.4.1) ==1355== by 0x12794BF: Gl::initialize(Gl::Trace const&, SDL_Window*, int*) (initialize.cc:47) ==1355== by 0xD34ED8: Graphic::initialize(Graphic::TraceGl const&, int, int, bool) (graphic.cc:85) ==1355== by 0xC86A60: WLApplication::WLApplication(int, char const* const*) (wlapplication.cc:344) ==1355== by 0xC862F7: WLApplication::get(int, char const**) (wlapplication.cc:264) ==1355== by 0xC85741: main (main.cc:47) ==1355== ==1355== LEAK SUMMARY: ==1355== definitely lost: 7,791 bytes in 89 blocks ==1355== indirectly lost: 680 bytes in 85 blocks ==1355== possibly lost: 0 bytes in 0 blocks ==1355== still reachable: 219,010 bytes in 1,872 blocks ==1355== suppressed: 0 bytes in 0 blocks ==1355== Reachable blocks (those to which a pointer was found) are not shown. ==1355== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==1355== ==1355== For counts of detected and suppressed errors, rerun with: -v ==1355== ERROR SUMMARY: 22 errors from 20 contexts (suppressed: 0 from 0)