Re: [MacRuby-devel] [MacRuby] #559: Build error: too short escaped multibyte character: /[\x80-\xff\r\n]/

2010-01-17 Thread MacRuby
#559: Build error:  too short escaped multibyte character: /[\x80-\xff\r\n]/
-+--
 Reporter:  valerii.hi...@…  |   Owner:  lsansone...@…
 Type:  defect   |  Status:  new  
 Priority:  critical |   Milestone:   
Component:  MacRuby  |Keywords:   
-+--

Comment(by valerii.hi...@…):

 Confirmed as fixed.

-- 
Ticket URL: 
MacRuby 

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] [MacRuby] #559: Build error: too short escaped multibyte character: /[\x80-\xff\r\n]/

2010-01-17 Thread MacRuby
#559: Build error:  too short escaped multibyte character: /[\x80-\xff\r\n]/
-+--
 Reporter:  valerii.hi...@…  |Owner:  lsansone...@…
 Type:  defect   |   Status:  closed   
 Priority:  critical |Milestone:  MacRuby 0.5  
Component:  MacRuby  |   Resolution:  fixed
 Keywords:   |  
-+--
Changes (by lsansone...@…):

  * status:  new => closed
  * resolution:  => fixed
  * milestone:  => MacRuby 0.5


Comment:

 Thanks, closing.

-- 
Ticket URL: 
MacRuby 

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


[MacRuby-devel] GCD and NSURLConnection

2010-01-17 Thread Darrin Eden
Hi,
  I have yet to wrap my head around GCD, but that's not stopped me from 
breaking things anyway.
  I'd like to use an asynchronous queue with NSURLConnection. However, 
 results in a segmentation fault.
  Thoughts?

  Thanks,
-- Darrin
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] GCD and NSURLConnection

2010-01-17 Thread Joshua Ballanco
Hey Darin,

Looks like you're hitting https://www.macruby.org/trac/ticket/511

Cheers,

Josh


On Jan 17, 2010, at 4:52 PM, Darrin Eden wrote:

> Hi,
>  I have yet to wrap my head around GCD, but that's not stopped me from 
> breaking things anyway.
>  I'd like to use an asynchronous queue with NSURLConnection. However, 
>  results in a segmentation fault.
>  Thoughts?
> 
>  Thanks,
>-- Darrin
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] GCD and NSURLConnection

2010-01-17 Thread steve ross
But... both examples show multiple threads accessing a single instance variable 
without taking any precautions to make the access atomic. Could it be that kind 
of concurrency issue?

Steve

On Jan 17, 2010, at 6:01 PM, Joshua Ballanco wrote:
> 
> Hey Darin,
> 
> Looks like you're hitting https://www.macruby.org/trac/ticket/511
> 
> Cheers,
> 
> Josh
> 
> 
> On Jan 17, 2010, at 4:52 PM, Darrin Eden wrote:
> 
>> Hi,
>> I have yet to wrap my head around GCD, but that's not stopped me from 
>> breaking things anyway.
>> I'd like to use an asynchronous queue with NSURLConnection. However, 
>>  results in a segmentation fault.
>> Thoughts?
>> 
>> Thanks,
>>   -- Darrin
>> ___

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] [MacRuby] #511: GCD crash with indirect method access

2010-01-17 Thread MacRuby
#511: GCD crash with indirect method access
---+
 Reporter:  joshua.balla...@…  |   Owner:  lsansone...@…
 Type:  defect |  Status:  new  
 Priority:  blocker|   Milestone:   
Component:  MacRuby|Keywords:  GCD  
---+

Comment(by joshua.balla...@…):

 Replying to [comment:6 lsansone...@…]:
 > Josh, can you try to reproduce the problem with r3272?
 Still reproducing...

-- 
Ticket URL: 
MacRuby 

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] GCD and NSURLConnection

2010-01-17 Thread Joshua Ballanco
I'd have to look at the NSURLConnection example again, but in the code from the 
bug report, there's no unsafe variable access in the Ruby code. Each Bar holds 
a reference to its own Foo in @foo, and we're dispatching to multiple Bars in 
turn. If you run that sample (you might need to tweak some of the parameters, 
depending on your machine) I think you'll find a fun error message that 
indicates this is definitely a MacRuby bug. :-)

Cheers,

Josh


On Jan 17, 2010, at 10:25 PM, steve ross wrote:

> But... both examples show multiple threads accessing a single instance 
> variable without taking any precautions to make the access atomic. Could it 
> be that kind of concurrency issue?
> 
> Steve
> 
> On Jan 17, 2010, at 6:01 PM, Joshua Ballanco wrote:
>> 
>> Hey Darin,
>> 
>> Looks like you're hitting https://www.macruby.org/trac/ticket/511
>> 
>> Cheers,
>> 
>> Josh
>> 
>> 
>> On Jan 17, 2010, at 4:52 PM, Darrin Eden wrote:
>> 
>>> Hi,
>>> I have yet to wrap my head around GCD, but that's not stopped me from 
>>> breaking things anyway.
>>> I'd like to use an asynchronous queue with NSURLConnection. However, 
>>>  results in a segmentation fault.
>>> Thoughts?
>>> 
>>> Thanks,
>>>  -- Darrin
>>> ___
> 
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel