diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-22 13:01:37 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-22 13:01:37 +0000 |
commit | 935b0347e2845a6cf6ea4a7863c2208a2c21c672 (patch) | |
tree | d28772f7ffe1012b7334d9053a42d8761cab8455 /ChangeLog | |
parent | 2af8e54e3bd182b6611d8bb3603d76d7a5d2146b (diff) |
merge revision(s) 21353:
* eval.c (cc_mark): frees the continuation's stack if its thread
is dead to avoid recursive gc that segfaults. [ruby-core:13889]
a patch by Brent Roman <brent AT mbari.org>.
* eval.c (rb_cont_check): checks for valid continuation instance.
* eval.c (rb_callcc): assigns th->thread before scope_dup() to
avoid segfaults if this scope_dup() triggers a gc pass.
a patch by Brent Roman <brent AT mbari.org>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@22538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1,3 +1,15 @@ +Sun Feb 22 21:50:29 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * eval.c (cc_mark): frees the continuation's stack if its thread + is dead to avoid recursive gc that segfaults. [ruby-core:13889] + a patch by Brent Roman <brent AT mbari.org>. + + * eval.c (rb_cont_check): checks for valid continuation instance. + + * eval.c (rb_callcc): assigns th->thread before scope_dup() to + avoid segfaults if this scope_dup() triggers a gc pass. + a patch by Brent Roman <brent AT mbari.org>. + Sun Feb 22 00:29:05 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> * ext/extmk.rb (extmake): does not use both of makefile.rb and |