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:
Hi, Is anyone working this issue? Thanks, George...
@grgoffe Is this still an issue with the recent builds in Rawhide?
Bjorn, Thanks for your attention to this bug. Yes, the bug still exists. Could it be an environment variable? Best regards, George...
This bug appears to have been reported against 'rawhide' during the Fedora 35 development cycle. Changing version to 35.
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.
Ben/Bjorn, The problem still exists in FC38. George...
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.