MantisBT - CMake
View Issue Details
0015133CMakeCMakepublic2014-09-06 21:272016-06-10 14:31
N. Thompson 
Kitware Robot 
normalminorhave not tried
closedmoved 
CYGWIN_NT-6.1Windows 7 Ultimate X64Version 6.1.760
CMake 3.0 
 
0015133: CMake 3.0.1 shows Segmentation Fault after installation under Cygwin64 on Windows7
The CMake 3.0.1 source was downloaded (cmake-3.0.1.tar.gz with LF line endings), compiled and installed following the instructions on the CMake web site. Everything worked normally as the attached log file shows. When CMake was subsequently run to show the version number using cmake -version, a segmentation fault occurred (see log file).
1, Delete all previous remnants of cygwin from system
2. Download and run http://cygwin.com/setup-x86_64.exe [^] to install 64-bit cygwin
3. When asked, selected the option to install everything
4. From cygwin terminal window run "cmake -version" to confirm version is 2.8
5. Download and decompress cmake-3.0.1.tar.gz (version with LF line endings)
6. Run "tar -xzvf cmake-3.0.1.tar.gz" to decompress and extract cmake
7. Change to cmake-3.0.1 directory created by previous step.
8. Run "./configure"
9. Run "make"
10. Run "make install"
11. Reboot system
12. Run "cmake -version" from a cywgin terminal window
13. The segmentation fault will occur
The system is running Windows X64 Ultimate. Since a 64-bit version of cygwin was needed, the 32-bit version of cygwin that was originally installed on this system was removed. All remnants of cygwin were deleted from the system including the directories and desktop icons and start-menu entries. A new 64-bit was installed successfully without any failures. Every application in the cygwin package was installed. After cygwin64 was installed, cmake was run to show the version of cmake that came with the cygwin installer. It ran successfully and showed something like 2.8.11.
No tags attached.
log cmake-3.0.1-cygwin64-failed-install-log-20140906.log (268,637) 2014-09-06 21:27
https://public.kitware.com/Bug/file/5246/cmake-3.0.1-cygwin64-failed-install-log-20140906.log
Issue History
2014-09-06 21:27N. ThompsonNew Issue
2014-09-06 21:27N. ThompsonFile Added: cmake-3.0.1-cygwin64-failed-install-log-20140906.log
2014-09-08 13:08Brad KingNote Added: 0036747
2016-06-10 14:29Kitware RobotNote Added: 0042623
2016-06-10 14:29Kitware RobotStatusnew => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0036747)
Brad King   
2014-09-08 13:08   
I cannot reproduce this. After installation the resulting binary works fine.

I tested with 64-bit cygwin in a fresh virtual machine.

You'll have to debug locally.
(0042623)
Kitware Robot   
2016-06-10 14:29   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.