Trying to configure CGAL 3.5 with cmake 2.8.0 rc4 on Fedora and cmake is segfaulting. Quick analysis shows that it's faulting here:

#1  cmMakefile::RaiseScope (this=<value optimized out>)
    at /usr/src/debug/cmake-2.8.0-rc4/Source/cmMakefile.cxx:3392
3392              this->LocalGenerator->GetParent()->GetMakefile())
(gdb) list
3391      else if(cmMakefile* parent =
3392              this->LocalGenerator->GetParent()->GetMakefile())
3393        {

looks like this->LocalGenerator->Parent is null here.

(gdb) print this->LocalGenerator->Parent
$3 = (cmLocalGenerator *) 0x0

Does there need to be check for it being null, or should it never be null?

--
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  or...@cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to