Bug 2181826
Summary: | hardlink segfaults in strlen() on armv7 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dan Horák <dan> |
Component: | util-linux | Assignee: | Karel Zak <kzak> |
Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 36 | CC: | aoliva, arjun.is, codonell, dj, fweimer, jlaw, kzak, mcermak, mcoufal, mfabian, pbrobinson, pfrankli, sipoyare, skolosov |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | armv7hl | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-05-25 17:23:07 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: | |||
Bug Depends On: | |||
Bug Blocks: | 245418 |
Description
Dan Horák
2023-03-26 10:50:54 UTC
May you please reach out to the Fedora Arm community and discuss the issue? This is not likely a glibc issue but possibly a toolchain issue. Note that __fmt is 0x0 in the call chain and it fails, so this does seem like a toolchain issue. I'm going to switch to util-linux to ask them if they've seen this reported before. Karel, Have you seen this before for armv7? Based on the feedback on the arm mailing list I believe we can confirm there is an issue on F-36, but not in F-35. The hardlink binary from F-35 runs well (no crash) on F-36, which I think rules out glibc. The F 35->36 transition also means gcc 11->12 transition, so there could be a compiler issue in gcc 12. I have never seen it before. The problematic code (in hardlink.c) is: jlog(JLOG_VERBOSE2, " %5zu: [%" PRIu64 "/%" PRIu64 "/%zu] %s", stats.files, sb->st_dev, sb->st_ino, (size_t) sb->st_nlink, fpath); And jlog() is implemented as: va_start(args, format); vfprintf(stdout, format, args); va_end(args); The fpath (used for %s in the format) comes from nftw(). This message is a reminder that Fedora Linux 36 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 36 on 2023-05-16. 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 '36'. 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. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 36 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. Fedora Linux 36 entered end-of-life (EOL) status on 2023-05-16. Fedora Linux 36 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. |