View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007392CMakeCMakepublic2008-07-22 16:332008-08-04 09:39
ReporterMarcelo Fontenele S Santos 
Assigned ToBrad King 
PrioritynormalSeveritycrashReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in Version 
Summary0007392: make install core dumps if previous installation is of a different kind
DescriptionOn linux (centos3 and centos5):

I had a previously installed python script in the bin dir.
When I did a make install of an application (ELF) with the same name as the existing python script, cmake crashed (core dump, make Error 139).
I expected cmake to overwrite the existing python script with my application.

After I removed the python script from the bin dir I was able to make install.
Additional InformationCore dump:

#0 0x082adbb0 in cmELFInternal::GetFileType ()
#1 0x082aa116 in cmELF::GetRPath ()
0000002 0x081d8655 in cmSystemTools::CheckRPath ()
0000003 0x0822ee49 in cmFileCommand::HandleRPathCheckCommand ()
0000004 0x08228c02 in cmFileCommand::InitialPass ()
0000005 0x0826d71e in cmCommand::InvokeInitialPass ()
0000006 0x0819ebc0 in cmMakefile::ExecuteCommand ()
0000007 0x08241ca0 in cmIfFunctionBlocker::IsFunctionBlocked ()
0000008 0x081a64fc in cmMakefile::IsFunctionBlocked ()
#9 0x0819ea7d in cmMakefile::ExecuteCommand ()
0000010 0x08241ca0 in cmIfFunctionBlocker::IsFunctionBlocked ()
#11 0x081a64fc in cmMakefile::IsFunctionBlocked ()
0000012 0x0819ea7d in cmMakefile::ExecuteCommand ()
0000013 0x08241ca0 in cmIfFunctionBlocker::IsFunctionBlocked ()
0000014 0x081a64fc in cmMakefile::IsFunctionBlocked ()
0000015 0x0819ea7d in cmMakefile::ExecuteCommand ()
0000016 0x0819f7f7 in cmMakefile::ReadListFile ()
0000017 0x08244762 in cmIncludeCommand::InitialPass ()
0000018 0x0826d71e in cmCommand::InvokeInitialPass ()
0000019 0x0819ebc0 in cmMakefile::ExecuteCommand ()
0000020 0x08241ca0 in cmIfFunctionBlocker::IsFunctionBlocked ()
0000021 0x081a64fc in cmMakefile::IsFunctionBlocked ()
0000022 0x0819ea7d in cmMakefile::ExecuteCommand ()
0000023 0x0819f7f7 in cmMakefile::ReadListFile ()
0000024 0x081f5b2d in cmake::ReadListFile ()
0000025 0x081f57bf in cmake::SetCacheArgs ()
0000026 0x081fd512 in cmake::Run ()
0000027 0x08178ecb in do_cmake ()
0000028 0x08177d3d in main ()
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0012928)
Brad King (manager)
2008-08-04 09:39

Fixed:

/cvsroot/CMake/CMake/Source/cmELF.cxx,v <-- Source/cmELF.cxx
new revision: 1.13; previous revision: 1.12

There was a dumb mistake with operator precedence in the if-condition that is supposed to short-circuit when the file is not a valid ELF file.
(0012929)
Brad King (manager)
2008-08-04 09:39

We'll include this fix in 2.6.2.

 Issue History
Date Modified Username Field Change
2008-07-22 16:33 Marcelo Fontenele S Santos New Issue
2008-08-04 09:39 Brad King Note Added: 0012928
2008-08-04 09:39 Brad King Note Added: 0012929
2008-08-04 09:39 Brad King Status new => assigned
2008-08-04 09:39 Brad King Assigned To => Brad King
2008-08-04 09:39 Brad King Status assigned => closed
2008-08-04 09:39 Brad King Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team