The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13178 
====================================================================== 
Reported By:                cjd
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13178
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-05-01 03:51 EDT
Last Modified:              2012-05-01 03:51 EDT
====================================================================== 
Summary:                    Segfault, always reproducible but no idea why.
Description: 
user@debo8:~/wrk/play/mygit/nacl/build$ gdb cmake -ex 'r ..'
GNU gdb (GDB) 7.3-debian
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/bin/cmake...done.
Starting program: /usr/local/bin/cmake ..
-- Loaded CMakeASM-ATTInformation - ASM-ATT support is still experimental,
please report issues
crypto_verify --- 32 --- ref
crypto_verify --- 16 --- ref
crypto_core --- hsalsa20 --- ref2
crypto_core --- hsalsa20 --- ref
crypto_core --- salsa208 --- ref
crypto_core --- salsa20 --- ref
crypto_core --- salsa2012 --- ref
crypto_hashblocks --- sha256 --- inplace
crypto_hashblocks --- sha256 --- ref
crypto_hashblocks --- sha512 --- inplace
crypto_hashblocks --- sha512 --- ref
crypto_hash --- sha256 --- ref
crypto_hash --- sha512 --- ref
crypto_stream --- salsa208 --- x86_xmm5
crypto_stream --- salsa208 --- ref
crypto_stream --- salsa208 --- amd64_xmm6
crypto_stream --- salsa20 --- x86_xmm5
crypto_stream --- salsa20 --- ref
crypto_stream --- salsa20 --- amd64_xmm6
crypto_stream --- aes128ctr --- portable
crypto_stream --- aes128ctr --- core2
crypto_stream --- salsa2012 --- x86_xmm5
crypto_stream --- salsa2012 --- ref
crypto_stream --- salsa2012 --- amd64_xmm6
crypto_stream --- xsalsa20 --- ref
crypto_onetimeauth --- poly1305 --- amd64
crypto_onetimeauth --- poly1305 --- x86
crypto_onetimeauth --- poly1305 --- 53
crypto_onetimeauth --- poly1305 --- ref
crypto_auth --- hmacsha512256 --- ref
crypto_auth --- hmacsha256 --- ref
crypto_secretbox --- xsalsa20poly1305 --- ref
crypto_scalarmult --- curve25519 --- donna_c64
crypto_scalarmult --- curve25519 --- ref
crypto_scalarmult --- curve25519 --- athlon
crypto_box --- curve25519xsalsa20poly1305 --- ref
crypto_sign --- edwards25519sha512batch --- ref
-- Tests to run for nacl/tests
    stream_test
    core6_test
    core3_test
    scalarmult_test
    stream3_test
    stream2_test
    core1_test_hsalsa20
    core1_test_salsa208
    core1_test_salsa20
    core1_test_salsa2012
    hash3_test
    auth3_test_hmacsha512256
    auth3_test_hmacsha256
    box8_test_curve25519xsalsa20poly1305
    secretbox2_test
    box_test
    onetimeauth_test
    scalarmult6_test
    auth5_test_hmacsha512256
    auth5_test_hmacsha256
    auth_test_hmacsha512256
    auth_test_hmacsha256
    scalarmult2_test
    secretbox7_test_xsalsa20poly1305
    secretbox_test
    onetimeauth2_test
    box2_test
    hash_test
    scalarmult5_test
    auth2_test_hmacsha512256
    auth2_test_hmacsha256
    core5_test_hsalsa20
    core5_test_salsa208
    core5_test_salsa20
    core5_test_salsa2012
    onetimeauth7_test
    box7_test_curve25519xsalsa20poly1305
    secretbox8_test_xsalsa20poly1305
    core4_test
    core2_test_hsalsa20
    core2_test_salsa208
    core2_test_salsa20
    core2_test_salsa2012
    stream4_test

-- Configuring done

Program received signal SIGSEGV, Segmentation fault.
0x00000000005e91c0 in cmTarget::IsImported() const ()
(gdb) backtrace
http://public.kitware.com/Bug/view.php?id=0  0x00000000005e91c0 in
cmTarget::IsImported() const ()
http://public.kitware.com/Bug/view.php?id=1  0x00000000007ca8f8 in
cmComputeTargetDepends::AddTargetDepend(int, cmTarget*, bool) ()
http://public.kitware.com/Bug/view.php?id=2  0x00000000007ca969 in
cmComputeTargetDepends::AddTargetDepend(int, cmTarget*, bool) ()
http://public.kitware.com/Bug/view.php?id=3  0x00000000007cab1c in
cmComputeTargetDepends::AddTargetDepend(int, char const*, bool) ()
http://public.kitware.com/Bug/view.php?id=4  0x00000000007cacb7 in
cmComputeTargetDepends::CollectTargetDepends(int) ()
http://public.kitware.com/Bug/view.php?id=5  0x00000000007cafa1 in
cmComputeTargetDepends::CollectDepends() ()
http://public.kitware.com/Bug/view.php?id=6  0x00000000007cb0e5 in
cmComputeTargetDepends::Compute() ()
http://public.kitware.com/Bug/view.php?id=7  0x000000000073fd7a in
cmGlobalGenerator::ComputeTargetDepends() ()
http://public.kitware.com/Bug/view.php?id=8  0x00000000007400e0 in
cmGlobalGenerator::Generate() ()
http://public.kitware.com/Bug/view.php?id=9  0x00000000007583dd in
cmGlobalUnixMakefileGenerator3::Generate() ()
http://public.kitware.com/Bug/view.php?id=10 0x000000000064da93 in
cmake::Generate() ()
http://public.kitware.com/Bug/view.php?id=11 0x000000000065affc in
cmake::Run(std::vector<std::string, std::allocator<std::string> > const&, bool)
()
http://public.kitware.com/Bug/view.php?id=12 0x00000000005add8c in do_cmake(int,
char**) ()
http://public.kitware.com/Bug/view.php?id=13 0x00000000005ae0d9 in main ()
(gdb) 


Steps to Reproduce: 
git clone git://github.com/cjdelisle/nacl.git
cd nacl
git checkout nacl-fault
mkdir build
cd build
cmake ..

Additional Information: 
Sorry this is about the worst imaginable test case.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-05-01 03:51 cjd            New Issue                                    
======================================================================

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to