[spstarr@segfault Borderlands 2]$ valgrind --leak-check=full --show-leak-kinds=all apitrace replay --loop -b bl2469.trace ==6808== Memcheck, a memory error detector ==6808== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al. ==6808== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info ==6808== Command: apitrace replay --loop -b bl2469.trace ==6808== radeon: Failed to allocate a buffer: radeon: size : 4096 bytes radeon: alignment : 4096 bytes radeon: domains : 4 radeon: flags : 4 radeon: Failed to allocate a buffer: radeon: size : 4096 bytes radeon: alignment : 1 bytes radeon: domains : 2 radeon: flags : 0 radeon: Failed to allocate a buffer: radeon: size : 4096 bytes radeon: alignment : 1 bytes radeon: domains : 2 radeon: flags : 0 apitrace: warning: caught signal 11 25200999: error: caught an unhandled exception libbacktrace: /proc/self/exe: Too many open files in system /lib64/libpthread.so.0+0x1042f /usr/lib64/dri/radeonsi_dri.so+0x6ce9dc /usr/lib64/dri/radeonsi_dri.so+0x6d18b1 /usr/lib64/dri/radeonsi_dri.so+0x642936 /usr/lib64/dri/radeonsi_dri.so+0x63b859 /usr/lib64/dri/radeonsi_dri.so+0x6ebad2 /usr/lib64/dri/radeonsi_dri.so+0x6ebbac /usr/lib64/dri/radeonsi_dri.so+0x39d1e5 /usr/lib64/dri/radeonsi_dri.so+0x1ea8a9 /usr/bin/glretrace+0xa7caa /usr/bin/glretrace+0xbc2c /usr/bin/glretrace+0xc28b /usr/bin/glretrace+0x7a14 /lib64/libc.so.6: __libc_start_main+0xef /usr/bin/glretrace: _start+0x28 ? apitrace: info: taking default action for signal 11 ==6808== ==6808== HEAP SUMMARY: ==6808== in use at exit: 72,704 bytes in 1 blocks ==6808== total heap usage: 44 allocs, 43 frees, 2,369,483 bytes allocated ==6808== ==6808== 72,704 bytes in 1 blocks are still reachable in loss record 1 of 1 ==6808== at 0x4A06C50: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==6808== by 0x3E3548A1EF: pool (eh_alloc.cc:117) ==6808== by 0x3E3548A1EF: __static_initialization_and_destruction_0 (eh_alloc.cc:244) ==6808== by 0x3E3548A1EF: _GLOBAL__sub_I_eh_alloc.cc (eh_alloc.cc:307) ==6808== by 0x3E3280F639: call_init.part.0 (dl-init.c:72) ==6808== by 0x3E3280F74A: call_init (dl-init.c:30) ==6808== by 0x3E3280F74A: _dl_init (dl-init.c:120) ==6808== by 0x3E32800CB9: ??? (in /usr/lib64/ld-2.21.so) ==6808== by 0x4: ??? ==6808== by 0xFFF00007E: ??? ==6808== by 0xFFF000087: ??? ==6808== by 0xFFF00008E: ??? ==6808== by 0xFFF000095: ??? ==6808== by 0xFFF000098: ??? ==6808== ==6808== LEAK SUMMARY: ==6808== definitely lost: 0 bytes in 0 blocks ==6808== indirectly lost: 0 bytes in 0 blocks ==6808== possibly lost: 0 bytes in 0 blocks ==6808== still reachable: 72,704 bytes in 1 blocks ==6808== suppressed: 0 bytes in 0 blocks ==6808== ==6808== For counts of detected and suppressed errors, rerun with: -v ==6808== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)