[CMake] cmake problems on Mac OS X, newest Xcode (2.1)

Brad King brad.king at kitware.com
Mon Jul 11 15:50:19 EDT 2005


Sean McBride wrote:
> I ran a 'ctest -D Experimental' on cmake itself and there were 3 problems:
> 
> (1) somewhere around kwsys-testProcess-6 a spawned process crashed:
> 
> Command: testProcess
> Path:    /Users/sean/RogueSVNWorkingCopy/Test/trunk/CMake/bin/testProcess
> Parent:  testProcess [25464]
> 
> Version: ??? (???)
> 
> PID:    25465
> Thread: 0
> 
> Exception:  EXC_BAD_ACCESS (0x0001)
> Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000000
> 
> Thread 0 Crashed:
> 0   testProcess 	0x00002bb0 test4 + 140 (crt.c:355)
> 1   testProcess 	0x000036fc main + 440 (crt.c:355)
> 2   testProcess 	0x000021b0 _start + 344 (crt.c:272)
> 3   testProcess 	0x00002054 start + 60
> 
> This is reproducible.  Despite this the test is marked 'passed'.

I can only comment on this part.  This is expected behavior.  The 
testProcess tests try various things with CMake's process execution 
implementation.  One of them is to test dealing with a child that 
crashes.  Therefore a process involved in the testing crashes ON PURPOSE.

-Brad


More information about the CMake mailing list