Re: [MacRuby-devel] segmentation fault 11 with net:http post inside of a function?

2013-07-04 Thread bryan rasmussen
> Perhaps copy has already been defined in top level and it do something > >important? Try rename your method to something else and try again. Hi, that's the ticket. thanks, Bryan Rasmussen ___ MacRuby-devel mailing list [email protected].

Re: [MacRuby-devel] segmentation fault 11 with net:http post inside of a function?

2013-07-03 Thread Francis Chong
Hi Bryan Perhaps copy has already been defined in top level and it do something important? Try rename your method to something else and try again. Francis Chong Ignition Soft On 4 Jul, 2013, at 7:17 AM, bryan rasmussen wrote: >> I think osx doesnt like the "localhost", try 127.0.0.1. Also, if

Re: [MacRuby-devel] segmentation fault 11 with net:http post inside of a function?

2013-07-03 Thread bryan rasmussen
> I think osx doesnt like the "localhost", try 127.0.0.1. Also, if you know a > bit of Objc, try the same code there to see if it's a MacRuby only issue. > I tried, didn't have any effect. Anyway the salient aspect seems to be that the code is being called from within a function, otherwise it work

Re: [MacRuby-devel] segmentation fault 11 with net:http post inside of a function?

2013-07-03 Thread Mark Villacampa
I think osx doesnt like the "localhost", try 127.0.0.1. Also, if you know a bit of Objc, try the same code there to see if it's a MacRuby only issue. Sent from my iPhone > On 03/07/2013, at 13:17, bryan rasmussen wrote: > > Hi, > > I have the following: > > require 'net/http' > > def copy()

Re: [MacRuby-devel] Segmentation fault

2010-12-06 Thread Eloy Duran
It shouldn't occur in the first place, actually. I.e. no Ruby code should lead to a segfault. Can you create a ticket for this? Thanks On 6 dec 2010, at 22:03, Robert Rice wrote: > Would it be possible to catch this error rather than allowing MacRuby to > crash with a Segmentation fault: > >

Re: [MacRuby-devel] Segmentation fault for classes with multiple modules chained with super

2009-09-01 Thread Eloy Duran
Added in r2452, thanks! Btw: I prefer a git format-patch diff :) Eloy On 1 sep 2009, at 20:58, Alexey Borzenkov wrote: On Tue, Sep 1, 2009 at 1:12 AM, Laurent Sansonetti> wrote: Hi Alexey, Looks like you found a bug in super :) Would you be willing to contribute a snippet for test_vm/dispa

Re: [MacRuby-devel] Segmentation fault for classes with multiple modules chained with super

2009-09-01 Thread Alexey Borzenkov
On Tue, Sep 1, 2009 at 1:12 AM, Laurent Sansonetti wrote: > Hi Alexey, > > Looks like you found a bug in super :) Would you be willing to contribute a > snippet for test_vm/dispatch.rb? This is where we keep all these weird cases > to make sure we won't forget to fix them. Here it is. Works on bot

Re: [MacRuby-devel] Segmentation fault for classes with multiple modules chained with super

2009-08-31 Thread Laurent Sansonetti
Hi Alexey, Looks like you found a bug in super :) Would you be willing to contribute a snippet for test_vm/dispatch.rb? This is where we keep all these weird cases to make sure we won't forget to fix them. You can run the test using $ ruby test_vm.rb --ruby=../miniruby dispatch And also 1

Re: [MacRuby-devel] Segmentation fault for classes with multiple modules chained with super

2009-08-31 Thread Alexey Borzenkov
On Tue, Sep 1, 2009 at 1:01 AM, Alexey Borzenkov wrote: > The following program causes segmentation fault for me with the latest > macruby trunk: > > class A >  def somemethod >    puts "A::somemethod" >  end > end > > module B >  def somemethod >    super >    puts "B::somemethod" >  end > end > >