The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=14790 ====================================================================== Reported By: Jan Rüegg Assigned To: ====================================================================== Project: CMake Issue ID: 14790 Category: CMake Reproducibility: always Severity: crash Priority: normal Status: new ====================================================================== Date Submitted: 2014-03-06 08:52 EST Last Modified: 2014-03-06 08:52 EST ====================================================================== Summary: CMake crashes with XCode generator Description: The following commit makes cmake segfault on our project:
93fc5a53a... Xcode: Fix storyboard view Version 2.8.12 (before this commit) works fine when running cmake. Version 2.8.12.2 (after this commit) segfaults... Steps to Reproduce: Unfortunately I cannot reproduce it with a simple project, there everything works fine. Running it through gdb I get the following output: -- Configuring done -- Generating done Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000030 0x00007fff8a45da26 in std::string::c_str () (gdb) bt http://public.kitware.com/Bug/view.php?id=0 0x00007fff8a45da26 in std::string::c_str () http://public.kitware.com/Bug/view.php?id=1 0x000000010036c7dc in cmXCodeObject::GetString () http://public.kitware.com/Bug/view.php?id=2 0x00000001003583ab in cmGlobalXCodeGenerator::CreateXCodeTargets () http://public.kitware.com/Bug/view.php?id=3 0x00000001003697da in cmGlobalXCodeGenerator::CreateXCodeObjects () http://public.kitware.com/Bug/view.php?id=4 0x0000000100354ae3 in cmGlobalXCodeGenerator::OutputXCodeProject () http://public.kitware.com/Bug/view.php?id=5 0x000000010035378f in cmGlobalXCodeGenerator::Generate () http://public.kitware.com/Bug/view.php?id=6 0x000000010032f305 in cmake::Generate () http://public.kitware.com/Bug/view.php?id=7 0x000000010032cd52 in cmake::Run () http://public.kitware.com/Bug/view.php?id=8 0x0000000100003c0d in do_cmake () http://public.kitware.com/Bug/view.php?id=9 0x00000001000022e3 in main () So it looks to be really related to the commit, that changes something in cmGlobalXCodeGenerator.cxx ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2014-03-06 08:52 Jan Rüegg 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
