diff options
| author | John Hawthorn <john.hawthorn@shopify.com> | 2025-04-30 10:28:25 -0700 |
|---|---|---|
| committer | John Hawthorn <john@hawthorn.email> | 2026-06-08 11:47:54 -0700 |
| commit | 4c3d436636f4750a09fcaa01d853c1ac8152c8e1 (patch) | |
| tree | b75326cd7dae35fb5439e3668c8210f76c65e9fe /spec/bundler/install/cooldown_spec.rb | |
| parent | 4c7f28d8551dcf2065c98cccbbf292f5c99558f1 (diff) | |
Although a crash could occur anywhere, one of the most common symptoms
we see from getting a reference to a garbage collected object is
crashing while attempting to call a method on it.
These crashes usually occur when trying to perform an rb_id_table_lookup
in the "class" cc_tbl, where the class is usually another garbage
collected object, because the freelist is stored in the class pointer.
This commit aims to have a better error message in this case, in hopes
of having a better grouping of errors and to give a better hint to those
investigating and triaging crashes.
Diffstat (limited to 'spec/bundler/install/cooldown_spec.rb')
0 files changed, 0 insertions, 0 deletions
