[Bug 1594344] [NEW] lshw crashes with 'std::bad_alloc' and core dump if not run as root

Byte Commander 1594344 at bugs.launchpad.net
Mon Jun 20 12:06:44 UTC 2016


*** This bug is a duplicate of bug 1593233 ***
    https://bugs.launchpad.net/bugs/1593233

Public bug reported:

My System is Ubuntu 16.04, 64 bit, Unity desktop, kernel
`4.4.0-24-generic`, running on an Acer Aspire E5-773G notebook.

Running `lshw` (version `02.17-1.1ubuntu3.1`) from a terminal emulator
without `sudo` as normal user causes it to crash:

    $ lshw
    WARNING: you should run this program as super-user.
    terminate called after throwing an instance of 'std::bad_alloc'
      what():  std::bad_alloc
    Aborted (core dumped)

This seems to be reproducible, even after a clean reboot etc.

Please comment if you need further information or logs.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: lshw 02.17-1.1ubuntu3.1
ProcVersionSignature: Ubuntu 4.4.0-24.43-generic 4.4.10
Uname: Linux 4.4.0-24-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_modeset nvidia
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Jun 20 13:59:16 2016
InstallationDate: Installed on 2016-05-04 (46 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
SourcePackage: lshw
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: lshw (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

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

Title:
  lshw crashes with 'std::bad_alloc' and core dump if not run as root

Status in lshw package in Ubuntu:
  New

Bug description:
  My System is Ubuntu 16.04, 64 bit, Unity desktop, kernel
  `4.4.0-24-generic`, running on an Acer Aspire E5-773G notebook.

  Running `lshw` (version `02.17-1.1ubuntu3.1`) from a terminal emulator
  without `sudo` as normal user causes it to crash:

      $ lshw
      WARNING: you should run this program as super-user.
      terminate called after throwing an instance of 'std::bad_alloc'
        what():  std::bad_alloc
      Aborted (core dumped)

  This seems to be reproducible, even after a clean reboot etc.

  Please comment if you need further information or logs.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: lshw 02.17-1.1ubuntu3.1
  ProcVersionSignature: Ubuntu 4.4.0-24.43-generic 4.4.10
  Uname: Linux 4.4.0-24-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia_modeset nvidia
  ApportVersion: 2.20.1-0ubuntu2.1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Mon Jun 20 13:59:16 2016
  InstallationDate: Installed on 2016-05-04 (46 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
  SourcePackage: lshw
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lshw/+bug/1594344/+subscriptions



More information about the foundations-bugs mailing list