Re: ALTQ cannot be stopped Was: Fwd: 10-BETA : some network issues

BERTRAND Joël <[email protected]>
Newsgroups gmane.os.netbsd.devel.kernel,gmane.os.netbsd.devel.network
Message-ID <[email protected]>
	I have rebuilt my tree, started and stopped altqd.

legendre# gdb /usr/sbin/altqd 22610
GNU gdb (GDB) 11.0.50.20200914-git
Copyright (C) 2020 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--netbsd".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://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 /usr/sbin/altqd...
Reading symbols from /usr/libdata/debug//usr/sbin/altqd.debug...
Attaching to program: /usr/sbin/altqd, process 22610
Reading symbols from /usr/lib/libutil.so.7...
Reading symbols from /usr/libdata/debug//usr/lib/libutil.so.7.24.debug...
Reading symbols from /usr/lib/libm.so.0...
Reading symbols from /usr/libdata/debug//usr/lib/libm.so.0.12.debug...
Reading symbols from /usr/lib/libc.so.12...
--Type <RET> for more, q to quit, c to continue without paging--
Reading symbols from /usr/libdata/debug//usr/lib/libc.so.12.220.debug...
Reading symbols from /usr/libexec/ld.elf_so...
Reading symbols from /usr/libdata/debug//usr/libexec/ld.elf_so.debug...
[Switching to LWP 22610 of process 22610]
qop_clear (ifinfo=0x7253a46be480)
    at /usr/src/netbsd-10/src/usr.sbin/altq/libaltq/qop.c:467
467                     while (!LIST_EMPTY(&ifinfo->cllist)) {
(gdb) bt
#0  qop_clear (ifinfo=0x7253a46be480)
    at /usr/src/netbsd-10/src/usr.sbin/altq/libaltq/qop.c:467
#1  0x0000000152a05774 in qop_delete_if (ifinfo=0x7253a46be480)
    at /usr/src/netbsd-10/src/usr.sbin/altq/libaltq/qop.c:394
#2  0x0000000152a058c6 in qcmd_destroyall ()
    at /usr/src/netbsd-10/src/usr.sbin/altq/libaltq/qop.c:204
#3  0x0000000152a12c45 in main (argc=<optimized out>, argv=<optimized out>)
    at /usr/src/netbsd-10/src/usr.sbin/altq/altqd/altqd.c:313
(gdb) info locals
root = <optimized out>
clinfo = <optimized out>
(gdb)

	Best regards,

	JKB
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.