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

Do not patch PLT stubs for MallocStackLogging in MacOS #477

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

pablogsal
Copy link
Member

@pablogsal pablogsal commented Oct 5, 2023

MacOS has some memory interposition libraries that can make us crash
(via stackoverflow when initializing TLS variables) if we patch them.
This is because these libraries interact in a way we cannot avoid with
libdyld, which in turn sets the TLS on first init.

Closes: #476

MacOS has some memory interposition libraries that can make us crash
(via stackoverflow when initializing TLS variables) if we patch them.
This is because these libraries interact in a way we cannot avoid with
libdyld, which in turn sets the TLS on first init.
@pablogsal pablogsal enabled auto-merge (rebase) October 5, 2023 12:13
@codecov-commenter
Copy link

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (c016ce5) 91.97% compared to head (0bd8479) 92.15%.
Report is 19 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #477      +/-   ##
==========================================
+ Coverage   91.97%   92.15%   +0.18%     
==========================================
  Files          91       91              
  Lines       10803    10849      +46     
  Branches     1485     1498      +13     
==========================================
+ Hits         9936     9998      +62     
+ Misses        865      849      -16     
  Partials        2        2              
Flag Coverage Δ
cpp 85.68% <ø> (+0.45%) ⬆️
python_and_cython 95.44% <ø> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 16 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pablogsal pablogsal merged commit 8072257 into bloomberg:main Oct 5, 2023
32 of 34 checks passed
@pablogsal pablogsal deleted the malloc_macos branch October 5, 2023 13:33
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.

MacOS Sonoma: SIGBUS errors
3 participants