Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Development mailing list

Subject: Re: [hwloc-devel] hwloc 1.1 rc2 make check fails on SLES10SP1 on PPC64
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2010-11-24 02:08:37


Le 24/11/2010 07:47, Christopher Samuel a écrit :
> On 22/11/10 07:48, Christopher Samuel wrote:
>
> > *** glibc detected *** /tmp/hwloc/hwloc-1.1rc2/tests/.libs/hwloc_bind:
> > free(): invalid next size (fast): 0x1001c240 ***
>
> Went and had a look at the code that was failing. This is
> the fragement that fails:
>
> #ifdef HWLOC_HAVE_MIGRATE_PAGES
> unsigned long *fullmask = malloc(max_os_index/HWLOC_BITS_PER_LONG *
> sizeof(long));
> if (fullmask) {
> memset(fullmask, max_os_index/HWLOC_BITS_PER_LONG * sizeof(long),
> 0xf);

Another dumb memset failure: swap the 2nd and 3rd arguments, it works
better here. Grrrrrrrrr

Brice