Segmentation fault with Rails 7.0.3 and Ruby 3.1

Hi there I’m getting a segmentation fault on production, I don’t know how to debug this or catch the error. This is the trace of the segfault it seems to be due to a to_json encoding.

need some help to debug this. anyone has seen this on Rails 7 with Ruby 3.1 ?

Could you include the output after -- C level backtrace information?

sorry, I don’t have more traces than that. is what DigitalOcean apps give us