Issue #11851 has been updated by Usaku NAKAMURA.

Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN to 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: DONTNEED

----------------------------------------
Bug #11851: rb_profile_frames() causes segmentation fault
https://bugs.ruby-lang.org/issues/11851#change-56865

* Author: Kazuki Yamaguchi
* Status: Closed
* Priority: Normal
* Assignee: 
* ruby -v: ruby 2.3.0dev (2015-12-20 trunk 53215) [x86_64-linux]
* Backport: 2.0.0: DONTNEED, 2.1: DONTNEED, 2.2: DONTNEED
----------------------------------------
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/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>