Open MPI logo

Hardware Locality Development Mailing List Archives

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

Subject: Re: [hwloc-devel] 1.1 .so version number
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2010-11-09 14:27:22

Le 09/11/2010 18:49, Samuel Thibault a écrit :
> That is not a problem here. The attr field of hwloc_obj will be NULL,
> that's all, the application won't ever read it anyway.

We will see segfaults if applications were looking at machine->attr
without checking that it's non-NULL. It's a buggy behavior (but may not
be that well documented :)) and there are very likely a single user of
these machine attributes anyway (and I am going to fix it now :)).