Red Hat Bugzilla – Bug 431943
FPE exception for hugemem vmcores (p2)
Last modified: 2008-02-12 17:03:04 EST
in get_logbuf, diskdumpmsg does not check for a non-zero value of log_buf_len
before using it as a divisor. In cases where
read_int->read_buffer_sym->read_buffer cannot read the appropriate page,
log_buf_len is set to zero. On return, this causes a divide by zero exception.
This patch is one way of reporting an error without the FPE.
The patch in 431937 fixes the only case I know of where this actually happens;
accordingly, this patch is mostly cosmetic.
Created attachment 294281 [details]
I'm not sure why this can't be combined with BZ #431937, but in any case,
can this be a RHEL4.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
Dave -- would you like me to close this issue and just deal with it via the
I think it makes more sense to do it that way -- but append your log_buf_len
patch above to the other bugzilla so that it doesn't get lost.
closing, should be covered in https://bugzilla.redhat.com/show_bug.cgi?id=431937.
*** This bug has been marked as a duplicate of 431937 ***