From: k@... Date: 2015-12-20T12:57:55+00:00 Subject: [ruby-core:72412] [Ruby trunk - Bug #11851] rb_profile_frames() causes segmentation fault Issue #11851 has been updated by Kazuki Yamaguchi. 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. ---------------------------------------- Bug #11851: rb_profile_frames() causes segmentation fault https://bugs.ruby-lang.org/issues/11851#change-55699 * Author: Kazuki Yamaguchi * Status: Open * Priority: Normal * Assignee: * ruby -v: ruby 2.3.0dev (2015-12-20 trunk 53215) [x86_64-linux] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- 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. ---Files-------------------------------- 0001-vm_backtrace.c-rb_profile_frames-ignore-ifunc-frames.patch (1.36 KB) -- https://bugs.ruby-lang.org/