When Your Hash Becomes a String: Hunting a Ruby Million-to-One Memory Bug
SMRTR summary
A Ruby FFI bug caused crashes when the garbage collector freed Hash objects that were replaced by Strings due to missing write barriers. Upgrading to FFI 1.17.0 fixes this rare timing issue.
SMRTR provides this summary for quick context. The original article belongs to Lobsters.
Read the original article