Bug 1960183

Summary: cmake --version produces core file
Product: [Fedora] Fedora Reporter: George R. Goffe <grgoffe>
Component: cmakeAssignee: Björn 'besser82' Esser <besser82>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 35CC: besser82, jreznik, rdieter, trpost, walter.pete
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-13 15:23:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description George R. Goffe 2021-05-13 09:06:11 UTC
Description of problem:cmake --version produces corefile (see backtrace below)


Version-Release number of selected component (if applicable):
cmake-3.20.2-1.fc35.x86_64

How reproducible:
always

Steps to Reproduce:
1.cmake --version
2.
3.

Actual results:


(gdb) where
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
#1  0x00007f8c2c3818a4 in __GI_abort () at abort.c:79
#2  0x000055ed66ec8b28 in std::__replacement_assert (__file=<optimized out>, __line=<optimized out>, 
    __function=<optimized out>, __condition=<optimized out>)
    at /usr/include/c++/11/x86_64-redhat-linux/bits/c++config.h:2654
#3  0x000055ed6728c867 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator[] (
    __pos=<optimized out>, this=<optimized out>, this=<optimized out>, __pos=<optimized out>)
    at /usr/include/c++/11/bits/basic_string.h:1045
#4  cmsys::SystemTools::ConvertToUnixSlashes (path="~ggoffe")
    at /usr/src/debug/cmake-3.20.2-1.fc35.x86_64/Source/kwsys/SystemTools.cxx:1979
#5  0x000055ed6728cae8 in cmsys::SystemTools::GetPath (path=std::vector of length 17, capacity 32 = {...}, 
    env=<optimized out>) at /usr/src/debug/cmake-3.20.2-1.fc35.x86_64/Source/kwsys/SystemTools.cxx:605
#6  0x000055ed67291ce1 in cmsys::SystemTools::FindProgram (name="cmake", userPaths=std::vector of length 0, capacity 0, 
    no_system_path=<optimized out>) at /usr/src/debug/cmake-3.20.2-1.fc35.x86_64/Source/kwsys/SystemTools.cxx:2765
#7  0x000055ed66f8c0d9 in cmsys::SystemTools::FindProgramPath (exeName=0x0, buildDir=0x0, installPrefix=0x0, 
    errorMsg="", pathOut="", argv0=<optimized out>)
    at /usr/src/debug/cmake-3.20.2-1.fc35.x86_64/Source/kwsys/SystemTools.cxx:3123
#8  cmSystemTools::FindCMakeResources (argv0=0x55ed67d11090 "cmake")
    at /usr/src/debug/cmake-3.20.2-1.fc35.x86_64/Source/cmSystemTools.cxx:2158
#9  0x000055ed66eb3eaa in main (ac=2, av=<optimized out>)
    at /usr/src/debug/cmake-3.20.2-1.fc35.x86_64/Source/cmakemain.cxx:944

Expected results:


Additional info:

Comment 1 George R. Goffe 2021-06-03 09:53:06 UTC
Hi,

Is anyone working this issue? 

Thanks,

George...

Comment 2 Björn 'besser82' Esser 2021-07-13 08:54:49 UTC
@grgoffe

Is this still an issue with the recent builds in Rawhide?

Comment 3 George R. Goffe 2021-07-14 06:09:45 UTC
Bjorn,

Thanks for your attention to this bug.

Yes, the bug still exists.

Could it be an environment variable?

Best regards,

George...

Comment 4 Ben Cotton 2021-08-10 13:40:56 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 35 development cycle.
Changing version to 35.

Comment 5 Ben Cotton 2022-11-29 16:57:04 UTC
This message is a reminder that Fedora Linux 35 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 35 on 2022-12-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '35'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 35 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 6 George R. Goffe 2022-11-29 22:22:53 UTC
Ben/Bjorn,

The problem still exists in FC38.

George...

Comment 7 Ben Cotton 2022-12-13 15:23:03 UTC
Fedora Linux 35 entered end-of-life (EOL) status on 2022-12-13.

Fedora Linux 35 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.