[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: Thread-local malloc discussion summary

Sorry, that wasn't supposed to happen. Currently connection.c only enables
the thread-local stuff for Search operations, but I had a commit in there
where it was enabled for all non-Adds, by mistake. That's not going to work
until the rest of these details are flushed out. But the current CVS HEAD
should be safe.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

> -----Original Message-----
> From: Luke Howard [mailto:lukeh@PADL.COM]

> I'm seeing a crash in slap_sasl2dn() that might be related to this.
> Is op.o_req_ndn.bv_val supposed to be allocated by ch_malloc() or
> the new thread-local malloc? On or about line 627 slap_sasl2dn()
> tries to free it and slapd dies.
> -- Luke
> --
> Luke Howard | PADL Software Pty Ltd | www.padl.com