Bug 850907

Summary: lscpu: Floating point exception
Product: [Fedora] Fedora Reporter: Marcos Mello <marcosfrm>
Component: util-linuxAssignee: Karel Zak <kzak>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: jonathan, kzak, mluscon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-03 16:27:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
strace output
none
lscpu-fpe.tar.gz dump none

Description Marcos Mello 2012-08-22 17:06:00 UTC
F17 x86-64 up to date, util-linux-2.21.2-2.fc17.

# lscpu
Floating point exception

/var/log/messages
Aug 22 14:03:24 XXX kernel: [  125.229239] lscpu[500] trap divide error ip:4023ff sp:7fff71e3d6f0 error:0 in lscpu[400000+b000]

Comment 1 Marcos Mello 2012-09-07 13:44:46 UTC
Created attachment 610717 [details]
strace output

Comment 2 Karel Zak 2012-09-10 12:46:08 UTC
Please, use:

 $ wget https://raw.github.com/karelzak/util-linux/master/tests/ts/lscpu/mk-input.sh
 $ chmod +x mk-input.sh
 $ ./mk-input.sh lscpu-fpe

and send me or add to bugzilla the lscpu-fpe.tar.gz dump.

The script creates a dump from your /sys and /proc and then it's
possible to reproduce the problem on another machine or use the dump
for regression tests.

Thanks!

Comment 3 Marcos Mello 2012-09-10 16:13:17 UTC
Created attachment 611485 [details]
lscpu-fpe.tar.gz dump

Comment 4 Karel Zak 2012-11-22 11:04:54 UTC
Fixed by upstream commit 322796e74a0ebc20802d1665d0b3900f3f9d90a6.

Comment 5 Karel Zak 2013-02-03 16:27:28 UTC

*** This bug has been marked as a duplicate of bug 875461 ***