On Thu, 2018-01-25 at 09:51 -0800, Howard Howell wrote: > On Wed, 2018-01-24 at 14:29 -0500, Przemek Klosowski wrote: > > On 01/23/2018 06:56 PM, Howard Howell wrote: > > > Due to that last line, issued su and password and ran it again: > > > # lshw > > > Segmentation fault (core dumped) > > > > ok, great---so now do 'gdb lshw', type 'r' in gdb, and see where it > > crashes. > > > > You may need to debuginfo-install few packages if gdb says it can't > > find > > debugging symbols, and you may need to install also some -source > > packages because the recent changes in packaging and dnf fail to do > > so. > > Then, report whether the crash happens reliably in a single > > location, > > or > > is random as it would be if your hardware is flaky. > > _______________________________________________ > > devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx > > To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx > > It did not crash. Here are the last 2 lines it output: > > configuration: autonegotiation=off broadcast=yes driver=tun > driverversion=1.6 duplex=full link=no multicast=yes port=twisted pair > speed=10Mbit/s > WARNING: output may be incomplete or inaccurate, you should run this > program as super-user. > [Inferior 1 (process 3063) exited normally] > > The things I would point out are that Terminal is in a window, and > when > that crash occured I had just run the command, and it may not have > terminated fully. The command lshw seems to be multithreaded. > > Regards, > Les H > _______________________________________________ > devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Now I'm in a new and apparently unresolvable loop for debug info for glibc. The program gdb when running lshw needs glibc-2.25- 12.fc26.x86_64. But the install won't pick up that version. Here is the exchange with me (gdb) run Starting program: /usr/sbin/lshw Missing separate debuginfos, use: dnf debuginfo-install glibc-2.25- 12.fc26.x86_64 USB Program received signal SIGSEGV, Segmentation fault. 0x00007ffff72c1b70 in feof () from /lib64/libc.so.6 (gdb) exit Undefined command: "exit". Try "help". (gdb) quit A debugging session is active. Inferior 1 [process 5734] will be killed. Quit anyway? (y or n) y [root@school lesh]# dnf debuginfo-install glibc-2.25-12.fc26.x86_64 enabling updates-debuginfo repository enabling fedora-debuginfo repository enabling rpmfusion-free-updates-debuginfo repository enabling rpmfusion-free-debuginfo repository enabling rpmfusion-nonfree-updates-debuginfo repository enabling rpmfusion-nonfree-debuginfo repository Last metadata expiration check: 0:46:46 ago on Thu 25 Jan 2018 11:11:19 AM PST. Package glibc-debuginfo-2.23.1-11.fc24.x86_64 is already installed, skipping. Dependencies resolved. Nothing to do. Complete! [root@school lesh]# gdb lshw GNU gdb (GDB) Fedora 8.0.1-33.fc26 Copyright (C) 2017 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 "x86_64-redhat-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from lshw...Reading symbols from /usr/lib/debug/usr/sbin/lshw.debug...done. done. (gdb) run Starting program: /usr/sbin/lshw Missing separate debuginfos, use: dnf debuginfo-install glibc-2.25- 12.fc26.x86_64 USB Program received signal SIGSEGV, Segmentation fault. 0x00007ffff72c1b70 in feof () from /lib64/libc.so.6 (gdb) and gdb running lshw: _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx