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

Zurück zum Archiv-Index

Laurent Sansonetti lsans****@apple*****
Tue Jun 26 22:00:22 JST 2007


Hi,

On Jun 25, 2007, at 11:32 PM, Naoki Hiroshima wrote:

>> But Jonathan Paisley made patches to work around this issue, and I
>> will integrate them for 1.0. I still didn't integrate them because of
>> lack of time. I don't have them handy but If you need them you can
>> search the mail archives (you should hit some results). The patches
>> modify both RubyCocoa and Ruby.
>
> Thanks a lot.  I found the post at:
> http://lists.sourceforge.jp/mailman/archives/rubycocoa-devel/2006-August/000373.html
>
> I don't know why google didn't give me the post last night :-/
>
> So, I wonder if the ruby part of the patch is known to be going to be
> applied.  The Jonathan's nice patch may prevent the crash which is
> great but won't solve the real issue of Thread unless ruby is fixed,
> right?

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).

Laurent




More information about the Rubycocoa-devel mailing list
Zurück zum Archiv-Index