Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crash-on-startup on macOS 12 #18779

Merged
merged 1 commit into from
Oct 26, 2021

Conversation

ggreenway
Copy link
Contributor

Fixes #17535

Signed-off-by: Greg Greenway ggreenway@apple.com

Commit Message: gperftools_tcmalloc is not compatible with macOS 12, resulting in a
crash on startup. The crash happens very early, before CLI args are
parsed.
Additional Description:
Risk Level: Low
Testing: Manually built and verified it launches
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: macOS only fix
[Optional Runtime guard:]
Fixes #17535
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

gperftools_tcmalloc is not compatible with macOS 12, resulting in a
crash on startup. The crash happens very early, before CLI args are
parsed.

Fixes envoyproxy#17535

Signed-off-by: Greg Greenway <ggreenway@apple.com>
@ggreenway
Copy link
Contributor Author

/retest

@repokitteh-read-only
Copy link

Retrying Azure Pipelines:
Retried failed jobs in: envoy-presubmit

🐱

Caused by: a #18779 (comment) was created by @ggreenway.

see: more, trace.

Copy link
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe release note? Not sure if it matters or not. Up to you. Thanks for fixing.

@ggreenway
Copy link
Contributor Author

Maybe release note? Not sure if it matters or not. Up to you. Thanks for fixing.

I thought about it, and decided it wasn't worth it; I don't think anybody cares which malloc is used.

@ggreenway ggreenway merged commit b9939c6 into envoyproxy:main Oct 26, 2021
@hungcrush
Copy link

Could you release this as soon as possible? We really need this..... Thank you so much

ggreenway added a commit to ggreenway/envoy that referenced this pull request Nov 2, 2021
gperftools_tcmalloc is not compatible with macOS 12, resulting in a
crash on startup. The crash happens very early, before CLI args are
parsed.

Fixes envoyproxy#17535

Signed-off-by: Greg Greenway <ggreenway@apple.com>
(cherry picked from commit b9939c6)
alyssawilk pushed a commit that referenced this pull request Nov 2, 2021
gperftools_tcmalloc is not compatible with macOS 12, resulting in a
crash on startup. The crash happens very early, before CLI args are
parsed.

Fixes #17535
(cherry picked from commit b9939c6)

Signed-off-by: Greg Greenway <ggreenway@apple.com>
@KevinBdev
Copy link

Bug still present?

aidanhahn pushed a commit to datawire/envoy that referenced this pull request Jan 13, 2022
gperftools_tcmalloc is not compatible with macOS 12, resulting in a
crash on startup. The crash happens very early, before CLI args are
parsed.

Fixes envoyproxy#17535
(cherry picked from commit b9939c6)

Signed-off-by: Greg Greenway <ggreenway@apple.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Envoy crash (not security relevant) on launch on macOS Monterey (macOS 12) betas (TCMalloc incompatibility)
5 participants