MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0011991 | CMake | CMake | public | 2011-03-21 10:55 | 2013-01-09 10:57 |
| Reporter | Daniel Franke | ||||
| Assigned To | David Cole | ||||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Platform | Windows | OS | XP | OS Version | |
| Product Version | CMake-2-8 | ||||
| Target Version | Fixed in Version | CMake 2.8.10 | |||
| Summary | 0011991: stack smash with (assumed) case-sensitive file names | ||||
| Description | FindFLEX.cmake was not available in cmake-2.6 but was added in cmake.2.8. In order to allow find_package() for either version, I created FindFlex.cmake (note the lowercase part of FLEX) in my CMAKE_MODULE_PATH. This file contains: if (${CMAKE_VERSION} VERSION_LESS 2.8) set (FLEX_FOUND "false") else () find_package (FLEX) endif () This works for Linux, but on windows, cmake dies with ERRORLEVEL=-1073741819, i.e. 0xC0000005 which indicates a crash. Taking into account that the file system is not case sensitive, I assume that find_package(Flex) and find_package(FLEX) are not distinguished and thus result in a infinite loop of above script. The problem was seen with cmake 2.8.2. | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2011-03-21 10:55 | Daniel Franke | New Issue | |||
| 2011-03-21 11:10 | Michael Wild | Note Added: 0025840 | |||
| 2012-08-11 10:47 | David Cole | Assigned To | => David Cole | ||
| 2012-08-11 10:47 | David Cole | Status | new => assigned | ||
| 2012-08-11 10:48 | David Cole | Note Added: 0030217 | |||
| 2012-08-11 10:48 | David Cole | Status | assigned => resolved | ||
| 2012-08-11 10:48 | David Cole | Fixed in Version | => CMake 2.8.10 | ||
| 2012-08-11 10:48 | David Cole | Resolution | open => no change required | ||
| 2013-01-09 10:57 | Robert Maynard | Note Added: 0032042 | |||
| 2013-01-09 10:57 | Robert Maynard | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||