Red Hat Bugzilla – Bug 431937
FPE exception for hugemem vmcores
Last modified: 2010-10-22 18:20:16 EDT
Description of problem:
diskdumpmsg fails when reading hugemem kernel cores.
Version-Release number of selected component (if applicable):
may affect previous versions, not tested.
create a vmcore file for a hugemem kernel, run diskdumpmsg vmcore.
Floating point exception.
kernel log buffer results.
The problem results from misordered arguments to strstr, patch forthcoming.
Created attachment 294280 [details]
simple switch of args to strstr
patch attached, as discussed in:
If it's not too late, can this be a 4.7 errata candidate?
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
(In reply to comment #4)
> Dave - do you think this is urgent enough to merit an exception and get
> into 4.7?
> This event sent from IssueTracker by sfolkwil
> issue 161392
It was a regression that was introduced in the RHEL4-6 errata, in
which diskdumpmsg was changed from a python script to a C-file binary.
That new version could never have worked for a hugemem kernel.
OK if it's a regression then we need to fix ASAP. Will file exception.
This event sent from IssueTracker by sfolkwil
When the qa_ack comes through, I will file the RHEL4.7 errata on your behalf,
and then follow it through to its release.
Tindoh, I can either:
(1) create a patch for the current diskdumputils 1.4.1 package, or
(2) you can create a new base diskdumputils tar.gz file to replace
the current diskdumputils-1.4.1.tar.gz.
Which would you prefer?
Created attachment 294703 [details]
log_buf_len %0 patch
check that log_buf_len is not zero before dividing by it.
*** Bug 431943 has been marked as a duplicate of this bug. ***
attaching second patch, from bz431943, to this issue. Both bz's were opened by
me, one for each patch. For simplicity, combining into one (this one).
The second patch simply checks that log_buf_len isn't zero before dividing by
it. If it is, the log_buf wasn't readable and the program exists, indicating such.
>(1) create a patch for the current diskdumputils 1.4.1 package, or
This is fine with me.
MODIFIED: CVS Tag: diskdumputils-1_4_1-3
Created attachment 294795 [details]
diskdumpmsg.patch applied to diskdumputils-1.4.1-3
A RHEL4.7 errata cannot be filed until the following issues
are resolved; this is the error message from the errata tool:
> There were problems with the following fields:
> * Idsfixed Bug 431937 does not have the correct flags. Requires
> rhel-4.7,devel_ack,qa_ack,pm_ack but only has rhel-4.7?, devel_ack+,
> pm_ack+, blocker?, qa_ack?.
To whom it may concern:
Requesting: rhel4-7+ and qa_ack+
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.