[ruby-core:122620] [Ruby Bug#21441] SEGV during thread cleanup if profiler calls thread_profiles_frames at wrong time