MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0016015 | CMake | CMake | public | 2016-03-12 16:52 | 2016-06-10 14:21 |
Reporter | Julian Schmidt | ||||
Assigned To | Brad King | ||||
Priority | low | Severity | trivial | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | x64 | OS | CentOS | OS Version | 6.7 |
Product Version | CMake 3.5 | ||||
Target Version | CMake 3.6 | Fixed in Version | CMake 3.6 | ||
Summary | 0016015: 'cmake -U*' causes SIGABRT in cmGlobalGenerator::EnableLanguage() | ||||
Description | Doing 'cmake -U*' leads to a SIGABRT in cmGlobalGenerator::EnableLanguage() with the following message: "what(): basic_string::_S_construct NULL not valid". | ||||
Steps To Reproduce | At git tag "v3.5.0-rc3" do the following: $ touch CMakeLists.txt $ cmake . [...] $ cmake -U"*" [...] terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_S_construct NULL not valid Aborted (core dumped) | ||||
Additional Information | The reason for the SIGABRT is that in EnableLanguage() an std::string is constructed from a char null-pointer. This can be reproduced also at git tag "v2.6.0". Note that the general issue of construction of std::strings from null pointers in CMake has already been reported in 0014005. But the concrete example given (and fixed) there is different from the one here. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2016-03-12 16:52 | Julian Schmidt | New Issue | |||
2016-03-14 10:51 | Brad King | Note Added: 0040674 | |||
2016-03-14 10:51 | Brad King | Assigned To | => Brad King | ||
2016-03-14 10:51 | Brad King | Status | new => resolved | ||
2016-03-14 10:51 | Brad King | Resolution | open => fixed | ||
2016-03-14 10:51 | Brad King | Fixed in Version | => CMake 3.6 | ||
2016-03-14 10:51 | Brad King | Target Version | => CMake 3.6 | ||
2016-03-16 09:04 | Brad King | Note Edited: 0040674 | bug_revision_view_page.php?bugnote_id=40674#r2060 | ||
2016-06-10 14:21 | Kitware Robot | Note Added: 0041226 | |||
2016-06-10 14:21 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|