Yukihiro Nakadaira wrote: > On Sat, May 11, 2013 at 8:47 PM, Bram Moolenaar <[email protected]> wrote: > > > > > Hiroshi Shirosaki wrote: > > > > > This is originally reported here. > > > https://bugs.ruby-lang.org/issues/8364 > > > > > > Ruby crashes due to GC failure on mac osx. It seems ruby > > > initialization in if_ruby.c is not a portable way. > > > Stack start address should be prior to ruby stack region of every ruby > > > eval for GC working correctly. It would be better to get the stack > > > start address at startup timing of vim. > > > Ruby 1.8.7 on Linux also has this issue. > > > > > > I've created a patch to fix this. Tested with ruby 1.8.7, 1.9.3 and > > > trunk on osx. > > > ruby_init_stack() also exists in ruby 1.8.7. > > > > > > https://gist.github.com/shirosaki/5547805 > > > > Thanks. Ruby does appear to have a special kind of GC. > > > > ruby_init_stack() is also required for static linked version.
But do we still need the check for DYNAMIC_RUBY_VER or another version check? Your other message states that it's different for 64 bits, thus I'm not including this patch yet. -- Nothing is impossible for the man who doesn't have to do it. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
