Comment 4 for bug 1590994

Revision history for this message
dann frazier (dannf) wrote :

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
$