Call je_dallocx with flags when needed#8547
Conversation
33dfd46 to
e2e1cd7
Compare
bneradt
left a comment
There was a problem hiding this comment.
I think this makes sense. To summarize: just as we do some special stuff with jemalloc with allocate, so we have to do some specific de-allocation logic, right?
More or less, I must have thought the default free from jemalloc was fine for the flags we were using, since the |
|
@SolidWallOfCode can give this a review after a quick change to the file we discussed in the PR issue (just pass the flag value to dallocx rather than create a variable). |
e2e1cd7 to
f60adac
Compare
|
Adding this to 9.2.x since this is a bug fix that we should get there. |
(cherry picked from commit 59b7081)
|
Cherry-picked to v9.2.x |
(cherry picked from commit 59b7081)
* asf/9.2.x: (22 commits) Updated ChangeLog Add 5xx's to be allowed to be used for simple retries (apache#8518) Extend milestone api time tracking to remap. (apache#8520) Destroy ssl context after use. (apache#8531) Proxy Verifier: Update to version 2.4.1 (apache#8965) Fixes issue with file size calculation for existing logs (apache#8971) Fix reverting PR#7302 (apache#8975) add a metric to track how often the range seek bug is detected (apache#8970) Updated ChangeLog Revert "File change monitoring on s3_auth (apache#8905)" .fit/fmt/.clang-format-installed prerequisite (apache#8950) Make the autopep8 clang-format targets quieter (apache#8944) Add option to disable JIT in lua plugin (apache#8618) Fix doc formatting for plugin remap_stats (apache#8942) Fix doc formatting for rate_limit plugin (apache#8943) Clear lua plugin http context after each hook handler (apache#8607) LGTM: Remove function declaration in block (HdrHeap.cc) (apache#8588) ESI processing when origin returns 304 response (apache#8563) call je_dallocx with flags when needed (apache#8547) Updated ChangeLog ... Conflicts: CHANGELOG-9.2.0
Have been seeing some weird ASan outputs like this:
This fixes the problem.