View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001021CMakepublic2004-07-31 11:302004-08-03 16:29
ReporterMathieu Malaterre 
Assigned ToBill Hoffman 
PrioritylowSeveritymajorReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001021: Segfault configuring VTK with icc8
Descriptioncmake is seg faulting while configuring VTK with TCL_WRAP ON

Here is the backtrace:
Program received signal SIGSEGV, Segmentation fault.
0x005c42d5 in _ZNSt6_WinitC9Ev () from /opt/intel_cc_80/lib/libcprts.so.5
(gdb) bt
#0 0x005c42d5 in _ZNSt6_WinitC9Ev () from /opt/intel_cc_80/lib/libcprts.so.5
#1 0x005c532b in __sti__$E () from /opt/intel_cc_80/lib/libcprts.so.5
0000002 0x005eecdb in __icrt_do_global_construction () from /opt/intel_cc_80/lib/libcprts.so.5
0000003 0x005eed04 in __icrt_init () from /opt/intel_cc_80/lib/libcprts.so.5
0000004 0x005a9702 in _init () from /opt/intel_cc_80/lib/libcprts.so.5
0000005 0x0074f9f1 in _dl_init_internal () from /lib/ld-linux.so.2
0000006 0x008686d2 in dl_open_worker () from /lib/tls/libc.so.6
0000007 0x0074f796 in _dl_catch_error_internal () from /lib/ld-linux.so.2
0000008 0x00868139 in _dl_open () from /lib/tls/libc.so.6
#9 0x008bafeb in dlopen_doit () from /lib/libdl.so.2
0000010 0x0074f796 in _dl_catch_error_internal () from /lib/ld-linux.so.2
#11 0x008bb446 in _dlerror_run () from /lib/libdl.so.2
0000012 0x008baf94 in dlopen@@GLIBC_2.1 () from /lib/libdl.so.2
0000013 0x080f7313 in cmDynamicLoader::OpenLibrary(char const*) (libname=0x99ab4e4 "/home/kitware/VTK-icc8/CMake/libcmVTK_WRAP_TCL2.so")
    at /home/kitware/CMake/Source/cmDynamicLoader.cxx:305
0000014 0x0812ac70 in cmLoadCommandCommand::InitialPass(std::vector<std::string, std::allocator<std::string> > const&) (this=0x9974d90, args=@0xbfed9a50)
    at cmLoadCommandCommand.cxx:258
0000015 0x08130a82 in cmCommand::InvokeInitialPass(std::vector<cmListFileArgument, std::allocator<cmListFileArgument> > const&) (this=0x9974d90,
    args=@0xbfed9d34) at cmCommand.h:62
0000016 0x080d12de in cmMakefile::ExecuteCommand(cmListFileFunction const&) (this=0x9931e08, lff=@0xbfed9d30) at /home/kitware/CMake/Source/cmMakefile.cxx:241
0000017 0x0810b785 in cmMacroFunctionBlocker::IsFunctionBlocked(cmListFileFunction const&, cmMakefile&) (this=0x99747a8, lff=@0xbfeda1e0, mf=@0x9931e08)
    at cmMacroCommand.cxx:178
0000018 0x080d7f2c in cmMakefile::IsFunctionBlocked(cmListFileFunction const&) (this=0x9931e08, lff=@0xbfeda1e0)
    at /home/kitware/CMake/Source/cmMakefile.cxx:1679
0000019 0x080d0fde in cmMakefile::ExecuteCommand(cmListFileFunction const&) (this=0x9931e08, lff=@0xbfeda1e0) at /home/kitware/CMake/Source/cmMakefile.cxx:202
0000020 0x0810b785 in cmMacroFunctionBlocker::IsFunctionBlocked(cmListFileFunction const&, cmMakefile&) (this=0x9974ca8, lff=@0x99465d8, mf=@0x9931e08)
    at cmMacroCommand.cxx:178
0000021 0x080d7f2c in cmMakefile::IsFunctionBlocked(cmListFileFunction const&) (this=0x9931e08, lff=@0x99465d8)
    at /home/kitware/CMake/Source/cmMakefile.cxx:1679
0000022 0x080d0fde in cmMakefile::ExecuteCommand(cmListFileFunction const&) (this=0x9931e08, lff=@0x99465d8) at /home/kitware/CMake/Source/cmMakefile.cxx:202
0000023 0x080d2177 in cmMakefile::ReadListFile(char const*, char const*) (this=0x9931e08, filename_in=0x9944bfc "/home/kitware/VTK/CMakeLists.txt",
    external_in=0x0) at /home/kitware/CMake/Source/cmMakefile.cxx:422
0000024 0x0815867d in cmLocalGenerator::Configure() (this=0x9934be8) at /home/kitware/CMake/Source/cmLocalGenerator.cxx:48
0000025 0x08155dff in cmGlobalGenerator::RecursiveConfigure(cmLocalGenerator*, float, float) (this=0x9934bb8, lg=0x9934be8, startProgress=0,
    endProgress=0.899999976) at /home/kitware/CMake/Source/cmGlobalGenerator.cxx:381
0000026 0x08155754 in cmGlobalGenerator::Configure() (this=0x9934bb8) at /home/kitware/CMake/Source/cmGlobalGenerator.cxx:303
0000027 0x080c4ac3 in cmake::Configure() (this=0xbfedaaa0) at /home/kitware/CMake/Source/cmake.cxx:1115
0000028 0x080c5139 in cmake::Run(std::vector<std::string, std::allocator<std::string> > const&, bool) (this=0xbfedaaa0, args=@0xbfedaa70, noconfigure=false)
    at /home/kitware/CMake/Source/cmake.cxx:1244
0000029 0x080bd1e2 in do_cmake(int, char**) (ac=2, av=0xbfedac54) at /home/kitware/CMake/Source/cmakemain.cxx:230
0000030 0x080bc723 in main (ac=2, av=0xbfedac54) at /home/kitware/CMake/Source/cmakemain.cxx:108
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0001322)
Mathieu Malaterre (developer)
2004-07-31 20:09

As suggested by Andy, building cmake with icc does the trick.
(0001330)
Bill Hoffman (manager)
2004-08-03 13:42

This seems to work with icc 7-1. Where is the machine
with icc 8.0? Also, did you use the cmake binary?
(0001331)
Bill Hoffman (manager)
2004-08-03 15:34

Looks like this is an icc install issue:

http://softwareforums.intel.com/ids/board/message?board.id=16&message.id=1767 [^]

It seems that when you installed icc, it could not find a working
gcc, so it defaulted to some strange runtime libraries which are causing
the trouble. The above error is the same one we are seeing.
(0001332)
Bill Hoffman (manager)
2004-08-03 16:29

I tried this on zorglub and if I built with -nostdlibs it worked, so I suspect the installation of icc is bad on zorglub. Perhaps Brad can help you re-install it.

-Bill

 Issue History
Date Modified Username Field Change


Copyright © 2000 - 2018 MantisBT Team