チケットに手を出す。
まずはBug #2063。調査中に作った適当なruby用じゃないライブラリを渡すと落ちる。
% ruby -I. -rlibhello -e 'print $:' /q/kanemoto/c/aix/4/libhello.so: [BUG] Segmentation fault ruby 1.9.2dev (2010-03-19 trunk 26979) [powerpc-aix5.3.0.0] -- control frame ---------- c:0003 p:-134643354 s:0006 b:0006 l:000005 d:000005 TOP c:0002 p:---- s:0004 b:0004 l:000003 d:000003 CFUNC :require c:0001 p:0000 s:0002 b:0002 l:00178c d:00178c TOP --------------------------- -- Ruby level backtrace information ---------------------------------------- ruby:0:in `require' [NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html zsh: abort (core dumped) ruby -I. -rlibhello -e 'print $:'
よし。いろいろまずそうだ。パッチにあるstrerrorはスレッドアンセーフなんですが、やっぱりそのままはつかえなそうだ。