Project

General

Profile

Bug #14607

Fix use of the rb_profile_frames start parameter

Added by dylants (Dylan Thacker-Smith) about 1 month ago.

Status:
Open
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:86147]

Description

rb_profile_frames was always behaving as if the value given for the start parameter was 0.

The reason for this was that it would check if (start > 0) { then continue without updating the control frame pointer or anything other than decrementing start.

This bug applies to all branches under normal maintenance, from ruby 2.3 to trunk.

Also available in: Atom PDF