| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0013324 | CMake | CMake | public | 2012-06-20 09:44 | 2012-11-05 14:33 | ||||
| Reporter | jeromerobert | ||||||||
| Assigned To | Brad King | ||||||||
| Priority | normal | Severity | major | Reproducibility | always | ||||
| Status | closed | Resolution | fixed | ||||||
| Platform | amd64 | OS | OS Version | Debian Wheezy | |||||
| Product Version | CMake 2.8.8 | ||||||||
| Target Version | CMake 2.8.9 | Fixed in Version | CMake 2.8.9 | ||||||
| Summary | 0013324: Segfault with Swig CPLUSPLUS ON | ||||||||
| Description | How to reproduce: $ cat > CMakeLists.txt project (Foo C) cmake_minimum_required(VERSION 2.8) find_package(SWIG REQUIRED) include(${SWIG_USE_FILE}) set_source_files_properties(foo.i PROPERTIES CPLUSPLUS ON) swig_add_module(foo python foo.i) $ touch foo.i $ cmake . -- Configuring done Segmentation fault Expected result: A error message saying that it's wrong to enable the CPLUSPLUS property on a C only project. | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0029767) Brad King (manager) 2012-06-20 11:35 |
I was able to narrow this down to the simple test case cmake_minimum_required(VERSION 2.8) project(FOO NONE) add_library(foo SHARED foo.nolang) Upstream CMake 2.8.8 does not crash on the case. The crash was introduced after 2.8.8 here: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e1409ac5 [^] but the patch was backported for Debian CMake 2.8.8: http://patch-tracker.debian.org/package/cmake/2.8.8-3 [^] |
|
(0029768) Brad King (manager) 2012-06-20 11:35 |
Fixed and test added: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=56148fd2 [^] See commit message for explanation. |
|
(0031456) David Cole (manager) 2012-11-05 14:33 |
Closing resolved issues that have not been updated in more than 4 months. |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2012-06-20 09:44 | jeromerobert | New Issue | |
| 2012-06-20 11:30 | Brad King | Assigned To | => Brad King |
| 2012-06-20 11:30 | Brad King | Status | new => assigned |
| 2012-06-20 11:35 | Brad King | Note Added: 0029767 | |
| 2012-06-20 11:35 | Brad King | Note Added: 0029768 | |
| 2012-06-20 11:35 | Brad King | Status | assigned => resolved |
| 2012-06-20 11:35 | Brad King | Resolution | open => fixed |
| 2012-06-20 11:35 | Brad King | Fixed in Version | => CMake 2.8.9 |
| 2012-06-20 11:35 | Brad King | Target Version | => CMake 2.8.9 |
| 2012-11-05 14:33 | David Cole | Note Added: 0031456 | |
| 2012-11-05 14:33 | David Cole | Status | resolved => closed |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |