On Sun, Jul 25, 2010 at 12:58:48AM -0000, MacRuby wrote:
> #810: MacRuby can't install the nokogiri of rubygems.
> ----------------------------------+-----------------------------------------
>  Reporter:  watson1...@…          |        Owner:  lsansone...@…        
>      Type:  defect                |       Status:  closed               
>  Priority:  blocker               |    Milestone:  MacRuby 0.7          
> Component:  MacRuby               |   Resolution:  fixed                
>  Keywords:                        |  
> ----------------------------------+-----------------------------------------
> Changes (by lsansone...@…):
> 
>   * status:  reopened => closed
>   * resolution:  => fixed
>   * milestone:  => MacRuby 0.7
> 
> 
> Comment:
> 
>  Okay, the gem should not build and load with r4380.
> 
>  Note that I wasn't able to run the frontpage example in nokogiri.org, at a
>  quick glance it seems to be related to the fact that it passes freshly
>  created ruby objects as context pointers to libxml and our GC won't
>  determine if the object is still used, therefore it collects it, then the
>  process crashes later when trying to use that object. I will look later (I
>  also suspect this can be a problem with the GC of MRI), in the meantime,
>  this bug can be closed!

Awesome!  Thank you very much.

We definitely store VALUE pointers in internal libxml2 data structures,
but those should be pointed to by Ruby too (I think).

I'll build the latest MacRuby and see what I can find.

-- 
Aaron Patterson
http://tenderlovemaking.com/

Attachment: pgpnuQzuhTNhB.pgp
Description: PGP signature

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to