-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi folks,
Whilst trying to work out this "make check" error I'm seeing on SLES10/PPC I ran the failing hwloc_bind test under Valgrind. The first time around I missed the errors due to the number of warnings about unsupported syscalls. :-( There are 18 different error contexts reported, a lot more on PPC than on this Intel x86-64 laptop. This is the error on x86-64: ==13648== 6 errors in context 1 of 1: ==13648== Conditional jump or move depends on uninitialised value(s) ==13648== at 0x40B678: hwloc_alloc (bind.c:451) ==13648== by 0x40B81A: hwloc_alloc_membind_nodeset (bind.c:490) ==13648== by 0x40B88B: hwloc_alloc_membind (bind.c:502) ==13648== by 0x402D20: testmem (hwloc_bind.c:95) ==13648== by 0x402E6E: testmem2 (hwloc_bind.c:109) ==13648== by 0x402F7D: testmem3 (hwloc_bind.c:124) ==13648== by 0x40325A: main (hwloc_bind.c:187) This is valgrind's summary of errors on PPC: ==6259== 1 errors in context 1 of 18: ==6259== Syscall param get_mempolicy(nodemask) points to unaddressable byte(s) ==6259== at 0xFBE6FE0: syscall (in /lib/power6x/libc-2.4.so) ==6259== by 0xFC9BDCB: get_mempolicy (in /usr/lib/libnuma.so.1) ==6259== by 0x10016A7B: hwloc_linux_get_thisthread_membind (topology-linux.c:1064) ==6259== by 0x1000DDD7: hwloc_get_membind_nodeset (bind.c:278) ==6259== by 0x1000DE5F: hwloc_get_membind (bind.c:292) ==6259== by 0x10002ECB: testmem (hwloc_bind.c:80) ==6259== by 0x100035B3: testmem2 (hwloc_bind.c:109) ==6259== by 0x100036F3: testmem3 (hwloc_bind.c:124) ==6259== by 0x100039CF: main (hwloc_bind.c:187) ==6259== Address 0x69f5034 is 0 bytes after a block of size 4 alloc'd ==6259== at 0xFFB86C8: malloc (vg_replace_malloc.c:236) ==6259== by 0x100169A7: hwloc_linux_find_kernel_max_numnodes (topology-linux.c:1046) ==6259== by 0x10016A7B: hwloc_linux_get_thisthread_membind (topology-linux.c:1064) ==6259== by 0x1000DDD7: hwloc_get_membind_nodeset (bind.c:278) ==6259== by 0x1000DE5F: hwloc_get_membind (bind.c:292) ==6259== by 0x10002ECB: testmem (hwloc_bind.c:80) ==6259== by 0x100035B3: testmem2 (hwloc_bind.c:109) ==6259== by 0x100036F3: testmem3 (hwloc_bind.c:124) ==6259== by 0x100039CF: main (hwloc_bind.c:187) ==6259== ==6259== ==6259== 1 errors in context 2 of 18: ==6259== Invalid write of size 1 ==6259== at 0xFC005F4: __vsnprintf_chk@@GLIBC_2.4 (in /lib/power6x/libc-2.4.so) ==6259== by 0xFC004F3: __snprintf_chk@@GLIBC_2.4 (in /lib/power6x/libc-2.4.so) ==6259== by 0xFC9B4D3: numa_init (in /usr/lib/libnuma.so.1) ==6259== by 0x440E4DB: call_init (in /lib/ld-2.4.so) ==6259== by 0x440E65F: _dl_init (in /lib/ld-2.4.so) ==6259== by 0x4415AF3: _start (in /lib/ld-2.4.so) ==6259== Address 0x697e0cc is 2 bytes after a block of size 2 alloc'd ==6259== at 0xFFB86C8: malloc (vg_replace_malloc.c:236) ==6259== by 0xFC9B413: numa_init (in /usr/lib/libnuma.so.1) ==6259== by 0x440E4DB: call_init (in /lib/ld-2.4.so) ==6259== by 0x440E65F: _dl_init (in /lib/ld-2.4.so) ==6259== by 0x4415AF3: _start (in /lib/ld-2.4.so) ==6259== ==6259== 1 errors in context 3 of 18: ==6259== Invalid write of size 1 ==6259== at 0xFB58CA0: vfprintf@@GLIBC_2.4 (in /lib/power6x/libc-2.4.so) ==6259== by 0xFC005E3: __vsnprintf_chk@@GLIBC_2.4 (in /lib/power6x/libc-2.4.so) ==6259== by 0xFC004F3: __snprintf_chk@@GLIBC_2.4 (in /lib/power6x/libc-2.4.so) ==6259== by 0xFC9B4D3: numa_init (in /usr/lib/libnuma.so.1) ==6259== by 0x440E4DB: call_init (in /lib/ld-2.4.so) ==6259== by 0x440E65F: _dl_init (in /lib/ld-2.4.so) ==6259== by 0x4415AF3: _start (in /lib/ld-2.4.so) ==6259== Address 0x697e0cb is 1 bytes after a block of size 2 alloc'd ==6259== at 0xFFB86C8: malloc (vg_replace_malloc.c:236) ==6259== by 0xFC9B413: numa_init (in /usr/lib/libnuma.so.1) ==6259== by 0x440E4DB: call_init (in /lib/ld-2.4.so) ==6259== by 0x440E65F: _dl_init (in /lib/ld-2.4.so) ==6259== by 0x4415AF3: _start (in /lib/ld-2.4.so) ==6259== ==6259== ==6259== 1 errors in context 4 of 18: ==6259== Invalid write of size 1 ==6259== at 0xFC005AC: __vsnprintf_chk@@GLIBC_2.4 (in /lib/power6x/libc-2.4.so) ==6259== by 0xFC004F3: __snprintf_chk@@GLIBC_2.4 (in /lib/power6x/libc-2.4.so) ==6259== by 0xFC9B4D3: numa_init (in /usr/lib/libnuma.so.1) ==6259== by 0x440E4DB: call_init (in /lib/ld-2.4.so) ==6259== by 0x440E65F: _dl_init (in /lib/ld-2.4.so) ==6259== by 0x4415AF3: _start (in /lib/ld-2.4.so) ==6259== Address 0x697e0cb is 1 bytes after a block of size 2 alloc'd ==6259== at 0xFFB86C8: malloc (vg_replace_malloc.c:236) ==6259== by 0xFC9B413: numa_init (in /usr/lib/libnuma.so.1) ==6259== by 0x440E4DB: call_init (in /lib/ld-2.4.so) ==6259== by 0x440E65F: _dl_init (in /lib/ld-2.4.so) ==6259== by 0x4415AF3: _start (in /lib/ld-2.4.so) ==6259== ==6259== ==6259== 1 errors in context 5 of 18: ==6259== Invalid write of size 1 ==6259== at 0xFC005F4: __vsnprintf_chk@@GLIBC_2.4 (in /lib/power6x/libc-2.4.so) ==6259== by 0xFC004F3: __snprintf_chk@@GLIBC_2.4 (in /lib/power6x/libc-2.4.so) ==6259== by 0xFC9B543: numa_init (in /usr/lib/libnuma.so.1) ==6259== by 0x440E4DB: call_init (in /lib/ld-2.4.so) ==6259== by 0x440E65F: _dl_init (in /lib/ld-2.4.so) ==6259== by 0x4415AF3: _start (in /lib/ld-2.4.so) ==6259== Address 0x697e0cb is 1 bytes after a block of size 2 alloc'd ==6259== at 0xFFB86C8: malloc (vg_replace_malloc.c:236) ==6259== by 0xFC9B413: numa_init (in /usr/lib/libnuma.so.1) ==6259== by 0x440E4DB: call_init (in /lib/ld-2.4.so) ==6259== by 0x440E65F: _dl_init (in /lib/ld-2.4.so) ==6259== by 0x4415AF3: _start (in /lib/ld-2.4.so) ==6259== ==6259== ==6259== 1 errors in context 6 of 18: ==6259== Invalid write of size 1 ==6259== at 0xFB84428: _IO_default_xsputn (in /lib/power6x/libc-2.4.so) ==6259== by 0xFB58347: vfprintf@@GLIBC_2.4 (in /lib/power6x/libc-2.4.so) ==6259== by 0xFC005E3: __vsnprintf_chk@@GLIBC_2.4 (in /lib/power6x/libc-2.4.so) ==6259== by 0xFC004F3: __snprintf_chk@@GLIBC_2.4 (in /lib/power6x/libc-2.4.so) ==6259== by 0xFC9B543: numa_init (in /usr/lib/libnuma.so.1) ==6259== by 0x440E4DB: call_init (in /lib/ld-2.4.so) ==6259== by 0x440E65F: _dl_init (in /lib/ld-2.4.so) ==6259== by 0x4415AF3: _start (in /lib/ld-2.4.so) ==6259== Address 0x697e0ca is 0 bytes after a block of size 2 alloc'd ==6259== at 0xFFB86C8: malloc (vg_replace_malloc.c:236) ==6259== by 0xFC9B413: numa_init (in /usr/lib/libnuma.so.1) ==6259== by 0x440E4DB: call_init (in /lib/ld-2.4.so) ==6259== by 0x440E65F: _dl_init (in /lib/ld-2.4.so) ==6259== by 0x4415AF3: _start (in /lib/ld-2.4.so) ==6259== ==6259== ==6259== 12 errors in context 7 of 18: ==6259== Invalid write of size 1 ==6259== at 0xFFBA678: memset (mc_replace_strmem.c:626) ==6259== by 0x10016867: hwloc_linux_set_thisthread_membind (topology-linux.c:1001) ==6259== by 0x1000DB53: hwloc_set_membind_nodeset (bind.c:238) ==6259== by 0x1000DC7B: hwloc_set_membind (bind.c:259) ==6259== by 0x10002F67: testmem (hwloc_bind.c:81) ==6259== by 0x1000361B: testmem2 (hwloc_bind.c:113) ==6259== by 0x10003723: testmem3 (hwloc_bind.c:128) ==6259== by 0x100039CF: main (hwloc_bind.c:187) ==6259== Address 0x69fd676 is 10 bytes after a block of size 4 alloc'd ==6259== at 0xFFB86C8: malloc (vg_replace_malloc.c:236) ==6259== by 0x10016837: hwloc_linux_set_thisthread_membind (topology-linux.c:999) ==6259== by 0x1000DB53: hwloc_set_membind_nodeset (bind.c:238) ==6259== by 0x1000DC7B: hwloc_set_membind (bind.c:259) ==6259== by 0x10002F67: testmem (hwloc_bind.c:81) ==6259== by 0x1000361B: testmem2 (hwloc_bind.c:113) ==6259== by 0x10003723: testmem3 (hwloc_bind.c:128) ==6259== by 0x100039CF: main (hwloc_bind.c:187) ==6259== ==6259== ==6259== 12 errors in context 8 of 18: ==6259== Invalid write of size 4 ==6259== at 0xFFBA65C: memset (mc_replace_strmem.c:626) ==6259== by 0x10016867: hwloc_linux_set_thisthread_membind (topology-linux.c:1001) ==6259== by 0x1000DB53: hwloc_set_membind_nodeset (bind.c:238) ==6259== by 0x1000DC7B: hwloc_set_membind (bind.c:259) ==6259== by 0x10002F67: testmem (hwloc_bind.c:81) ==6259== by 0x1000361B: testmem2 (hwloc_bind.c:113) ==6259== by 0x10003723: testmem3 (hwloc_bind.c:128) ==6259== by 0x100039CF: main (hwloc_bind.c:187) ==6259== Address 0x69fd670 is 4 bytes after a block of size 4 alloc'd ==6259== at 0xFFB86C8: malloc (vg_replace_malloc.c:236) ==6259== by 0x10016837: hwloc_linux_set_thisthread_membind (topology-linux.c:999) ==6259== by 0x1000DB53: hwloc_set_membind_nodeset (bind.c:238) ==6259== by 0x1000DC7B: hwloc_set_membind (bind.c:259) ==6259== by 0x10002F67: testmem (hwloc_bind.c:81) ==6259== by 0x1000361B: testmem2 (hwloc_bind.c:113) ==6259== by 0x10003723: testmem3 (hwloc_bind.c:128) ==6259== by 0x100039CF: main (hwloc_bind.c:187) ==6259== ==6259== ==6259== 12 errors in context 9 of 18: ==6259== Invalid write of size 4 ==6259== at 0xFFBA650: memset (mc_replace_strmem.c:626) ==6259== by 0x10016867: hwloc_linux_set_thisthread_membind (topology-linux.c:1001) ==6259== by 0x1000DB53: hwloc_set_membind_nodeset (bind.c:238) ==6259== by 0x1000DC7B: hwloc_set_membind (bind.c:259) ==6259== by 0x10002F67: testmem (hwloc_bind.c:81) ==6259== by 0x1000361B: testmem2 (hwloc_bind.c:113) ==6259== by 0x10003723: testmem3 (hwloc_bind.c:128) ==6259== by 0x100039CF: main (hwloc_bind.c:187) ==6259== Address 0x69fd66c is 0 bytes after a block of size 4 alloc'd ==6259== at 0xFFB86C8: malloc (vg_replace_malloc.c:236) ==6259== by 0x10016837: hwloc_linux_set_thisthread_membind (topology-linux.c:999) ==6259== by 0x1000DB53: hwloc_set_membind_nodeset (bind.c:238) ==6259== by 0x1000DC7B: hwloc_set_membind (bind.c:259) ==6259== by 0x10002F67: testmem (hwloc_bind.c:81) ==6259== by 0x1000361B: testmem2 (hwloc_bind.c:113) ==6259== by 0x10003723: testmem3 (hwloc_bind.c:128) ==6259== by 0x100039CF: main (hwloc_bind.c:187) ==6259== ==6259== ==6259== 12 errors in context 10 of 18: ==6259== Invalid write of size 1 ==6259== at 0xFFBA678: memset (mc_replace_strmem.c:626) ==6259== by 0x10016867: hwloc_linux_set_thisthread_membind (topology-linux.c:1001) ==6259== by 0x1000DBCB: hwloc_set_membind_nodeset (bind.c:243) ==6259== by 0x1000DC7B: hwloc_set_membind (bind.c:259) ==6259== by 0x10002E2F: testmem (hwloc_bind.c:79) ==6259== by 0x1000361B: testmem2 (hwloc_bind.c:113) ==6259== by 0x10003723: testmem3 (hwloc_bind.c:128) ==6259== by 0x100039CF: main (hwloc_bind.c:187) ==6259== Address 0x69fd35e is 10 bytes after a block of size 4 alloc'd ==6259== at 0xFFB86C8: malloc (vg_replace_malloc.c:236) ==6259== by 0x10016837: hwloc_linux_set_thisthread_membind (topology-linux.c:999) ==6259== by 0x1000DBCB: hwloc_set_membind_nodeset (bind.c:243) ==6259== by 0x1000DC7B: hwloc_set_membind (bind.c:259) ==6259== by 0x10002E2F: testmem (hwloc_bind.c:79) ==6259== by 0x1000361B: testmem2 (hwloc_bind.c:113) ==6259== by 0x10003723: testmem3 (hwloc_bind.c:128) ==6259== by 0x100039CF: main (hwloc_bind.c:187) ==6259== ==6259== ==6259== 12 errors in context 11 of 18: ==6259== Invalid write of size 4 ==6259== at 0xFFBA65C: memset (mc_replace_strmem.c:626) ==6259== by 0x10016867: hwloc_linux_set_thisthread_membind (topology-linux.c:1001) ==6259== by 0x1000DBCB: hwloc_set_membind_nodeset (bind.c:243) ==6259== by 0x1000DC7B: hwloc_set_membind (bind.c:259) ==6259== by 0x10002E2F: testmem (hwloc_bind.c:79) ==6259== by 0x1000361B: testmem2 (hwloc_bind.c:113) ==6259== by 0x10003723: testmem3 (hwloc_bind.c:128) ==6259== by 0x100039CF: main (hwloc_bind.c:187) ==6259== Address 0x69fd358 is 4 bytes after a block of size 4 alloc'd ==6259== at 0xFFB86C8: malloc (vg_replace_malloc.c:236) ==6259== by 0x10016837: hwloc_linux_set_thisthread_membind (topology-linux.c:999) ==6259== by 0x1000DBCB: hwloc_set_membind_nodeset (bind.c:243) ==6259== by 0x1000DC7B: hwloc_set_membind (bind.c:259) ==6259== by 0x10002E2F: testmem (hwloc_bind.c:79) ==6259== by 0x1000361B: testmem2 (hwloc_bind.c:113) ==6259== by 0x10003723: testmem3 (hwloc_bind.c:128) ==6259== by 0x100039CF: main (hwloc_bind.c:187) ==6259== ==6259== ==6259== 12 errors in context 12 of 18: ==6259== Invalid write of size 4 ==6259== at 0xFFBA650: memset (mc_replace_strmem.c:626) ==6259== by 0x10016867: hwloc_linux_set_thisthread_membind (topology-linux.c:1001) ==6259== by 0x1000DBCB: hwloc_set_membind_nodeset (bind.c:243) ==6259== by 0x1000DC7B: hwloc_set_membind (bind.c:259) ==6259== by 0x10002E2F: testmem (hwloc_bind.c:79) ==6259== by 0x1000361B: testmem2 (hwloc_bind.c:113) ==6259== by 0x10003723: testmem3 (hwloc_bind.c:128) ==6259== by 0x100039CF: main (hwloc_bind.c:187) ==6259== Address 0x69fd354 is 0 bytes after a block of size 4 alloc'd ==6259== at 0xFFB86C8: malloc (vg_replace_malloc.c:236) ==6259== by 0x10016837: hwloc_linux_set_thisthread_membind (topology-linux.c:999) ==6259== by 0x1000DBCB: hwloc_set_membind_nodeset (bind.c:243) ==6259== by 0x1000DC7B: hwloc_set_membind (bind.c:259) ==6259== by 0x10002E2F: testmem (hwloc_bind.c:79) ==6259== by 0x1000361B: testmem2 (hwloc_bind.c:113) ==6259== by 0x10003723: testmem3 (hwloc_bind.c:128) ==6259== by 0x100039CF: main (hwloc_bind.c:187) ==6259== ==6259== ==6259== 18 errors in context 13 of 18: ==6259== Syscall param set_mempolicy(nodemask) points to unaddressable byte(s) ==6259== at 0xFBE6FE0: syscall (in /lib/power6x/libc-2.4.so) ==6259== by 0xFC9BCFB: set_mempolicy (in /usr/lib/libnuma.so.1) ==6259== by 0x1000DB53: hwloc_set_membind_nodeset (bind.c:238) ==6259== by 0x1000DC7B: hwloc_set_membind (bind.c:259) ==6259== by 0x10002F67: testmem (hwloc_bind.c:81) ==6259== by 0x1000361B: testmem2 (hwloc_bind.c:113) ==6259== by 0x100036F3: testmem3 (hwloc_bind.c:124) ==6259== by 0x100039CF: main (hwloc_bind.c:187) ==6259== Address 0x69f655c is 0 bytes after a block of size 4 alloc'd ==6259== at 0xFFB747C: calloc (vg_replace_malloc.c:467) ==6259== by 0x10016347: hwloc_linux_membind_mask_from_nodeset (topology-linux.c:871) ==6259== by 0x100167FF: hwloc_linux_set_thisthread_membind (topology-linux.c:993) ==6259== by 0x1000DB53: hwloc_set_membind_nodeset (bind.c:238) ==6259== by 0x1000DC7B: hwloc_set_membind (bind.c:259) ==6259== by 0x10002F67: testmem (hwloc_bind.c:81) ==6259== by 0x1000361B: testmem2 (hwloc_bind.c:113) ==6259== by 0x100036F3: testmem3 (hwloc_bind.c:124) ==6259== by 0x100039CF: main (hwloc_bind.c:187) ==6259== ==6259== ==6259== 18 errors in context 14 of 18: ==6259== Syscall param set_mempolicy(nodemask) points to unaddressable byte(s) ==6259== at 0xFBE6FE0: syscall (in /lib/power6x/libc-2.4.so) ==6259== by 0xFC9BCFB: set_mempolicy (in /usr/lib/libnuma.so.1) ==6259== by 0x1000DBCB: hwloc_set_membind_nodeset (bind.c:243) ==6259== by 0x1000DC7B: hwloc_set_membind (bind.c:259) ==6259== by 0x10002E2F: testmem (hwloc_bind.c:79) ==6259== by 0x1000361B: testmem2 (hwloc_bind.c:113) ==6259== by 0x100036F3: testmem3 (hwloc_bind.c:124) ==6259== by 0x100039CF: main (hwloc_bind.c:187) ==6259== Address 0x69f627c is 0 bytes after a block of size 4 alloc'd ==6259== at 0xFFB747C: calloc (vg_replace_malloc.c:467) ==6259== by 0x10016347: hwloc_linux_membind_mask_from_nodeset (topology-linux.c:871) ==6259== by 0x100167FF: hwloc_linux_set_thisthread_membind (topology-linux.c:993) ==6259== by 0x1000DBCB: hwloc_set_membind_nodeset (bind.c:243) ==6259== by 0x1000DC7B: hwloc_set_membind (bind.c:259) ==6259== by 0x10002E2F: testmem (hwloc_bind.c:79) ==6259== by 0x1000361B: testmem2 (hwloc_bind.c:113) ==6259== by 0x100036F3: testmem3 (hwloc_bind.c:124) ==6259== by 0x100039CF: main (hwloc_bind.c:187) ==6259== ==6259== ==6259== 24 errors in context 15 of 18: ==6259== Invalid write of size 1 ==6259== at 0xFFBA670: memset (mc_replace_strmem.c:626) ==6259== by 0x10016867: hwloc_linux_set_thisthread_membind (topology-linux.c:1001) ==6259== by 0x1000DB53: hwloc_set_membind_nodeset (bind.c:238) ==6259== by 0x1000DC7B: hwloc_set_membind (bind.c:259) ==6259== by 0x10002F67: testmem (hwloc_bind.c:81) ==6259== by 0x1000361B: testmem2 (hwloc_bind.c:113) ==6259== by 0x10003723: testmem3 (hwloc_bind.c:128) ==6259== by 0x100039CF: main (hwloc_bind.c:187) ==6259== Address 0x69fd674 is 8 bytes after a block of size 4 alloc'd ==6259== at 0xFFB86C8: malloc (vg_replace_malloc.c:236) ==6259== by 0x10016837: hwloc_linux_set_thisthread_membind (topology-linux.c:999) ==6259== by 0x1000DB53: hwloc_set_membind_nodeset (bind.c:238) ==6259== by 0x1000DC7B: hwloc_set_membind (bind.c:259) ==6259== by 0x10002F67: testmem (hwloc_bind.c:81) ==6259== by 0x1000361B: testmem2 (hwloc_bind.c:113) ==6259== by 0x10003723: testmem3 (hwloc_bind.c:128) ==6259== by 0x100039CF: main (hwloc_bind.c:187) ==6259== ==6259== ==6259== 24 errors in context 16 of 18: ==6259== Invalid write of size 1 ==6259== at 0xFFBA670: memset (mc_replace_strmem.c:626) ==6259== by 0x10016867: hwloc_linux_set_thisthread_membind (topology-linux.c:1001) ==6259== by 0x1000DBCB: hwloc_set_membind_nodeset (bind.c:243) ==6259== by 0x1000DC7B: hwloc_set_membind (bind.c:259) ==6259== by 0x10002E2F: testmem (hwloc_bind.c:79) ==6259== by 0x1000361B: testmem2 (hwloc_bind.c:113) ==6259== by 0x10003723: testmem3 (hwloc_bind.c:128) ==6259== by 0x100039CF: main (hwloc_bind.c:187) ==6259== Address 0x69fd35c is 8 bytes after a block of size 4 alloc'd ==6259== at 0xFFB86C8: malloc (vg_replace_malloc.c:236) ==6259== by 0x10016837: hwloc_linux_set_thisthread_membind (topology-linux.c:999) ==6259== by 0x1000DBCB: hwloc_set_membind_nodeset (bind.c:243) ==6259== by 0x1000DC7B: hwloc_set_membind (bind.c:259) ==6259== by 0x10002E2F: testmem (hwloc_bind.c:79) ==6259== by 0x1000361B: testmem2 (hwloc_bind.c:113) ==6259== by 0x10003723: testmem3 (hwloc_bind.c:128) ==6259== by 0x100039CF: main (hwloc_bind.c:187) ==6259== ==6259== ==6259== 72 errors in context 17 of 18: ==6259== Syscall param get_mempolicy(nodemask) points to unaddressable byte(s) ==6259== at 0xFBE6FE0: syscall (in /lib/power6x/libc-2.4.so) ==6259== by 0xFC9BDCB: get_mempolicy (in /usr/lib/libnuma.so.1) ==6259== by 0x1000DD5F: hwloc_get_membind_nodeset (bind.c:273) ==6259== by 0x1000DE5F: hwloc_get_membind (bind.c:292) ==6259== by 0x10002FEF: testmem (hwloc_bind.c:82) ==6259== by 0x100035B3: testmem2 (hwloc_bind.c:109) ==6259== by 0x100036F3: testmem3 (hwloc_bind.c:124) ==6259== by 0x100039CF: main (hwloc_bind.c:187) ==6259== Address 0x69f5204 is 0 bytes after a block of size 4 alloc'd ==6259== at 0xFFB86C8: malloc (vg_replace_malloc.c:236) ==6259== by 0x10016A97: hwloc_linux_get_thisthread_membind (topology-linux.c:1066) ==6259== by 0x1000DD5F: hwloc_get_membind_nodeset (bind.c:273) ==6259== by 0x1000DE5F: hwloc_get_membind (bind.c:292) ==6259== by 0x10002FEF: testmem (hwloc_bind.c:82) ==6259== by 0x100035B3: testmem2 (hwloc_bind.c:109) ==6259== by 0x100036F3: testmem3 (hwloc_bind.c:124) ==6259== by 0x100039CF: main (hwloc_bind.c:187) ==6259== ==6259== ==6259== 72 errors in context 18 of 18: ==6259== Syscall param get_mempolicy(nodemask) points to unaddressable byte(s) ==6259== at 0xFBE6FE0: syscall (in /lib/power6x/libc-2.4.so) ==6259== by 0xFC9BDCB: get_mempolicy (in /usr/lib/libnuma.so.1) ==6259== by 0x1000DDD7: hwloc_get_membind_nodeset (bind.c:278) ==6259== by 0x1000DE5F: hwloc_get_membind (bind.c:292) ==6259== by 0x10002ECB: testmem (hwloc_bind.c:80) ==6259== by 0x100035B3: testmem2 (hwloc_bind.c:109) ==6259== by 0x100036F3: testmem3 (hwloc_bind.c:124) ==6259== by 0x100039CF: main (hwloc_bind.c:187) ==6259== Address 0x69f506c is 0 bytes after a block of size 4 alloc'd ==6259== at 0xFFB86C8: malloc (vg_replace_malloc.c:236) ==6259== by 0x10016A97: hwloc_linux_get_thisthread_membind (topology-linux.c:1066) ==6259== by 0x1000DDD7: hwloc_get_membind_nodeset (bind.c:278) ==6259== by 0x1000DE5F: hwloc_get_membind (bind.c:292) ==6259== by 0x10002ECB: testmem (hwloc_bind.c:80) ==6259== by 0x100035B3: testmem2 (hwloc_bind.c:109) ==6259== by 0x100036F3: testmem3 (hwloc_bind.c:124) ==6259== by 0x100039CF: main (hwloc_bind.c:187) Hope this is useful! cheers, Chris - -- Christopher Samuel - Senior Systems Administrator VLSCI - Victorian Life Sciences Computational Initiative Email: sam...@unimelb.edu.au Phone: +61 (0)3 903 55545 http://www.vlsci.unimelb.edu.au/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkzsru8ACgkQO2KABBYQAh/JFQCffBIy/oVBC5xUr0R60oagEUhL hhYAoJLOpbYRa9V6HQmLIqobyudOY1lc =qwGD -----END PGP SIGNATURE-----