Actions
Bug #7064
closedsuper from at_exit will segv
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.0.0dev (2012-09-13 trunk 36956) [x86_64-darwin12.1.0]
Backport:
Description
Calling super inside at_exit will segv. For example:
$ ruby -e'at_exit { super }'
I'm not sure what super should do inside the at_exit block, but it probably shouldn't segv.
Updated by Eregon (Benoit Daloze) over 11 years ago
This did not happen with ruby 2.0.0dev (2012-07-15 trunk 36395) [x86_64-darwin10.8.0].
Updated by nobu (Nobuyoshi Nakada) over 11 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r37030.
Aaron, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
insns.def: super from at_exit
- insns.def (invokesuper): klass in cfp is not valid in at_exit and
END blocks. [ruby-core:47680] [Bug #7064]
Actions
Like0
Like0Like0