MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0014608 | CMake | CMake | public | 2013-11-29 10:51 | 2013-12-04 12:22 |
Reporter | Erik Sjölund | ||||
Assigned To | Stephen Kelly | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | amd64 | OS | Ubuntu | OS Version | 13.10 |
Product Version | CMake 2.8.12 | ||||
Target Version | Fixed in Version | CMake 3.0 | |||
Summary | 0014608: segmentation fault when "export(TARGETS nonexistenttarget FILE somefile.cmake") | ||||
Description | If "foobar" is not a target, this CMakeLists.txt content triggers a segmentation fault: export(TARGETS foobar FILE somefile.cmake) The segmentation fault happens for the nighly build cmake-2.8.12.20131128-ga13cc-Linux-i386 but not for cmake 2.8.11.2 where instead an error message is shown. | ||||
Steps To Reproduce | user@ubuntu:/tmp$ uname -m x86_64 user@ubuntu:/tmp$ cat /etc/issue Ubuntu 13.10 \n \l user@ubuntu:/tmp$ cat /tmp/CMakeLists.txt cmake_minimum_required(VERSION 2.8.9 FATAL_ERROR) export(TARGETS foobar FILE somefile.cmake) user@ubuntu:/tmp$ cmake --version cmake version 2.8.11.2 user@ubuntu:/tmp$ dir=`mktemp -d` ; cd $dir user@ubuntu:/tmp/tmp.Q8C5VD8vgw$ cmake /tmp CMake Error at CMakeLists.txt:2 (export): export given target "foobar" which is not built by this project. -- Configuring incomplete, errors occurred! user@ubuntu:/tmp/tmp.Q8C5VD8vgw$ dir=`mktemp -d` ; cd $dir user@ubuntu:/tmp/tmp.NdOyHKvLMl$ ~/cmake/cmake-2.8.12.20131128-ga13cc-Linux-i386/bin/cmake /tmp -- Configuring done Segmentation fault (core dumped) user@ubuntu:/tmp/tmp.NdOyHKvLMl$ | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2013-11-29 10:51 | Erik Sjölund | New Issue | |||
2013-12-02 09:36 | Brad King | Assigned To | => Stephen Kelly | ||
2013-12-02 09:36 | Brad King | Status | new => assigned | ||
2013-12-04 12:22 | Stephen Kelly | Note Added: 0034711 | |||
2013-12-04 12:22 | Stephen Kelly | Status | assigned => closed | ||
2013-12-04 12:22 | Stephen Kelly | Resolution | open => fixed | ||
2013-12-04 12:22 | Stephen Kelly | Fixed in Version | => CMake 3.0 |
Notes | |||||
|
|||||
|
|