[cmake-developers] Test unsuccessful for cmake version 2.8.10.20121108-gc31e1

Brad King brad.king at kitware.com
Thu Nov 8 08:43:36 EST 2012


On 11/08/2012 06:27 AM, Kornel Benko wrote:
>>  13/272 Test  #12: kwsys.testSystemInformation ......................***Exception: SegFault  0.13 sec
> I traced it down to Source/kwsys/SystemInformation.cxx:1327
> int fam=ifa->ifa_addr->sa_family;
> In my case, ifa->ifa_addr happens to be NULL.

Thanks for tracking it down.

That was introduced in upstream KWSys here:

 http://public.kitware.com/gitweb?p=KWSys.git;a=commitdiff;h=857bda17

We just updated CMake to use a version of KWSys including this change
so it didn't affect us until now.

I've proposed a fix upstream:

 http://review.source.kitware.com/8412

which should make it through to us soon.

Thanks,
-Brad



More information about the cmake-developers mailing list