Skip to content

Instantly share code, notes, and snippets.

@RaitoBezarius
Created September 3, 2012 17:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RaitoBezarius/3611314 to your computer and use it in GitHub Desktop.
Save RaitoBezarius/3611314 to your computer and use it in GitHub Desktop.
Valgrind memcheck last
==27306== Memcheck, a memory error detector
==27306== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==27306== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==27306== Command: ./Client
==27306==
--27306-- WARNING: Serious error when reading debug info
--27306-- When reading debug info from /usr/lib/nvidia-current/libGL.so.295.40:
--27306-- Can't make sense of .got.plt section mapping
--27306-- WARNING: Serious error when reading debug info
--27306-- When reading debug info from /usr/lib/nvidia-current/libnvidia-glcore.so.295.40:
--27306-- Can't make sense of .got section mapping
==27306== Conditional jump or move depends on uninitialised value(s)
==27306== at 0x5D6EF26: ??? (in /usr/lib/nvidia-current/libnvidia-glcore.so.295.40)
==27306==
Guessing screen resolution [FIXME]: Select configuration in game and save it in Config.conf
My guess is: 1680x1050
==27306== Syscall param writev(vector[...]) points to uninitialised byte(s)
==27306== at 0x46D39AE: writev (writev.c:51)
==27306== by 0x401BD3B: ??? (in /lib/i386-linux-gnu/ld-2.15.so)
==27306== Address 0x77251f4 is 36 bytes inside a block of size 16,384 alloc'd
==27306== at 0x402A5E6: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==27306== by 0x48B8A01: XOpenDisplay (in /usr/lib/i386-linux-gnu/libX11.so.6.3.0)
==27306== by 0x405E240: sf::priv::WindowImplX11::WindowImplX11(sf::VideoMode, std::string const&, unsigned long) (WindowImplX11.cpp:104)
==27306== by 0x4059720: sf::priv::WindowImpl::create(sf::VideoMode, std::string const&, unsigned int) (WindowImpl.cpp:60)
==27306== by 0x4058E4C: sf::Window::create(sf::VideoMode, std::string const&, unsigned int, sf::ContextSettings const&) (Window.cpp:114)
==27306== by 0x80E0F46: Game::Game(bool) (Game.cpp:23)
==27306== by 0x80EC9EB: main (Main.cpp:45)
==27306==
==27306== Syscall param writev(vector[...]) points to uninitialised byte(s)
==27306== at 0x46D39AE: writev (writev.c:51)
==27306== by 0x777B45F: ???
==27306== Address 0x77251f5 is 37 bytes inside a block of size 16,384 alloc'd
==27306== at 0x402A5E6: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==27306== by 0x48B8A01: XOpenDisplay (in /usr/lib/i386-linux-gnu/libX11.so.6.3.0)
==27306== by 0x405E240: sf::priv::WindowImplX11::WindowImplX11(sf::VideoMode, std::string const&, unsigned long) (WindowImplX11.cpp:104)
==27306== by 0x4059720: sf::priv::WindowImpl::create(sf::VideoMode, std::string const&, unsigned int) (WindowImpl.cpp:60)
==27306== by 0x4058E4C: sf::Window::create(sf::VideoMode, std::string const&, unsigned int, sf::ContextSettings const&) (Window.cpp:114)
==27306== by 0x80E0F46: Game::Game(bool) (Game.cpp:23)
==27306== by 0x80EC9EB: main (Main.cpp:45)
==27306==
Sending Packet: MSG_LOGIN,
Successful!
Received Packet: MSG_LOGIN,
Packet is good!
Received Packet: MSG_ADD_OBJECT,
Packet is good!
Received Packet: MSG_ADD_OBJECT,
Packet is good!
Received Packet: MSG_ADD_OBJECT,
Packet is good!
Sending Packet: MSG_MOVE_OBJECT,
Received Packet: MSG_MOVE_OBJECT,
Packet is good!
Successful!
Sending Packet: MSG_MOVE_OBJECT,
Received Packet: MSG_MOVE_OBJECT,
Packet is good!
Successful!
Sending Packet: MSG_MOVE_OBJECT,
Received Packet: MSG_MOVE_OBJECT,
Packet is good!
Successful!
Sending Packet: MSG_MOVE_OBJECT,
Received Packet: MSG_MOVE_OBJECT,
Packet is good!
Successful!
Sending Packet: MSG_LOG_OUT,
Successful!
Received Packet: MSG_LOG_OUT,
==27306==
==27306== HEAP SUMMARY:
==27306== in use at exit: 654,473 bytes in 499 blocks
==27306== total heap usage: 59,866 allocs, 59,367 frees, 24,916,908 bytes allocated
==27306==
==27306== LEAK SUMMARY:
==27306== definitely lost: 164 bytes in 4 blocks
==27306== indirectly lost: 1,728 bytes in 9 blocks
==27306== possibly lost: 524,264 bytes in 2 blocks
==27306== still reachable: 128,317 bytes in 484 blocks
==27306== suppressed: 0 bytes in 0 blocks
==27306== Rerun with --leak-check=full to see details of leaked memory
==27306==
==27306== For counts of detected and suppressed errors, rerun with: -v
==27306== Use --track-origins=yes to see where uninitialised values come from
==27306== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
@krofna
Copy link

krofna commented Sep 3, 2012

This isnt full report. go --leak-check=full

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment