* vm.c (rb_thread_mark), cont.c (cont_mark): revert r33369 and r33371
that may cause SEGV in certain environments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
051aa44240
commit
3e6a5b27f0
@ -1,3 +1,8 @@
|
|||||||
|
Sun Oct 2 20:05:32 2011 Kazuki Tsujimoto <kazuki@callcc.net>
|
||||||
|
|
||||||
|
* vm.c (rb_thread_mark), cont.c (cont_mark): revert r33369 and r33371
|
||||||
|
that may cause SEGV in certain environments.
|
||||||
|
|
||||||
Sun Oct 02 12:14:06 2011 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
|
Sun Oct 02 12:14:06 2011 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
|
||||||
|
|
||||||
* test/psych/test_yamldbm.rb: add test case.
|
* test/psych/test_yamldbm.rb: add test case.
|
||||||
|
2
cont.c
2
cont.c
@ -138,7 +138,7 @@ cont_mark(void *ptr)
|
|||||||
if (ptr) {
|
if (ptr) {
|
||||||
rb_context_t *cont = ptr;
|
rb_context_t *cont = ptr;
|
||||||
rb_gc_mark(cont->value);
|
rb_gc_mark(cont->value);
|
||||||
rb_gc_mark(cont->saved_thread.self);
|
rb_thread_mark(&cont->saved_thread);
|
||||||
|
|
||||||
if (cont->vm_stack) {
|
if (cont->vm_stack) {
|
||||||
#ifdef CAPTURE_JUST_VALID_VM_STACK
|
#ifdef CAPTURE_JUST_VALID_VM_STACK
|
||||||
|
Loading…
x
Reference in New Issue
Block a user