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 static initialization order fiasco in velox #24458

Closed
wants to merge 0 commits into from

Conversation

mkatsevVR
Copy link

Summary:
X-link: facebookincubator/velox#12204

Replace global statics with local to avoid non-determinism
https://en.cppreference.com/w/cpp/language/siof

AddressSanitizer: initialization-order-fiasco fbcode/velox/common/memory/Memory.cpp:381 in facebook::velox::memory::deprecatedDefaultMemoryManager()


now: doesn't crash

Differential Revision: D68857074

@mkatsevVR mkatsevVR requested a review from a team as a code owner January 29, 2025 23:42
Copy link

linux-foundation-easycla bot commented Jan 29, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: mkatsevVR / name: Max Katsev (d07e05a)

@facebook-github-bot
Copy link
Collaborator

This pull request was exported from Phabricator. Differential Revision: D68857074

mkatsevVR added a commit to mkatsevVR/velox that referenced this pull request Jan 31, 2025
)

Summary:
X-link: prestodb/presto#24458


Replace global statics with local to avoid non-determinism
https://en.cppreference.com/w/cpp/language/siof

Differential Revision: D68857074
mkatsevVR added a commit to mkatsevVR/presto that referenced this pull request Jan 31, 2025
Summary:

X-link: facebookincubator/velox#12204

Replace global statics with local to avoid non-determinism
https://en.cppreference.com/w/cpp/language/siof

Differential Revision: D68857074
@facebook-github-bot
Copy link
Collaborator

This pull request was exported from Phabricator. Differential Revision: D68857074

mkatsevVR added a commit to mkatsevVR/presto that referenced this pull request Jan 31, 2025
Summary:

X-link: facebookincubator/velox#12204

Replace global statics with local to avoid non-determinism
https://en.cppreference.com/w/cpp/language/siof

Differential Revision: D68857074
@facebook-github-bot
Copy link
Collaborator

This pull request was exported from Phabricator. Differential Revision: D68857074

@facebook-github-bot
Copy link
Collaborator

This pull request was exported from Phabricator. Differential Revision: D68857074

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants