View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013323CMakeCMakepublic2012-06-20 08:022012-11-05 14:33
ReporterMariusz Plucinski 
Assigned ToBrad King 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
Platformx64OSWindowsOS Version7 x64
Product VersionCMake 2.8.8 
Target VersionCMake 2.8.9Fixed in VersionCMake 2.8.9 
Summary0013323: CMake crashes if language is set inproperly.
DescriptionFound it during experimenting with adding new language support. CMake crashes when there is a problem with source file language property.
Steps To Reproduce1. Create CMakeLists.txt and put the following code:

    project(BugTest)
    cmake_minimum_required(VERSION 2.8)
    add_executable(Foo Bar.asd)
    set_target_properties(Foo PROPERTIES LINKER_LANGUAGE asd)

2. Create empty Bar.asd file
3. Run "cmake ." under Windows, using Visual Studio 10 generator.
Additional InformationExpected result:

Getting an error message about missing variable: CMAKE_asd_LINK_EXECUTABLE

Actual result:

Application crash (Access violation).

Attached patch fixes an error.
TagsNo tags attached.
Attached Filespatch file icon cmake_cmLocalGenerator.patch [^] (764 bytes) 2012-06-20 08:02 [Show Content]

 Relationships

  Notes
(0029765)
Brad King (manager)
2012-06-20 09:10

Applied, thanks!

http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=2c2fbaf0 [^]
(0031455)
David Cole (manager)
2012-11-05 14:33

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2012-06-20 08:02 Mariusz Plucinski New Issue
2012-06-20 08:02 Mariusz Plucinski File Added: cmake_cmLocalGenerator.patch
2012-06-20 09:10 Brad King Note Added: 0029765
2012-06-20 09:10 Brad King Assigned To => Brad King
2012-06-20 09:10 Brad King Status new => resolved
2012-06-20 09:10 Brad King Resolution open => fixed
2012-06-20 09:10 Brad King Fixed in Version => CMake 2.8.9
2012-06-20 09:10 Brad King Target Version => CMake 2.8.9
2012-11-05 14:33 David Cole Note Added: 0031455
2012-11-05 14:33 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team