[vtk-developers] CMake Segfaults while configuring VTK

Kevin H. Hobbs hobbsk at ohio.edu
Wed Aug 5 08:27:57 EDT 2015


Stephen,

My VTK Dashboard builds use CMake from my CMake dashboard build.

The hosts are bubbles and murron.

On the Aug. 2 the VTK builds on both hosts began segfaulting at
the configure step.

You had a large commit to CMake that showed up on that dashboard
cycle.

I switched my cmake build type from Release to Debug and ran in gdb.

I get this at the end of :

gdb) run ../VTK

< KHH what looks like regular output >

-- Check size of long long - done
Detaching after fork from child process 2061.
Detaching after fork from child process 2062.
Detaching after fork from child process 2063.
< KHH more lines like this >
Detaching after fork from child process 2085.
-- Configuring done

Program received signal SIGSEGV, Segmentation fault.
0x00000000007e8184 in cmTarget::GetMakefile (this=0x0)
    at /home/kevin/kitware/CMake/Source/cmTarget.h:134
134       cmMakefile *GetMakefile() const { return this->Makefile;}
(gdb) bt
#0  0x00000000007e8184 in cmTarget::GetMakefile (this=0x0)
    at /home/kevin/kitware/CMake/Source/cmTarget.h:134
#1  0x00000000009cf1f9 in
cmComputeLinkInformation::AddSharedDepItem (this=0x799a800,
    item="/usr/lib64/libGL.so", tgt=0x0)
    at
/home/kevin/kitware/CMake/Source/cmComputeLinkInformation.cxx:767
#2  0x00000000009ce253 in cmComputeLinkInformation::Compute
(this=0x799a800)
    at
/home/kevin/kitware/CMake/Source/cmComputeLinkInformation.cxx:511
#3  0x0000000000a467d2 in cmGeneratorTarget::GetLinkInformation
(this=0x728fa30, config="")
    at /home/kevin/kitware/CMake/Source/cmGeneratorTarget.cxx:3268
#4  0x00000000009f576c in getCompatibleInterfaceProperties
(target=0x728fa30,
    ifaceProperties=std::set with 0 elements, config="")
    at /home/kevin/kitware/CMake/Source/cmExportFileGenerator.cxx:532
#5  0x00000000009f5f20 in
cmExportFileGenerator::PopulateCompatibleInterfaceProperties (
    this=0x674e430, gtarget=0x728fa30, properties=std::map with 1
elements = {...})
    at /home/kevin/kitware/CMake/Source/cmExportFileGenerator.cxx:595
#6  0x0000000000adce2c in
cmExportInstallFileGenerator::GenerateMainFile (this=0x674e430,
os=...)
    at
/home/kevin/kitware/CMake/Source/cmExportInstallFileGenerator.cxx:200
#7  0x00000000009f34ae in
cmExportFileGenerator::GenerateImportFile (this=0x674e430)
    at /home/kevin/kitware/CMake/Source/cmExportFileGenerator.cxx:126
#8  0x0000000000a6ce03 in
cmInstallExportGenerator::GenerateScript (this=0x13617d0, os=...)
    at
/home/kevin/kitware/CMake/Source/cmInstallExportGenerator.cxx:164
#9  0x000000000087bf43 in cmScriptGenerator::Generate
(this=0x13617d0, os=..., config="Debug",
    configurationTypes=std::vector of length 0, capacity 0)
    at /home/kevin/kitware/CMake/Source/cmScriptGenerator.cxx:42
#10 0x00000000008180dc in cmLocalGenerator::GenerateInstallRules
(this=0x102ec70)
    at /home/kevin/kitware/CMake/Source/cmLocalGenerator.cxx:411
#11 0x00000000007dd66f in cmGlobalGenerator::Generate
(this=0x102de90)
    at /home/kevin/kitware/CMake/Source/cmGlobalGenerator.cxx:1357
#12 0x0000000000a5da64 in
cmGlobalUnixMakefileGenerator3::Generate (this=0x102de90)
    at
/home/kevin/kitware/CMake/Source/cmGlobalUnixMakefileGenerator3.cxx:140
#13 0x00000000008e02a5 in cmake::Generate (this=0x7fffffffd800)
    at /home/kevin/kitware/CMake/Source/cmake.cxx:1771
#14 0x00000000008e00ec in cmake::Run (this=0x7fffffffd800,
    args=std::vector of length 2, capacity 2 = {...},
noconfigure=false)
    at /home/kevin/kitware/CMake/Source/cmake.cxx:1754
#15 0x00000000007ac620 in do_cmake (ac=2, av=0x1020cc0)
    at /home/kevin/kitware/CMake/Source/cmakemain.cxx:330
#16 0x00000000007abbd5 in main (ac=2, av=0x1020cc0)
    at /home/kevin/kitware/CMake/Source/cmakemain.cxx:190

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20150805/17c6c8c5/attachment.sig>


More information about the vtk-developers mailing list