Red Hat Bugzilla – Bug 435309
Floating point exception sometimes when running rpm
Last modified: 2009-01-07 04:29:09 EST
Description of problem:
When running rpm on one of my xen virtual machines, rpm fails with "Floating
point exception". Everything other works well on my machines, no crashes,
programs are working.
When this happens, for aprox. 90% running rpm or yum (I don't know about other
programs) fails with FPE. 10% works well.
After some time this fixes itself automatically and then I am unable to
reproduce this bug.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
I don't know, how to reproduce. This not happening always, just sometimes.
Run "rpm" without parameters.
Floating point exception
rpm help page output
strace output and core file is attached.
Created attachment 296235 [details]
rpm core file
Created attachment 296236 [details]
Update: there problems disappear immediatelly after stopping ntpd.
Starts aprox. 1-3 minutes after starting ntpd.
May be it is a bug of any library in linux + xen + ntpd.
Ok, found it. Comes from statistics calculation:
sum_usecs += rpmswDiff(rpmswNow(&end), &begin);
rpmsw_type = 1;
/* Compute cycles/usec */
rpmsw_cycles = sum_cycles/sum_usecs;
If there's no difference between begin of timing and "now", it'll cause division
by zero. Normally there is of course a difference, ntpd being involved kinda
Do have same problem here....Fedora8 running as dom0 but WITHOUT ntpd....I could
sometimes resolv this by restarting xend and libvirt...but only some times.
I've discovered at running yum....(probably yum update)....
This message is a reminder that Fedora 8 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 8. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '8'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 8's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 8 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
I can't reproduce this bug some time. I think this has been fixed and this bug can be closed.
rpm-220.127.116.11-3.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.