Bug 2058230
| Summary: | glibc: Fix regression (ldd crash) during dependency sorting in ld.so | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Florian Weimer <fweimer> | |
| Component: | glibc | Assignee: | glibc team <glibc-bugzilla> | |
| Status: | CLOSED ERRATA | QA Contact: | Sergey Kolosov <skolosov> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | high | |||
| Version: | 9.0 | CC: | ashankar, codonell, dj, fweimer, glibc-bugzilla, mnewsome, pfrankli, pvlasin, sipoyare | |
| Target Milestone: | rc | Keywords: | Bugfix, Regression, Triaged | |
| Target Release: | 9.0 | |||
| Hardware: | All | |||
| OS: | All | |||
| Whiteboard: | ||||
| Fixed In Version: | glibc-2.34-27.el9_0 | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2060778 (view as bug list) | Environment: | ||
| Last Closed: | 2022-05-17 15:48:54 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: | 2060778 | |||
|
Description
Florian Weimer
2022-02-24 14:33:55 UTC
One way to reproduce this: dnf install java-17-openjdk ldd /usr/lib/jvm/java-17-openjdk-17*/lib/libnio.so With the bug present, ld.so crashes with: Inconsistency detected by ld.so: dl-sort-maps.c: 239: _dl_sort_maps_dfs: Assertion `rpo_head == rpo' failed! Or fails with exit status 1 (as seen on x86_64). With the bug fixed, the output contains two “=> not found” lines. Note that this reproducer is not completely reliable and may stop reproducing the bug due to OpenJDK changes etc. But ld.so is expected to produce some output for valid ELF objects (no crash). Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (new packages: glibc), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:3917 |