koute / bytehound

A memory profiler for Linux.
Other
4.49k stars 193 forks source link

feature flag `jemalloc` should disable/enable all references to jemalloc in source #126

Open sn-suhailm opened 1 month ago

sn-suhailm commented 1 month ago

When the profiler is run against one of our tests (which doesn't use jemalloc), one of the threads segfaults during thread exit. The stacktrace pointed to doing some jemalloc cleanup which isn't necessary.

A custom build with all the jemalloc code removed worked but ideally the feature flag should be doing this.