[MacRuby-devel] [MacRuby] #810: MacRuby can't install the nokogiri of rubygems.

Aaron Patterson aaron at tenderlovemaking.com
Sun Jul 25 11:58:39 PDT 2010


On Sun, Jul 25, 2010 at 12:58:48AM -0000, MacRuby wrote:
> #810: MacRuby can't install the nokogiri of rubygems.
> ----------------------------------+-----------------------------------------
>  Reporter:  watson1978@…          |        Owner:  lsansonetti@…        
>      Type:  defect                |       Status:  closed               
>  Priority:  blocker               |    Milestone:  MacRuby 0.7          
> Component:  MacRuby               |   Resolution:  fixed                
>  Keywords:                        |  
> ----------------------------------+-----------------------------------------
> Changes (by lsansonetti@…):
> 
>   * 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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20100725/e18d91bc/attachment.bin>


More information about the MacRuby-devel mailing list