_pt_thread_death_internal(), which is part of Linux's nptl pthreads
implementation, calls free() after calling TSD destructors.  This was causing a
crash during thread exit, since the magazine rack was no longer valid for the
thread.  Fix this by using a special mag_rack value to indicate that
deallocation should bypass the magazine machinery.
1 file changed
tree: 625e7c8bbade8fcce8b65eb0444aae005e9d70e1
  1. jemalloc/
  2. .hgignore