Segfault loading iseqs
Follow up on https://github.com/Shopify/bootsnap/issues/172
Seeing a segfault in Ruby trunk during ibf_load_iseq_each which is likely GC related.
To repro, check out Discourse and run
bundle exec rails c happens one in N times.
This is looks GC related.
It may be triggered by bootsnap (and bootsnap's issue) here which appears to be handing around VALUE* so maybe one of these is not properly protected.
Issue does not appear to happen on 2.5.1 or lower