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

Handle segfault in Ruby 2.6.6 on thread-locals #2567

Merged
merged 1 commit into from Apr 19, 2021
Merged

Handle segfault in Ruby 2.6.6 on thread-locals #2567

merged 1 commit into from Apr 19, 2021

Commits on Apr 19, 2021

  1. Handle segfault in Ruby 2.6.6 on thread-locals

    When you're trying to access a thread-local variable on Ruby < 2.7, and you call `thread_variable_get` on a `Process::Waiter` (a subclass of `Thread`), it will segfault. This adds a check for which Ruby version you're on to make it safe for Ruby 2.6.
    
    Fixes #2566.
    kddnewton committed Apr 19, 2021
    Copy the full SHA
    cad2c99 View commit details
    Browse the repository at this point in the history