MantisBT - CMake
View Issue Details
0014357CMakeCMakepublic2013-08-14 15:282016-06-10 14:31
Jason Howlett 
Kitware Robot 
normalcrashalways
closedmoved 
LinuxRed HatEL 5
CMake 2.8.11.2 
 
0014357: Defining an override macro/function of add_library more than once causes a segmentation fault.
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.
Uncompress the attached test project, go to the build directory, and run cmake ..
No tags attached.
zip cmake_crash_test.zip (2,118) 2013-08-14 15:28
https://public.kitware.com/Bug/file/4850/cmake_crash_test.zip
Issue History
2013-08-14 15:28Jason HowlettNew Issue
2013-08-14 15:28Jason HowlettFile Added: cmake_crash_test.zip
2016-06-10 14:29Kitware RobotNote Added: 0042349
2016-06-10 14:29Kitware RobotStatusnew => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0042349)
Kitware Robot   
2016-06-10 14:29   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.