david@Miho:~$ valgrind supertuxkart ==4730== Memcheck, a memory error detector ==4730== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al. ==4730== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info ==4730== Command: supertuxkart ==4730== --4730-- WARNING: Serious error when reading debug info --4730-- When reading debug info from /usr/lib/i386-linux-gnu/libGL.so.1.2: --4730-- Can't make sense of .got section mapping --4730-- WARNING: Serious error when reading debug info --4730-- When reading debug info from /usr/lib/i386-linux-gnu/libglapi.so.0.0.0: --4730-- Can't make sense of .got section mapping Irrlicht Engine version 1.8.0 Linux 3.2.0-4-686-pae #1 SMP Debian 3.2.32-1 i686 [FileManager] Data files will be fetched from: '/usr/share/games/supertuxkart' [FileManager] Addons files will be stored in '/home/david/.local/share/supertuxkart/addons'. [IrrDriver] Trying OpenGL rendering. ==4730== Conditional jump or move depends on uninitialised value(s) ==4730== at 0x578AB0A: _mesa_glsl_parse_state::_mesa_glsl_parse_state(gl_context*, unsigned int, void*) (glsl_parser_extras.cpp:118) ==4730== ==4730== Syscall param semctl(IPC_SET, arg.buf) points to uninitialised byte(s) ==4730== at 0x4B079D8: semctl@@GLIBC_2.2 (semctl.c:109) ==4730== by 0xAE3F494: ??? (in /usr/lib/i386-linux-gnu/libasound.so.2.0.0) ==4730== by 0xAE3A4EF: snd_pcm_dmix_open (in /usr/lib/i386-linux-gnu/libasound.so.2.0.0) ==4730== by 0xAE3AF7A: _snd_pcm_dmix_open (in /usr/lib/i386-linux-gnu/libasound.so.2.0.0) ==4730== by 0xADFB707: ??? (in /usr/lib/i386-linux-gnu/libasound.so.2.0.0) ==4730== by 0xADFBD3D: ??? (in /usr/lib/i386-linux-gnu/libasound.so.2.0.0) ==4730== by 0xFFFFFFFE: ??? ==4730== Address 0xbea78d30 is on thread 1's stack ==4730== Error messages and other text output will be logged to /home/david/.config/supertuxkart/stdout.log and /home/david/.config/supertuxkart/stderr.log ==4730== Conditional jump or move depends on uninitialised value(s) ==4730== at 0x4543AFB: irr::CIrrDeviceLinux::activateJoysticks(irr::core::array >&) (in /usr/lib/i386-linux-gnu/libIrrlicht.so.1.8.0) ==4730== by 0x81A1C38: DeviceManager::initialize() (in /usr/games/supertuxkart) ==4730== by 0x81A3D64: InputManager::InputManager() (in /usr/games/supertuxkart) ==4730== by 0x4A46E45: (below main) (libc-start.c:228) ==4730== ==4730== Conditional jump or move depends on uninitialised value(s) ==4730== at 0x4A742F4: vfprintf (vfprintf.c:1623) ==4730== by 0x4B18AE6: __vsprintf_chk (vsprintf_chk.c:87) ==4730== by 0x4B18A2C: __sprintf_chk (sprintf_chk.c:33) ==4730== by 0x4543C92: irr::CIrrDeviceLinux::activateJoysticks(irr::core::array >&) (in /usr/lib/i386-linux-gnu/libIrrlicht.so.1.8.0) ==4730== by 0x81A1C38: DeviceManager::initialize() (in /usr/games/supertuxkart) ==4730== by 0x81A3D64: InputManager::InputManager() (in /usr/games/supertuxkart) ==4730== by 0x4A46E45: (below main) (libc-start.c:228) ==4730== ==4730== Conditional jump or move depends on uninitialised value(s) ==4730== at 0x81A1CB0: DeviceManager::initialize() (in /usr/games/supertuxkart) ==4730== by 0x81A3D64: InputManager::InputManager() (in /usr/games/supertuxkart) ==4730== by 0x4A46E45: (below main) (libc-start.c:228) ==4730== ==4730== Conditional jump or move depends on uninitialised value(s) ==4730== at 0x81A1D14: DeviceManager::initialize() (in /usr/games/supertuxkart) ==4730== by 0x81A3D64: InputManager::InputManager() (in /usr/games/supertuxkart) ==4730== by 0x4A46E45: (below main) (libc-start.c:228) ==4730== ==4730== Conditional jump or move depends on uninitialised value(s) ==4730== at 0x81A1CFE: DeviceManager::initialize() (in /usr/games/supertuxkart) ==4730== by 0x81A3D64: InputManager::InputManager() (in /usr/games/supertuxkart) ==4730== by 0x4A46E45: (below main) (libc-start.c:228) ==4730== ==4730== Conditional jump or move depends on uninitialised value(s) ==4730== at 0x4028A57: strlen (mc_replace_strmem.c:390) ==4730== by 0x49B4072: std::string::compare(char const*) const (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.17) ==4730== by 0x81A1939: DeviceManager::getConfigForGamepad(int, irr::core::string > const&, GamepadConfig**) (in /usr/games/supertuxkart) ==4730== by 0x380162FF: ??? (mc_malloc_wrappers.c:288) ==4730== ==4730== Conditional jump or move depends on uninitialised value(s) ==4730== at 0x402A7BF: bcmp (mc_replace_strmem.c:889) ==4730== by 0x49B408E: std::string::compare(char const*) const (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.17) ==4730== by 0x81A1939: DeviceManager::getConfigForGamepad(int, irr::core::string > const&, GamepadConfig**) (in /usr/games/supertuxkart) ==4730== by 0x380162FF: ??? (mc_malloc_wrappers.c:288) ==4730== ==4730== Conditional jump or move depends on uninitialised value(s) ==4730== at 0x4028A57: strlen (mc_replace_strmem.c:390) ==4730== by 0x49B6D0A: std::basic_string, std::allocator >::basic_string(char const*, std::allocator const&) (in /usr/lib/i386-linux-gnu/libstdc++.so.6.0.17) ==4730== by 0x81A2225: DeviceManager::initialize() (in /usr/games/supertuxkart) ==4730== by 0x81A3D64: InputManager::InputManager() (in /usr/games/supertuxkart) ==4730== by 0x4A46E45: (below main) (libc-start.c:228) ==4730== ==4730== Conditional jump or move depends on uninitialised value(s) ==4730== at 0x436B6E3: irr::scene::CSkinnedMesh::finalize() (in /usr/lib/i386-linux-gnu/libIrrlicht.so.1.8.0) ==4730== by 0x42B55F5: irr::scene::CB3DMeshFileLoader::createMesh(irr::io::IReadFile*) (in /usr/lib/i386-linux-gnu/libIrrlicht.so.1.8.0) ==4730== by 0x43FD918: irr::scene::CSceneManager::getMesh(irr::core::string > const&) (in /usr/lib/i386-linux-gnu/libIrrlicht.so.1.8.0) ==4730== by 0x81336D6: IrrDriver::getAnimatedMesh(std::string const&) (in /usr/games/supertuxkart) ==4730== by 0x81AFAB4: AttachmentManager::loadModels() (in /usr/games/supertuxkart) ==4730== by 0x80E3E03: main (in /usr/games/supertuxkart) ==4730== ==4730== Invalid read of size 1 ==4730== at 0x81A3553: GamePadDevice::processAndMapInput(Input::InputType, int, int, InputManager::InputDriverMode, StateManager::ActivePlayer*, PlayerAction*) (in /usr/games/supertuxkart) ==4730== by 0x81A05DE: DeviceManager::mapGamepadInput(Input::InputType, int, int, int, int, InputManager::InputDriverMode, StateManager::ActivePlayer**, PlayerAction*) (in /usr/games/supertuxkart) ==4730== by 0x81A06BD: DeviceManager::translateInput(Input::InputType, int, int, int, int, InputManager::InputDriverMode, StateManager::ActivePlayer**, PlayerAction*) (in /usr/games/supertuxkart) ==4730== by 0x81A446A: InputManager::dispatchInput(Input::InputType, int, int, Input::AxisDirection, int) (in /usr/games/supertuxkart) ==4730== by 0x401DA63: ??? (in /lib/i386-linux-gnu/ld-2.13.so) ==4730== Address 0x6c91434 is 12 bytes before a block of size 4 alloc'd ==4730== at 0x4027E54: operator new(unsigned int) (vg_replace_malloc.c:282) ==4730== by 0x81A2F97: std::vector >::_M_insert_aux(__gnu_cxx::__normal_iterator > >, GamePadDevice* const&) (in /usr/games/supertuxkart) ==4730== by 0x81A1B2E: DeviceManager::addGamepad(GamePadDevice*) (in /usr/games/supertuxkart) ==4730== by 0x81A228B: DeviceManager::initialize() (in /usr/games/supertuxkart) ==4730== by 0x81A3D64: InputManager::InputManager() (in /usr/games/supertuxkart) ==4730== by 0x4A46E45: (below main) (libc-start.c:228) ==4730== ==4730== Invalid read of size 4 ==4730== at 0x81A3562: GamePadDevice::processAndMapInput(Input::InputType, int, int, InputManager::InputDriverMode, StateManager::ActivePlayer*, PlayerAction*) (in /usr/games/supertuxkart) ==4730== by 0x81A05DE: DeviceManager::mapGamepadInput(Input::InputType, int, int, int, int, InputManager::InputDriverMode, StateManager::ActivePlayer**, PlayerAction*) (in /usr/games/supertuxkart) ==4730== by 0x81A06BD: DeviceManager::translateInput(Input::InputType, int, int, int, int, InputManager::InputDriverMode, StateManager::ActivePlayer**, PlayerAction*) (in /usr/games/supertuxkart) ==4730== by 0x81A446A: InputManager::dispatchInput(Input::InputType, int, int, Input::AxisDirection, int) (in /usr/games/supertuxkart) ==4730== by 0x401DA63: ??? (in /lib/i386-linux-gnu/ld-2.13.so) ==4730== Address 0x7e22158 is 104 bytes inside a block of size 120 free'd ==4730== at 0x402719C: operator delete(void*) (vg_replace_malloc.c:457) ==4730== by 0x4323F2A: irr::core::irrAllocator::internal_delete(void*) (in /usr/lib/i386-linux-gnu/libIrrlicht.so.1.8.0) ==4730== by 0x436E224: irr::core::array >::reallocate(unsigned int, bool) (in /usr/lib/i386-linux-gnu/libIrrlicht.so.1.8.0) ==4730== by 0x436D593: irr::scene::CSkinnedMesh::addRotationKey(irr::scene::ISkinnedMesh::SJoint*) (in /usr/lib/i386-linux-gnu/libIrrlicht.so.1.8.0) ==4730== by 0x42AE337: irr::scene::CB3DMeshFileLoader::readChunkKEYS(irr::scene::ISkinnedMesh::SJoint*) (in /usr/lib/i386-linux-gnu/libIrrlicht.so.1.8.0) ==4730== by 0x42B4F37: irr::scene::CB3DMeshFileLoader::readChunkNODE(irr::scene::ISkinnedMesh::SJoint*) (in /usr/lib/i386-linux-gnu/libIrrlicht.so.1.8.0) ==4730== by 0x42B4E47: irr::scene::CB3DMeshFileLoader::readChunkNODE(irr::scene::ISkinnedMesh::SJoint*) (in /usr/lib/i386-linux-gnu/libIrrlicht.so.1.8.0) ==4730== by 0x42B4E47: irr::scene::CB3DMeshFileLoader::readChunkNODE(irr::scene::ISkinnedMesh::SJoint*) (in /usr/lib/i386-linux-gnu/libIrrlicht.so.1.8.0) ==4730== by 0x42B4E47: irr::scene::CB3DMeshFileLoader::readChunkNODE(irr::scene::ISkinnedMesh::SJoint*) (in /usr/lib/i386-linux-gnu/libIrrlicht.so.1.8.0) ==4730== by 0x42B5297: irr::scene::CB3DMeshFileLoader::load() (in /usr/lib/i386-linux-gnu/libIrrlicht.so.1.8.0) ==4730== by 0x42B55B4: irr::scene::CB3DMeshFileLoader::createMesh(irr::io::IReadFile*) (in /usr/lib/i386-linux-gnu/libIrrlicht.so.1.8.0) ==4730== by 0x43FD918: irr::scene::CSceneManager::getMesh(irr::core::string > const&) (in /usr/lib/i386-linux-gnu/libIrrlicht.so.1.8.0) ==4730== ==4730== Invalid write of size 1 ==4730== at 0x81A3577: GamePadDevice::processAndMapInput(Input::InputType, int, int, InputManager::InputDriverMode, StateManager::ActivePlayer*, PlayerAction*) (in /usr/games/supertuxkart) ==4730== by 0x81A05DE: DeviceManager::mapGamepadInput(Input::InputType, int, int, int, int, InputManager::InputDriverMode, StateManager::ActivePlayer**, PlayerAction*) (in /usr/games/supertuxkart) ==4730== by 0x81A06BD: DeviceManager::translateInput(Input::InputType, int, int, int, int, InputManager::InputDriverMode, StateManager::ActivePlayer**, PlayerAction*) (in /usr/games/supertuxkart) ==4730== by 0x81A446A: InputManager::dispatchInput(Input::InputType, int, int, Input::AxisDirection, int) (in /usr/games/supertuxkart) ==4730== by 0x401DA63: ??? (in /lib/i386-linux-gnu/ld-2.13.so) ==4730== Address 0x6c91434 is 12 bytes before a block of size 4 alloc'd ==4730== at 0x4027E54: operator new(unsigned int) (vg_replace_malloc.c:282) ==4730== by 0x81A2F97: std::vector >::_M_insert_aux(__gnu_cxx::__normal_iterator > >, GamePadDevice* const&) (in /usr/games/supertuxkart) ==4730== by 0x81A1B2E: DeviceManager::addGamepad(GamePadDevice*) (in /usr/games/supertuxkart) ==4730== by 0x81A228B: DeviceManager::initialize() (in /usr/games/supertuxkart) ==4730== by 0x81A3D64: InputManager::InputManager() (in /usr/games/supertuxkart) ==4730== by 0x4A46E45: (below main) (libc-start.c:228) ==4730== ==4730== Invalid read of size 1 ==4730== at 0x81A3668: GamePadDevice::processAndMapInput(Input::InputType, int, int, InputManager::InputDriverMode, StateManager::ActivePlayer*, PlayerAction*) (in /usr/games/supertuxkart) ==4730== by 0x81A05DE: DeviceManager::mapGamepadInput(Input::InputType, int, int, int, int, InputManager::InputDriverMode, StateManager::ActivePlayer**, PlayerAction*) (in /usr/games/supertuxkart) ==4730== by 0x81A06BD: DeviceManager::translateInput(Input::InputType, int, int, int, int, InputManager::InputDriverMode, StateManager::ActivePlayer**, PlayerAction*) (in /usr/games/supertuxkart) ==4730== by 0x81A446A: InputManager::dispatchInput(Input::InputType, int, int, Input::AxisDirection, int) (in /usr/games/supertuxkart) ==4730== by 0x401DA63: ??? (in /lib/i386-linux-gnu/ld-2.13.so) ==4730== Address 0x6c91434 is 12 bytes before a block of size 4 alloc'd ==4730== at 0x4027E54: operator new(unsigned int) (vg_replace_malloc.c:282) ==4730== by 0x81A2F97: std::vector >::_M_insert_aux(__gnu_cxx::__normal_iterator > >, GamePadDevice* const&) (in /usr/games/supertuxkart) ==4730== by 0x81A1B2E: DeviceManager::addGamepad(GamePadDevice*) (in /usr/games/supertuxkart) ==4730== by 0x81A228B: DeviceManager::initialize() (in /usr/games/supertuxkart) ==4730== by 0x81A3D64: InputManager::InputManager() (in /usr/games/supertuxkart) ==4730== by 0x4A46E45: (below main) (libc-start.c:228) ==4730== ==4730== Invalid read of size 1 ==4730== at 0x81A3553: GamePadDevice::processAndMapInput(Input::InputType, int, int, InputManager::InputDriverMode, StateManager::ActivePlayer*, PlayerAction*) (in /usr/games/supertuxkart) ==4730== by 0x81A05DE: DeviceManager::mapGamepadInput(Input::InputType, int, int, int, int, InputManager::InputDriverMode, StateManager::ActivePlayer**, PlayerAction*) (in /usr/games/supertuxkart) ==4730== by 0x81A06BD: DeviceManager::translateInput(Input::InputType, int, int, int, int, InputManager::InputDriverMode, StateManager::ActivePlayer**, PlayerAction*) (in /usr/games/supertuxkart) ==4730== by 0x81A4619: InputManager::dispatchInput(Input::InputType, int, int, Input::AxisDirection, int) (in /usr/games/supertuxkart) ==4730== by 0x401DA63: ??? (in /lib/i386-linux-gnu/ld-2.13.so) ==4730== Address 0x6c91434 is 12 bytes before a block of size 4 alloc'd ==4730== at 0x4027E54: operator new(unsigned int) (vg_replace_malloc.c:282) ==4730== by 0x81A2F97: std::vector >::_M_insert_aux(__gnu_cxx::__normal_iterator > >, GamePadDevice* const&) (in /usr/games/supertuxkart) ==4730== by 0x81A1B2E: DeviceManager::addGamepad(GamePadDevice*) (in /usr/games/supertuxkart) ==4730== by 0x81A228B: DeviceManager::initialize() (in /usr/games/supertuxkart) ==4730== by 0x81A3D64: InputManager::InputManager() (in /usr/games/supertuxkart) ==4730== by 0x4A46E45: (below main) (libc-start.c:228) ==4730== ==4730== Invalid read of size 1 ==4730== at 0x81A3668: GamePadDevice::processAndMapInput(Input::InputType, int, int, InputManager::InputDriverMode, StateManager::ActivePlayer*, PlayerAction*) (in /usr/games/supertuxkart) ==4730== by 0x81A05DE: DeviceManager::mapGamepadInput(Input::InputType, int, int, int, int, InputManager::InputDriverMode, StateManager::ActivePlayer**, PlayerAction*) (in /usr/games/supertuxkart) ==4730== by 0x81A06BD: DeviceManager::translateInput(Input::InputType, int, int, int, int, InputManager::InputDriverMode, StateManager::ActivePlayer**, PlayerAction*) (in /usr/games/supertuxkart) ==4730== by 0x81A4619: InputManager::dispatchInput(Input::InputType, int, int, Input::AxisDirection, int) (in /usr/games/supertuxkart) ==4730== by 0x401DA63: ??? (in /lib/i386-linux-gnu/ld-2.13.so) ==4730== Address 0x6c91434 is 12 bytes before a block of size 4 alloc'd ==4730== at 0x4027E54: operator new(unsigned int) (vg_replace_malloc.c:282) ==4730== by 0x81A2F97: std::vector >::_M_insert_aux(__gnu_cxx::__normal_iterator > >, GamePadDevice* const&) (in /usr/games/supertuxkart) ==4730== by 0x81A1B2E: DeviceManager::addGamepad(GamePadDevice*) (in /usr/games/supertuxkart) ==4730== by 0x81A228B: DeviceManager::initialize() (in /usr/games/supertuxkart) ==4730== by 0x81A3D64: InputManager::InputManager() (in /usr/games/supertuxkart) ==4730== by 0x4A46E45: (below main) (libc-start.c:228) ==4730== --4730-- VALGRIND INTERNAL ERROR: Valgrind received a signal 11 (SIGSEGV) - exiting --4730-- si_code=1; Faulting address: 0x61687420; sp: 0x62d62cf0 valgrind: the 'impossible' happened: Killed by fatal signal ==4730== at 0x3803C4D9: vgPlain_strcmp (m_libcbase.c:306) ==4730== by 0x3803D101: vgPlain_assert_fail (m_libcassert.c:274) ==4730== by 0x65736164: ??? sched status: running_tid=1 Thread 1: status = VgTs_Runnable ==4730== at 0x4027E54: operator new(unsigned int) (vg_replace_malloc.c:282) ==4730== by 0x4487287: irr::video::COpenGLDriver::setMaterial(irr::video::SMaterial const&) (in /usr/lib/i386-linux-gnu/libIrrlicht.so.1.8.0) ==4730== by 0x43FDC30: irr::scene::CSceneManager::removeAll() (in /usr/lib/i386-linux-gnu/libIrrlicht.so.1.8.0) ==4730== by 0x43FE2AB: irr::scene::CSceneManager::~CSceneManager() (in /usr/lib/i386-linux-gnu/libIrrlicht.so.1.8.0) ==4730== by 0x43FE921: irr::scene::CSceneManager::~CSceneManager() (in /usr/lib/i386-linux-gnu/libIrrlicht.so.1.8.0) ==4730== by 0x4A46E45: (below main) (libc-start.c:228) Thread 2: status = VgTs_WaitSys ==4730== at 0x4AFDA99: ioctl (syscall-template.S:82) ==4730== by 0xAE0D2B9: ??? (in /usr/lib/i386-linux-gnu/libasound.so.2.0.0) ==4730== by 0xADFC35E: snd_pcm_hwsync (in /usr/lib/i386-linux-gnu/libasound.so.2.0.0) ==4730== by 0xAE39092: ??? (in /usr/lib/i386-linux-gnu/libasound.so.2.0.0) ==4730== by 0xAE3A247: ??? (in /usr/lib/i386-linux-gnu/libasound.so.2.0.0) ==4730== by 0xAE04366: snd_pcm_mmap_commit (in /usr/lib/i386-linux-gnu/libasound.so.2.0.0) ==4730== by 0xAE13B85: ??? (in /usr/lib/i386-linux-gnu/libasound.so.2.0.0) ==4730== by 0xAE04366: snd_pcm_mmap_commit (in /usr/lib/i386-linux-gnu/libasound.so.2.0.0) ==4730== by 0x48BF11C: ??? (in /usr/lib/i386-linux-gnu/libopenal.so.1.14.0) ==4730== by 0x48B688F: ??? (in /usr/lib/i386-linux-gnu/libopenal.so.1.14.0) ==4730== by 0x4B0578D: clone (clone.S:130) Note: see also the FAQ in the source distribution. It contains workarounds to several common problems. In particular, if Valgrind aborted or crashed after identifying problems in your program, there's a good chance that fixing those problems will prevent Valgrind aborting or crashing, especially if it happened in m_mallocfree.c. If that doesn't help, please report this bug to: www.valgrind.org In the bug report, send all the above text, the valgrind version, and what OS and version you are using. Thanks. david@Miho:~$