lscpu crashed on intel atom processor

Bug #1073092 reported by Amir
38
This bug affects 8 people
Affects Status Importance Assigned to Milestone
util-linux (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Executing lscpu on Ubuntu 12.10 (x86) on intel atom processor caused lscpu to crash with an error message "floating point exception (core dumped) lscpu".

Output from strace:

% strace lscpu
execve("/usr/bin/lscpu", ["lscpu"], [/* 41 vars */]) = 0
brk(0) = 0x94e9000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb774d000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=82866, ...}) = 0
mmap2(NULL, 82866, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7738000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/i386-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\226\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1730024, ...}) = 0
mmap2(NULL, 1743580, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb758e000
mprotect(0xb7731000, 4096, PROT_NONE) = 0
mmap2(0xb7732000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a3) = 0xb7732000
mmap2(0xb7735000, 10972, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7735000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb758d000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb758d900, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb7732000, 8192, PROT_READ) = 0
mprotect(0x804f000, 4096, PROT_READ) = 0
mprotect(0xb7770000, 4096, PROT_READ) = 0
munmap(0xb7738000, 82866) = 0
brk(0) = 0x94e9000
brk(0x950a000) = 0x950a000
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=8748544, ...}) = 0
mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb738d000
mmap2(NULL, 4096, PROT_READ, MAP_PRIVATE, 3, 0x5e0) = 0xb774c000
close(3) = 0
open("/proc/cpuinfo", O_RDONLY|O_LARGEFILE) = 3
uname({sys="Linux", node="owl", ...}) = 0
access("/sys/devices/system/cpu/cpu0", F_OK) = 0
access("/sys/devices/system/cpu/cpu1", F_OK) = 0
access("/sys/devices/system/cpu/cpu2", F_OK) = -1 ENOENT (No such file or directory)
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb774b000
read(3, "processor\t: 0\nvendor_id\t: Genuin"..., 1024) = 1024
read(3, " 1\ninitial apicid\t: 1\nfdiv_bug\t:"..., 1024) = 514
read(3, "", 1024) = 0
close(3) = 0
munmap(0xb774b000, 4096) = 0
access("/sys/devices/system/cpu/kernel_max", F_OK) = 0
open("/sys/devices/system/cpu/kernel_max", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb774b000
read(3, "7\n", 4096) = 2
close(3) = 0
munmap(0xb774b000, 4096) = 0
access("/sys/devices/system/cpu/online", F_OK) = 0
open("/sys/devices/system/cpu/online", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb774b000
read(3, "0-1\n", 4096) = 4
close(3) = 0
munmap(0xb774b000, 4096) = 0
access("/sys/devices/system/cpu/cpu0/topology/thread_siblings", F_OK) = 0
open("/sys/devices/system/cpu/cpu0/topology/thread_siblings", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb774b000
read(3, "03\n", 4096) = 3
close(3) = 0
munmap(0xb774b000, 4096) = 0
open("/sys/devices/system/cpu/cpu0/topology/core_siblings", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb774b000
read(3, "01\n", 4096) = 3
close(3) = 0
munmap(0xb774b000, 4096) = 0
access("/sys/devices/system/cpu/cpu0/topology/book_siblings", F_OK) = -1 ENOENT (No such file or directory)
--- SIGFPE (Floating point exception) @ 0 (0) ---
+++ killed by SIGFPE (core dumped) +++
zsh: floating point exception (core dumped) strace lscpu

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: util-linux 2.20.1-5.1ubuntu2
ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
Uname: Linux 3.5.0-17-generic i686
ApportVersion: 2.6.1-0ubuntu6
Architecture: i386
Date: Tue Oct 30 15:37:15 2012
InstallationDate: Installed on 2012-10-18 (11 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release i386 (20121017.2)
MarkForUpload: True
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/usr/bin/zsh
SourcePackage: util-linux
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Amir (amirsan) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in util-linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Suhaimi Ghazali (serdotlinecho) wrote :

This also affects on 13.04:
Intel(R) Atom(TM) CPU N450 @ 1.66GHz

Revision history for this message
rodrigo (rodarima-o) wrote :

Affects on Lubuntu 12.10:
Intel(R) Atom(TM) CPU N450 @ 1.66GHz

Revision history for this message
Seb Bonnard (sebma) wrote :

This also affects on Ubuntu 12.10:
Intel(R) Atom(TM) CPU N270 @ 1.60GHz

dpkg -l util-linux | grep ii
ii util-linux 2.20.1-5.1ubuntu2 i386 Miscellaneous system utilities

If you need the "strace lscpu" output, please let me know.

Seb.

Revision history for this message
Stefan Beller (stefanbeller) wrote :

Also affects Intel(R) Atom(TM) CPU Z530 on Ubuntu 12.10 linux 3.5.0-25-generic
dpkg -l util-linux | grep ii
ii util-linux 2.20.1-5.1ubuntu2 i386 Miscellaneous system utilities

Revision history for this message
Stefan Beller (stefanbeller) wrote :
Revision history for this message
Amir (amirsan) wrote :

This bug seems to have been fixed in 13.10.

% apt-cache policy util-linux
util-linux:
  Installed: 2.20.1-5.1ubuntu9
  Candidate: 2.20.1-5.1ubuntu9
  Version table:
 *** 2.20.1-5.1ubuntu9 0
        500 http://mirrors.us.kernel.org/ubuntu/ saucy/main i386 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Julian Andres Klode (juliank) wrote :

Marking as released as per previous comment...

Changed in util-linux (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.