[Rubycocoa-devel 1086] Re: NSApp.sendAction_to_from leads crash

Back to archive index

Laurent Sansonetti lsans****@apple*****
Mon Jul 16 19:21:13 JST 2007


On Jul 16, 2007, at 7:44 AM, Paul Guyot wrote:

>
> On Jul 7, 2007, at 7:32 AM, Laurent Sansonetti wrote:
>
>> Hi JP,
>>
>> On Jul 6, 2007, at 5:34 PM, jeanp****@gmail***** wrote:
>>
>>> Yes, basically the ruby part of the patch inserts hooks between
>>> switching from a Thread to another, and the RubyCocoa part of the
>>> patch saves and restores the NSThread contextual data upon these
>>> hooks. Both patches need to be applied to fix the problem.
>>>
>>> We will try to get the ruby part of the patch adopted upstream (and
>>> also by the version of Ruby Apple bundles in the OS).
>>>
>>> in the interim, it might be nice to advocate to the ruby macports  
>>> maintainer (cc'ed on this message) to accept the patch and at  
>>> least offer it as a variant on the ruby macport.
>>>
>>> seem reasonable?
>>
>> Reasonable, of course, I would even say awesome! :-)
>>
>> But I suggest to wait at least for the next RubyCocoa release. I  
>> would like to heavily test the threading support before releasing  
>> it, to make sure it works well.
>
> Laurent, Jean-Pierre,
>
> Sorry for the delay. The patch for the hooks in Ruby are now  
> included in MacPorts ruby as a default variant.
> http://trac.macports.org/projects/macports/changeset/27034
>
> Please allow 12 hours for this change to propagate to the rsync  
> server.

Excellent Paul, merci beaucoup! :-)

Laurent




More information about the Rubycocoa-devel mailing list
Back to archive index