[Rubycocoa-devel 368] Re: [FIX]irb -r osx/cocoa crashes

アーカイブの一覧に戻る

kimura wataru kimur****@i*****
Sun Aug 20 22:20:05 JST 2006


On Sat, 19 Aug 2006 19:53:41 +0200, Laurent Sansonetti wrote:
> Cool!
> 
> The weird thing is that I cannot reproduce on my machine (1.8.4,  
> i386). The fix looks trivial, but maybe it only crashes if ppc?
> 
That might be so... I cannot test on intel Mac. Apple's ruby in 
10.4 ppc crashes. I've met the same problems with other extensions
(odbc, rjb and imagemagic..) in ruby-dev or ruby-talk.

> BTW, I found a bug in the same code area a few weeks ago, if you set  
> $0 to something on Darwin it will append lots of unnecessary space  
> characters. (try $0 = 'foo', then in another console, ps auxwww | grep  
> foo). I sent a patch to ruby-core to fix this, and the version that  
> Apple ships is already patched. I wonder if it will enter 1.8.5 though.
> 
It seems not to be fixed.

  % /usr/local/stow/ruby-1.8.5-preview4/bin/ruby -v
  ruby 1.8.5 (2006-08-18) [powerpc-darwin8.7.0]
  % /usr/local/stow/ruby-1.8.5-preview4/bin/ruby -e '$0 = "foo"; sleep 180' & 
  [2] 27007
  % ps auxwww | grep foo
  kimuraw  27007   0.0  0.1    31276   1400  p9  SN   10:11PM   0:00.02 foo                                                                   STY=****
  % 


-- 
kimura wataru



More information about the Rubycocoa-devel mailing list
アーカイブの一覧に戻る