the game run normally, with gdb, with valgrind and with valgrind -v
Doesnt really give any errors as to why it closes
./richy@richy-laptop:~/codeblocks/agamecpp/bin/Debug$ ./Agamed
Using OpenGL 2.1
Using resolution: 1024x576
Antialiasing Level of 2 was unavailable, using level 0 instead.
Loading file: ./Resources/Images/loading.png
Loading file: ./Resources/Fonts/visitor1.ttf
Loading file: ./Resources/Images/PalmTree.png
1
2
3
4
5
6
7
8
9
10
11
richy@richy-laptop:~/codeblocks/agamecpp/bin/Debug$ gdb ./Agamed
GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /home/richy/codeblocks/agamecpp/bin/Debug/Agamed...done.
(gdb) run
Starting program: /home/richy/codeblocks/agamecpp/bin/Debug/Agamed
[Thread debugging using libthread_db enabled]
Using OpenGL 2.1
Using resolution: 1024x576
Antialiasing Level of 2 was unavailable, using level 0 instead.
Loading file: ./Resources/Images/loading.png
Loading file: ./Resources/Fonts/visitor1.ttf
Loading file: ./Resources/Images/PalmTree.png
1
2
3
4
5
6
7
8
9
10
11
[Inferior 1 (process 2706) exited with code 01]
(gdb) exit
Undefined command: "exit". Try "help".
(gdb) quit
richy@richy-laptop:~/codeblocks/agamecpp/bin/Debug$ valgrind ./Agamed
==2713== Memcheck, a memory error detector
==2713== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==2713== Using Valgrind-3.6.1-Debian and LibVEX; rerun with -h for copyright info
==2713== Command: ./Agamed
==2713==
==2713== Invalid read of size 4
==2713== at 0x4C72112: _mesa_make_extension_string (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==2713== by 0x4C4C637: _mesa_make_current (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==2713== by 0x4B72B40: intelMakeCurrent (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==2713== by 0x4B669AE: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==2713== by 0x4559B8C: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2713== by 0x4531B96: glXMakeContextCurrent (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2713== by 0x4531D22: glXMakeCurrent (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2713== by 0x410F9B3: sf::priv::GlContext::setActive(bool) (GlContext.cpp:201)
==2713== by 0x410FB10: sf::priv::GlContext::initialize() (GlContext.cpp:256)
==2713== by 0x410F7C1: sf::priv::GlContext::create() (GlContext.cpp:143)
==2713== by 0x410F538: (anonymous namespace)::getInternalContext() (GlContext.cpp:87)
==2713== by 0x410F769: sf::priv::GlContext::ensureContext() (GlContext.cpp:135)
==2713== Address 0x4848308 is 0 bytes inside a block of size 1 alloc'd
==2713== at 0x402732C: calloc (vg_replace_malloc.c:467)
==2713== by 0x4C722DE: _mesa_make_extension_string (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==2713== by 0x4C4C637: _mesa_make_current (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==2713== by 0x4B72B40: intelMakeCurrent (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==2713== by 0x4B669AE: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==2713== by 0x4559B8C: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2713== by 0x4531B96: glXMakeContextCurrent (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2713== by 0x4531D22: glXMakeCurrent (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2713== by 0x410F9B3: sf::priv::GlContext::setActive(bool) (GlContext.cpp:201)
==2713== by 0x410FB10: sf::priv::GlContext::initialize() (GlContext.cpp:256)
==2713== by 0x410F7C1: sf::priv::GlContext::create() (GlContext.cpp:143)
==2713== by 0x410F538: (anonymous namespace)::getInternalContext() (GlContext.cpp:87)
==2713==
==2713== Syscall param writev(vector[...]) points to uninitialised byte(s)
==2713== at 0x4335124: writev (writev.c:51)
==2713== by 0x40004: ???
==2713== Address 0x6ea554c is 36 bytes inside a block of size 16,384 alloc'd
==2713== at 0x402732C: calloc (vg_replace_malloc.c:467)
==2713== by 0x4598551: XOpenDisplay (in /usr/lib/i386-linux-gnu/libX11.so.6.3.0)
==2713== by 0x4119240: sf::priv::WindowImplX11::WindowImplX11(sf::VideoMode, std::string const&, unsigned long) (WindowImplX11.cpp:104)
==2713== by 0x4114720: sf::priv::WindowImpl::create(sf::VideoMode, std::string const&, unsigned int) (WindowImpl.cpp:60)
==2713== by 0x4113E4C: sf::Window::create(sf::VideoMode, std::string const&, unsigned int, sf::ContextSettings const&) (Window.cpp:114)
==2713== by 0x805C04C: Game::setupOpenGL() (Game.cpp:88)
==2713== by 0x805C566: Game::Run() (Game.cpp:148)
==2713== by 0x804FB7F: main (main.cpp:34)
==2713==
Using OpenGL 2.1
Using resolution: 1024x576
Antialiasing Level of 2 was unavailable, using level 0 instead.
Loading file: ./Resources/Images/loading.png
Loading file: ./Resources/Fonts/visitor1.ttf
Loading file: ./Resources/Images/PalmTree.png
==2713== Conditional jump or move depends on uninitialised value(s)
==2713== at 0x805C5BC: Game::Run() (Game.cpp:166)
==2713== by 0x804FB7F: main (main.cpp:34)
==2713==
1
2
3
4
5
6
7
8
9
10
11
==2713==
==2713== HEAP SUMMARY:
==2713== in use at exit: 117,597,627 bytes in 4,841 blocks
==2713== total heap usage: 12,669 allocs, 7,828 frees, 134,911,932 bytes allocated
==2713==
==2713== LEAK SUMMARY:
==2713== definitely lost: 88 bytes in 1 blocks
==2713== indirectly lost: 0 bytes in 0 blocks
==2713== possibly lost: 44,674,635 bytes in 71 blocks
==2713== still reachable: 72,922,904 bytes in 4,769 blocks
==2713== suppressed: 0 bytes in 0 blocks
==2713== Rerun with --leak-check=full to see details of leaked memory
==2713==
==2713== For counts of detected and suppressed errors, rerun with: -v
==2713== Use --track-origins=yes to see where uninitialised values come from
==2713== ERROR SUMMARY: 8 errors from 3 contexts (suppressed: 95 from 11)
richy@richy-laptop:~/codeblocks/agamecpp/bin/Debug$ valgrind ./Agamed -v
==2716== Memcheck, a memory error detector
==2716== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==2716== Using Valgrind-3.6.1-Debian and LibVEX; rerun with -h for copyright info
==2716== Command: ./Agamed -v
==2716==
==2716== Invalid read of size 4
==2716== at 0x4C72112: _mesa_make_extension_string (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==2716== by 0x4C4C637: _mesa_make_current (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==2716== by 0x4B72B40: intelMakeCurrent (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==2716== by 0x4B669AE: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==2716== by 0x4559B8C: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2716== by 0x4531B96: glXMakeContextCurrent (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2716== by 0x4531D22: glXMakeCurrent (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2716== by 0x410F9B3: sf::priv::GlContext::setActive(bool) (GlContext.cpp:201)
==2716== by 0x410FB10: sf::priv::GlContext::initialize() (GlContext.cpp:256)
==2716== by 0x410F7C1: sf::priv::GlContext::create() (GlContext.cpp:143)
==2716== by 0x410F538: (anonymous namespace)::getInternalContext() (GlContext.cpp:87)
==2716== by 0x410F769: sf::priv::GlContext::ensureContext() (GlContext.cpp:135)
==2716== Address 0x4848308 is 0 bytes inside a block of size 1 alloc'd
==2716== at 0x402732C: calloc (vg_replace_malloc.c:467)
==2716== by 0x4C722DE: _mesa_make_extension_string (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==2716== by 0x4C4C637: _mesa_make_current (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==2716== by 0x4B72B40: intelMakeCurrent (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==2716== by 0x4B669AE: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==2716== by 0x4559B8C: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2716== by 0x4531B96: glXMakeContextCurrent (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2716== by 0x4531D22: glXMakeCurrent (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2716== by 0x410F9B3: sf::priv::GlContext::setActive(bool) (GlContext.cpp:201)
==2716== by 0x410FB10: sf::priv::GlContext::initialize() (GlContext.cpp:256)
==2716== by 0x410F7C1: sf::priv::GlContext::create() (GlContext.cpp:143)
==2716== by 0x410F538: (anonymous namespace)::getInternalContext() (GlContext.cpp:87)
==2716==
Invalid argument
Use 'h', 'help', '?' to get he argument description
==2716==
==2716== HEAP SUMMARY:
==2716== in use at exit: 18,038,149 bytes in 975 blocks
==2716== total heap usage: 1,486 allocs, 511 frees, 18,211,552 bytes allocated
==2716==
==2716== LEAK SUMMARY:
==2716== definitely lost: 0 bytes in 0 blocks
==2716== indirectly lost: 0 bytes in 0 blocks
==2716== possibly lost: 0 bytes in 0 blocks
==2716== still reachable: 18,038,149 bytes in 975 blocks
==2716== suppressed: 0 bytes in 0 blocks
==2716== Rerun with --leak-check=full to see details of leaked memory
==2716==
==2716== For counts of detected and suppressed errors, rerun with: -v
==2716== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 93 from 11)
richy@richy-laptop:~/codeblocks/agamecpp/bin/Debug$ valgrind -v ./Agamed
==2719== Memcheck, a memory error detector
==2719== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==2719== Using Valgrind-3.6.1-Debian and LibVEX; rerun with -h for copyright info
==2719== Command: ./Agamed
==2719==
--2719-- Valgrind options:
--2719-- --suppressions=/usr/lib/valgrind/debian-libc6-dbg.supp
--2719-- -v
--2719-- Contents of /proc/version:
--2719-- Linux version 3.0.0-19-generic (buildd@vernadsky) (gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) ) #33-Ubuntu SMP Thu Apr 19 19:05:57 UTC 2012
--2719-- Arch and hwcaps: X86, x86-sse1-sse2
--2719-- Page sizes: currently 4096, max supported 4096
--2719-- Valgrind library directory: /usr/lib/valgrind
--2719-- Reading syms from /lib/i386-linux-gnu/ld-2.13.so (0x4000000)
--2719-- Considering /lib/i386-linux-gnu/ld-2.13.so ..
--2719-- .. CRC mismatch (computed a6c8b2f7 wanted 69f2d381)
--2719-- Considering /usr/lib/debug/lib/i386-linux-gnu/ld-2.13.so ..
--2719-- .. CRC is valid
--2719-- Reading syms from /home/richy/codeblocks/agamecpp/bin/Debug/Agamed (0x8048000)
--2719-- Reading syms from /usr/lib/valgrind/memcheck-x86-linux (0x38000000)
--2719-- object doesn't have a dynamic symbol table
--2719-- Reading suppressions file: /usr/lib/valgrind/debian-libc6-dbg.supp
--2719-- Reading suppressions file: /usr/lib/valgrind/default.supp
--2719-- REDIR: 0x4016b60 (index) redirected to 0x3803e847 (vgPlain_x86_linux_REDIR_FOR_index)
--2719-- Reading syms from /usr/lib/valgrind/vgpreload_core-x86-linux.so (0x4022000)
--2719-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so (0x4025000)
==2719== WARNING: new redirection conflicts with existing -- ignoring it
--2719-- new: 0x04016b60 (index ) R-> 0x04028c7e index
--2719-- REDIR: 0x4016d20 (strlen) redirected to 0x4029045 (strlen)
--2719-- Reading syms from /usr/local/lib/libsfml-graphics-d.so.2.0 (0x4048000)
--2719-- Reading syms from /usr/local/lib/libsfml-window-d.so.2.0 (0x4101000)
--2719-- Reading syms from /usr/local/lib/libsfml-system-d.so.2.0 (0x4125000)
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16 (0x4136000)
--2719-- Considering /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16 ..
--2719-- .. CRC mismatch (computed 0767ea0e wanted b08dd867)
--2719-- object doesn't have a symbol table
--2719-- Reading syms from /lib/i386-linux-gnu/libm-2.13.so (0x4221000)
--2719-- Considering /lib/i386-linux-gnu/libm-2.13.so ..
--2719-- .. CRC mismatch (computed 6e94624c wanted 22969979)
--2719-- Considering /usr/lib/debug/lib/i386-linux-gnu/libm-2.13.so ..
--2719-- .. CRC is valid
--2719-- Reading syms from /lib/i386-linux-gnu/libgcc_s.so.1 (0x424b000)
--2719-- Considering /lib/i386-linux-gnu/libgcc_s.so.1 ..
--2719-- .. CRC mismatch (computed b65cdc91 wanted 35537674)
--2719-- object doesn't have a symbol table
--2719-- Reading syms from /lib/i386-linux-gnu/libc-2.13.so (0x426a000)
--2719-- Considering /lib/i386-linux-gnu/libc-2.13.so ..
--2719-- .. CRC mismatch (computed 5d7f0723 wanted 3f8e3fd1)
--2719-- Considering /usr/lib/debug/lib/i386-linux-gnu/libc-2.13.so ..
--2719-- .. CRC is valid
--2719-- Reading syms from /lib/i386-linux-gnu/libpthread-2.13.so (0x43e8000)
--2719-- Considering /lib/i386-linux-gnu/libpthread-2.13.so ..
--2719-- .. CRC mismatch (computed 0b26b884 wanted 21b4acb3)
--2719-- Considering /usr/lib/debug/lib/i386-linux-gnu/libpthread-2.13.so ..
--2719-- .. CRC is valid
--2719-- Reading syms from /lib/i386-linux-gnu/libdl-2.13.so (0x4403000)
--2719-- Considering /lib/i386-linux-gnu/libdl-2.13.so ..
--2719-- .. CRC mismatch (computed e5b294cf wanted 30262032)
--2719-- Considering /usr/lib/debug/lib/i386-linux-gnu/libdl-2.13.so ..
--2719-- .. CRC is valid
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libfreetype.so.6.6.2 (0x4408000)
--2719-- Considering /usr/lib/i386-linux-gnu/libfreetype.so.6.6.2 ..
--2719-- .. CRC mismatch (computed e0411edf wanted aadd0337)
--2719-- object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libGLEW.so.1.6.0 (0x449f000)
--2719-- object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libjpeg.so.62.0.0 (0x44f9000)
--2719-- Considering /usr/lib/i386-linux-gnu/libjpeg.so.62.0.0 ..
--2719-- .. CRC mismatch (computed e1fd38fa wanted 08d741ba)
--2719-- object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2 (0x451d000)
--2719-- Considering /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2 ..
--2719-- .. CRC mismatch (computed 78999545 wanted cfa33ece)
--2719-- object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libX11.so.6.3.0 (0x4571000)
--2719-- Considering /usr/lib/i386-linux-gnu/libX11.so.6.3.0 ..
--2719-- .. CRC mismatch (computed d84f718c wanted 1d9ffd31)
--2719-- object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libXrandr.so.2.2.0 (0x46a7000)
--2719-- Considering /usr/lib/i386-linux-gnu/libXrandr.so.2.2.0 ..
--2719-- .. CRC mismatch (computed 880eb2ac wanted 33053b12)
--2719-- object doesn't have a symbol table
--2719-- Reading syms from /lib/i386-linux-gnu/librt-2.13.so (0x46b0000)
--2719-- Considering /lib/i386-linux-gnu/librt-2.13.so ..
--2719-- .. CRC mismatch (computed 748da8a2 wanted 41137cd2)
--2719-- Considering /usr/lib/debug/lib/i386-linux-gnu/librt-2.13.so ..
--2719-- .. CRC is valid
--2719-- Reading syms from /lib/i386-linux-gnu/libz.so.1.2.3.4 (0x46ba000)
--2719-- Considering /lib/i386-linux-gnu/libz.so.1.2.3.4 ..
--2719-- .. CRC mismatch (computed 995eb12f wanted 33a06a21)
--2719-- object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libglapi.so.0.0.0 (0x46cf000)
--2719-- Considering /usr/lib/i386-linux-gnu/libglapi.so.0.0.0 ..
--2719-- .. CRC mismatch (computed 2a7a5080 wanted 0176d417)
--2719-- object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libXext.so.6.4.0 (0x46e5000)
--2719-- Considering /usr/lib/i386-linux-gnu/libXext.so.6.4.0 ..
--2719-- .. CRC mismatch (computed c0607288 wanted e94ddf46)
--2719-- object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libXdamage.so.1.1.0 (0x46f8000)
--2719-- Considering /usr/lib/i386-linux-gnu/libXdamage.so.1.1.0 ..
--2719-- .. CRC mismatch (computed 83ea7c99 wanted 71e46542)
--2719-- object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libXfixes.so.3.1.0 (0x46fc000)
--2719-- Considering /usr/lib/i386-linux-gnu/libXfixes.so.3.1.0 ..
--2719-- .. CRC mismatch (computed 966dfda3 wanted 7165e6b6)
--2719-- object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libXxf86vm.so.1.0.0 (0x4703000)
--2719-- Considering /usr/lib/i386-linux-gnu/libXxf86vm.so.1.0.0 ..
--2719-- .. CRC mismatch (computed 48e683b9 wanted 95bc54ab)
--2719-- object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libdrm.so.2.4.0 (0x4709000)
--2719-- Considering /usr/lib/i386-linux-gnu/libdrm.so.2.4.0 ..
--2719-- .. CRC mismatch (computed 5820098d wanted d188bd92)
--2719-- object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libxcb.so.1.1.0 (0x4715000)
--2719-- Considering /usr/lib/i386-linux-gnu/libxcb.so.1.1.0 ..
--2719-- .. CRC mismatch (computed ea093d75 wanted 9ccac4bc)
--2719-- object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libXrender.so.1.3.0 (0x4734000)
--2719-- Considering /usr/lib/i386-linux-gnu/libXrender.so.1.3.0 ..
--2719-- .. CRC mismatch (computed ca4b965a wanted ab7c529f)
--2719-- object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libXau.so.6.0.0 (0x473f000)
--2719-- Considering /usr/lib/i386-linux-gnu/libXau.so.6.0.0 ..
--2719-- .. CRC mismatch (computed 028146c5 wanted e16b2942)
--2719-- object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0 (0x4744000)
--2719-- Considering /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0 ..
--2719-- .. CRC mismatch (computed 79097260 wanted 766e3fcb)
--2719-- object doesn't have a symbol table
--2719-- REDIR: 0x42e89b0 (strstr) redirected to 0x4022499 (_vgnU_ifunc_wrapper)
--2719-- REDIR: 0x42e85f0 (__GI_strstr) redirected to 0x402af6e (strstr)
--2719-- REDIR: 0x42e1990 (rindex) redirected to 0x4028adc (rindex)
--2719-- REDIR: 0x42e1670 (__GI_strlen) redirected to 0x402902a (__GI_strlen)
--2719-- REDIR: 0x42e1010 (strcmp) redirected to 0x4022499 (_vgnU_ifunc_wrapper)
--2719-- REDIR: 0x438a6c0 (__strcmp_ssse3) redirected to 0x40299b8 (strcmp)
--2719-- REDIR: 0x41e59b0 (operator new(unsigned int)) redirected to 0x40283aa (operator new(unsigned int))
--2719-- REDIR: 0x42e7c10 (__GI_strncmp) redirected to 0x40294b2 (__GI_strncmp)
--2719-- REDIR: 0x42de780 (calloc) redirected to 0x4027253 (calloc)
--2719-- REDIR: 0x42dd790 (malloc) redirected to 0x40287f1 (malloc)
--2719-- REDIR: 0x42e2dc0 (memcpy) redirected to 0x4022499 (_vgnU_ifunc_wrapper)
--2719-- REDIR: 0x4382480 (__memcpy_ssse3) redirected to 0x4029b53 (memcpy)
--2719-- REDIR: 0x42ddc40 (free) redirected to 0x4027b7d (free)
--2719-- REDIR: 0x42e3f00 (strchrnul) redirected to 0x402ab9f (strchrnul)
--2719-- REDIR: 0x4350d10 (__strcpy_chk) redirected to 0x402ac06 (__strcpy_chk)
--2719-- REDIR: 0x42e27c0 (memset) redirected to 0x4022499 (_vgnU_ifunc_wrapper)
--2719-- REDIR: 0x4381370 (__memset_sse2) redirected to 0x402aa22 (memset)
--2719-- REDIR: 0x42e2700 (memmove) redirected to 0x4022499 (_vgnU_ifunc_wrapper)
--2719-- REDIR: 0x4384370 (__memmove_ssse3) redirected to 0x402aab3 (memmove)
--2719-- REDIR: 0x42ddd20 (realloc) redirected to 0x40288a0 (realloc)
--2719-- REDIR: 0x42e18e0 (strncpy) redirected to 0x4029217 (strncpy)
--2719-- REDIR: 0x42e1620 (strlen) redirected to 0x4022499 (_vgnU_ifunc_wrapper)
--2719-- REDIR: 0x42e8010 (__strlen_sse2_bsf) redirected to 0x402900f (strlen)
--2719-- REDIR: 0x42e0ea0 (index) redirected to 0x4028bc7 (index)
--2719-- REDIR: 0x42e1730 (strnlen) redirected to 0x4028fc3 (strnlen)
--2719-- Reading syms from /usr/lib/i386-linux-gnu/dri/i965_dri.so (0x4b4e000)
--2719-- Considering /usr/lib/i386-linux-gnu/dri/i965_dri.so ..
--2719-- .. CRC mismatch (computed b3c00d85 wanted a009c271)
--2719-- object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/dri/libdricore.so (0x4c0f000)
--2719-- Considering /usr/lib/i386-linux-gnu/dri/libdricore.so ..
--2719-- .. CRC mismatch (computed da752803 wanted fbfed6ad)
--2719-- object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/dri/libglsl.so (0x4e56000)
--2719-- Considering /usr/lib/i386-linux-gnu/dri/libglsl.so ..
--2719-- .. CRC mismatch (computed ac0d91b1 wanted 56cd01ea)
--2719-- object doesn't have a symbol table
--2719-- Reading syms from /lib/i386-linux-gnu/libexpat.so.1.5.2 (0x4f6a000)
--2719-- Considering /lib/i386-linux-gnu/libexpat.so.1.5.2 ..
--2719-- .. CRC mismatch (computed 87726f3a wanted 9b6d73eb)
--2719-- object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0 (0x4f94000)
--2719-- Considering /usr/lib/i386-linux-gnu/libdrm_intel.so.1.0.0 ..
--2719-- .. CRC mismatch (computed 6052c0ac wanted 46626250)
--2719-- object doesn't have a symbol table
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libpciaccess.so.0.10.8 (0x4fa1000)
--2719-- Considering /usr/lib/i386-linux-gnu/libpciaccess.so.0.10.8 ..
--2719-- .. CRC mismatch (computed b2a578f2 wanted 29af767a)
--2719-- object doesn't have a symbol table
--2719-- REDIR: 0x42e10f0 (strcspn) redirected to 0x4022499 (_vgnU_ifunc_wrapper)
--2719-- REDIR: 0x42e23d0 (bcmp) redirected to 0x4022499 (_vgnU_ifunc_wrapper)
--2719-- REDIR: 0x4350b40 (__memcpy_chk) redirected to 0x4022499 (_vgnU_ifunc_wrapper)
--2719-- REDIR: 0x42e1890 (strncmp) redirected to 0x4022499 (_vgnU_ifunc_wrapper)
--2719-- REDIR: 0x42e2ab0 (stpcpy) redirected to 0x402a702 (stpcpy)
--2719-- REDIR: 0x438bb30 (__strncmp_ssse3) redirected to 0x4029449 (strncmp)
--2719-- REDIR: 0x42df080 (posix_memalign) redirected to 0x40271c4 (posix_memalign)
--2719-- REDIR: 0x42e10d0 (strcpy) redirected to 0x402907b (strcpy)
==2719== Invalid read of size 4
==2719== at 0x4C72112: _mesa_make_extension_string (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==2719== by 0x4C4C637: _mesa_make_current (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==2719== by 0x4B72B40: intelMakeCurrent (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==2719== by 0x4B669AE: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==2719== by 0x4559B8C: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2719== by 0x4531B96: glXMakeContextCurrent (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2719== by 0x4531D22: glXMakeCurrent (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2719== by 0x410F9B3: sf::priv::GlContext::setActive(bool) (GlContext.cpp:201)
==2719== by 0x410FB10: sf::priv::GlContext::initialize() (GlContext.cpp:256)
==2719== by 0x410F7C1: sf::priv::GlContext::create() (GlContext.cpp:143)
==2719== by 0x410F538: (anonymous namespace)::getInternalContext() (GlContext.cpp:87)
==2719== by 0x410F769: sf::priv::GlContext::ensureContext() (GlContext.cpp:135)
==2719== Address 0x4848308 is 0 bytes inside a block of size 1 alloc'd
==2719== at 0x402732C: calloc (vg_replace_malloc.c:467)
==2719== by 0x4C722DE: _mesa_make_extension_string (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==2719== by 0x4C4C637: _mesa_make_current (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==2719== by 0x4B72B40: intelMakeCurrent (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==2719== by 0x4B669AE: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==2719== by 0x4559B8C: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2719== by 0x4531B96: glXMakeContextCurrent (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2719== by 0x4531D22: glXMakeCurrent (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2719== by 0x410F9B3: sf::priv::GlContext::setActive(bool) (GlContext.cpp:201)
==2719== by 0x410FB10: sf::priv::GlContext::initialize() (GlContext.cpp:256)
==2719== by 0x410F7C1: sf::priv::GlContext::create() (GlContext.cpp:143)
==2719== by 0x410F538: (anonymous namespace)::getInternalContext() (GlContext.cpp:87)
==2719==
--2719-- REDIR: 0x42e0cf0 (strcat) redirected to 0x4028d35 (strcat)
--2719-- REDIR: 0x438d520 (__memcmp_ssse3) redirected to 0x402a64c (bcmp)
--2719-- REDIR: 0x41e37f0 (operator delete(void*)) redirected to 0x4027894 (operator delete(void*))
==2719== Syscall param writev(vector[...]) points to uninitialised byte(s)
==2719== at 0x4335124: writev (writev.c:51)
==2719== by 0x40004: ???
==2719== Address 0x6ea554c is 36 bytes inside a block of size 16,384 alloc'd
==2719== at 0x402732C: calloc (vg_replace_malloc.c:467)
==2719== by 0x4598551: XOpenDisplay (in /usr/lib/i386-linux-gnu/libX11.so.6.3.0)
==2719== by 0x4119240: sf::priv::WindowImplX11::WindowImplX11(sf::VideoMode, std::string const&, unsigned long) (WindowImplX11.cpp:104)
==2719== by 0x4114720: sf::priv::WindowImpl::create(sf::VideoMode, std::string const&, unsigned int) (WindowImpl.cpp:60)
==2719== by 0x4113E4C: sf::Window::create(sf::VideoMode, std::string const&, unsigned int, sf::ContextSettings const&) (Window.cpp:114)
==2719== by 0x805C04C: Game::setupOpenGL() (Game.cpp:88)
==2719== by 0x805C566: Game::Run() (Game.cpp:148)
==2719== by 0x804FB7F: main (main.cpp:34)
==2719==
--2719-- REDIR: 0x42e2230 (memchr) redirected to 0x4029b00 (memchr)
--2719-- Reading syms from /usr/lib/i386-linux-gnu/libXcursor.so.1.0.2 (0x70b7000)
--2719-- Considering /usr/lib/i386-linux-gnu/libXcursor.so.1.0.2 ..
--2719-- .. CRC mismatch (computed 27b8283e wanted cf02d89f)
--2719-- object doesn't have a symbol table
Using OpenGL 2.1
Using resolution: 1024x576
Antialiasing Level of 2 was unavailable, using level 0 instead.
Loading file: ./Resources/Images/loading.png
Loading file: ./Resources/Fonts/visitor1.ttf
Loading file: ./Resources/Images/PalmTree.png
==2719== Conditional jump or move depends on uninitialised value(s)
==2719== at 0x805C5BC: Game::Run() (Game.cpp:166)
==2719== by 0x804FB7F: main (main.cpp:34)
==2719==
1
2
3
4
5
6
7
8
9
10
11
==2719==
==2719== HEAP SUMMARY:
==2719== in use at exit: 117,597,627 bytes in 4,841 blocks
==2719== total heap usage: 12,670 allocs, 7,829 frees, 134,912,096 bytes allocated
==2719==
==2719== Searching for pointers to 4,841 not-freed blocks
==2719== Checked 54,532,328 bytes
==2719==
==2719== LEAK SUMMARY:
==2719== definitely lost: 88 bytes in 1 blocks
==2719== indirectly lost: 0 bytes in 0 blocks
==2719== possibly lost: 44,674,635 bytes in 71 blocks
==2719== still reachable: 72,922,904 bytes in 4,769 blocks
==2719== suppressed: 0 bytes in 0 blocks
==2719== Rerun with --leak-check=full to see details of leaked memory
==2719==
==2719== Use --track-origins=yes to see where uninitialised values come from
==2719== ERROR SUMMARY: 8 errors from 3 contexts (suppressed: 95 from 11)
==2719==
==2719== 2 errors in context 1 of 3:
==2719== Conditional jump or move depends on uninitialised value(s)
==2719== at 0x805C5BC: Game::Run() (Game.cpp:166)
==2719== by 0x804FB7F: main (main.cpp:34)
==2719==
==2719==
==2719== 2 errors in context 2 of 3:
==2719== Syscall param writev(vector[...]) points to uninitialised byte(s)
==2719== at 0x4335124: writev (writev.c:51)
==2719== by 0x40004: ???
==2719== Address 0x6ea554c is 36 bytes inside a block of size 16,384 alloc'd
==2719== at 0x402732C: calloc (vg_replace_malloc.c:467)
==2719== by 0x4598551: XOpenDisplay (in /usr/lib/i386-linux-gnu/libX11.so.6.3.0)
==2719== by 0x4119240: sf::priv::WindowImplX11::WindowImplX11(sf::VideoMode, std::string const&, unsigned long) (WindowImplX11.cpp:104)
==2719== by 0x4114720: sf::priv::WindowImpl::create(sf::VideoMode, std::string const&, unsigned int) (WindowImpl.cpp:60)
==2719== by 0x4113E4C: sf::Window::create(sf::VideoMode, std::string const&, unsigned int, sf::ContextSettings const&) (Window.cpp:114)
==2719== by 0x805C04C: Game::setupOpenGL() (Game.cpp:88)
==2719== by 0x805C566: Game::Run() (Game.cpp:148)
==2719== by 0x804FB7F: main (main.cpp:34)
==2719==
==2719==
==2719== 4 errors in context 3 of 3:
==2719== Invalid read of size 4
==2719== at 0x4C72112: _mesa_make_extension_string (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==2719== by 0x4C4C637: _mesa_make_current (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==2719== by 0x4B72B40: intelMakeCurrent (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==2719== by 0x4B669AE: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==2719== by 0x4559B8C: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2719== by 0x4531B96: glXMakeContextCurrent (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2719== by 0x4531D22: glXMakeCurrent (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2719== by 0x410F9B3: sf::priv::GlContext::setActive(bool) (GlContext.cpp:201)
==2719== by 0x410FB10: sf::priv::GlContext::initialize() (GlContext.cpp:256)
==2719== by 0x410F7C1: sf::priv::GlContext::create() (GlContext.cpp:143)
==2719== by 0x410F538: (anonymous namespace)::getInternalContext() (GlContext.cpp:87)
==2719== by 0x410F769: sf::priv::GlContext::ensureContext() (GlContext.cpp:135)
==2719== Address 0x4848308 is 0 bytes inside a block of size 1 alloc'd
==2719== at 0x402732C: calloc (vg_replace_malloc.c:467)
==2719== by 0x4C722DE: _mesa_make_extension_string (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==2719== by 0x4C4C637: _mesa_make_current (in /usr/lib/i386-linux-gnu/dri/libdricore.so)
==2719== by 0x4B72B40: intelMakeCurrent (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==2719== by 0x4B669AE: ??? (in /usr/lib/i386-linux-gnu/dri/i965_dri.so)
==2719== by 0x4559B8C: ??? (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2719== by 0x4531B96: glXMakeContextCurrent (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2719== by 0x4531D22: glXMakeCurrent (in /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2)
==2719== by 0x410F9B3: sf::priv::GlContext::setActive(bool) (GlContext.cpp:201)
==2719== by 0x410FB10: sf::priv::GlContext::initialize() (GlContext.cpp:256)
==2719== by 0x410F7C1: sf::priv::GlContext::create() (GlContext.cpp:143)
==2719== by 0x410F538: (anonymous namespace)::getInternalContext() (GlContext.cpp:87)
==2719==
--2719--
--2719-- used_suppression: 95 U1004-ARM-_dl_relocate_object
==2719==
==2719== ERROR SUMMARY: 8 errors from 3 contexts (suppressed: 95 from 11)