Project

General

Profile

Bug #13678

toplevel return causes [BUG]

Added by shyouhei (Shyouhei Urabe) over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 2.5.0dev (2017-06-23 trunk 59146) [x86_64-darwin15]
[ruby-core:81761]

Description

Attached script causes [BUG] Stack consistency error (sp: 7, bp: 6)

bug.rb (12 Bytes) bug.rb shyouhei (Shyouhei Urabe), 06/24/2017 02:54 PM

Related issues

Related to Ruby trunk - Feature #4840: Allow returning from requireClosed

Associated revisions

Revision 8f1c93f4
Added by nobu (Nobuyoshi Nakada) over 1 year ago

compile.c: toplevel return in argument

  • compile.c (iseq_compile_each0): adjust the stack before return in an evstr/argument (reported by Balazs balazs@kutilovi.cz) to fix stack consistency error. [Bug #13678]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 59169
Added by nobu (Nobuyoshi Nakada) over 1 year ago

compile.c: toplevel return in argument

  • compile.c (iseq_compile_each0): adjust the stack before return in an evstr/argument (reported by Balazs balazs@kutilovi.cz) to fix stack consistency error. [Bug #13678]

Revision 59169
Added by nobu (Nobuyoshi Nakada) over 1 year ago

compile.c: toplevel return in argument

  • compile.c (iseq_compile_each0): adjust the stack before return in an evstr/argument (reported by Balazs balazs@kutilovi.cz) to fix stack consistency error. [Bug #13678]

Revision 9b586688
Added by nagachika (Tomoyuki Chikanaga) about 1 year ago

merge revision(s) 59169: [Backport #13678]

compile.c: toplevel return in argument

* compile.c (iseq_compile_each0): adjust the stack before return
  in an evstr/argument (reported by Balazs <balazs@kutilovi.cz>)
  to fix stack consistency error.   [Bug #13678]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@59490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 59490
Added by nagachika (Tomoyuki Chikanaga) about 1 year ago

merge revision(s) 59169: [Backport #13678]

compile.c: toplevel return in argument

* compile.c (iseq_compile_each0): adjust the stack before return
  in an evstr/argument (reported by Balazs <balazs@kutilovi.cz>)
  to fix stack consistency error.   [Bug #13678]

History

#1 Updated by nobu (Nobuyoshi Nakada) over 1 year ago

  • Status changed from Open to Closed

Applied in changeset trunk|r59169.


compile.c: toplevel return in argument

  • compile.c (iseq_compile_each0): adjust the stack before return in an evstr/argument (reported by Balazs balazs@kutilovi.cz) to fix stack consistency error. [Bug #13678]

#2 Updated by nobu (Nobuyoshi Nakada) over 1 year ago

#3 [ruby-core:82230] Updated by nagachika (Tomoyuki Chikanaga) about 1 year ago

  • Backport changed from 2.2: DONTNEED, 2.3: DONTNEED, 2.4: REQUIRED to 2.2: DONTNEED, 2.3: DONTNEED, 2.4: DONE

ruby_2_4 r59490 merged revision(s) 59169.

Also available in: Atom PDF