Open
Description
When dynamically loading on Mac, the loader seems to free a pointer to us that was not allocated by us (presumably it was allocated by malloc
before our symbols were loaded). As I see it, we have two options:
- Figure out how to load on Mac so that this doesn't happen
- Figure out how to detect whether a pointer is ours; if it isn't, just leak it (or maybe free it to libc free?)
@davidtgoldblatt Have you folks run into this problem with jemalloc?