Bug 438675
| Summary: | rpmbuild segfaults on huge directory tree | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 4 | Reporter: | Adam Stokes <astokes> | ||||
| Component: | rpm | Assignee: | Panu Matilainen <pmatilai> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Petr Sklenar <psklenar> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 4.8 | CC: | cward, jhutar, jnovy, psklenar, rdassen, tao | ||||
| Target Milestone: | rc | Keywords: | OtherQA | ||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2009-05-18 20:04:32 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Adam Stokes
2008-03-24 12:00:29 UTC
Created attachment 298882 [details]
reproducer
Yup, fixed upstream already: https://lists.dulug.duke.edu/pipermail/rpm-maint/2007-December/000652.html Easy to backport, and needed for RHEL 5 too. This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. Fix for this issue is now applied in CVS. Hello, old version segfaulting like in Comment #0 but new version doesn't work neither. It has something to common with bug: Bug 462539 - Unable to create immutable header region. When building 110MB rpm from simple tgz --This^ bug couldn't be fixed, bug 462539#c6 I used reproducer spec file: # rpmbuild -ba huge-dir-tree.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.41642 + umask 022 + cd /usr/src/redhat/BUILD + LANG=C + export LANG + unset DISPLAY + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.41642 + umask 022 + cd /usr/src/redhat/BUILD + LANG=C + export LANG + unset DISPLAY + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.41642 + umask 022 + cd /usr/src/redhat/BUILD + LANG=C + export LANG + unset DISPLAY + rm -rf /var/tmp/huge-dir-tree-root + '[' '!' -d /var/tmp/huge-dir-tree-root/ ']' + mkdir -p /var/tmp/huge-dir-tree-root/ + cat + cd /var/tmp/huge-dir-tree-root + python /var/tmp/huge-dir-tree-root/createDirs.py Processing files: huge-dir-tree-0-0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/huge-dir-tree-root Wrote: /usr/src/redhat/SRPMS/huge-dir-tree-0-0.src.rpm error: Unable to create immutable header region. RPM build errors: Unable to create immutable header region. --------------- what's the fix for this bug: not segfaulting but another issue or successful built - which couldn't be done ? I was able to built hugedirtree with lower amount of files - 130 000, but then I wasn't able to uninstalled that package, filled a bug 483235 Is it possible to test it by customer? Please can you provide customer latest packages for RHEL4.8? The customer has been provided with test packages and has provided the following feedback: I confirm that rpm-4.3.3-32 addresses our reproducer. However, the new "rpm-devel-4.3.3-32_nonptl.i386" RPM has picked up two new dependencies, on beecrypt-devel and elfutils-libelf-devel - these might be packaging errors (why would the executable depend on some header files?) The executable doesn't require headers, and the executable also doesn't come from rpm-devel package (whose dependencies are correct now) but rpm-build package :) Hello Jan, You wrote: > I confirm that rpm-4.3.3-32 addresses our reproducer. That's good to know. Thank you for your feedback. > However, the new "rpm-devel-4.3.3-32_nonptl.i386" RPM has picked up two new > dependencies, on beecrypt-devel and elfutils-libelf-devel - these might be > packaging errors (why would the executable depend on some header files?) Erm, the rpm executable is in the plain "rpm" package (not in "rpm-devel"), and that package does not depend on any -devel packages. As for the rpm-devel package depending on other -devel packages, there's a change here indeed. Having a -devel package depending on another -devel package isn't surprising to me (after all, in order to use the devel package to build code, you generally need to have the headers of libraries it depends on installed), but perhaps that's my Debian bias talking - I haven't done enough RPM building to know what the consensus is in RPM land. Are you OK with writing this off as an artefact of the test packages, or do you want me to dig deeper here? Kind regards, Ray Category set to: Devel Tools Internal Status set to 'Waiting on Customer' Status set to: Waiting on Client Interim resolution set to 'Custom Package' This event sent from IssueTracker by rdassen issue 141055 ~~ Attention Partners! ~~ RHEL 4.8Beta has been released on partners.redhat.com. There should be a fix present, which addresses this bug. Please test and report back results on this OtherQA Partner bug at your earliest convenience. If you encounter any issues, please set the bug back to the ASSIGNED state and describe any issues you encountered. If you have found a NEW bug, clone this bug and describe the issues you've encountered. Further questions can be directed to your Red Hat Partner Manager. If you have VERIFIED the bug fix. Please select your PartnerID from the Verified field above. Please leave a comment with your test results details. Include which arches tested, package version and any applicable logs. - Red Hat QE Partner Management Setting to verified based on Customer Verification results in comment #10. If there are any additional issues that need to be addressed, please clone this bug and make a new request. If it is found that this bug has not really been resolved, please reset to ASSIGNED state and describe the issues you are encountering. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-0951.html |