Francis1993Z / UltraShooter

A top view spaceships 2D game.
GNU Lesser General Public License v3.0
2 stars 1 forks source link

Debug avec valgrind #8

Open Francis1993Z opened 11 years ago

Francis1993Z commented 11 years ago

J'ai essayer toute les armes et tout les ennemis. J'ai tué toute les vague et entré mon score puis quitté avec le boutton quitter.

$ valgrind -v --tool=memcheck --leak-check=full ./UltraShooter
==2003== Memcheck, a memory error detector
==2003== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==2003== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==2003== Command: ./UltraShooter
==2003== 
--2003-- Valgrind options:
--2003--    -v
--2003--    --tool=memcheck
--2003--    --leak-check=full
--2003-- Contents of /proc/version:
--2003--   Linux version 3.9.9-201.fc18.x86_64 (mockbuild@bkernel01.phx2.fedoraproject.org) (gcc version 4.7.2 20121109 (Red Hat 4.7.2-8) (GCC) ) #1 SMP Fri Jul 5 16:42:02 UTC 2013
--2003-- Arch and hwcaps: AMD64, amd64-sse3-cx16-lzcnt
--2003-- Page sizes: currently 4096, max supported 4096
--2003-- Valgrind library directory: /usr/lib64/valgrind
--2003-- Reading syms from /home/francis/GitHub/UltraShooter/UltraShooter/bin/Debug/UltraShooter
--2003-- Reading syms from /usr/lib64/valgrind/memcheck-amd64-linux
--2003--    object doesn't have a dynamic symbol table
--2003-- Reading syms from /usr/lib64/ld-2.16.so
--2003-- Scheduler: using generic scheduler lock implementation.
--2003-- Reading suppressions file: /usr/lib64/valgrind/default.supp
==2003== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-2003-by-francis-on-localhost.localdomain
==2003== embedded gdbserver: writing to   /tmp/vgdb-pipe-to-vgdb-from-2003-by-francis-on-localhost.localdomain
==2003== embedded gdbserver: shared mem   /tmp/vgdb-pipe-shared-mem-vgdb-2003-by-francis-on-localhost.localdomain
==2003== 
==2003== TO CONTROL THIS PROCESS USING vgdb (which you probably
==2003== don't want to do, unless you know exactly what you're doing,
==2003== or are doing some strange experiment):
==2003==   /usr/lib64/valgrind/../../bin/vgdb --pid=2003 ...command...
==2003== 
==2003== TO DEBUG THIS PROCESS USING GDB: start GDB like this
==2003==   /path/to/gdb ./UltraShooter
==2003== and then give GDB the following command
==2003==   target remote | /usr/lib64/valgrind/../../bin/vgdb --pid=2003
==2003== --pid is optional if only one valgrind process is running
==2003== 
--2003-- REDIR: 0x3708817f90 (strlen) redirected to 0x3806e111 (vgPlain_amd64_linux_REDIR_FOR_strlen)
--2003-- Reading syms from /usr/lib64/valgrind/vgpreload_core-amd64-linux.so
--2003-- Reading syms from /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so
--2003-- REDIR: 0x3708817e00 (index) redirected to 0x4a08e80 (index)
--2003-- REDIR: 0x3708817e80 (strcmp) redirected to 0x4a09e90 (strcmp)
--2003-- Reading syms from /usr/local/lib/libsfml-system-d.so.2.0
--2003-- Reading syms from /usr/local/lib/libsfml-graphics-d.so.2.0
--2003-- Reading syms from /usr/local/lib/libsfml-window-d.so.2.0
--2003-- Reading syms from /usr/local/lib/libsfml-audio-d.so.2.0
--2003-- Reading syms from /usr/lib64/libstdc++.so.6.0.17
--2003--    object doesn't have a symbol table
--2003-- Reading syms from /usr/lib64/libm-2.16.so
--2003-- Reading syms from /usr/lib64/libgcc_s-4.7.2-20121109.so.1
--2003--    object doesn't have a symbol table
--2003-- Reading syms from /usr/lib64/libc-2.16.so
--2003-- Reading syms from /usr/lib64/libpthread-2.16.so
--2003-- Reading syms from /usr/lib64/librt-2.16.so
--2003-- Reading syms from /usr/lib64/libfreetype.so.6.9.0
--2003--    object doesn't have a symbol table
--2003-- Reading syms from /usr/lib64/libGLEW.so.1.7.0
--2003--    object doesn't have a symbol table
--2003-- Reading syms from /usr/lib64/libjpeg.so.62.1.0
--2003--    object doesn't have a symbol table
--2003-- Reading syms from /usr/lib64/libSM.so.6.0.1
--2003--    object doesn't have a symbol table
--2003-- Reading syms from /usr/lib64/libICE.so.6.3.0
--2003--    object doesn't have a symbol table
--2003-- Reading syms from /usr/lib64/libX11.so.6.3.0
--2003--    object doesn't have a symbol table
--2003-- Reading syms from /usr/lib64/libXext.so.6.4.0
--2003--    object doesn't have a symbol table
--2003-- Reading syms from /usr/lib64/libXrandr.so.2.2.0
--2003--    object doesn't have a symbol table
--2003-- Reading syms from /usr/lib64/libopenal.so.1.15.1
--2003--    object doesn't have a symbol table
--2003-- Reading syms from /usr/lib64/libsndfile.so.1.0.25
--2003--    object doesn't have a symbol table
--2003-- Reading syms from /usr/lib64/libGLU.so.1.3.1
--2003--    object doesn't have a symbol table
--2003-- Reading syms from /usr/lib64/tls/libnvidia-tls.so.319.32
--2003--    object doesn't have a symbol table
--2003-- Reading syms from /usr/lib64/libdl-2.16.so
--2003-- Reading syms from /usr/lib64/libuuid.so.1.3.0
--2003--    object doesn't have a symbol table
--2003-- Reading syms from /usr/lib64/libxcb.so.1.1.0
--2003--    object doesn't have a symbol table
--2003-- Reading syms from /usr/lib64/libXrender.so.1.3.0
--2003--    object doesn't have a symbol table
--2003-- Reading syms from /usr/lib64/libgsm.so.1.0.12
--2003--    object doesn't have a symbol table
--2003-- Reading syms from /usr/lib64/libFLAC.so.8.2.0
--2003--    object doesn't have a symbol table
--2003-- Reading syms from /usr/lib64/libvorbisenc.so.2.0.9
--2003--    object doesn't have a symbol table
--2003-- Reading syms from /usr/lib64/libvorbis.so.0.4.6
--2003--    object doesn't have a symbol table
--2003-- Reading syms from /usr/lib64/libogg.so.0.8.0
--2003--    object doesn't have a symbol table
--2003-- Reading syms from /usr/lib64/libXau.so.6.0.0
--2003--    object doesn't have a symbol table
--2003-- REDIR: 0x3708c89f10 (strcasecmp) redirected to 0x480170e (_vgnU_ifunc_wrapper)
--2003-- REDIR: 0x3708c86270 (strnlen) redirected to 0x480170e (_vgnU_ifunc_wrapper)
--2003-- REDIR: 0x3708c8c1e0 (strncasecmp) redirected to 0x480170e (_vgnU_ifunc_wrapper)
--2003-- REDIR: 0x3708c87c60 (__GI_strrchr) redirected to 0x4a08ca0 (__GI_strrchr)
--2003-- REDIR: 0x3708c80050 (calloc) redirected to 0x4a06ad9 (calloc)
--2003-- REDIR: 0x3708c88cf0 (memset) redirected to 0x480170e (_vgnU_ifunc_wrapper)
--2003-- REDIR: 0x3708c93aa0 (__memset_x86_64) redirected to 0x4a0b410 (memset)
--2003-- REDIR: 0x3708c7f490 (malloc) redirected to 0x4a087fa (malloc)
--2003-- REDIR: 0x3708c7fa70 (realloc) redirected to 0x4a089a5 (realloc)
--2003-- REDIR: 0x3708c7f980 (free) redirected to 0x4a0775f (free)
--2003-- REDIR: 0x3708c81a00 (posix_memalign) redirected to 0x4a0695d (posix_memalign)
--2003-- REDIR: 0x3708c86190 (__GI_strlen) redirected to 0x4a09200 (__GI_strlen)
--2003-- REDIR: 0x3708c89f60 (__strcasecmp_sse2) redirected to 0x4a09740 (strcasecmp)
--2003-- REDIR: 0x3708c88ca0 (memcpy@GLIBC_2.2.5) redirected to 0x480170e (_vgnU_ifunc_wrapper)
--2003-- REDIR: 0x3708c88af0 (__GI_memmove) redirected to 0x4a0b6c0 (__GI_memmove)
--2003-- REDIR: 0x3708c86390 (__GI_strncmp) redirected to 0x4a096d0 (__GI_strncmp)
--2003-- REDIR: 0x3708c86140 (strlen) redirected to 0x480170e (_vgnU_ifunc_wrapper)
--2003-- REDIR: 0x3708c84390 (strcat) redirected to 0x480170e (_vgnU_ifunc_wrapper)
--2003-- REDIR: 0x3708c843d0 (__GI_strcat) redirected to 0x4a08fa0 (__GI_strcat)
--2003-- REDIR: 0x3708c84590 (index) redirected to 0x480170e (_vgnU_ifunc_wrapper)
--2003-- REDIR: 0x3708c845d0 (__GI_strchr) redirected to 0x4a08d80 (__GI_strchr)
--2003-- REDIR: 0x3708c85ae0 (strcpy) redirected to 0x480170e (_vgnU_ifunc_wrapper)
--2003-- REDIR: 0x3708c85b20 (__GI_strcpy) redirected to 0x4a092f0 (__GI_strcpy)
--2003-- REDIR: 0x3708c87be0 (strncpy) redirected to 0x480170e (_vgnU_ifunc_wrapper)
--2003-- REDIR: 0x3708c93930 (__GI_strncpy) redirected to 0x4a09510 (__GI_strncpy)
--2003-- REDIR: 0x3708c84650 (strcmp) redirected to 0x480170e (_vgnU_ifunc_wrapper)
--2003-- REDIR: 0x3708c84690 (__GI_strcmp) redirected to 0x4a09e40 (__GI_strcmp)
--2003-- REDIR: 0x3708c87c20 (rindex) redirected to 0x480170e (_vgnU_ifunc_wrapper)
--2003-- REDIR: 0x3708c8ffb0 (strchrnul) redirected to 0x4a0b960 (strchrnul)
--2003-- Reading syms from /usr/lib64/libselinux.so.1
--2003--    object doesn't have a symbol table
--2003-- Reading syms from /usr/lib64/libpcre.so.1.0.1
--2003--    object doesn't have a symbol table
--2003-- Discarding syms at 0x370b406170-0x370b417648 in /usr/lib64/libselinux.so.1 due to munmap()
--2003-- Discarding syms at 0x370a801db0-0x370a8452e8 in /usr/lib64/libpcre.so.1.0.1 due to munmap()
--2003-- REDIR: 0x3708c8fda0 (__GI___rawmemchr) redirected to 0x4a0b9b0 (__GI___rawmemchr)
--2003-- REDIR: 0x3708c88360 (memchr) redirected to 0x4a09f30 (memchr)
--2003-- REDIR: 0x370ac5f580 (operator new(unsigned long)) redirected to 0x4a082df (operator new(unsigned long))
--2003-- REDIR: 0x3708c8e8c0 (memcpy@@GLIBC_2.14) redirected to 0x480170e (_vgnU_ifunc_wrapper)
--2003-- REDIR: 0x3708c8e910 (__GI_memcpy) redirected to 0x4a0a1c0 (memcpy@@GLIBC_2.14)
--2003-- REDIR: 0x3708c886b0 (bcmp) redirected to 0x480170e (_vgnU_ifunc_wrapper)
--2003-- REDIR: 0x3708c886f0 (__GI_memcmp) redirected to 0x4a0aee0 (bcmp)
Ultra Shooter
Build date : Aug  5 2013 at 01:13:28
--2003-- REDIR: 0xffffffffff600400 (???) redirected to 0x3806e0fd (vgPlain_amd64_linux_REDIR_FOR_vtime)
--2003-- REDIR: 0x370ac5d890 (operator delete(void*)) redirected to 0x4a07345 (operator delete(void*))
--2003-- REDIR: 0x370ac5f690 (operator new[](unsigned long)) redirected to 0x4a07c62 (operator new[](unsigned long))
--2003-- REDIR: 0x370ac5d8c0 (operator delete[](void*)) redirected to 0x4a06e95 (operator delete[](void*))
--2003-- REDIR: 0x3708d077d0 (__strcpy_chk) redirected to 0x4a0b9d0 (__strcpy_chk)
--2003-- REDIR: 0x3708c86350 (strncmp) redirected to 0x480170e (_vgnU_ifunc_wrapper)
--2003-- REDIR: 0x3708d07550 (__memmove_chk) redirected to 0x480170e (_vgnU_ifunc_wrapper)
--2003-- REDIR: 0x3708d073a0 (__memmove_chk_sse2) redirected to 0x4a0b8d0 (__memmove_chk)
--2003-- Reading syms from /usr/lib64/libpulse.so.0.14.3
--2003--    object doesn't have a symbol table
--2003-- Reading syms from /usr/lib64/libjson.so.0.1.0
--2003--    object doesn't have a symbol table
--2003-- Reading syms from /usr/lib64/pulseaudio/libpulsecommon-2.1.so
--2003--    object doesn't have a symbol table
--2003-- Reading syms from /usr/lib64/libX11-xcb.so.1.0.0
--2003--    object doesn't have a symbol table
--2003-- Reading syms from /usr/lib64/libXtst.so.6.1.0
--2003--    object doesn't have a symbol table
--2003-- Reading syms from /usr/lib64/libwrap.so.0.7.6
--2003--    object doesn't have a symbol table
--2003-- Reading syms from /usr/lib64/libasyncns.so.0.3.1
--2003--    object doesn't have a symbol table
--2003-- Reading syms from /usr/lib64/libdbus-1.so.3.7.4
--2003--    object doesn't have a symbol table
--2003-- Reading syms from /usr/lib64/libXi.so.6.1.0
--2003--    object doesn't have a symbol table
--2003-- Reading syms from /usr/lib64/libnsl-2.16.so
--2003-- Reading syms from /usr/lib64/libresolv-2.16.so
--2003-- REDIR: 0x3708c8fd60 (rawmemchr) redirected to 0x480170e (_vgnU_ifunc_wrapper)
--2003-- REDIR: 0x3708c89d70 (stpcpy) redirected to 0x480170e (_vgnU_ifunc_wrapper)
--2003-- REDIR: 0x3708c89840 (mempcpy) redirected to 0x480170e (_vgnU_ifunc_wrapper)
--2003-- REDIR: 0x3708c9d8e0 (strstr) redirected to 0x480170e (_vgnU_ifunc_wrapper)
--2003-- REDIR: 0x3708d07360 (__memcpy_chk) redirected to 0x480170e (_vgnU_ifunc_wrapper)
--2003-- REDIR: 0x3708c88090 (strspn) redirected to 0x480170e (_vgnU_ifunc_wrapper)
--2003-- REDIR: 0x3708c85c00 (strcspn) redirected to 0x480170e (_vgnU_ifunc_wrapper)
--2003-- REDIR: 0x3708c9d470 (__GI_strstr) redirected to 0x4a0bd60 (strstr)
--2003-- REDIR: 0x3708c89890 (__GI_mempcpy) redirected to 0x4a0ba70 (mempcpy)
--2003-- REDIR: 0x3708c89db0 (__GI_stpcpy) redirected to 0x4a0b050 (__GI_stpcpy)
--2003-- REDIR: 0x3708c880c0 (__GI_strspn) redirected to 0x4a0bec0 (strspn)
--2003-- REDIR: 0x3708c85c30 (__GI_strcspn) redirected to 0x4a0be50 (strcspn)
--2003-- REDIR: 0xffffffffff600000 (???) redirected to 0x3806e0f3 (vgPlain_amd64_linux_REDIR_FOR_vgettimeofday)
--2003-- REDIR: 0x3708c86310 (strncat) redirected to 0x480170e (_vgnU_ifunc_wrapper)
--2003-- REDIR: 0x3708c93790 (__strncat_sse2) redirected to 0x4a09080 (strncat)
--2003-- WARNING: Serious error when reading debug info
--2003-- When reading debug info from /tmp/gl0bTPNO (deleted):
--2003-- failed to stat64/stat this file
--2003-- WARNING: Serious error when reading debug info
--2003-- When reading debug info from /tmp/gl0bTPNO (deleted):
--2003-- failed to stat64/stat this file
==2003== Invalid read of size 1
==2003==    at 0x4A09202: __GI_strlen (mc_replace_strmem.c:405)
==2003==    by 0x370B83D4A2: XSetClassHint (in /usr/lib64/libX11.so.6.3.0)
==2003==    by 0x509D401: sf::priv::WindowImplX11::WindowImplX11(sf::VideoMode, sf::String const&, unsigned long) (WindowImplX11.cpp:250)
==2003==    by 0x5097DFB: sf::priv::WindowImpl::create(sf::VideoMode, sf::String const&, unsigned int) (WindowImpl.cpp:60)
==2003==    by 0x5097493: sf::Window::create(sf::VideoMode, sf::String const&, unsigned int, sf::ContextSettings const&) (Window.cpp:114)
==2003==    by 0x40E1B3: Engine::Engine(sf::VideoMode, bool) (Engine.cpp:126)
==2003==    by 0x40DC43: Engine::getInstance() (Engine.cpp:101)
==2003==    by 0x41599E: main (main.cpp:23)
==2003==  Address 0x7fefff1e9 is just below the stack ptr.  To suppress, use: --workaround-gcc296-bugs=yes
==2003== 
==2003== Invalid read of size 1
==2003==    at 0x4A09202: __GI_strlen (mc_replace_strmem.c:405)
==2003==    by 0x370B83D4B7: XSetClassHint (in /usr/lib64/libX11.so.6.3.0)
==2003==    by 0x509D401: sf::priv::WindowImplX11::WindowImplX11(sf::VideoMode, sf::String const&, unsigned long) (WindowImplX11.cpp:250)
==2003==    by 0x5097DFB: sf::priv::WindowImpl::create(sf::VideoMode, sf::String const&, unsigned int) (WindowImpl.cpp:60)
==2003==    by 0x5097493: sf::Window::create(sf::VideoMode, sf::String const&, unsigned int, sf::ContextSettings const&) (Window.cpp:114)
==2003==    by 0x40E1B3: Engine::Engine(sf::VideoMode, bool) (Engine.cpp:126)
==2003==    by 0x40DC43: Engine::getInstance() (Engine.cpp:101)
==2003==    by 0x41599E: main (main.cpp:23)
==2003==  Address 0x7fefff1e9 is just below the stack ptr.  To suppress, use: --workaround-gcc296-bugs=yes
==2003== 
--2003-- Reading syms from /usr/lib64/libXcursor.so.1.0.2
--2003--    object doesn't have a symbol table
--2003-- Reading syms from /usr/lib64/libXfixes.so.3.1.0
--2003--    object doesn't have a symbol table
engine player : 0xc880270
==2003== Conditional jump or move depends on uninitialised value(s)
==2003==    at 0x372880AFFD: ??? (in /usr/lib64/libsndfile.so.1.0.25)
==2003==    by 0x52BD556: sf::priv::SoundFile::openRead(std::string const&) (SoundFile.cpp:100)
==2003==    by 0x52B7BEA: sf::Music::openFromFile(std::string const&) (Music.cpp:64)
==2003==    by 0x41C96B: MusicManager::playTheme(std::string) (MusicManager.cpp:26)
==2003==    by 0x40E7CF: Engine::Run() (Engine.cpp:169)
==2003==    by 0x4159AE: main (main.cpp:24)
==2003== 
--2003-- memcheck GC: 1000 nodes, 274 survivors ( 27.4%)
--2003-- memcheck GC: 1014 new table size (driftup)
==2003== Conditional jump or move depends on uninitialised value(s)
==2003==    at 0x3767654C15: ??? (in /usr/lib64/libGL.so.319.32)
==2003==    by 0xA38AF8F: ???
==2003== 
==2003== Conditional jump or move depends on uninitialised value(s)
==2003==    at 0x40B6B1: CollisionManager::CheckIfOutOfWindow(float, float, float) (CollisionManager.cpp:154)
==2003==    by 0x40ADE9: CollisionManager::CollisionJoueur(float, float) (CollisionManager.cpp:43)
==2003==    by 0x412362: Events::updateEvents() (Events.cpp:30)
==2003==    by 0x40EE16: Engine::gestionEvenements() (Engine.cpp:268)
==2003==    by 0x40E844: Engine::Run() (Engine.cpp:181)
==2003==    by 0x4159AE: main (main.cpp:24)
==2003== 
==2003== Conditional jump or move depends on uninitialised value(s)
==2003==    at 0x372880AFFD: ??? (in /usr/lib64/libsndfile.so.1.0.25)
==2003==    by 0x52BD556: sf::priv::SoundFile::openRead(std::string const&) (SoundFile.cpp:100)
==2003==    by 0x52B9EBB: sf::SoundBuffer::loadFromFile(std::string const&) (SoundBuffer.cpp:83)
==2003==    by 0x40D48B: CustomSound::CustomSound(std::string) (CustomSound.cpp:12)
==2003==    by 0x41CB2D: MusicManager::playEvent(std::string) (MusicManager.cpp:60)
==2003==    by 0x4123A7: Events::updateEvents() (Events.cpp:32)
==2003==    by 0x40EE16: Engine::gestionEvenements() (Engine.cpp:268)
==2003==    by 0x40E844: Engine::Run() (Engine.cpp:181)
==2003==    by 0x4159AE: main (main.cpp:24)
==2003== 
==2003== Conditional jump or move depends on uninitialised value(s)
==2003==    at 0x40C413: CollisionManager::CalculDistanceAParcourirBordMap(float, float) (CollisionManager.cpp:274)
==2003==    by 0x40AE2F: CollisionManager::CollisionJoueur(float, float) (CollisionManager.cpp:46)
==2003==    by 0x412362: Events::updateEvents() (Events.cpp:30)
==2003==    by 0x40EE16: Engine::gestionEvenements() (Engine.cpp:268)
==2003==    by 0x40E844: Engine::Run() (Engine.cpp:181)
==2003==    by 0x4159AE: main (main.cpp:24)
==2003== 
==2003== Conditional jump or move depends on uninitialised value(s)
==2003==    at 0x40C775: CollisionManager::CalculDistanceAParcourirBordMap(float, float) (CollisionManager.cpp:292)
==2003==    by 0x40AE2F: CollisionManager::CollisionJoueur(float, float) (CollisionManager.cpp:46)
==2003==    by 0x412362: Events::updateEvents() (Events.cpp:30)
==2003==    by 0x40EE16: Engine::gestionEvenements() (Engine.cpp:268)
==2003==    by 0x40E844: Engine::Run() (Engine.cpp:181)
==2003==    by 0x4159AE: main (main.cpp:24)
==2003== 
==2003== Conditional jump or move depends on uninitialised value(s)
==2003==    at 0x40C651: CollisionManager::CalculDistanceAParcourirBordMap(float, float) (CollisionManager.cpp:286)
==2003==    by 0x40AE2F: CollisionManager::CollisionJoueur(float, float) (CollisionManager.cpp:46)
==2003==    by 0x412362: Events::updateEvents() (Events.cpp:30)
==2003==    by 0x40EE16: Engine::gestionEvenements() (Engine.cpp:268)
==2003==    by 0x40E844: Engine::Run() (Engine.cpp:181)
==2003==    by 0x4159AE: main (main.cpp:24)
==2003== 
==2003== Conditional jump or move depends on uninitialised value(s)
==2003==    at 0x40C535: CollisionManager::CalculDistanceAParcourirBordMap(float, float) (CollisionManager.cpp:280)
==2003==    by 0x40AE2F: CollisionManager::CollisionJoueur(float, float) (CollisionManager.cpp:46)
==2003==    by 0x412362: Events::updateEvents() (Events.cpp:30)
==2003==    by 0x40EE16: Engine::gestionEvenements() (Engine.cpp:268)
==2003==    by 0x40E844: Engine::Run() (Engine.cpp:181)
==2003==    by 0x4159AE: main (main.cpp:24)
==2003== 
==2003== Conditional jump or move depends on uninitialised value(s)
==2003==    at 0x42BE07: WidgetManager::positionRelachementSouris(float, float) (WidgetManager.cpp:62)                                                          
==2003==    by 0x40F38B: Engine::gestionEvenements() (Engine.cpp:359)                                                                                           
==2003==    by 0x40E844: Engine::Run() (Engine.cpp:181)                                                                                                                   
==2003==    by 0x4159AE: main (main.cpp:24)                                                                                                                               
==2003==                                                                                                                                                                  
Quitter Menu                                                                                                                                                              
==2003==                                                                                                                                                                  
==2003== Process terminating with default action of signal 27 (SIGPROF)                                                                                                   
==2003==    at 0x3708CE559E: __open_nocancel (in /usr/lib64/libc-2.16.so)                                                                                                 
==2003==    by 0x3708CF421E: write_gmon (in /usr/lib64/libc-2.16.so)                                                                                                                      
==2003==    by 0x3708CF4979: _mcleanup (in /usr/lib64/libc-2.16.so)                                                                                                                       
==2003==    by 0x3708C38EA0: __run_exit_handlers (in /usr/lib64/libc-2.16.so)                                                                                                             
==2003==    by 0x3708C38F24: exit (in /usr/lib64/libc-2.16.so)                                                                                                                            
==2003==    by 0x3708C21A0B: (below main) (in /usr/lib64/libc-2.16.so)                                                                                                                    
==2003==                                                                                                                                                                                  
==2003== HEAP SUMMARY:                                                                                                                                                                    
==2003==     in use at exit: 1,192,195 bytes in 2,111 blocks                                                                                                                              
==2003==   total heap usage: 930,341 allocs, 928,230 frees, 236,878,505 bytes allocated
==2003== 
==2003== Searching for pointers to 2,111 not-freed blocks
==2003== Checked 10,864,072 bytes
==2003== 
==2003== 120 bytes in 1 blocks are definitely lost in loss record 163 of 292
==2003==    at 0x4A0887C: malloc (vg_replace_malloc.c:270)
==2003==    by 0x37676830C5: ??? (in /usr/lib64/libGL.so.319.32)
==2003==    by 0x2EE2F80: ???
==2003==    by 0x7FEFFF07F: ???
==2003==    by 0x370B801F5B: ??? (in /usr/lib64/libX11.so.6.3.0)
==2003==    by 0x370B00BC89: ??? (in /usr/lib64/libxcb.so.1.1.0)
==2003==    by 0x100000742: ???
==2003==    by 0x1000100000004: ???
==2003==    by 0x7FEFFF09F: ???
==2003==    by 0x7FEFFF07F: ???
==2003== 
==2003== 5,568 (3,008 direct, 2,560 indirect) bytes in 8 blocks are definitely lost in loss record 262 of 292
==2003==    at 0x4A08361: operator new(unsigned long) (vg_replace_malloc.c:298)
==2003==    by 0x4091FA: AutomaticWeapon::fire() (AutomaticWeapon.cpp:49)
==2003==    by 0x41DB0A: Player::Shoot() (Player.cpp:34)
==2003==    by 0x40F284: Engine::gestionEvenements() (Engine.cpp:339)
==2003==    by 0x40E844: Engine::Run() (Engine.cpp:181)
==2003==    by 0x4159AE: main (main.cpp:24)
==2003== 
==2003== 12,048 bytes in 2 blocks are definitely lost in loss record 271 of 292
==2003==    at 0x4A06B6F: calloc (vg_replace_malloc.c:593)
==2003==    by 0x37676BCB1E: ??? (in /usr/lib64/libGL.so.319.32)
==2003== 
==2003== 13,224 (7,144 direct, 6,080 indirect) bytes in 19 blocks are definitely lost in loss record 275 of 292
==2003==    at 0x4A08361: operator new(unsigned long) (vg_replace_malloc.c:298)
==2003==    by 0x409503: AutomaticWeapon::fire(sf::Vector2<float>) (AutomaticWeapon.cpp:84)
==2003==    by 0x41F207: Raider::update() (Raider.cpp:84)
==2003==    by 0x416CE0: Map::update(sf::RenderWindow*) (Map.cpp:245)
==2003==    by 0x40FC38: Engine::drawGame() (Engine.cpp:427)
==2003==    by 0x40EADF: Engine::Run() (Engine.cpp:201)
==2003==    by 0x4159AE: main (main.cpp:24)
==2003== 
==2003== 14,836 (104 direct, 14,732 indirect) bytes in 1 blocks are definitely lost in loss record 278 of 292
==2003==    at 0x4A08361: operator new(unsigned long) (vg_replace_malloc.c:298)
==2003==    by 0x415090: LoadFiles::LoadFiles() (LoadFiles.cpp:11)
==2003==    by 0x40E05A: Engine::Engine(sf::VideoMode, bool) (Engine.cpp:120)
==2003==    by 0x40DC43: Engine::getInstance() (Engine.cpp:101)
==2003==    by 0x41599E: main (main.cpp:23)
==2003== 
==2003== 18,096 (9,776 direct, 8,320 indirect) bytes in 26 blocks are definitely lost in loss record 281 of 292
==2003==    at 0x4A08361: operator new(unsigned long) (vg_replace_malloc.c:298)
==2003==    by 0x41F8B5: ShrapnelWeapon::fire() (ShrapnelWeapon.cpp:57)
==2003==    by 0x41DB0A: Player::Shoot() (Player.cpp:34)
==2003==    by 0x40F284: Engine::gestionEvenements() (Engine.cpp:339)
==2003==    by 0x40E844: Engine::Run() (Engine.cpp:181)
==2003==    by 0x4159AE: main (main.cpp:24)
==2003== 
==2003== 18,792 (10,152 direct, 8,640 indirect) bytes in 27 blocks are definitely lost in loss record 282 of 292
==2003==    at 0x4A08361: operator new(unsigned long) (vg_replace_malloc.c:298)
==2003==    by 0x41F9B5: ShrapnelWeapon::fire() (ShrapnelWeapon.cpp:61)
==2003==    by 0x41DB0A: Player::Shoot() (Player.cpp:34)
==2003==    by 0x40F284: Engine::gestionEvenements() (Engine.cpp:339)
==2003==    by 0x40E844: Engine::Run() (Engine.cpp:181)
==2003==    by 0x4159AE: main (main.cpp:24)
==2003== 
==2003== 20,880 (11,280 direct, 9,600 indirect) bytes in 30 blocks are definitely lost in loss record 284 of 292
==2003==    at 0x4A08361: operator new(unsigned long) (vg_replace_malloc.c:298)
==2003==    by 0x41F7B5: ShrapnelWeapon::fire() (ShrapnelWeapon.cpp:53)
==2003==    by 0x41DB0A: Player::Shoot() (Player.cpp:34)
==2003==    by 0x40F284: Engine::gestionEvenements() (Engine.cpp:339)
==2003==    by 0x40E844: Engine::Run() (Engine.cpp:181)
==2003==    by 0x4159AE: main (main.cpp:24)
==2003== 
==2003== 20,880 (11,280 direct, 9,600 indirect) bytes in 30 blocks are definitely lost in loss record 285 of 292
==2003==    at 0x4A08361: operator new(unsigned long) (vg_replace_malloc.c:298)
==2003==    by 0x41F835: ShrapnelWeapon::fire() (ShrapnelWeapon.cpp:55)
==2003==    by 0x41DB0A: Player::Shoot() (Player.cpp:34)
==2003==    by 0x40F284: Engine::gestionEvenements() (Engine.cpp:339)
==2003==    by 0x40E844: Engine::Run() (Engine.cpp:181)
==2003==    by 0x4159AE: main (main.cpp:24)
==2003== 
==2003== 20,880 (11,280 direct, 9,600 indirect) bytes in 30 blocks are definitely lost in loss record 286 of 292
==2003==    at 0x4A08361: operator new(unsigned long) (vg_replace_malloc.c:298)
==2003==    by 0x41F935: ShrapnelWeapon::fire() (ShrapnelWeapon.cpp:59)
==2003==    by 0x41DB0A: Player::Shoot() (Player.cpp:34)
==2003==    by 0x40F284: Engine::gestionEvenements() (Engine.cpp:339)
==2003==    by 0x40E844: Engine::Run() (Engine.cpp:181)
==2003==    by 0x4159AE: main (main.cpp:24)
==2003== 
==2003== 69,956 (56 direct, 69,900 indirect) bytes in 1 blocks are definitely lost in loss record 289 of 292
==2003==    at 0x4A0887C: malloc (vg_replace_malloc.c:270)
==2003==    by 0x370EC13EBF: ft_mem_qalloc (in /usr/lib64/libfreetype.so.6.9.0)
==2003==    by 0x370EC13F12: ft_mem_alloc (in /usr/lib64/libfreetype.so.6.9.0)
==2003==    by 0x370EC1785D: FT_Add_Module (in /usr/lib64/libfreetype.so.6.9.0)
==2003==    by 0x370EC0F5CB: FT_Add_Default_Modules (in /usr/lib64/libfreetype.so.6.9.0)
==2003==    by 0x370EC0F644: FT_Init_FreeType (in /usr/lib64/libfreetype.so.6.9.0)
==2003==    by 0x4E4688F: sf::Font::loadFromFile(std::string const&) (Font.cpp:110)
==2003==    by 0x41516D: LoadFiles::LoadFiles() (LoadFiles.cpp:17)
==2003==    by 0x40E05A: Engine::Engine(sf::VideoMode, bool) (Engine.cpp:120)
==2003==    by 0x40DC43: Engine::getInstance() (Engine.cpp:101)
==2003==    by 0x41599E: main (main.cpp:23)
==2003== 
==2003== 262,132 bytes in 1 blocks are possibly lost in loss record 291 of 292
==2003==    at 0x4A0887C: malloc (vg_replace_malloc.c:270)
==2003==    by 0x37676AA1E8: ??? (in /usr/lib64/libGL.so.319.32)
==2003==    by 0x5665CEF: ???
==2003==    by 0x3FFF3: ???
==2003==    by 0x3FFF3: ???
==2003==    by 0x37676855DE: ??? (in /usr/lib64/libGL.so.319.32)
==2003==    by 0x7FEFFF02F: ???
==2003== 
==2003== 262,132 bytes in 1 blocks are definitely lost in loss record 292 of 292
==2003==    at 0x4A0887C: malloc (vg_replace_malloc.c:270)
==2003==    by 0x37676AA1E8: ??? (in /usr/lib64/libGL.so.319.32)
==2003==    by 0x5665CEF: ???
==2003==    by 0x3FFF3: ???
==2003==    by 0x3FFF3: ???
==2003==    by 0x37676855DE: ??? (in /usr/lib64/libGL.so.319.32)
==2003==    by 0x7FEFFEF7F: ???
==2003== 
==2003== LEAK SUMMARY:
==2003==    definitely lost: 338,380 bytes in 176 blocks
==2003==    indirectly lost: 139,032 bytes in 468 blocks
==2003==      possibly lost: 262,132 bytes in 1 blocks
==2003==    still reachable: 452,651 bytes in 1,466 blocks
==2003==         suppressed: 0 bytes in 0 blocks
==2003== Reachable blocks (those to which a pointer was found) are not shown.
==2003== To see them, rerun with: --leak-check=full --show-reachable=yes
==2003== 
==2003== Use --track-origins=yes to see where uninitialised values come from
==2003== ERROR SUMMARY: 12488 errors from 24 contexts (suppressed: 4 from 3)
==2003== 
==2003== 1 errors in context 1 of 24:
==2003== Conditional jump or move depends on uninitialised value(s)
==2003==    at 0x42BE07: WidgetManager::positionRelachementSouris(float, float) (WidgetManager.cpp:62)
==2003==    by 0x40F38B: Engine::gestionEvenements() (Engine.cpp:359)
==2003==    by 0x40E844: Engine::Run() (Engine.cpp:181)
==2003==    by 0x4159AE: main (main.cpp:24)
==2003== 
==2003== 
==2003== 1 errors in context 2 of 24:
==2003== Conditional jump or move depends on uninitialised value(s)
==2003==    at 0x3767654C15: ??? (in /usr/lib64/libGL.so.319.32)
==2003==    by 0xA38AF8F: ???
==2003== 
==2003== 
==2003== 1 errors in context 3 of 24:
==2003== Conditional jump or move depends on uninitialised value(s)
==2003==    at 0x372880AFFD: ??? (in /usr/lib64/libsndfile.so.1.0.25)
==2003==    by 0x52BD556: sf::priv::SoundFile::openRead(std::string const&) (SoundFile.cpp:100)
==2003==    by 0x52B7BEA: sf::Music::openFromFile(std::string const&) (Music.cpp:64)
==2003==    by 0x41C96B: MusicManager::playTheme(std::string) (MusicManager.cpp:26)
==2003==    by 0x40E7CF: Engine::Run() (Engine.cpp:169)
==2003==    by 0x4159AE: main (main.cpp:24)
==2003== 
==2003== 
==2003== 1 errors in context 4 of 24:
==2003== Invalid read of size 1
==2003==    at 0x4A09202: __GI_strlen (mc_replace_strmem.c:405)
==2003==    by 0x370B83D4B7: XSetClassHint (in /usr/lib64/libX11.so.6.3.0)
==2003==    by 0x509D401: sf::priv::WindowImplX11::WindowImplX11(sf::VideoMode, sf::String const&, unsigned long) (WindowImplX11.cpp:250)
==2003==    by 0x5097DFB: sf::priv::WindowImpl::create(sf::VideoMode, sf::String const&, unsigned int) (WindowImpl.cpp:60)
==2003==    by 0x5097493: sf::Window::create(sf::VideoMode, sf::String const&, unsigned int, sf::ContextSettings const&) (Window.cpp:114)
==2003==    by 0x40E1B3: Engine::Engine(sf::VideoMode, bool) (Engine.cpp:126)
==2003==    by 0x40DC43: Engine::getInstance() (Engine.cpp:101)
==2003==    by 0x41599E: main (main.cpp:23)
==2003==  Address 0x7fefff1e9 is just below the stack ptr.  To suppress, use: --workaround-gcc296-bugs=yes
==2003== 
==2003== 
==2003== 1 errors in context 5 of 24:
==2003== Invalid read of size 1
==2003==    at 0x4A09202: __GI_strlen (mc_replace_strmem.c:405)
==2003==    by 0x370B83D4A2: XSetClassHint (in /usr/lib64/libX11.so.6.3.0)
==2003==    by 0x509D401: sf::priv::WindowImplX11::WindowImplX11(sf::VideoMode, sf::String const&, unsigned long) (WindowImplX11.cpp:250)
==2003==    by 0x5097DFB: sf::priv::WindowImpl::create(sf::VideoMode, sf::String const&, unsigned int) (WindowImpl.cpp:60)
==2003==    by 0x5097493: sf::Window::create(sf::VideoMode, sf::String const&, unsigned int, sf::ContextSettings const&) (Window.cpp:114)
==2003==    by 0x40E1B3: Engine::Engine(sf::VideoMode, bool) (Engine.cpp:126)
==2003==    by 0x40DC43: Engine::getInstance() (Engine.cpp:101)
==2003==    by 0x41599E: main (main.cpp:23)
==2003==  Address 0x7fefff1e9 is just below the stack ptr.  To suppress, use: --workaround-gcc296-bugs=yes
==2003== 
==2003== 
==2003== 2 errors in context 6 of 24:
==2003== Conditional jump or move depends on uninitialised value(s)
==2003==    at 0x372880AFFD: ??? (in /usr/lib64/libsndfile.so.1.0.25)
==2003==    by 0x52BD556: sf::priv::SoundFile::openRead(std::string const&) (SoundFile.cpp:100)
==2003==    by 0x52B9EBB: sf::SoundBuffer::loadFromFile(std::string const&) (SoundBuffer.cpp:83)
==2003==    by 0x40D48B: CustomSound::CustomSound(std::string) (CustomSound.cpp:12)
==2003==    by 0x41CB2D: MusicManager::playEvent(std::string) (MusicManager.cpp:60)
==2003==    by 0x4123A7: Events::updateEvents() (Events.cpp:32)
==2003==    by 0x40EE16: Engine::gestionEvenements() (Engine.cpp:268)
==2003==    by 0x40E844: Engine::Run() (Engine.cpp:181)
==2003==    by 0x4159AE: main (main.cpp:24)
==2003== 
==2003== 
==2003== 392 errors in context 7 of 24:
==2003== Conditional jump or move depends on uninitialised value(s)
==2003==    at 0x40C775: CollisionManager::CalculDistanceAParcourirBordMap(float, float) (CollisionManager.cpp:292)
==2003==    by 0x40AE2F: CollisionManager::CollisionJoueur(float, float) (CollisionManager.cpp:46)
==2003==    by 0x412362: Events::updateEvents() (Events.cpp:30)
==2003==    by 0x40EE16: Engine::gestionEvenements() (Engine.cpp:268)
==2003==    by 0x40E844: Engine::Run() (Engine.cpp:181)
==2003==    by 0x4159AE: main (main.cpp:24)
==2003== 
==2003== 
==2003== 401 errors in context 8 of 24:
==2003== Conditional jump or move depends on uninitialised value(s)
==2003==    at 0x40C651: CollisionManager::CalculDistanceAParcourirBordMap(float, float) (CollisionManager.cpp:286)
==2003==    by 0x40AE2F: CollisionManager::CollisionJoueur(float, float) (CollisionManager.cpp:46)
==2003==    by 0x412362: Events::updateEvents() (Events.cpp:30)
==2003==    by 0x40EE16: Engine::gestionEvenements() (Engine.cpp:268)
==2003==    by 0x40E844: Engine::Run() (Engine.cpp:181)
==2003==    by 0x4159AE: main (main.cpp:24)
==2003== 
==2003== 
==2003== 428 errors in context 9 of 24:
==2003== Conditional jump or move depends on uninitialised value(s)
==2003==    at 0x40C535: CollisionManager::CalculDistanceAParcourirBordMap(float, float) (CollisionManager.cpp:280)
==2003==    by 0x40AE2F: CollisionManager::CollisionJoueur(float, float) (CollisionManager.cpp:46)
==2003==    by 0x412362: Events::updateEvents() (Events.cpp:30)
==2003==    by 0x40EE16: Engine::gestionEvenements() (Engine.cpp:268)
==2003==    by 0x40E844: Engine::Run() (Engine.cpp:181)
==2003==    by 0x4159AE: main (main.cpp:24)
==2003== 
==2003== 
==2003== 492 errors in context 10 of 24:
==2003== Conditional jump or move depends on uninitialised value(s)
==2003==    at 0x40C413: CollisionManager::CalculDistanceAParcourirBordMap(float, float) (CollisionManager.cpp:274)
==2003==    by 0x40AE2F: CollisionManager::CollisionJoueur(float, float) (CollisionManager.cpp:46)
==2003==    by 0x412362: Events::updateEvents() (Events.cpp:30)
==2003==    by 0x40EE16: Engine::gestionEvenements() (Engine.cpp:268)
==2003==    by 0x40E844: Engine::Run() (Engine.cpp:181)
==2003==    by 0x4159AE: main (main.cpp:24)
==2003== 
==2003== 
==2003== 10755 errors in context 11 of 24:
==2003== Conditional jump or move depends on uninitialised value(s)
==2003==    at 0x40B6B1: CollisionManager::CheckIfOutOfWindow(float, float, float) (CollisionManager.cpp:154)
==2003==    by 0x40ADE9: CollisionManager::CollisionJoueur(float, float) (CollisionManager.cpp:43)
==2003==    by 0x412362: Events::updateEvents() (Events.cpp:30)
==2003==    by 0x40EE16: Engine::gestionEvenements() (Engine.cpp:268)
==2003==    by 0x40E844: Engine::Run() (Engine.cpp:181)
==2003==    by 0x4159AE: main (main.cpp:24)
==2003== 
--2003-- 
--2003-- used_suppression:      2 X on SUSE11 writev uninit padding
--2003-- used_suppression:      2 glibc-2.5.x-on-SUSE-10.2-(PPC)-2a
==2003== 
==2003== ERROR SUMMARY: 12488 errors from 24 contexts (suppressed: 4 from 3)
Expiration de la minuterie durant l'établissement du profile                                                                                                                              
progyold commented 11 years ago

