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.
--
[clop clop]
GUARD #1: Halt! Who goes there?
ARTHUR: It is I, Arthur, son of Uther Pendragon, from the castle of
Camelot. King of the Britons, defeator of the Saxons, sovereign of
all England!
GUARD #1: Pull the other one!
The Quest for the Holy Grail (Monty Python)
/// 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.