Issue #7468 has been updated by kosaki (Motohiro KOSAKI).


SET_MACHINE_STACK_END????篏????

#if defined(__x86_64__) && defined(__GNUC__) && !defined(__native_client__)
#define SET_MACHINE_STACK_END(p) __asm__ ("movq\t%%rsp, %0" : "=r" (*(p)))

?????????? volatile????asm??с???????ゃ??????潟????句?????rsp???篏帥????????????????筝????荐?菴違??????????????
????????????????????????????????????????????с??????с??????????????

????????????? r38134 ??? volatile??ゃ????????障????????????????????≪?祉?潟??????

    3f92:	e8 00 00 00 00       	callq  3f97 <rb_threadptr_execute_interrupts+0x317>
    3f97:	48 89 e0             	mov    %rsp,%rax
    3f9a:	49 8b 7c 24 08       	mov    0x8(%r12),%rdi
    3f9f:	49 89 84 24 b0 01 00 	mov    %rax,0x1b0(%r12)
    3fa6:	00 
    3fa7:	4c 89 e6             	mov    %r12,%rsi
    3faa:	e8 c1 fa ff ff       	callq  3a70 <gvl_yield>

?????????????????c???????潟??????????? gvl_yield()???翫?????%rsp?????<?≪???吾????????????????????????障????????????????堺?ャ??篋冴???????????
茯違??腆肴?????蕁??????с????障???????????

鐚? ?????????眼?c??????? r38134 ???1.9.3?????????????若??綽?荀???с??????????????九?宴???????

----------------------------------------
Bug #7468: GC_GUARD羲??????????????mark羲?????c?純??????若????榊????????障?????
https://bugs.ruby-lang.org/issues/7468#change-34296

Author: tarui (Masaya Tarui)
Status: Open
Priority: High
Assignee: authorNari (Narihiro Nakamura)
Category: core
Target version: 2.0.0
ruby -v: ruby -v: ruby 2.0.0dev (2012-11-30 trunk 37999) [x86_64-linux]


?????ゃ????????test-all??ф?????????若????榊??????????????????c??障?????

make  test-all TESTS="-qv  -n /test_string\$$/"

???segv???
  1) Error:
 test_string(DL::TestFunc):
 ArgumentError: assertion message must be String or Proc, but Thread::Backtrace was given.
???????????????????????????障????????
GC.stress = true ??????Thread::Backtrace??????絽吾??pass??с??ャ??篋????????c?純??????GC??????????違???????????障?????



-- 
http://bugs.ruby-lang.org/