Bug 170424
Summary: | procinfo crashing on X86_64 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Sammy <umar> |
Component: | procinfo | Assignee: | Karel Zak <kzak> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-10-12 09:09:24 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: |
Description
Sammy
2005-10-11 16:02:16 UTC
OK...this seems to be kernel related. Works with 1.1526. This bug is related to bug #169962. can you install the procinfo-debuginfo rpm, then run this from inside gdb and then type "bt"? That'll give the needed more detailed backtrace. char loadavg[32]; fgets (line, sizeof (line), loadavgfp); strcpy (loadavg, line); that is just plain bad code and is the most likely cause... but even if not it wants fixing. Well, I've fixed some stupid things like strcpy() or sprintf() usage. But the rest of the code is still too optimistic and doesn't check return values from things like fgets(), strtok(), .... |