Skip to content

Fix crash-on-startup on macOS 12 - #18779

Merged
ggreenway merged 1 commit into
envoyproxy:mainfrom
ggreenway:fix-macos-crash-on-startup
Oct 26, 2021
Merged

ggreenway merged 1 commit into
envoyproxy:mainfrom
ggreenway:fix-macos-crash-on-startup

Conversation

@ggreenway

Copy link
Copy Markdown
Member

Fixes #17535

Signed-off-by: Greg Greenway [email protected]

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 <[email protected]>
@ggreenway

Copy link
Copy Markdown
Member Author

/retest

@repokitteh-read-only

Copy link
Copy Markdown

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

🐱

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

see: more, trace.

@mattklein123 mattklein123 left a comment

Copy link
Copy Markdown
Member

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
Copy Markdown
Member 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
Copy Markdown

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 <[email protected]>
(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 <[email protected]>
@KevinBdev

Copy link
Copy Markdown

Bug still present?

aidanhahn pushed a commit to gravitee-io/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 <[email protected]>
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