View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007101CMakeCMakepublic2008-05-26 15:152008-05-27 11:19
Reportertroy d. straszheim 
Assigned ToBrad King 
PrioritynormalSeveritycrashReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in Version 
Summary0007101: [boost] segfault when install(EXPORT ...) present
DescriptionTo reproduce:

svn co -r 45781 https://svn.boost.org/svn/boost/branches/CMake/release [^] src
mkdir build
cd build
cmake ../src
ccmake .
[disable BUILD_MULTI_THREADED and BUILD_SHARED]
'c' to configure (ok)
'g' to generate (segfault)
you can then 'make rebuild_cache' w/o crash
Additional Information- Look for 'install(EXPORT' in toplevel CMakeLists.txt. Comment that out to
toggle the crash, see this commit:

   http://svn.boost.org/trac/boost/changeset/45782 [^]

- Other users see different symptoms:

    http://lists.boost.org/boost-cmake/2008/05/0043.php [^]
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0012116)
Brad King (manager)
2008-05-27 11:19

The internal representation of target export sets was not getting cleared at the start of each Configure step. Only in ccmake is more than one configure with the same global generator possible which is why it works from the command line tool.

/cvsroot/CMake/CMake/Source/cmGlobalGenerator.cxx,v <-- Source/cmGlobalGenerator.cxx
new revision: 1.230; previous revision: 1.229
/cvsroot/CMake/CMake/Source/cmGlobalGenerator.h,v <-- Source/cmGlobalGenerator.h
new revision: 1.109; previous revision: 1.108
(0012117)
Brad King (manager)
2008-05-27 11:19

We'll include this fix in the next 2.6 release. Thanks for the detailed instructions to reproduce it.

 Issue History
Date Modified Username Field Change
2008-05-26 15:15 troy d. straszheim New Issue
2008-05-26 15:37 Bill Hoffman Status new => assigned
2008-05-26 15:37 Bill Hoffman Assigned To => Brad King
2008-05-27 11:19 Brad King Note Added: 0012116
2008-05-27 11:19 Brad King Status assigned => closed
2008-05-27 11:19 Brad King Note Added: 0012117
2008-05-27 11:19 Brad King Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team