I have a Sparc Classic (with very little memory) running netbsd-4. ifpstat with no arguments runs, and all combinations of ipfstat -[in]h?6? work except -inh, but only the v4 input ruleset is non-empty. So it seems something that prints per-rule hits has alignment issues. Is anyone else seeing this? It seems to work on sparc64, interestingly enough. #> gdb /usr/sbin/ipfstat GNU gdb 6.5 Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "sparc--netbsdelf"...(no debugging symbols found) (gdb) run -inh Starting program: /usr/sbin/ipfstat -inh (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) Program received signal SIGBUS, Bus error. 0x00012dcc in printlivelist () (gdb) bt #0 0x00012dcc in printlivelist () #1 0x00015178 in main ()
Attachment:
pgpwPi_oHjdWV.pgp
Description: PGP signature