[Bug 1053539] Re: lscpu crashed with SIGFPE in read_topology()

Dave Gilbert ubuntu at treblig.org
Wed Jul 17 01:01:56 UTC 2013


Looking at the backtrace I can see:
 nnodes = 0, nodemaps = 0x0, nbooks = 0, bookmaps = 0x0, nsockets = 0, socketmaps = 0x0, ncores = 0, coremaps = 0x0, nthreads = 2, ncaches = 0, caches = 0x0

Why it thinks that ncores = 0 I can't tell however!

I can see however that current util-linux git has:

commit d4bfa64d44e0515c59e5274d2384dedd9f9d4cc8
Author: Karel Zak <kzak at redhat.com>
Date:   Tue Nov 13 10:36:25 2012 +0100

    lscpu: make read_topology() more robust to avoid SIGFPE

which basically guards everything to make sure it's at least 1.

So I think we should just update our util-linux

** Information type changed from Private to Public

** Changed in: util-linux (Ubuntu)
       Status: Confirmed => Triaged

** Bug watch added: Red Hat Bugzilla #875461
   https://bugzilla.redhat.com/show_bug.cgi?id=875461

** Also affects: util-linux-ng via
   https://bugzilla.redhat.com/show_bug.cgi?id=875461
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1053539

Title:
  lscpu crashed with SIGFPE in read_topology()

Status in The Util-Linux-ng Set of Utilities:
  Unknown
Status in “util-linux” package in Ubuntu:
  Triaged

Bug description:
  when I run in the terminal lscpu gives me an error "floating point
  exception (`core 'generated)"

  ProblemType: Crash
  DistroRelease: Ubuntu 12.10
  Package: util-linux 2.20.1-5.1ubuntu2
  ProcVersionSignature: Ubuntu 3.5.0-15.22-generic 3.5.4
  Uname: Linux 3.5.0-15-generic x86_64
  ApportVersion: 2.5.2-0ubuntu4
  Architecture: amd64
  Date: Thu Sep 20 19:44:38 2012
  ExecutablePath: /usr/bin/lscpu
  InstallationMedia: Xubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120917)
  ProcCmdline: lscpu
  ProcEnviron:
   TERM=xterm
   SHELL=/bin/bash
   PATH=(custom, no user)
   LANG=es_ES.UTF-8
  Signal: 8
  SourcePackage: util-linux
  StacktraceTop:
   ?? ()
   __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
   ?? ()
   ?? ()
   ?? ()
  Title: lscpu crashed with SIGFPE in __libc_start_main()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

To manage notifications about this bug go to:
https://bugs.launchpad.net/util-linux-ng/+bug/1053539/+subscriptions




More information about the foundations-bugs mailing list