[MacRuby-devel] BridgeSupport Preview 2

Laurent Sansonetti lsansonetti at apple.com
Thu Dec 16 13:03:33 PST 2010


On Dec 16, 2010, at 1:36 AM, Eloy Duran wrote:

> It unfortunately still causes a segfault for my FSEvents RubyCocoa code in Kicker :(
> 
> $ sudo gem install kicker
> $ kicker -e 'ls -l'
> 
> Then after a change to a file in the current directory:
> 
> Program received signal EXC_BAD_ACCESS, Could not access memory.
> Reason: 13 at address: 0x0000000000000000
> 0x00007fff81dc0120 in objc_msgSend ()
> (gdb) bt
> #0  0x00007fff81dc0120 in objc_msgSend ()
> #1  0x00000001001c8c14 in ocid_to_rbobj_cache_only ()
> #2  0x00000001001c9a34 in ocdata_to_rbobj ()
> #3  0x00000001001ca838 in rbobj_to_ocdata ()
> #4  0x00007fff86e28b07 in ffi_closure_unix64_inner ()
> #5  0x00007fff86e27fa6 in ffi_closure_unix64 ()
> #6  0x00007fff86e4db50 in _Xcallback_rpc ()
> #7  0x00007fff86e4d9bd in FSEventsD2F_server ()
> #8  0x00007fff86e825e7 in FSEventsClientProcessMessageCallback ()
> #9  0x00007fff8852968e in __CFMachPortPerform ()
> #10 0x00007fff885016e1 in __CFRunLoopRun ()
> #11 0x00007fff884ffdbf in CFRunLoopRunSpecific ()
> #12 0x00007fff884ffb46 in CFRunLoopRun ()
> #13 0x00007fff86e27e24 in ffi_call_unix64 ()

That's unlikely the same FSEvent bug that was fixed in Preview 2. It would be nice to have a MacRuby reduction for this one.

> Also PeepOpen still crashes for me with this preview: https://gist.github.com/743232

I suppose PeepOpen embeds a version of MacRuby older than 0.7.1? Then, it's normal behavior. Only 0.7.1 or newer can handle the new files.

Laurent

> On Dec 16, 2010, at 1:25 AM, Laurent Sansonetti wrote:
> 
>> Hi guys,
>> 
>> A new development preview version of BridgeSupport has been released.
>> 
>> http://www.macruby.org/blog/2010/12/15/bridgesupport-preview2.html
>> 
>> Please give it a try :)
>> 
>> Laurent
>> _______________________________________________
>> MacRuby-devel mailing list
>> MacRuby-devel at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> 
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20101216/4fe677a5/attachment.html>


More information about the MacRuby-devel mailing list