[CMake] CPack: seg fault / cygwin / make package_source

Mathieu Malaterre mathieu.malaterre at gmail.com
Wed Mar 12 15:05:57 EDT 2008


Hi,

  I am getting a seg fault with both cmake 2.4.7 /  CMake CVS when
making a cygwin package source.

  To reproduce:

svn co https://gdcm.svn.sourceforge.net/svnroot/gdcm/trunk
mkdir bin
cd bin
cmake ../trunk
make && make package_source

Backtrace is;

$ gdb /home/mmalaterre/Projects/CMake-cyg/bin/cpack.exe
GNU gdb 6.5.50.20060706-cvs (cygwin-special)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...
(gdb) r --config /home/mmalaterre/Projects/gdcm/branches/release-cygwin/CPackS
ourceConfig.cmake
Starting program: /home/mmalaterre/Projects/CMake-cyg/bin/cpack.exe --config /ho
me/mmalaterre/Projects/gdcm/branches/release-cygwin/CPackSourceConfig.cmake
Loaded symbols for /cygdrive/c/WINDOWS/system32/ntdll.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/kernel32.dll
Loaded symbols for /usr/bin/cygwin1.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/advapi32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/rpcrt4.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/secur32.dll
CPack: Create package using CygwinSource
CPack: Install projects
CPack: - Install directory: /home/mmalaterre/Projects/gdcm/branches/gdcm-2-0
CPack: Compress package
      8 [sig] cpack 304 open_stackdumpfile: Dumping stack trace to cpack.exe.sta
ckdump

Program exited with code 0103000.
(gdb) bt
No stack.
(gdb)

Thanks,
-- 
Mathieu


More information about the CMake mailing list