Fix segmentation faults with enabled keep_descriptor_pool_after_request#16993
Fix segmentation faults with enabled keep_descriptor_pool_after_request#16993simonberger wants to merge 1 commit intoprotocolbuffers:mainfrom
Conversation
|
@haberman take a look? |
|
Hmm, looks like there are some test failures unrelated to your change. Want to rebase and push again? |
75847ac to
62b5529
Compare
@haberman Sure, done |
|
Looks like only some internal "copybara" check failed. Is that a blocker, or can this be merged? @bshaffer would it be possible for you to merge this in your function as an owner? |
|
All PRs must be committed internally first, because the internal repo is the source of truth. If we tried to merge the PR directly in GitHub I think it might get reverted by the next CL that syncs to GitHub. The Copybara failure should be temporary. Internally the CL is in @honglooker's court to review and resolve any issues with the internal CI. |
|
Thank you for the insights! Looks like this was now merged internally and synced by Copybara. |
|
I already asked in the related issue about if a backport to 25.x should be done what I personally do not really care about, but I just realized this fix currently would not do it in a potential 27.2 release. Edit: |
…st (protocolbuffers#16993) (cherry picked from commit e844510)
Fixes #16894
It is tested on command execution only, where it fixes the issues of reported memory leaks, heap corruption and segmentation fault.
I could not run tests on my Mac because of #16944