| View Issue Details [ Jump to Notes ] | [ Print ] |
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0014357 | CMake | CMake | public | 2013-08-14 15:28 | 2016-06-10 14:31 |
|
| Reporter | Jason Howlett | |
| Assigned To | Kitware Robot | |
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | moved | |
| Platform | Linux | OS | Red Hat | OS Version | EL 5 |
| Product Version | CMake 2.8.11.2 | |
| Target Version | | Fixed in Version | | |
|
| Summary | 0014357: Defining an override macro/function of add_library more than once causes a segmentation fault. |
| Description | If a macro or function override of add_library is created in more than one scope, either directly or through an include of a common file, cmake seg faults during calls to add_library in the second scope. The call to _add_library in the override resolves to the second 'instance' of the add_library override, resulting in an infinite recursion. |
| Steps To Reproduce | Uncompress the attached test project, go to the build directory, and run cmake .. |
| Tags | No tags attached. |
|
| Attached Files | cmake_crash_test.zip [^] (2,118 bytes) 2013-08-14 15:28 |
|