==15535== Memcheck, a memory error detector. ==15535== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al. ==15535== Using LibVEX rev 1804, a library for dynamic binary translation. ==15535== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP. ==15535== Using valgrind-3.3.0, a dynamic binary instrumentation framework. ==15535== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al. ==15535== For more details, rerun with: -v ==15535== ==15535== Invalid free() / delete / delete[] ==15535== at 0x40052EA: operator delete(void*, std::nothrow_t const&) (vg_replace_malloc.c:354) ==15535== by 0xC44058: std::__verify_grouping(char const*, unsigned, std::string const&) (locale_facets.cc:108) ==15535== by 0xC44F8C: std::locale::_Impl::_Impl(char const*, unsigned) (localename.cc:218) ==15535== by 0x4C85EF: pthread_once (pthread_once.S:122) ==15535== by 0xC46137: std::locale::locale() (localename.cc:88) ==15535== by 0xC4111C: std::locale::_Impl::_Impl(std::locale::_Impl const&, unsigned) (locale.cc:251) ==15535== by 0x8AB657E: __static_initialization_and_destruction_0(int, int) (iostream:77) ==15535== by 0x8AB65B7: _GLOBAL__I_driveMapping (IoSupport.cpp:937) ==15535== by 0x8AB7BEC: (within /usr/local/share/xbmc/xbmc.bin) ==15535== by 0x83227DF: (within /usr/local/share/xbmc/xbmc.bin) ==15535== by 0x8AB7A88: __libc_csu_init (in /usr/local/share/xbmc/xbmc.bin) ==15535== by 0x32B67B: (below main) (libc-start.c:179) ==15535== Address 0xcdd188 is not stack'd, malloc'd or (recently) free'd Xlib: extension "XINERAMA" missing on display ":1020.0". Xlib: extension "XINERAMA" missing on display ":1020.0". --15535-- WARNING: unhandled syscall: 331 --15535-- You may be able to write your own handler. --15535-- Read the file README_MISSING_SYSCALL_OR_IOCTL. --15535-- Nevertheless we consider this a bug. Please report --15535-- it at http://valgrind.org/support/bug_reports.html. ==15547== Warning: invalid file descriptor 1014 in syscall close() ==15547== ==15547== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 128 from 1) ==15547== malloc/free: in use at exit: 664,981 bytes in 5,324 blocks. ==15547== malloc/free: 26,487 allocs, 21,164 frees, 2,706,799 bytes allocated. ==15547== For counts of detected errors, rerun with: -v ==15547== searching for pointers to 5,324 not-freed blocks. ==15547== checked 80,789,528 bytes. ==15547== ==15547== LEAK SUMMARY: ==15547== definitely lost: 112 bytes in 5 blocks. ==15547== possibly lost: 49,770 bytes in 1,981 blocks. ==15547== still reachable: 615,099 bytes in 3,338 blocks. ==15547== suppressed: 0 bytes in 0 blocks. ==15547== Rerun with --leak-check=full to see details of leaked memory. ==15535== ==15535== Syscall param ioctl(arg) contains uninitialised byte(s) ==15535== at 0x3F0979: ioctl (in /lib/libc-2.9.so) ==15535== by 0x30F5A40: snd_pcm_prepare (pcm.c:1034) ==15535== by 0x30FBBAC: snd_pcm_hw_params (pcm.c:821) ==15535== by 0x3136959: snd1_pcm_direct_initialize_slave (pcm_direct.c:973) ==15535== by 0x3130C11: snd_pcm_dmix_open (pcm_dmix.c:1018) ==15535== by 0x3130FA9: _snd_pcm_dmix_open (pcm_dmix.c:1309) ==15535== by 0x30FAE91: snd_pcm_open_conf (pcm.c:2172) ==15535== by 0x30FB5EC: snd_pcm_open_noupdate (pcm.c:2210) ==15535== by 0x30FB6EF: snd1_pcm_open_named_slave (pcm.c:2297) ==15535== by 0x313BA3D: _snd_pcm_softvol_open (pcm_local.h:859) ==15535== by 0x30FAE91: snd_pcm_open_conf (pcm.c:2172) ==15535== by 0x30FB725: snd1_pcm_open_named_slave (pcm.c:2299) ==15535== ==15535== Syscall param ioctl(arg) contains uninitialised byte(s) ==15535== at 0x3F0979: ioctl (in /lib/libc-2.9.so) ==15535== by 0x30F5900: snd_pcm_start (pcm.c:1066) ==15535== by 0x3136D4C: snd1_pcm_direct_initialize_slave (pcm_direct.c:1045) ==15535== by 0x3130C11: snd_pcm_dmix_open (pcm_dmix.c:1018) ==15535== by 0x3130FA9: _snd_pcm_dmix_open (pcm_dmix.c:1309) ==15535== by 0x30FAE91: snd_pcm_open_conf (pcm.c:2172) ==15535== by 0x30FB5EC: snd_pcm_open_noupdate (pcm.c:2210) ==15535== by 0x30FB6EF: snd1_pcm_open_named_slave (pcm.c:2297) ==15535== by 0x313BA3D: _snd_pcm_softvol_open (pcm_local.h:859) ==15535== by 0x30FAE91: snd_pcm_open_conf (pcm.c:2172) ==15535== by 0x30FB725: snd1_pcm_open_named_slave (pcm.c:2299) ==15535== by 0x311863C: _snd_pcm_plug_open (pcm_local.h:859) ==15535== ==15535== Conditional jump or move depends on uninitialised value(s) ==15535== at 0x2E1D52C: SDL_SYS_JoystickInit (SDL_sysjoystick.c:387) ==15535== by 0x2DF5175: SDL_JoystickInit (SDL_joystick.c:49) ==15535== by 0x2DC452D: SDL_InitSubSystem (SDL.c:121) ==15535== by 0x2DC45F6: SDL_Init (SDL.c:162) ==15535== by 0x841B860: CApplication::Create(void*) (Application.cpp:643) ==15535== by 0x86E9638: main (XboxMediaCenter.cpp:103) ==15535== Warning: noted but unhandled ioctl 0x5331 with no size/direction hints ==15535== This could cause spurious value errors to appear. ==15535== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper. ==15535== Warning: noted but unhandled ioctl 0x5331 with no size/direction hints ==15535== This could cause spurious value errors to appear. ==15535== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper. ==15535== Warning: noted but unhandled ioctl 0x5390 with no size/direction hints ==15535== This could cause spurious value errors to appear. ==15535== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper. ==15535== ==15535== Thread 2: ==15535== Syscall param ioctl(arg) contains uninitialised byte(s) ==15535== at 0x3F0979: ioctl (in /lib/libc-2.9.so) ==15535== by 0x844A39A: MEDIA_DETECT::CDetectDVDMedia::GetTrayState() (DetectDVDType.cpp:425) ==15535== by 0x844AF22: MEDIA_DETECT::CDetectDVDMedia::UpdateDvdrom() (DetectDVDType.cpp:123) ==15535== by 0x844B462: MEDIA_DETECT::CDetectDVDMedia::Process() (DetectDVDType.cpp:99) ==15535== by 0x8AA2E49: CThread::staticThread(void*) (Thread.cpp:206) ==15535== by 0x8A340CB: _ZL18InternalThreadFuncPv (XThreadUtils.cpp:126) ==15535== by 0x2DCD61A: SDL_RunThread (SDL_thread.c:202) ==15535== by 0x2E1BDFC: RunThread (SDL_systhread.c:47) ==15535== by 0x4C351E: start_thread (pthread_create.c:297) ==15535== by 0x3F904D: clone (clone.S:130) ==15535== ==15535== Thread 4: ==15535== Source and destination overlap in memcpy(0x46CCEC0, 0x46CCEC0, 8192) ==15535== at 0x40076D9: memcpy (mc_replace_strmem.c:402) ==15535== by 0x30FD140: snd_pcm_area_copy (string3.h:52) ==15535== by 0x30FD492: snd_pcm_areas_copy (pcm.c:2815) ==15535== by 0x313BD3B: softvol_convert_stereo_vol (pcm_softvol.c:273) ==15535== by 0x313D3FE: snd_pcm_softvol_write_areas (pcm_softvol.c:541) ==15535== by 0x31096CA: snd_pcm_plugin_mmap_commit (pcm_plugin.c:430) ==15535== by 0x30F22B1: snd_pcm_mmap_commit (pcm.c:6488) ==15535== by 0x3113BDE: snd_pcm_rate_commit_area (pcm_rate.c:737) ==15535== by 0x3113DF9: snd_pcm_rate_sync_playback_area (pcm_rate.c:825) ==15535== by 0x3113F1F: snd_pcm_rate_mmap_commit (pcm_rate.c:975) ==15535== by 0x30F22B1: snd_pcm_mmap_commit (pcm.c:6488) ==15535== by 0x3107260: snd_pcm_mmap_write_areas (pcm_mmap.c:123) ==15535== ==15535== Syscall param ioctl(arg) contains uninitialised byte(s) ==15535== at 0x3F0979: ioctl (in /lib/libc-2.9.so) ==15535== by 0x30F5CE0: snd_pcm_hwsync (pcm.c:936) ==15535== by 0x312EB38: snd_pcm_dmix_start_timer (pcm_dmix.c:562) ==15535== by 0x313133A: snd_pcm_dmix_start (pcm_dmix.c:585) ==15535== by 0x30F5900: snd_pcm_start (pcm.c:1066) ==15535== by 0x3108B84: snd1_pcm_generic_start (pcm_generic.c:155) ==15535== by 0x30F5900: snd_pcm_start (pcm.c:1066) ==15535== by 0x3114A14: snd_pcm_rate_start (pcm_rate.c:1131) ==15535== by 0x30F5900: snd_pcm_start (pcm.c:1066) ==15535== by 0x30FAAFB: snd1_pcm_write_areas (pcm.c:6665) ==15535== by 0x31074B8: snd_pcm_mmap_writei (pcm_mmap.c:186) ==15535== by 0x30F5323: snd_pcm_writei (pcm_local.h:516) ==15535== ==15535== Syscall param ioctl(arg) contains uninitialised byte(s) ==15535== at 0x3F0979: ioctl (in /lib/libc-2.9.so) ==15535== by 0x31410B1: snd_timer_start (timer.c:908) ==15535== by 0x312EB75: snd_pcm_dmix_start_timer (pcm_dmix.c:564) ==15535== by 0x313133A: snd_pcm_dmix_start (pcm_dmix.c:585) ==15535== by 0x30F5900: snd_pcm_start (pcm.c:1066) ==15535== by 0x3108B84: snd1_pcm_generic_start (pcm_generic.c:155) ==15535== by 0x30F5900: snd_pcm_start (pcm.c:1066) ==15535== by 0x3114A14: snd_pcm_rate_start (pcm_rate.c:1131) ==15535== by 0x30F5900: snd_pcm_start (pcm.c:1066) ==15535== by 0x30FAAFB: snd1_pcm_write_areas (pcm.c:6665) ==15535== by 0x31074B8: snd_pcm_mmap_writei (pcm_mmap.c:186) ==15535== by 0x30F5323: snd_pcm_writei (pcm_local.h:516) ==15535== ==15535== Thread 3: ==15535== Invalid write of size 4 ==15535== at 0x2DCD61E: SDL_RunThread (SDL_thread.c:202) ==15535== by 0x2E1BDFC: RunThread (SDL_systhread.c:47) ==15535== by 0x4C351E: start_thread (pthread_create.c:297) ==15535== by 0x3F904D: clone (clone.S:130) ==15535== Address 0x9a62830 is 8 bytes inside a block of size 792 free'd ==15535== at 0x400590A: free (vg_replace_malloc.c:323) ==15535== by 0x2DCD793: SDL_WaitThread (SDL_thread.c:275) ==15535== by 0x8A2EB77: CXHandle::~CXHandle() (XHandle.cpp:104) ==15535== by 0x8A2E5E8: CloseHandle(CXHandle*) (XHandle.cpp:160) ==15535== by 0x8A341B7: _ZL18InternalThreadFuncPv (XThreadUtils.cpp:143) ==15535== by 0x2DCD61A: SDL_RunThread (SDL_thread.c:202) ==15535== by 0x2E1BDFC: RunThread (SDL_systhread.c:47) ==15535== by 0x4C351E: start_thread (pthread_create.c:297) ==15535== by 0x3F904D: clone (clone.S:130) ==15535== ==15535== Thread 4: ==15535== Syscall param ioctl(arg) contains uninitialised byte(s) ==15535== at 0x3F0979: ioctl (in /lib/libc-2.9.so) ==15535== by 0x30F5CE0: snd_pcm_hwsync (pcm.c:936) ==15535== by 0x312F6EA: snd_pcm_dmix_sync_ptr (pcm_dmix.c:398) ==15535== by 0x30F5CE0: snd_pcm_hwsync (pcm.c:936) ==15535== by 0x3108BE4: snd1_pcm_generic_hwsync (pcm_generic.c:143) ==15535== by 0x30F5CE0: snd_pcm_hwsync (pcm.c:936) ==15535== by 0x311641C: snd_pcm_rate_hwsync (pcm_rate.c:624) ==15535== by 0x30F5CE0: snd_pcm_hwsync (pcm.c:936) ==15535== by 0x30FAA5A: snd1_pcm_write_areas (pcm.c:6627) ==15535== by 0x31074B8: snd_pcm_mmap_writei (pcm_mmap.c:186) ==15535== by 0x30F5323: snd_pcm_writei (pcm_local.h:516) ==15535== by 0x2DF82F6: ALSA_PlayAudio (SDL_alsa_audio.c:325) ==15535== ==15535== Syscall param ioctl(arg) contains uninitialised byte(s) ==15535== at 0x3F0979: ioctl (in /lib/libc-2.9.so) ==15535== by 0x3141051: snd_timer_stop (timer.c:919) ==15535== by 0x312F699: snd_pcm_dmix_sync_ptr (pcm_dmix.c:420) ==15535== by 0x30F5CE0: snd_pcm_hwsync (pcm.c:936) ==15535== by 0x3108BE4: snd1_pcm_generic_hwsync (pcm_generic.c:143) ==15535== by 0x30F5CE0: snd_pcm_hwsync (pcm.c:936) ==15535== by 0x311641C: snd_pcm_rate_hwsync (pcm_rate.c:624) ==15535== by 0x30F5CE0: snd_pcm_hwsync (pcm.c:936) ==15535== by 0x30FAA5A: snd1_pcm_write_areas (pcm.c:6627) ==15535== by 0x31074B8: snd_pcm_mmap_writei (pcm_mmap.c:186) ==15535== by 0x30F5323: snd_pcm_writei (pcm_local.h:516) ==15535== by 0x2DF82F6: ALSA_PlayAudio (SDL_alsa_audio.c:325) ==15535== ==15535== Syscall param ioctl(arg) contains uninitialised byte(s) ==15535== at 0x3F0979: ioctl (in /lib/libc-2.9.so) ==15535== by 0x30F5CE0: snd_pcm_hwsync (pcm.c:936) ==15535== by 0x312F6EA: snd_pcm_dmix_sync_ptr (pcm_dmix.c:398) ==15535== by 0x312F83F: snd_pcm_dmix_avail_update (pcm_dmix.c:825) ==15535== by 0x30F19AA: snd_pcm_avail_update (pcm.c:2428) ==15535== by 0x31097DC: snd_pcm_plugin_avail_update (pcm_plugin.c:467) ==15535== by 0x30F19AA: snd_pcm_avail_update (pcm.c:2428) ==15535== by 0x3113F79: snd_pcm_rate_avail_update (pcm_rate.c:991) ==15535== by 0x30F19AA: snd_pcm_avail_update (pcm.c:2428) ==15535== by 0x30FA9E3: snd1_pcm_write_areas (pcm.c:6631) ==15535== by 0x31074B8: snd_pcm_mmap_writei (pcm_mmap.c:186) ==15535== by 0x30F5323: snd_pcm_writei (pcm_local.h:516) ==15535== ==15535== Syscall param ioctl(arg) contains uninitialised byte(s) ==15535== at 0x3F0979: ioctl (in /lib/libc-2.9.so) ==15535== by 0x30F5CE0: snd_pcm_hwsync (pcm.c:936) ==15535== by 0x312F6EA: snd_pcm_dmix_sync_ptr (pcm_dmix.c:398) ==15535== by 0x31303EC: snd_pcm_dmix_mmap_commit (pcm_dmix.c:806) ==15535== by 0x30F22B1: snd_pcm_mmap_commit (pcm.c:6488) ==15535== by 0x31096FB: snd_pcm_plugin_mmap_commit (pcm_plugin.c:434) ==15535== by 0x30F22B1: snd_pcm_mmap_commit (pcm.c:6488) ==15535== by 0x3113BDE: snd_pcm_rate_commit_area (pcm_rate.c:737) ==15535== by 0x3113DF9: snd_pcm_rate_sync_playback_area (pcm_rate.c:825) ==15535== by 0x3113F1F: snd_pcm_rate_mmap_commit (pcm_rate.c:975) ==15535== by 0x30F22B1: snd_pcm_mmap_commit (pcm.c:6488) ==15535== by 0x3107260: snd_pcm_mmap_write_areas (pcm_mmap.c:123) ==15535== ==15535== Syscall param ioctl(arg) contains uninitialised byte(s) ==15535== at 0x3F0979: ioctl (in /lib/libc-2.9.so) ==15535== by 0x3141051: snd_timer_stop (timer.c:919) ==15535== by 0x312F699: snd_pcm_dmix_sync_ptr (pcm_dmix.c:420) ==15535== by 0x312F83F: snd_pcm_dmix_avail_update (pcm_dmix.c:825) ==15535== by 0x30F19AA: snd_pcm_avail_update (pcm.c:2428) ==15535== by 0x31097DC: snd_pcm_plugin_avail_update (pcm_plugin.c:467) ==15535== by 0x30F19AA: snd_pcm_avail_update (pcm.c:2428) ==15535== by 0x3113D98: snd_pcm_rate_sync_playback_area (pcm_rate.c:941) ==15535== by 0x3113F1F: snd_pcm_rate_mmap_commit (pcm_rate.c:975) ==15535== by 0x30F22B1: snd_pcm_mmap_commit (pcm.c:6488) ==15535== by 0x3107260: snd_pcm_mmap_write_areas (pcm_mmap.c:123) ==15535== by 0x30FAA28: snd1_pcm_write_areas (pcm.c:6654) ==15535== ==15535== Syscall param ioctl(arg) contains uninitialised byte(s) ==15535== at 0x3F0979: ioctl (in /lib/libc-2.9.so) ==15535== by 0x3141051: snd_timer_stop (timer.c:919) ==15535== by 0x312F699: snd_pcm_dmix_sync_ptr (pcm_dmix.c:420) ==15535== by 0x31303EC: snd_pcm_dmix_mmap_commit (pcm_dmix.c:806) ==15535== by 0x30F22B1: snd_pcm_mmap_commit (pcm.c:6488) ==15535== by 0x31096FB: snd_pcm_plugin_mmap_commit (pcm_plugin.c:434) ==15535== by 0x30F22B1: snd_pcm_mmap_commit (pcm.c:6488) ==15535== by 0x3113BDE: snd_pcm_rate_commit_area (pcm_rate.c:737) ==15535== by 0x3113DF9: snd_pcm_rate_sync_playback_area (pcm_rate.c:825) ==15535== by 0x3113F1F: snd_pcm_rate_mmap_commit (pcm_rate.c:975) ==15535== by 0x30F22B1: snd_pcm_mmap_commit (pcm.c:6488) ==15535== by 0x3107260: snd_pcm_mmap_write_areas (pcm_mmap.c:123) ==15535== ==15535== Thread 3: ==15535== Syscall param write(buf) points to uninitialised byte(s) ==15535== at 0x3E8B3B: (within /lib/libc-2.9.so) ==15535== by 0x34DA32D: writeJournalHdr (sqlite3.c:10575) ==15535== by 0x34DA64A: pager_open_journal (sqlite3.c:27660) ==15535== by 0x34F3F9B: sqlite3BtreeBeginTrans (sqlite3.c:31874) ==15535== by 0x3521530: sqlite3VdbeExec (sqlite3.c:44384) ==15535== by 0x350466F: sqlite3_step (sqlite3.c:41212) ==15535== by 0x3504E48: sqlite3_exec (sqlite3.c:60364) ==15535== by 0x89EF84E: dbiplus::SqliteDataset::exec(std::string const&) (sqlitedataset.cpp:408) ==15535== by 0x8445969: CDatabase::Compress(bool) (Database.cpp:236) ==15535== by 0x86E0D95: VIDEO::CVideoInfoScanner::Process() (VideoInfoScanner.cpp:108) ==15535== by 0x8AA2E49: CThread::staticThread(void*) (Thread.cpp:206) ==15535== by 0x8A340CB: _ZL18InternalThreadFuncPv (XThreadUtils.cpp:126) ==15535== Address 0x9581f1c is 36 bytes inside a block of size 16,392 alloc'd ==15535== at 0x4006AEE: malloc (vg_replace_malloc.c:207) ==15535== by 0x34D9484: sqlite3_malloc (sqlite3.c:11101) ==15535== by 0x34DA84F: sqlite3PagerSetPagesize (sqlite3.c:26096) ==15535== by 0x34F1647: sqlite3BtreeFactory (sqlite3.c:31246) ==15535== by 0x34F5D3F: openDatabase (sqlite3.c:78166) ==15535== by 0x89F0665: dbiplus::SqliteDatabase::connect() (sqlitedataset.cpp:178) ==15535== by 0x8445D40: CDatabase::Open() (Database.cpp:110) ==15535== by 0x86E0BA7: VIDEO::CVideoInfoScanner::Process() (VideoInfoScanner.cpp:66) ==15535== by 0x8AA2E49: CThread::staticThread(void*) (Thread.cpp:206) ==15535== by 0x8A340CB: _ZL18InternalThreadFuncPv (XThreadUtils.cpp:126) ==15535== by 0x2DCD61A: SDL_RunThread (SDL_thread.c:202) ==15535== by 0x2E1BDFC: RunThread (SDL_systhread.c:47) ==15535== ==15535== Thread 5: ==15535== Source and destination overlap in memcpy(0x9A840D8, 0x9A840D8, 1023) ==15535== at 0x40076D9: memcpy (mc_replace_strmem.c:402) ==15535== by 0x889BC95: ringqPutBlk (ringq.c:373) ==15535== by 0x889C0D8: ringqGrow (ringq.c:566) ==15535== by 0x889BC45: ringqPutBlk (ringq.c:367) ==15535== by 0x889BBD7: ringqPutStr (ringq.c:241) ==15535== by 0x889A88F: ejLexOpenScript (ejlex.c:92) ==15535== by 0x888B7EF: ejEval (ejparse.c:313) ==15535== by 0x8898FB2: scriptEval (websuemf.c:55) ==15535== by 0x888A052: websAspRequest (asp.c:186) ==15535== by 0x888AC76: websDefaultHandler (default.c:219) ==15535== by 0x888E657: websUrlHandlerRequest (handler.c:281) ==15535== by 0x8896A98: websGetInput (webs.c:699) ==15535== ==15535== Source and destination overlap in memcpy(0x4C72900, 0x4C72900, 127) ==15535== at 0x40076D9: memcpy (mc_replace_strmem.c:402) ==15535== by 0x889BC95: ringqPutBlk (ringq.c:373) ==15535== by 0x889C0D8: ringqGrow (ringq.c:566) ==15535== by 0x889BAE4: ringqPutc (ringq.c:191) ==15535== by 0x889B707: tokenAddChar (ejlex.c:623) ==15535== by 0x889B375: getLexicalToken (ejlex.c:496) ==15535== by 0x889AA8E: ejLexGetToken (ejlex.c:198) ==15535== by 0x888BADD: parseStmt (ejparse.c:466) ==15535== by 0x888B9AA: parse (ejparse.c:397) ==15535== by 0x888CB1F: parseExpr (ejparse.c:1088) ==15535== by 0x888BA40: parse (ejparse.c:428) ==15535== by 0x888C863: parseArgs (ejparse.c:975) ==15535== ==15535== Thread 15: ==15535== Syscall param ioctl(arg) contains uninitialised byte(s) ==15535== at 0x3F0979: ioctl (in /lib/libc-2.9.so) ==15535== by 0x30F5CE0: snd_pcm_hwsync (pcm.c:936) ==15535== by 0x312F6EA: snd_pcm_dmix_sync_ptr (pcm_dmix.c:398) ==15535== by 0x313144B: snd_pcm_dmix_drain (pcm_dmix.c:632) ==15535== by 0x30F57C0: snd_pcm_drain (pcm.c:1110) ==15535== by 0x3108B24: snd1_pcm_generic_drain (pcm_generic.c:167) ==15535== by 0x30F57C0: snd_pcm_drain (pcm.c:1110) ==15535== by 0x31147CE: snd_pcm_rate_drain (pcm_rate.c:1099) ==15535== by 0x30F57C0: snd_pcm_drain (pcm.c:1110) ==15535== by 0x2DF7FEA: ALSA_CloseAudio (SDL_alsa_audio.c:364) ==15535== by 0x2DC4FBA: SDL_AudioQuit (SDL_audio.c:642) ==15535== by 0x2DC43D4: SDL_QuitSubSystem (SDL.c:196) ==15535== ==15535== Syscall param ioctl(arg) contains uninitialised byte(s) ==15535== at 0x3F0979: ioctl (in /lib/libc-2.9.so) ==15535== by 0x3141051: snd_timer_stop (timer.c:919) ==15535== by 0x312F699: snd_pcm_dmix_sync_ptr (pcm_dmix.c:420) ==15535== by 0x313144B: snd_pcm_dmix_drain (pcm_dmix.c:632) ==15535== by 0x30F57C0: snd_pcm_drain (pcm.c:1110) ==15535== by 0x3108B24: snd1_pcm_generic_drain (pcm_generic.c:167) ==15535== by 0x30F57C0: snd_pcm_drain (pcm.c:1110) ==15535== by 0x31147CE: snd_pcm_rate_drain (pcm_rate.c:1099) ==15535== by 0x30F57C0: snd_pcm_drain (pcm.c:1110) ==15535== by 0x2DF7FEA: ALSA_CloseAudio (SDL_alsa_audio.c:364) ==15535== by 0x2DC4FBA: SDL_AudioQuit (SDL_audio.c:642) ==15535== by 0x2DC43D4: SDL_QuitSubSystem (SDL.c:196) ==15535== ==15535== Syscall param ioctl(arg) contains uninitialised byte(s) ==15535== at 0x3F0979: ioctl (in /lib/libc-2.9.so) ==15535== by 0x3141051: snd_timer_stop (timer.c:919) ==15535== by 0x3137727: snd1_pcm_direct_timer_stop (pcm_direct.c:542) ==15535== by 0x312EBC3: snd_pcm_dmix_drop (pcm_dmix.c:598) ==15535== by 0x30F5860: snd_pcm_drop (pcm.c:1087) ==15535== by 0x3108B54: snd1_pcm_generic_drop (pcm_generic.c:161) ==15535== by 0x30F5860: snd_pcm_drop (pcm.c:1087) ==15535== by 0x3108B54: snd1_pcm_generic_drop (pcm_generic.c:161) ==15535== by 0x30F5860: snd_pcm_drop (pcm.c:1087) ==15535== by 0x30FBB18: snd_pcm_close (pcm.c:691) ==15535== by 0x2DF7FFB: ALSA_CloseAudio (SDL_alsa_audio.c:365) ==15535== by 0x2DC4FBA: SDL_AudioQuit (SDL_audio.c:642) ==15535== ==15535== Syscall param ioctl(arg) contains uninitialised byte(s) ==15535== at 0x3F0979: ioctl (in /lib/libc-2.9.so) ==15535== by 0x30F5CE0: snd_pcm_hwsync (pcm.c:936) ==15535== by 0x312F6EA: snd_pcm_dmix_sync_ptr (pcm_dmix.c:398) ==15535== by 0x312F90F: snd_pcm_dmix_delay (pcm_dmix.c:485) ==15535== by 0x30F5C37: snd_pcm_delay (pcm.c:977) ==15535== by 0x3109F63: snd_pcm_plugin_delay (pcm_plugin.c:144) ==15535== by 0x30F5C37: snd_pcm_delay (pcm.c:977) ==15535== by 0x3109F63: snd_pcm_plugin_delay (pcm_plugin.c:144) ==15535== by 0x30F5C37: snd_pcm_delay (pcm.c:977) ==15535== by 0x8786BE1: CALSADirectSound::GetDelay() (ALSADirectSound.cpp:484) ==15535== by 0x873EB2E: CDVDAudio::GetDelay() (DVDAudio.cpp:246) ==15535== by 0x8746CAE: CDVDPlayerAudio::Process() (DVDPlayerAudio.cpp:504) ==15535== ==15535== Syscall param ioctl(arg) contains uninitialised byte(s) ==15535== at 0x3F0979: ioctl (in /lib/libc-2.9.so) ==15535== by 0x3141051: snd_timer_stop (timer.c:919) ==15535== by 0x312F699: snd_pcm_dmix_sync_ptr (pcm_dmix.c:420) ==15535== by 0x312F90F: snd_pcm_dmix_delay (pcm_dmix.c:485) ==15535== by 0x30F5C37: snd_pcm_delay (pcm.c:977) ==15535== by 0x3109F63: snd_pcm_plugin_delay (pcm_plugin.c:144) ==15535== by 0x30F5C37: snd_pcm_delay (pcm.c:977) ==15535== by 0x3109F63: snd_pcm_plugin_delay (pcm_plugin.c:144) ==15535== by 0x30F5C37: snd_pcm_delay (pcm.c:977) ==15535== by 0x8786BE1: CALSADirectSound::GetDelay() (ALSADirectSound.cpp:484) ==15535== by 0x873EB2E: CDVDAudio::GetDelay() (DVDAudio.cpp:246) ==15535== by 0x8746CAE: CDVDPlayerAudio::Process() (DVDPlayerAudio.cpp:504) ==15669== Warning: invalid file descriptor 1014 in syscall close() ==15669== ==15669== ERROR SUMMARY: 32534 errors from 23 contexts (suppressed: 172 from 1) ==15669== malloc/free: in use at exit: 13,957,102 bytes in 41,057 blocks. ==15669== malloc/free: 662,091 allocs, 621,035 frees, 299,527,406 bytes allocated. ==15669== For counts of detected errors, rerun with: -v ==15669== searching for pointers to 41,057 not-freed blocks. ==15669== checked 95,179,252 bytes. ==15669== ==15669== LEAK SUMMARY: ==15669== definitely lost: 21,944 bytes in 278 blocks. ==15669== possibly lost: 775,707 bytes in 13,103 blocks. ==15669== still reachable: 13,159,451 bytes in 27,676 blocks. ==15669== suppressed: 0 bytes in 0 blocks. ==15669== Rerun with --leak-check=full to see details of leaked memory. ==15675== Warning: invalid file descriptor 1014 in syscall close() ==15675== ==15675== ERROR SUMMARY: 32555 errors from 23 contexts (suppressed: 188 from 1) ==15675== malloc/free: in use at exit: 13,896,405 bytes in 40,999 blocks. ==15675== malloc/free: 665,236 allocs, 624,238 frees, 299,852,090 bytes allocated. ==15675== For counts of detected errors, rerun with: -v ==15675== searching for pointers to 40,999 not-freed blocks. ==15675== checked 95,071,712 bytes. ==15675== ==15675== LEAK SUMMARY: ==15675== definitely lost: 22,550 bytes in 284 blocks. ==15675== possibly lost: 775,707 bytes in 13,103 blocks. ==15675== still reachable: 13,098,148 bytes in 27,612 blocks. ==15675== suppressed: 0 bytes in 0 blocks. ==15675== Rerun with --leak-check=full to see details of leaked memory. ==15535== ==15535== Jump to the invalid address stated on the next line ==15535== at 0x6A65E6D: ??? ==15535== by 0x3F904D: clone (clone.S:130) ==15535== Address 0x6a65e6d is not stack'd, malloc'd or (recently) free'd X Error of failed request: GLXBadDrawable Major opcode of failed request: 147 (GLX) Minor opcode of failed request: 5 (X_GLXMakeCurrent) ==15535== ==15535== ERROR SUMMARY: 32595 errors from 24 contexts (suppressed: 188 from 1) ==15535== malloc/free: in use at exit: 6,771,704 bytes in 41,011 blocks. ==15535== malloc/free: 672,295 allocs, 631,285 frees, 301,330,940 bytes allocated. ==15535== For counts of detected errors, rerun with: -v ==15535== searching for pointers to 41,011 not-freed blocks. ==15535== checked 115,224,656 bytes. ==15535== ==15535== LEAK SUMMARY: ==15535== definitely lost: 193,216 bytes in 270 blocks. ==15535== possibly lost: 1,663,740 bytes in 14,320 blocks. ==15535== still reachable: 4,914,748 bytes in 26,421 blocks. ==15535== suppressed: 0 bytes in 0 blocks. ==15535== Rerun with --leak-check=full to see details of leaked memory.