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=217239

--- 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==41) 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 = {
  link = {
    qre_next = 0x0000000000000000
    qre_prev = 0x0000000000000000
  }
  prof_accumbytes = 0x0000000000000000
  gc_ticker = (tick = 0x00000000, nticks = 0x00000000)
  next_gc_bin = 0xffffffff
  tbins = {
    [0] = {
      tstats = (nrequests = 0x0000000000000000)
      low_water = 0x00000000
      lg_fill_div = 0x00000000
      ncached = 0x00000000
      avail = 0x0000000000000000
    }
  }
}

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

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