I ran the following tests:

= ARM64 (APM Mustang in u-boot mode) =
$ lshw > lshw-02.17-1.1ubuntu3.1
$ sudo lshw > sudo-lshw-02.17-1.1ubuntu3.1
# apt upgrade lshw
$ lshw > lshw-02.17-1.1ubuntu3.2
$ sudo lshw > sudo-lshw-02.17-1.1ubuntu3.2
$ diff -u lshw-02.17-1.1ubuntu3.1 lshw-02.17-1.1ubuntu3.2
$ diff -u sudo-lshw-02.17-1.1ubuntu3.1 sudo-lshw-02.17-1.1ubuntu3.2

= x86 (OpenStack instance) =
$ 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)
$ sudo lshw > sudo-lshw-02.17-1.1ubuntu3.1
# apt upgrade lshw
$ lshw > lshw-02.17-1.1ubuntu3.2
WARNING: you should run this program as super-user.
WARNING: output may be incomplete or inaccurate, you should run this program as 
super-user.
# NOTE: didn't segfault
$ sudo lshw > sudo-lshw-02.17-1.1ubuntu3.2
$ diff -u sudo-lshw-02.17-1.1ubuntu3.1 sudo-lshw-02.17-1.1ubuntu3.2
$


** Tags removed: verification-needed
** Tags added: verification-done

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

Title:
  [Regression] crash in scan_dmi_sysfs when running as non-root

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to