Donc concrètement ça donne quoi ? Parce que j'y comprends rien xD

Francis1993Z commented 11 years ago

Ici, ça dit qu'il y a des conditions sur des valeurs non initialisées, je crois.

==2003== Conditional jump or move depends on uninitialised value(s)
==2003==    at 0x372880AFFD: ??? (in /usr/lib64/libsndfile.so.1.0.25)
==2003==    by 0x52BD556: sf::priv::SoundFile::openRead(std::string const&) (SoundFile.cpp:100)
==2003==    by 0x52B9EBB: sf::SoundBuffer::loadFromFile(std::string const&) (SoundBuffer.cpp:83)
==2003==    by 0x40D48B: CustomSound::CustomSound(std::string) (CustomSound.cpp:12)
==2003==    by 0x41CB2D: MusicManager::playEvent(std::string) (MusicManager.cpp:60)
==2003==    by 0x4123A7: Events::updateEvents() (Events.cpp:32)
==2003==    by 0x40EE16: Engine::gestionEvenements() (Engine.cpp:268)
==2003==    by 0x40E844: Engine::Run() (Engine.cpp:181)
==2003==    by 0x4159AE: main (main.cpp:24)
==2003== 
==2003== Conditional jump or move depends on uninitialised value(s)
==2003==    at 0x40C413: CollisionManager::CalculDistanceAParcourirBordMap(float, float) (CollisionManager.cpp:274)
==2003==    by 0x40AE2F: CollisionManager::CollisionJoueur(float, float) (CollisionManager.cpp:46)
==2003==    by 0x412362: Events::updateEvents() (Events.cpp:30)
==2003==    by 0x40EE16: Engine::gestionEvenements() (Engine.cpp:268)
==2003==    by 0x40E844: Engine::Run() (Engine.cpp:181)
==2003==    by 0x4159AE: main (main.cpp:24)
progyold commented 11 years ago

ok faudra regarder ça de plus près.