From 1a22daa4629dc1bdff4f047e26d34cd08f857e07 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 6 Jan 2009 04:39:20 +0000 Subject: * 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 . * 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 . git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 151120a9f6..13310525c7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +Tue Jan 6 13:39:18 2009 Nobuyoshi Nakada + + * 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 . + + * 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 . + Mon Jan 5 12:52:08 2009 Nobuyoshi Nakada * win32/win32.c (init_env): use user profile folder than personal -- cgit v1.2.3