Project

General

Profile

Backport #3658

Re: *array で異常終了

Added by usa (Usaku NAKAMURA) almost 9 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
[ruby-dev:41934]

Description

=begin
こんにちは、なかむら(う)です。

チケット化するために全文引用します。
なお、trunk、ruby_1_9_2においても、プラットフォームによらず再
現できます。

なお再現ケースは [0,*x=1];x まで短縮できました。
あんまり意味ないですが。

In message "[ruby-dev:41933] *array で異常終了"
on Aug.05,2010 17:07:58, oda@alato.ne.jp wrote:

小田利通と申します。

ruby 1.9.1 でアボートします。

$ ruby -e 'x=[1];[2,*x];x'

たぶん、バグじゃないかと。

T.Oda

それでは。
--
U.Nakamura usa@garbagecollect.jp
=end

Associated revisions

Revision 50b50499
Added by nobu (Nobuyoshi Nakada) almost 9 years ago

  • compile.c (iseq_compile_each): drop unused ARGSCAT results. fix [ruby-dev:41933], [Bug #3658]

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

Revision 28870
Added by nobu (Nobuyoshi Nakada) almost 9 years ago

  • compile.c (iseq_compile_each): drop unused ARGSCAT results. fix [ruby-dev:41933], [Bug #3658]

Revision 28870
Added by nobu (Nobuyoshi Nakada) almost 9 years ago

  • compile.c (iseq_compile_each): drop unused ARGSCAT results. fix [ruby-dev:41933], [Bug #3658]

Revision 28870
Added by nobu (Nobuyoshi Nakada) almost 9 years ago

  • compile.c (iseq_compile_each): drop unused ARGSCAT results. fix [ruby-dev:41933], [Bug #3658]

Revision 28870
Added by nobu (Nobuyoshi Nakada) almost 9 years ago

  • compile.c (iseq_compile_each): drop unused ARGSCAT results. fix [ruby-dev:41933], [Bug #3658]

Revision 28870
Added by nobu (Nobuyoshi Nakada) almost 9 years ago

  • compile.c (iseq_compile_each): drop unused ARGSCAT results. fix [ruby-dev:41933], [Bug #3658]

Revision 28870
Added by nobu (Nobuyoshi Nakada) almost 9 years ago

  • compile.c (iseq_compile_each): drop unused ARGSCAT results. fix [ruby-dev:41933], [Bug #3658]

Revision 600601c3
Added by nobu (Nobuyoshi Nakada) almost 9 years ago

  • compile.c (iseq_compile_each): to_a method should be called.
    [Bug #3658]

  • compile.c (iseq_compile_each): ditto for ARGSPUSH.

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

Revision 28873
Added by nobu (Nobuyoshi Nakada) almost 9 years ago

  • compile.c (iseq_compile_each): to_a method should be called.
    [Bug #3658]

  • compile.c (iseq_compile_each): ditto for ARGSPUSH.

Revision 28873
Added by nobu (Nobuyoshi Nakada) almost 9 years ago

  • compile.c (iseq_compile_each): to_a method should be called.
    [Bug #3658]

  • compile.c (iseq_compile_each): ditto for ARGSPUSH.

Revision 28873
Added by nobu (Nobuyoshi Nakada) almost 9 years ago

  • compile.c (iseq_compile_each): to_a method should be called.
    [Bug #3658]

  • compile.c (iseq_compile_each): ditto for ARGSPUSH.

Revision 28873
Added by nobu (Nobuyoshi Nakada) almost 9 years ago

  • compile.c (iseq_compile_each): to_a method should be called.
    [Bug #3658]

  • compile.c (iseq_compile_each): ditto for ARGSPUSH.

Revision 28873
Added by nobu (Nobuyoshi Nakada) almost 9 years ago

  • compile.c (iseq_compile_each): to_a method should be called.
    [Bug #3658]

  • compile.c (iseq_compile_each): ditto for ARGSPUSH.

Revision 28873
Added by nobu (Nobuyoshi Nakada) almost 9 years ago

  • compile.c (iseq_compile_each): to_a method should be called.
    [Bug #3658]

  • compile.c (iseq_compile_each): ditto for ARGSPUSH.

Revision 5ffe59fa
Added by mame (Yusuke Endoh) almost 9 years ago

  • compile.c (NODE_ARGSCAT, NODE_ARGSPUSH): drop unused ARGSCAT results when poped is true. [ruby-dev:41933], [Bug #3658] This is retry of r28870 and r28873 which were reverted.

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

Revision 28877
Added by mame (Yusuke Endoh) almost 9 years ago

  • compile.c (NODE_ARGSCAT, NODE_ARGSPUSH): drop unused ARGSCAT results when poped is true. [ruby-dev:41933], [Bug #3658] This is retry of r28870 and r28873 which were reverted.

Revision 28877
Added by mame (Yusuke Endoh) almost 9 years ago

  • compile.c (NODE_ARGSCAT, NODE_ARGSPUSH): drop unused ARGSCAT results when poped is true. [ruby-dev:41933], [Bug #3658] This is retry of r28870 and r28873 which were reverted.

Revision 28877
Added by mame (Yusuke Endoh) almost 9 years ago

  • compile.c (NODE_ARGSCAT, NODE_ARGSPUSH): drop unused ARGSCAT results when poped is true. [ruby-dev:41933], [Bug #3658] This is retry of r28870 and r28873 which were reverted.

Revision 28877
Added by mame (Yusuke Endoh) almost 9 years ago

  • compile.c (NODE_ARGSCAT, NODE_ARGSPUSH): drop unused ARGSCAT results when poped is true. [ruby-dev:41933], [Bug #3658] This is retry of r28870 and r28873 which were reverted.

Revision 28877
Added by mame (Yusuke Endoh) almost 9 years ago

  • compile.c (NODE_ARGSCAT, NODE_ARGSPUSH): drop unused ARGSCAT results when poped is true. [ruby-dev:41933], [Bug #3658] This is retry of r28870 and r28873 which were reverted.

Revision 28877
Added by mame (Yusuke Endoh) almost 9 years ago

  • compile.c (NODE_ARGSCAT, NODE_ARGSPUSH): drop unused ARGSCAT results when poped is true. [ruby-dev:41933], [Bug #3658] This is retry of r28870 and r28873 which were reverted.

Revision 2ed7d6d7
Added by yugui (Yuki Sonoda) almost 9 years ago

merges r28877 from trunk into ruby_1_9_2.

  • compile.c (NODE_ARGSCAT, NODE_ARGSPUSH): drop unused ARGSCAT results when poped is true. [ruby-dev:41933], [Bug #3658] This is retry of r28870 and r28873 which were reverted.

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

Revision 28934
Added by yugui (Yuki Sonoda) almost 9 years ago

merges r28877 from trunk into ruby_1_9_2.

  • compile.c (NODE_ARGSCAT, NODE_ARGSPUSH): drop unused ARGSCAT results when poped is true. [ruby-dev:41933], [Bug #3658] This is retry of r28870 and r28873 which were reverted.

History

#1

Updated by usa (Usaku NAKAMURA) almost 9 years ago

  • Category set to core
  • Priority changed from 3 to Normal
  • Target version set to 1.9.2
  • ruby -v set to ruby 1.9.3dev (2010-08-05 trunk 28860) [i386-mswin32]

=begin

=end

#2

Updated by nobu (Nobuyoshi Nakada) almost 9 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
This issue was solved with changeset r28870.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

=end

#3

Updated by nobu (Nobuyoshi Nakada) almost 9 years ago

  • Status changed from Closed to Open

=begin

=end

#4

Updated by nobu (Nobuyoshi Nakada) almost 9 years ago

  • Status changed from Open to Closed

=begin
This issue was solved with changeset r28873.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

=end

Also available in: Atom PDF