[Bug 690431] Re: lspci crashed with SIGSEGV in pci_load_name_list() (with invalid parameter to -i)
Dave Gilbert
ubuntu at treblig.org
Sun Jan 26 18:43:45 UTC 2014
Thanks Tim; seems to work.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pciutils in Ubuntu.
https://bugs.launchpad.net/bugs/690431
Title:
lspci crashed with SIGSEGV in pci_load_name_list() (with invalid
parameter to -i)
Status in “pciutils” package in Ubuntu:
Fix Released
Status in “pciutils” source package in Trusty:
Fix Released
Bug description:
lspci crashes when receiving improper arguments.
Steps to reproduce:
$ sudo -s
# uname -a
Linux tacitus 2.6.35-23-generic #41-Ubuntu SMP Wed Nov 24 10:18:49 UTC 2010 i686 GNU/Linux
# lspci -vvii
Segmentation fault
# gdb --args lspci -vvii
GNU gdb (GDB) 7.2-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/lspci...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/lspci -vvii
Program received signal SIGSEGV, Segmentation fault.
0x00252f34 in ?? () from /lib/libc.so.6
(gdb) bt
#0 0x00252f34 in ?? () from /lib/libc.so.6
#1 0x00133de4 in pci_load_name_list () from /usr/lib/libpci.so.3
#2 0x00132d4a in pci_lookup_name () from /usr/lib/libpci.so.3
#3 0x08049fca in ?? ()
#4 0x0804a4ae in ?? ()
#5 0x0804bca0 in ?? ()
#6 0x00151ce7 in __libc_start_main () from /lib/libc.so.6
#7 0x08048f51 in ?? ()
(gdb) quit
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pciutils/+bug/690431/+subscriptions
More information about the foundations-bugs
mailing list