Bug 230793
| Summary: | File descriptors leakage | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jan Kratochvil <jan.kratochvil> | ||||
| Component: | elfutils | Assignee: | Roland McGrath <roland> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | rawhide | CC: | cagney, drepper, npremji | ||||
| Target Milestone: | --- | Keywords: | Patch | ||||
| Target Release: | --- | ||||||
| Hardware: | i686 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | 0.127-1 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2007-04-19 18:17:27 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: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 173278, 229424 | ||||||
| Attachments: |
|
||||||
Created attachment 149158 [details]
Fix + a testcase.
Fixed upstream. 0.127 fixes this. |
Description of problem: A program often calling (not caching) dwfl_begin()...dwfl_end() will get out of the file descriptors (.so and .so.debug files left open in /proc/self/fd/ ). Version-Release number of selected component (if applicable): elfutils-0.126-1.i386 How reproducible: Always Steps to Reproduce: Found during libunwind patching for elfutils. Testcase included. Actual results: [virtually] dwfl-bug-fd-leak: dwfl-bug-fd-leak.c:134: main: Assertion `fd_counted == fd_count ()' failed. /bin/sh: line 4: 22798 Aborted ./test-wrapper.sh ../libdw:../backends:../libelf:../libasm ${dir}$tst FAIL: dwfl-bug-fd-leak Expected results: PASS: dwfl-bug-fd-leak Additional info: