MantisBT - CMake |
View Issue Details |
|
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 .. |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | cmake_crash_test.zip (2,118) 2013-08-14 15:28 https://public.kitware.com/Bug/file/4850/cmake_crash_test.zip |
|
Issue History |
Date Modified | Username | Field | Change |
2013-08-14 15:28 | Jason Howlett | New Issue | |
2013-08-14 15:28 | Jason Howlett | File Added: cmake_crash_test.zip | |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042349 | |
2016-06-10 14:29 | Kitware Robot | Status | new => resolved |
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |