Issue #7468 has been updated by tarui (Masaya Tarui).

Category set to core
Assignee set to authorNari (Narihiro Nakamura)

rb_threadptr_execute_interrupts腟???宴??thread?????帥??莎激???????????
machine_stack_end???罩g∈??????????????????mark???????????榊???????????障?????
篁ヤ???????≪?祉?潟?????潟?若??????膕?

(gdb) disassemble
Dump of assembler code for function rb_threadptr_execute_interrupts:
   0x00002aab414e6c30 <+0>:     push   %r15
   0x00002aab414e6c32 <+2>:     mov    %rsp,%rdx

   0x00002aab414e6c40 <+16>:    sub    $0x98,%rsp

   0x00002aab414e6c4b <+27>:    mov    %rdx,0x38(%rsp)

   0x00002aab414e6f26 <+758>:   callq  0x2aab414e69b0 <rb_gc_save_machine_context>
   0x00002aab414e6f2b <+763>:   mov    0x38(%rsp),%rdx
   0x00002aab414e6f30 <+768>:   mov    0x8(%r12),%rdi
   0x00002aab414e6f35 <+773>:   mov    %rdx,0x1b0(%r12)
   0x00002aab414e6f3d <+781>:   callq  0x2aab414e4730 <gvl_yield>

?????????????????rsp??с????????∽?違??ャ?c??綵???????rsp???machine_stack_end??????????障?c?????障?????
rb_thread_schedule??с??
   0x00002aab414e8f40 <+48>:    callq  0x2aab414e69b0 <rb_gc_save_machine_context>
   0x00002aab414e8f45 <+53>:    mov    0x8(%rbx),%rdi
   0x00002aab414e8f49 <+57>:    mov    %rsp,%rax
   0x00002aab414e8f4c <+60>:    mov    %rax,0x1b0(%rbx)
   0x00002aab414e8f53 <+67>:    callq  0x2aab414e4730 <gvl_yield>
??????????<????????rsp???篏帥?c????????с?????????????莨???????????????????????????с??????
gcc??????違????c??????????????????????????

inline assembler???篏帥???????rb_gc_set_stack_end???篏帥?????????????????????
rb_thread_schedule_limits?????????∽?違?後?????????????????????蚊????違??
??榊???????????????????????с????????
??隙?????????????綵??????????????nari??????????篁祉??????????????с???????????鐚?

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

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/