valgrind openmsx
==5514== Memcheck, a memory error detector
==5514== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==5514== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for copyright info
==5514== Command: openmsx
==5514==
==5514== Conditional jump or move depends on uninitialised value(s)
==5514== at 0x407E006: ??? (in /usr/lib/libSDL-1.2.so.0.11.3)
==5514== by 0x407E931: ??? (in /usr/lib/libSDL-1.2.so.0.11.3)
==5514== by 0x407F459: ??? (in /usr/lib/libSDL-1.2.so.0.11.3)
==5514== by 0x405022C: SDL_PumpEvents (in /usr/lib/libSDL-1.2.so.0.11.3)
==5514== by 0x40506B6: SDL_PollEvent (in /usr/lib/libSDL-1.2.so.0.11.3)
==5514== by 0x81C3D53: ??? (in /opt/openMSX/bin/openmsx)
==5514== by 0x81B8CDD: ??? (in /opt/openMSX/bin/openmsx)
==5514== by 0x80A7F63: ??? (in /opt/openMSX/bin/openmsx)
==5514== by 0x85B9D63: ??? (in /opt/openMSX/bin/openmsx)
==5514==
==5514== Conditional jump or move depends on uninitialised value(s)
==5514== at 0x407E02A: ??? (in /usr/lib/libSDL-1.2.so.0.11.3)
==5514== by 0x407E931: ??? (in /usr/lib/libSDL-1.2.so.0.11.3)
==5514== by 0x407F459: ??? (in /usr/lib/libSDL-1.2.so.0.11.3)
==5514== by 0x405022C: SDL_PumpEvents (in /usr/lib/libSDL-1.2.so.0.11.3)
==5514== by 0x40506B6: SDL_PollEvent (in /usr/lib/libSDL-1.2.so.0.11.3)
==5514== by 0x81C3D53: ??? (in /opt/openMSX/bin/openmsx)
==5514== by 0x81B8CDD: ??? (in /opt/openMSX/bin/openmsx)
==5514== by 0x80A7F63: ??? (in /opt/openMSX/bin/openmsx)
==5514== by 0x85B9D63: ??? (in /opt/openMSX/bin/openmsx)
==5514==
==5514== Invalid free() / delete / delete[]
==5514== at 0x4024851: operator delete(void*) (vg_replace_malloc.c:387)
==5514== by 0x448AC2C: std::string::_Rep::_M_destroy(std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.13)
==5514== by 0x448C5DB: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() (in /usr/lib/libstdc++.so.6.0.13)
==5514== by 0x455D1BE: __run_exit_handlers (exit.c:78)
==5514== by 0x455D22E: exit (exit.c:100)
==5514== by 0x80C3C5B: ??? (in /opt/openMSX/bin/openmsx)
==5514== by 0x4544BD5: (below main) (libc-start.c:226)
==5514== Address 0x4d0eb0e is 2 bytes before a block of size 31 alloc'd
==5514== at 0x402569A: operator new(unsigned int) (vg_replace_malloc.c:255)
==5514== by 0x448AD05: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.13)
==5514== by 0x448BB10: ??? (in /usr/lib/libstdc++.so.6.0.13)
==5514== by 0x448BCF5: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.13)
==5514== by 0x831E50F: ??? (in /opt/openMSX/bin/openmsx)
==5514== by 0x804EC67: ??? (in /opt/openMSX/bin/openmsx)
==5514== by 0x85B0908: ??? (in /opt/openMSX/bin/openmsx)
==5514== by 0x4544B73: (below main) (libc-start.c:185)
==5514==
==5514==
==5514== HEAP SUMMARY:
==5514== in use at exit: 4,982,786 bytes in 1,104 blocks
==5514== total heap usage: 402,202 allocs, 401,099 frees, 58,581,132 bytes allocated
==5514==
==5514== LEAK SUMMARY:
==5514== definitely lost: 56 bytes in 3 blocks
==5514== indirectly lost: 120 bytes in 10 blocks
==5514== possibly lost: 4,806,655 bytes in 99 blocks
==5514== still reachable: 175,955 bytes in 992 blocks
==5514== suppressed: 0 bytes in 0 blocks
==5514== Rerun with --leak-check=full to see details of leaked memory
==5514==
==5514== For counts of detected and suppressed errors, rerun with: -v
==5514== Use --track-origins=yes to see where uninitialised values come from
==5514== ERROR SUMMARY: 12 errors from 3 contexts (suppressed: 678 from 10)
Ok
Ok