[cmake-developers] [CMake 0015020]: Segmentation Fault after writing build files
Mantis Bug Tracker
mantis at public.kitware.com
Mon Jul 14 10:47:07 EDT 2014
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=15020
======================================================================
Reported By: k0n3ru
Assigned To:
======================================================================
Project: CMake
Issue ID: 15020
Category: CMake
Reproducibility: always
Severity: crash
Priority: normal
Status: new
======================================================================
Date Submitted: 2014-07-14 10:47 EDT
Last Modified: 2014-07-14 10:47 EDT
======================================================================
Summary: Segmentation Fault after writing build files
Description:
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff774117f in std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::~basic_string() () from /usr/lib64/libstdc++.so.6
(gdb) bt
http://www.cmake.org/Bug/view.php?id=0 0x00007ffff774117f in
std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::~basic_string() () from /usr/lib64/libstdc++.so.6
http://www.cmake.org/Bug/view.php?id=1 0x00000000005f9efa in
cmListFileContext::~cmListFileContext() ()
http://www.cmake.org/Bug/view.php?id=2 0x00000000005f9f55 in void
std::_Destroy<cmListFileContext>(cmListFileContext*) ()
http://www.cmake.org/Bug/view.php?id=3 0x00000000005f9f72 in void
std::_Destroy<cmListFileContext*>(cmListFileContext*, cmListFileContext*) ()
http://www.cmake.org/Bug/view.php?id=4 0x00000000005f9fa4 in void
std::_Destroy<cmListFileContext*, cmListFileContext>(cmListFileContext*,
cmListFileContext*, std::allocator<cmListFileContext>&) ()
http://www.cmake.org/Bug/view.php?id=5 0x0000000000600813 in
std::vector<cmListFileContext, std::allocator<cmListFileContext> >::~vector() ()
http://www.cmake.org/Bug/view.php?id=6 0x000000000060086f in
cmListFileBacktrace::~cmListFileBacktrace() ()
http://www.cmake.org/Bug/view.php?id=7 0x000000000070b98b in
cmCustomCommand::~cmCustomCommand() ()
http://www.cmake.org/Bug/view.php?id=8 0x000000000060a075 in void
std::_Destroy<cmCustomCommand>(cmCustomCommand*) ()
http://www.cmake.org/Bug/view.php?id=9 0x000000000060a092 in void
std::_Destroy<cmCustomCommand*>(cmCustomCommand*, cmCustomCommand*) ()
http://www.cmake.org/Bug/view.php?id=10 0x000000000060a0c7 in void
std::_Destroy<cmCustomCommand*, cmCustomCommand>(cmCustomCommand*,
cmCustomCommand*, std::allocator<cmCustomCommand>&) ()
http://www.cmake.org/Bug/view.php?id=11 0x000000000060a0f9 in
std::vector<cmCustomCommand, std::allocator<cmCustomCommand> >::~vector() ()
http://www.cmake.org/Bug/view.php?id=12 0x000000000060a697 in
cmTarget::~cmTarget() ()
http://www.cmake.org/Bug/view.php?id=13 0x000000000060a894 in
std::pair<cmsys::String const, cmTarget>::~pair() ()
http://www.cmake.org/Bug/view.php?id=14 0x000000000060a903 in
__gnu_cxx::new_allocator<std::pair<cmsys::String const, cmTarget>
>::destroy(std::pair<cmsys::String const, cmTarget>*) ()
http://www.cmake.org/Bug/view.php?id=15 0x000000000060a93a in
std::_Rb_tree<cmsys::String, std::pair<cmsys::String const, cmTarget>,
std::_Select1st<std::pair<cmsys::String const, cmTarget> >,
std::less<cmsys::String>, std::allocator<std::pair<cmsys::String const,
cmTarget> > >::_M_destroy_node(std::_Rb_tree_node<std::pair<cmsys::String const,
cmTarget> >*) ()
http://www.cmake.org/Bug/view.php?id=16 0x000000000060a9bf in
std::_Rb_tree<cmsys::String, std::pair<cmsys::String const, cmTarget>,
std::_Select1st<std::pair<cmsys::String const, cmTarget> >,
std::less<cmsys::String>, std::allocator<std::pair<cmsys::String const,
cmTarget> > >::_M_erase(std::_Rb_tree_node<std::pair<cmsys::String const,
cmTarget> >*) ()
http://www.cmake.org/Bug/view.php?id=17 0x000000000060a9a5 in
std::_Rb_tree<cmsys::String, std::pair<cmsys::String const, cmTarget>,
std::_Select1st<std::pair<cmsys::String const, cmTarget> >,
std::less<cmsys::String>, std::allocator<std::pair<cmsys::String const,
cmTarget> > >::_M_erase(std::_Rb_tree_node<std::pair<cmsys::String const,
cmTarget> >*) ()
http://www.cmake.org/Bug/view.php?id=18 0x000000000060a9a5 in
std::_Rb_tree<cmsys::String, std::pair<cmsys::String const, cmTarget>,
std::_Select1st<std::pair<cmsys::String const, cmTarget> >,
std::less<cmsys::String>, std::allocator<std::pair<cmsys::String const,
cmTarget> > >::_M_erase(std::_Rb_tree_node<std::pair<cmsys::String const,
cmTarget> >*) ()
http://www.cmake.org/Bug/view.php?id=19 0x000000000060a9a5 in
std::_Rb_tree<cmsys::String, std::pair<cmsys::String const, cmTarget>,
std::_Select1st<std::pair<cmsys::String const, cmTarget> >,
std::less<cmsys::String>, std::allocator<std::pair<cmsys::String const,
cmTarget> > >::_M_erase(std::_Rb_tree_node<std::pair<cmsys::String const,
cmTarget> >*) ()
http://www.cmake.org/Bug/view.php?id=20 0x000000000060a9a5 in
std::_Rb_tree<cmsys::String, std::pair<cmsys::String const, cmTarget>,
std::_Select1st<std::pair<cmsys::String const, cmTarget> >,
std::less<cmsys::String>, std::allocator<std::pair<cmsys::String const,
cmTarget> > >::_M_erase(std::_Rb_tree_node<std::pair<cmsys::String const,
cmTarget> >*) ()
http://www.cmake.org/Bug/view.php?id=21 0x000000000060a9a5 in
std::_Rb_tree<cmsys::String, std::pair<cmsys::String const, cmTarget>,
std::_Select1st<std::pair<cmsys::String const, cmTarget> >,
std::less<cmsys::String>, std::allocator<std::pair<cmsys::String const,
cmTarget> > >::_M_erase(std::_Rb_tree_node<std::pair<cmsys::String const,
cmTarget> >*) ()
http://www.cmake.org/Bug/view.php?id=22 0x000000000060a9f4 in
std::_Rb_tree<cmsys::String, std::pair<cmsys::String const, cmTarget>,
std::_Select1st<std::pair<cmsys::String const, cmTarget> >,
std::less<cmsys::String>, std::allocator<std::pair<cmsys::String const,
cmTarget> > >::~_Rb_tree() ()
http://www.cmake.org/Bug/view.php?id=23 0x000000000060aa4f in
std::map<cmsys::String, cmTarget, std::less<cmsys::String>,
std::allocator<std::pair<cmsys::String const, cmTarget> > >::~map() ()
http://www.cmake.org/Bug/view.php?id=24 0x00000000005ebc27 in
cmMakefile::~cmMakefile() ()
http://www.cmake.org/Bug/view.php?id=25 0x000000000078760a in
cmLocalGenerator::~cmLocalGenerator() ()
http://www.cmake.org/Bug/view.php?id=26 0x00000000007948db in
cmLocalUnixMakefileGenerator3::~cmLocalUnixMakefileGenerator3() ()
http://www.cmake.org/Bug/view.php?id=27 0x0000000000743a70 in
cmGlobalGenerator::~cmGlobalGenerator() ()
http://www.cmake.org/Bug/view.php?id=28 0x000000000076485d in
cmGlobalUnixMakefileGenerator3::~cmGlobalUnixMakefileGenerator3() ()
http://www.cmake.org/Bug/view.php?id=29 0x000000000065d9c0 in cmake::~cmake() ()
http://www.cmake.org/Bug/view.php?id=30 0x00000000005b2194 in do_cmake(int,
char**) ()
http://www.cmake.org/Bug/view.php?id=31 0x00000000005b2297 in main ()
Additional Information:
This backtrace was generated from gdb. I have tried with CMake version 2.8.12.1
and this problem does not appear.
Seems all the files have been generated.I was able to build entire project
successfully with the generated MakeFile.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2014-07-14 10:47 k0n3ru New Issue
======================================================================
More information about the cmake-developers
mailing list