[cmake-developers] [CMake 0014390]: CMake crashes on infinite recursion

Mantis Bug Tracker mantis at public.kitware.com
Thu Sep 5 03:56:40 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14390 
====================================================================== 
Reported By:                Magnus Johansson
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14390
Category:                   CMake
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-09-05 03:56 EDT
Last Modified:              2013-09-05 03:56 EDT
====================================================================== 
Summary:                    CMake crashes on infinite recursion
Description: 
I accidentally (hurried through a query replace) wrote something like this:

cmake_minimum_required(VERSION 2.8)

function(blah)
     blah()
endfunction(blah)

blah()

This makes cmake segfault, likely due to exhausted stack.

Steps to Reproduce: 
Just run the snippet above.


Additional Information: 
May be the same issue as 0013822, but I know too little about cmake internals to
be certain.

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-09-05 03:56 Magnus JohanssonNew Issue                                    
======================================================================




More information about the cmake-developers mailing list