Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Created attachment 641529[details]
core dump of 'vmstat 1' on s390x
Description of problem:
On s390x boxes, vmstat is crashing with "Floating point exception":
[root@ibm-z10-29 ~]# vmstat 1
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu-----
r b swpd free buff cache si so bi bo in cs us sy id wa st
0 0 0 106892 32752 647648 0 0 73 71 0 118 3 2 0 0 96
Floating point exception (core dumped)
[root@ibm-z10-29 ~]# echo $?
136
Version-Release number of selected component (if applicable):
procps-3.2.8-24.el6
How reproducible:
Always
Steps to Reproduce:
1. vmstat 1
Actual results:
vmstat crashes after printing several lines of output (one or two in most cases)
Expected results:
vmstat produces output at given rate until user terminates it
Additional info:
Other supported platforms are not affected.
Core dump attached.
core dump analysis:
Core was generated by `vmstat 1'.
Program terminated with signal 8, Arithmetic exception.
#0 0x0000000080003290 in new_format (argc=<value optimized out>, argv=<value optimized out>)
at /usr/include/bits/stdio2.h:105
warning: Source file is more recent than executable.
105 return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ());
(gdb) i th
* 1 Thread 27615 0x0000000080003290 in new_format (argc=<value optimized out>, argv=<value optimized out>)
at /usr/include/bits/stdio2.h:105
(gdb) t a a bt
Thread 1 (Thread 27615):
#0 0x0000000080003290 in new_format (argc=<value optimized out>, argv=<value optimized out>)
at /usr/include/bits/stdio2.h:105
#1 main (argc=<value optimized out>, argv=<value optimized out>) at vmstat.c:726
The problem is caused by the platform/kernel. The sum of all ticks (user+system+idle+io+stl) is zero. That for sure distorts the stats. I can make vmstat more robust for cases like that.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
http://rhn.redhat.com/errata/RHBA-2012-1463.html
Created attachment 641529 [details] core dump of 'vmstat 1' on s390x Description of problem: On s390x boxes, vmstat is crashing with "Floating point exception": [root@ibm-z10-29 ~]# vmstat 1 procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu----- r b swpd free buff cache si so bi bo in cs us sy id wa st 0 0 0 106892 32752 647648 0 0 73 71 0 118 3 2 0 0 96 Floating point exception (core dumped) [root@ibm-z10-29 ~]# echo $? 136 Version-Release number of selected component (if applicable): procps-3.2.8-24.el6 How reproducible: Always Steps to Reproduce: 1. vmstat 1 Actual results: vmstat crashes after printing several lines of output (one or two in most cases) Expected results: vmstat produces output at given rate until user terminates it Additional info: Other supported platforms are not affected. Core dump attached.