[Bug 210315] panic: destroying non-empty racct: 2113536 allocated for resource 4

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jun 16 08:38:18 UTC 2016


            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 at FreeBSD.org
          Reporter: avg at 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
#2  0xffffffff8062de38 in vpanic (fmt=<optimized out>, ap=0xfffffe0519b73920)
#3  0xffffffff8062db43 in panic (fmt=<unavailable>) at
#4  0xffffffff8061ef1c in racct_destroy_locked (racctp=<optimized out>) at
#5  0xffffffff8061ee45 in racct_destroy (racct=0xfffff802f6301518) at
#6  0xffffffff805fdd3c in prison_racct_free_locked (prr=0xfffff802f6301400) at
#7  0xffffffff805fdc8d in prison_racct_free (prr=0xfffff802f6301400) at
#8  0xffffffff805fddee in prison_racct_detach (pr=0xfffff802b0730000) at
#9  0xffffffff805fb2cb in prison_deref (pr=<optimized out>, flags=3) at
#10 0xffffffff805fca25 in prison_remove_one (pr=<optimized out>) at
#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
#13 0xffffffff808209af in amd64_syscall (td=0xfffff801146019e0, traced=0) at


(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.

More information about the freebsd-bugs mailing list