The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=16015 ====================================================================== Reported By: Julian Schmidt Assigned To: ====================================================================== Project: CMake Issue ID: 16015 Category: CMake Reproducibility: always Severity: trivial Priority: low Status: new ====================================================================== Date Submitted: 2016-03-12 16:52 EST Last Modified: 2016-03-12 16:52 EST ====================================================================== Summary: '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. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2016-03-12 16:52 Julian Schmidt New Issue ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
