commit | d3068c3f4634bc7616d0e8896a4974daddb12b4a | [log] [tgz] |
---|---|---|
author | Jason Evans <jasone@canonware.com> | Mon Nov 09 14:58:12 2009 -0800 |
committer | Jason Evans <jasone@canonware.com> | Mon Nov 09 14:58:12 2009 -0800 |
tree | 625e7c8bbade8fcce8b65eb0444aae005e9d70e1 | |
parent | 6f89d4b80618600012b9f6d85ac6056a8f62372c [diff] |
_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.