NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/57171 (altqd takes 100% of a CPU when daemon is stopped)



riastradh%NetBSD.org@localhost wrote:
Synopsis: altqd takes 100% of a CPU when daemon is stopped

State-Changed-From-To: open->feedback
State-Changed-By: riastradh%NetBSD.org@localhost
State-Changed-When: Wed, 19 Jul 2023 19:58:05 +0000
State-Changed-Why:
feedback requested about debug data




	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


Home | Main Index | Thread Index | Old Index