rb_profile_frames() causes segmentation fault
When the control frame stack contains an ifunc-frame, calling rb_profile_frames() causes a segmentation fault.
I've attached a patch that changes it to ignore ifunc frames as it did previously.
vm_backtrace.c: ignore ifunc frames
- vm_backtrace.c (rb_profile_frames): ignore ifunc frames as it did before. [ruby-core:72409] [Bug #11851]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Updated by rhenium (Kazuki Yamaguchi) almost 4 years ago
Uploaded reproducible code to Gist: https://gist.github.com/rhenium/e3a179b0cac87606c183
This runs on Ruby 2.2.4 and patched trunk but segfaults on trunk.