MantisBT - CMake
View Issue Details
0014295CMakeCMakepublic2013-07-16 11:162014-06-02 08:37
milk 
Stephen Kelly 
normalcrashsometimes
closedno change required 
x86_64RHEL6.4
CMake 2.8.11.1 
 
0014295: CMake segfaults during compilation
CMake segfaults during compilation of our project.
Compilation is done with several threads (-j8).
We compile cmake inside our own toolchain with GCC 4.8.1

===
backtrace:

Core was generated by `/sandbox/toolchain/bin/cmake -E cmake_link_script CMakeFiles/load'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f9bcb33821b in check_match.12444 () from /lib64/ld-linux-x86-64.so.2
(gdb) bt
#0 0x00007f9bcb33821b in check_match.12444 () from /lib64/ld-linux-x86-64.so.2
#1 0x00007f9bcb338a7a in do_lookup_x () from /lib64/ld-linux-x86-64.so.2
0000002 0x00007f9bcb338e4a in _dl_lookup_symbol_x () from /lib64/ld-linux-x86-64.so.2
0000003 0x00007f9bcb33cfe0 in _dl_fixup () from /lib64/ld-linux-x86-64.so.2
0000004 0x00007f9bcb343715 in _dl_runtime_resolve () from /lib64/ld-linux-x86-64.so.2
0000005 0x000000000094e7ca in kwsysProcessesSignalHandler (signum=17, info=0x7fff27df4970, ucontext=0x7fff27df4840)
    at /sandbox/cmake-git/Source/kwsys/ProcessUNIX.c:2739
0000006 <signal handler called>
0000007 0x00007f9bca6a34d3 in __select_nocancel () from /lib64/libc.so.6
0000008 0x000000000094bece in kwsysProcessWaitForPipe (cp=0x1cf1050, data=0x0, length=0x0, wd=0x7fff27df4ed0)
    at /sandbox/cmake-git/Source/kwsys/ProcessUNIX.c:1159
#9 0x000000000094b9f4 in cmsysProcess_WaitForData (cp=0x1cf1050, data=0x0, length=0x0, userTimeout=0x0)
    at /sandbox/cmake-git/Source/kwsys/ProcessUNIX.c:995
0000010 0x000000000094bfc9 in cmsysProcess_WaitForExit (cp=0x1cf1050, userTimeout=0x0)
    at /sandbox/cmake-git/Source/kwsys/ProcessUNIX.c:1289
#11 0x000000000078075e in cmake::ExecuteLinkScript (args=...) at /sandbox/cmake-git/Source/cmake.cxx:3378
0000012 0x000000000077a61c in cmake::ExecuteCMakeCommand (args=...) at /sandbox/cmake-git/Source/cmake.cxx:1689
0000013 0x00000000006c4d0d in do_cmake (ac=5, av=0x7fff27df5c48) at /sandbox/cmake-git/Source/cmakemain.cxx:508
0000014 0x00000000006c4145 in main (ac=5, av=0x7fff27df5c48) at /sandbox/cmake-git/Source/cmakemain.cxx:338
No tags attached.
Issue History
2013-07-16 11:16milkNew Issue
2013-07-16 11:34Bill HoffmanNote Added: 0033557
2013-07-25 05:06milkNote Added: 0033600
2013-11-02 09:07Stephen KellyStatusnew => resolved
2013-11-02 09:07Stephen KellyResolutionopen => no change required
2013-11-02 09:07Stephen KellyAssigned To => Stephen Kelly
2014-06-02 08:37Robert MaynardNote Added: 0035979
2014-06-02 08:37Robert MaynardStatusresolved => closed

Notes
(0033557)
Bill Hoffman   
2013-07-16 11:34   
Can you try the binaries from cmake.org? Looks like it is crashing in the dynamic loading code. What is cmake linked to? ldd cmake?
(0033600)
milk   
2013-07-25 05:06   
Sorry, our issue. Binaries from cmake.org works perfectly.
(0035979)
Robert Maynard   
2014-06-02 08:37   
Closing resolved issues that have not been updated in more than 4 months.