Bug 12209
Summary: | oldish top core dumps (in its meminfo() function) | ||
---|---|---|---|
Product: | Process Management | Reporter: | Rafael J. Wysocki (rjw) |
Component: | Other | Assignee: | process_other |
Status: | REJECTED WILL_NOT_FIX | ||
Severity: | normal | CC: | alan, andi |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.28-rc8 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 11808 |
Description
Rafael J. Wysocki
2008-12-12 14:43:23 UTC
Verified to still core dump on -rc9 on the same machine. Seems to be a bug in old versions of top. Please rebuild your top with -g3 and provide traces. Thanks for your query - further investigation on that machine will have to wait until January. I had trouble finding sources of this version. Finally found procps-2.0.17-5.src.rpm. Extracted it, applied most (except for selinux) patches. Ran make, managed to build fully (despite convoluted system dependencies). Ran ./top, crashed. With LD_LIBRARY_PATH=proc ./top, it worked. Humm. IOW, the locally built libproc.so.2.0.17 is ok (probably due to referencing sufficiently current system headers as opposed to the original RHEL3 build?), as opposed to the system one. Will try with selinux patch now (need to install selinux devel package for headers). Thanks! Retrying with selinux headers doesn't make much sense methinks, since this is a non-selinux system. It might prove successful to rebuild procps-2.0.17-5 using kernel headers just slightly older than the breakage, I think (and then hopefully have the newly built libprocps fail - to expose some suspected header incompatibility). Should I do this? What else could be done? Not sure - but there are various other known bugs with the ancient top/proc stuff having checked the history a bit further, including known cases where it dumps with lots of processors. Seems to be down to user space bugs not to a kernel regression So closing as WONTFIX |