https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210315

            Bug ID: 210315
           Summary: panic: destroying non-empty racct: 2113536 allocated
                    for resource 4
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: a...@freebsd.org

I have got this panic twice so far.  Both times were just at the end of a
poudriere bulk build.  The problem is not readily reproducible, so it could be
that a certain port somehow provokes it.
I can provide more details. I can test any diagnostic patches.

Some details:
(kgdb) bt
#0  doadump (textdump=1) at /usr/src/sys/kern/kern_shutdown.c:295
#1  0xffffffff8062d7ef in kern_reboot (howto=<optimized out>) at
/usr/src/sys/kern/kern_shutdown.c:363
#2  0xffffffff8062de38 in vpanic (fmt=<optimized out>, ap=0xfffffe0519b73920)
at
/usr/src/sys/kern/kern_shutdown.c:639
#3  0xffffffff8062db43 in panic (fmt=<unavailable>) at
/usr/src/sys/kern/kern_shutdown.c:572
#4  0xffffffff8061ef1c in racct_destroy_locked (racctp=<optimized out>) at
/usr/src/sys/kern/kern_racct.c:478
#5  0xffffffff8061ee45 in racct_destroy (racct=0xfffff802f6301518) at
/usr/src/sys/kern/kern_racct.c:495
#6  0xffffffff805fdd3c in prison_racct_free_locked (prr=0xfffff802f6301400) at
/usr/src/sys/kern/kern_jail.c:4564
#7  0xffffffff805fdc8d in prison_racct_free (prr=0xfffff802f6301400) at
/usr/src/sys/kern/kern_jail.c:4583
#8  0xffffffff805fddee in prison_racct_detach (pr=0xfffff802b0730000) at
/usr/src/sys/kern/kern_jail.c:4658
#9  0xffffffff805fb2cb in prison_deref (pr=<optimized out>, flags=3) at
/usr/src/sys/kern/kern_jail.c:2663
#10 0xffffffff805fca25 in prison_remove_one (pr=<optimized out>) at
/usr/src/sys/kern/kern_jail.c:2358
#11 0xffffffff805fc8e4 in sys_jail_remove (td=<optimized out>, uap=<optimized
out>) at /usr/src/sys/kern/kern_jail.c:2313
#12 0xffffffff80820ddd in syscallenter (td=0xfffff801146019e0,
sa=0xfffffe0519b73b80) at
/usr/src/sys/amd64/amd64/../../kern/subr_syscall.c:135
#13 0xffffffff808209af in amd64_syscall (td=0xfffff801146019e0, traced=0) at
/usr/src/sys/amd64/amd64/trap.c:943

RACCT_RSS is 4.

(kgdb) p *prr
$5 = {
  prr_next = {
    le_next = 0xfffff80382fe4400,
    le_prev = 0xfffff8017ac90600
  },
  prr_name = "basejail-default-job-03", '\000' <repeats 232 times>,
  prr_refcount = 0,
  prr_racct = 0xfffff802e3f520b0
}
(kgdb) p *prr->prr_racct
$6 = {
  r_resources = {13884177072, 0, 0, 0, 2113536, 0 <repeats 14 times>,
13611325009, 0},
  r_rule_links = {
    lh_first = 0x0
  }
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to