Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Feb 2017 21:30:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 217239] head (e.g.:) -r313864 arm64 vs. jemalloc without MALLOC_PRODUCTION: various examples of tbin->avail being zero lead to SIGSEGV's
Message-ID:  <bug-217239-8-ieQLTZVJWJ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-217239-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-217239-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217239

--- Comment #6 from Mark Millard <markmi@dsl-only.net> ---
It turns out that for the script and powerd examples the whole
tsd->tcache[0] through tsd->tcache[40] area (__je_nhbins=3D=3D41) is
all zeros. That includes the lg_fill_div members of each.

For the su examples there is a next_gc_bin in
tsd->tcache[2] that is non-zero:

print/x tsd->tcache[2]
(lldb) print/x tsd->tcache[2]
(tcache_t) $1 =3D {
  link =3D {
    qre_next =3D 0x0000000000000000
    qre_prev =3D 0x0000000000000000
  }
  prof_accumbytes =3D 0x0000000000000000
  gc_ticker =3D (tick =3D 0x00000000, nticks =3D 0x00000000)
  next_gc_bin =3D 0xffffffff
  tbins =3D {
    [0] =3D {
      tstats =3D (nrequests =3D 0x0000000000000000)
      low_water =3D 0x00000000
      lg_fill_div =3D 0x00000000
      ncached =3D 0x00000000
      avail =3D 0x0000000000000000
    }
  }
}

But the rest of the tsd->tcache area is zero.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217239-8-ieQLTZVJWJ>