==29814== Memcheck, a memory error detector ==29814== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==29814== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info ==29814== Command: ./main_hybrid_bind_mem ==29814== Parent PID: 26511 ==29814== ==29814== Invalid write of size 1 ==29814== at 0x34B946E3B1: _IO_default_xsputn (in /lib64/libc-2.5.so) ==29814== by 0x34B9443D38: vfprintf (in /lib64/libc-2.5.so) ==29814== by 0x34B94E72E7: __vsnprintf_chk (in /lib64/libc-2.5.so) ==29814== by 0x34B94E722A: __snprintf_chk (in /lib64/libc-2.5.so) ==29814== by 0x4E5FE48: numa_init (in /usr/lib64/libnuma.so.1) ==29814== by 0x34B900D1BA: call_init (in /lib64/ld-2.5.so) ==29814== by 0x34B900D2C4: _dl_init (in /lib64/ld-2.5.so) ==29814== by 0x34B9000AA9: ??? (in /lib64/ld-2.5.so) ==29814== Address 0x527a142 is 0 bytes after a block of size 2 alloc'd ==29814== at 0x4A05E1C: malloc (vg_replace_malloc.c:195) ==29814== by 0x4E5FD9B: numa_init (in /usr/lib64/libnuma.so.1) ==29814== by 0x34B900D1BA: call_init (in /lib64/ld-2.5.so) ==29814== by 0x34B900D2C4: _dl_init (in /lib64/ld-2.5.so) ==29814== by 0x34B9000AA9: ??? (in /lib64/ld-2.5.so) ==29814== ==29814== Invalid write of size 1 ==29814== at 0x34B94E72FD: __vsnprintf_chk (in /lib64/libc-2.5.so) ==29814== by 0x34B94E722A: __snprintf_chk (in /lib64/libc-2.5.so) ==29814== by 0x4E5FE48: numa_init (in /usr/lib64/libnuma.so.1) ==29814== by 0x34B900D1BA: call_init (in /lib64/ld-2.5.so) ==29814== by 0x34B900D2C4: _dl_init (in /lib64/ld-2.5.so) ==29814== by 0x34B9000AA9: ??? (in /lib64/ld-2.5.so) ==29814== Address 0x527a143 is 1 bytes after a block of size 2 alloc'd ==29814== at 0x4A05E1C: malloc (vg_replace_malloc.c:195) ==29814== by 0x4E5FD9B: numa_init (in /usr/lib64/libnuma.so.1) ==29814== by 0x34B900D1BA: call_init (in /lib64/ld-2.5.so) ==29814== by 0x34B900D2C4: _dl_init (in /lib64/ld-2.5.so) ==29814== by 0x34B9000AA9: ??? (in /lib64/ld-2.5.so) ==29814== ==29814== Invalid write of size 1 ==29814== at 0x34B94E72BF: __vsnprintf_chk (in /lib64/libc-2.5.so) ==29814== by 0x34B94E722A: __snprintf_chk (in /lib64/libc-2.5.so) ==29814== by 0x34B900D1BA: call_init (in /lib64/ld-2.5.so) ==29814== by 0x34B900D2C4: _dl_init (in /lib64/ld-2.5.so) ==29814== by 0x34B9000AA9: ??? (in /lib64/ld-2.5.so) ==29814== Address 0x527a143 is 1 bytes after a block of size 2 alloc'd ==29814== at 0x4A05E1C: malloc (vg_replace_malloc.c:195) ==29814== by 0x4E5FD9B: numa_init (in /usr/lib64/libnuma.so.1) ==29814== by 0x34B900D1BA: call_init (in /lib64/ld-2.5.so) ==29814== by 0x34B900D2C4: _dl_init (in /lib64/ld-2.5.so) ==29814== by 0x34B9000AA9: ??? (in /lib64/ld-2.5.so) ==29814== ==29814== Invalid write of size 1 ==29814== at 0x34B9443762: vfprintf (in /lib64/libc-2.5.so) ==29814== by 0x34B94E72E7: __vsnprintf_chk (in /lib64/libc-2.5.so) ==29814== by 0x34B94E722A: __snprintf_chk (in /lib64/libc-2.5.so) ==29814== by 0x34B900D1BA: call_init (in /lib64/ld-2.5.so) ==29814== by 0x34B900D2C4: _dl_init (in /lib64/ld-2.5.so) ==29814== by 0x34B9000AA9: ??? (in /lib64/ld-2.5.so) ==29814== Address 0x527a143 is 1 bytes after a block of size 2 alloc'd ==29814== at 0x4A05E1C: malloc (vg_replace_malloc.c:195) ==29814== by 0x4E5FD9B: numa_init (in /usr/lib64/libnuma.so.1) ==29814== by 0x34B900D1BA: call_init (in /lib64/ld-2.5.so) ==29814== by 0x34B900D2C4: _dl_init (in /lib64/ld-2.5.so) ==29814== by 0x34B9000AA9: ??? (in /lib64/ld-2.5.so) ==29814== ==29814== Invalid write of size 1 ==29814== at 0x34B94E72FD: __vsnprintf_chk (in /lib64/libc-2.5.so) ==29814== by 0x34B94E722A: __snprintf_chk (in /lib64/libc-2.5.so) ==29814== by 0x34B900D1BA: call_init (in /lib64/ld-2.5.so) ==29814== by 0x34B900D2C4: _dl_init (in /lib64/ld-2.5.so) ==29814== by 0x34B9000AA9: ??? (in /lib64/ld-2.5.so) ==29814== Address 0x527a144 is 2 bytes after a block of size 2 alloc'd ==29814== at 0x4A05E1C: malloc (vg_replace_malloc.c:195) ==29814== by 0x4E5FD9B: numa_init (in /usr/lib64/libnuma.so.1) ==29814== by 0x34B900D1BA: call_init (in /lib64/ld-2.5.so) ==29814== by 0x34B900D2C4: _dl_init (in /lib64/ld-2.5.so) ==29814== by 0x34B9000AA9: ??? (in /lib64/ld-2.5.so) ==29814== ==29814== Warning: set address range perms: large range [0x3901d040, 0x12d25d040) (undefined) ==29814== Thread 2: ==29814== Syscall param mbind(nodemask) points to unaddressable byte(s) ==29814== at 0x4E603C1: syscall6 (in /usr/lib64/libnuma.so.1) ==29814== by 0x4E60436: mbind (in /usr/lib64/libnuma.so.1) ==29814== by 0x4C2B1E0: hwloc_linux_set_area_membind (topology-linux.c:1116) ==29814== by 0x4C23FA3: hwloc_set_area_membind_nodeset (bind.c:398) ==29814== by 0x4C24031: hwloc_set_area_membind (bind.c:413) ==29814== by 0x400F11: main.omp_fn.0 (main_hybrid_bind_mem.c:64) ==29814== by 0x34B9807EC1: ??? (in /usr/lib64/libgomp.so.1.0.0) ==29814== by 0x34B9C0673C: start_thread (in /lib64/libpthread-2.5.so) ==29814== by 0x34B94D40CC: clone (in /lib64/libc-2.5.so) ==29814== Address 0x12d25db78 is 0 bytes after a block of size 8 alloc'd ==29814== at 0x4A05140: calloc (vg_replace_malloc.c:418) ==29814== by 0x4C2AFA1: hwloc_linux_membind_mask_from_nodeset (topology-linux.c:1037) ==29814== by 0x4C2B166: hwloc_linux_set_area_membind (topology-linux.c:1097) ==29814== by 0x4C23FA3: hwloc_set_area_membind_nodeset (bind.c:398) ==29814== by 0x4C24031: hwloc_set_area_membind (bind.c:413) ==29814== by 0x400F11: main.omp_fn.0 (main_hybrid_bind_mem.c:64) ==29814== by 0x34B9807EC1: ??? (in /usr/lib64/libgomp.so.1.0.0) ==29814== by 0x34B9C0673C: start_thread (in /lib64/libpthread-2.5.so) ==29814== by 0x34B94D40CC: clone (in /lib64/libc-2.5.so) ==29814== ==29814== Warning: set address range perms: large range [0x3901d030, 0x12d25d050) (noaccess) ==29814== ==29814== HEAP SUMMARY: ==29814== in use at exit: 2,090 bytes in 5 blocks ==29814== total heap usage: 198,236 allocs, 198,231 frees, 4,102,687,541 bytes allocated ==29814== ==29814== Thread 1: ==29814== 2 bytes in 1 blocks are still reachable in loss record 1 of 5 ==29814== at 0x4A05E1C: malloc (vg_replace_malloc.c:195) ==29814== by 0x4E5FD9B: numa_init (in /usr/lib64/libnuma.so.1) ==29814== by 0x34B900D1BA: call_init (in /lib64/ld-2.5.so) ==29814== by 0x34B900D2C4: _dl_init (in /lib64/ld-2.5.so) ==29814== by 0x34B9000AA9: ??? (in /lib64/ld-2.5.so) ==29814== ==29814== 24 bytes in 1 blocks are still reachable in loss record 2 of 5 ==29814== at 0x4A05E1C: malloc (vg_replace_malloc.c:195) ==29814== by 0x4A05E96: realloc (vg_replace_malloc.c:476) ==29814== by 0x34B9803488: ??? (in /usr/lib64/libgomp.so.1.0.0) ==29814== by 0x34B9808560: ??? (in /usr/lib64/libgomp.so.1.0.0) ==29814== by 0x400D45: main (main_hybrid_bind_mem.c:9) ==29814== ==29814== 192 bytes in 1 blocks are still reachable in loss record 3 of 5 ==29814== at 0x4A05E1C: malloc (vg_replace_malloc.c:195) ==29814== by 0x34B98034D8: ??? (in /usr/lib64/libgomp.so.1.0.0) ==29814== by 0x34B98085CE: ??? (in /usr/lib64/libgomp.so.1.0.0) ==29814== by 0x400D45: main (main_hybrid_bind_mem.c:9) ==29814== ==29814== 304 bytes in 1 blocks are possibly lost in loss record 4 of 5 ==29814== at 0x4A05140: calloc (vg_replace_malloc.c:418) ==29814== by 0x34B900FEA2: _dl_allocate_tls (in /lib64/ld-2.5.so) ==29814== by 0x34B9C06EB8: pthread_create@@GLIBC_2.2.5 (in /lib64/libpthread-2.5.so) ==29814== by 0x34B98082DF: ??? (in /usr/lib64/libgomp.so.1.0.0) ==29814== by 0x400D45: main (main_hybrid_bind_mem.c:9) ==29814== ==29814== 1,568 bytes in 1 blocks are still reachable in loss record 5 of 5 ==29814== at 0x4A05E1C: malloc (vg_replace_malloc.c:195) ==29814== by 0x34B98034D8: ??? (in /usr/lib64/libgomp.so.1.0.0) ==29814== by 0x34B98086C4: ??? (in /usr/lib64/libgomp.so.1.0.0) ==29814== by 0x34B980705B: GOMP_parallel_start (in /usr/lib64/libgomp.so.1.0.0) ==29814== by 0x400D45: main (main_hybrid_bind_mem.c:9) ==29814== ==29814== LEAK SUMMARY: ==29814== definitely lost: 0 bytes in 0 blocks ==29814== indirectly lost: 0 bytes in 0 blocks ==29814== possibly lost: 304 bytes in 1 blocks ==29814== still reachable: 1,786 bytes in 4 blocks ==29814== suppressed: 0 bytes in 0 blocks ==29814== ==29814== For counts of detected and suppressed errors, rerun with: -v ==29814== ERROR SUMMARY: 65462 errors from 7 contexts (suppressed: 4 from 4)