--Multipart_Wed_Dec_18_16:55:00_2002-1
Content-Type: text/plain; charset=ISO-2022-JP

なかだです。

At Wed, 18 Dec 2002 00:41:24 +0900 (JST),
nobu.nokada / softhome.net wrote:
> > 気がついてしまったからには報告せねばなるまい...
> > 
> > % ./ruby -v
> > ruby 1.7.3 (2002-12-17) [i386-freebsd4.7]
> > % ./ruby -e '
> > class << String
> > def allocate() end
> > remove_method :allocate
> > end
> > '
> > zsh: illegal hardware instruction (core dumped)  ./ruby -e ' class << String def allocate() end remove_method :allocate end '
> > 
> > というように core を吐きます。
> 
> エラーの中え帯鱸鈑を作ろうとして、スタックオーバーフローし
> ますね。
> 
> > まぁ、allocate が C レベルに隠蔽されれば直るかな?
> 
> 対応するSymbolを持たないIDのメドにすれば、Rubyレベルからは
> 保護される?

とりあえずコアの部分だけ。IDをすり替えたりとか(とくに
trace_func)結理矢理ですが。


--Multipart_Wed_Dec_18_16:55:00_2002-1
Content-Type: text/x-diff; type=gzip; charset=US-ASCII
Content-Disposition: attachment; filename="allocator.diff.gz"
Content-Transfer-Encoding: base64

H4sIAAAAAAACA71bbXPbNhL+LP8KVJ2mUiwloki9ZtKrY8ute67ls5X2XubKoynYZkORKkk5
cZP+99vFAiQoURKZTp2ZiCSIXSwWzy4Wu/RZMOcfxsyJIufxhXvw+s//O7g6vma3ns/H7KX7
EL+MVjePL+PIpRs5UOvhIOJJ5PEHL7hjEVxiLwyY8cLodA7m3u0ta69Yu8vaS9aORGsqYrvd
Vvc1o8NOuMu6nU6Xdfrjrjk2R6zdgX81YnV4eJh1HmqdB+NOd2xY1Png229Z2xj2+60eO5RX
aDoLvMQ+QupG84Dhv+jG9gLXX825vQjnK583oMUVXVr4cjEJVgseOTc+b746YAdtSTTnt17A
7Rgm6/MkDOwFT+7DuU5dd3w/dJ2E1wUnJ3q0Y1u0tVgHmB3mWcneYbQmgUaHElQY/z//1Ud2
Iw6ytEAtm2wKiD1Qlef43u+a+FmbZHNGWJt70VMgTQyzFWeDUQHMBiMp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aqTtFYpukQFDayYkWrF6yFvyEItlVj+r
VHTJlLPew1w+zuyNe/ofQpmGONEeyqsC1LUg312xoD4Utx6DLThp1aIcTa7SUe7jAiJes32Y
aqWPC1IJNMI9HwfIcTc/L4jk1wVtoxyHgg8MIjD1pe+gwwAmOkBXT5MAViNt/5Oqom9azFEm
ooTnan8C2BwpdK6KEsCw2Vi5wu+APtIfyFwWfrRtE3GDvj9f8MUNj9Q3tRn0HiD0hD7QV3xW
Tt1su64oSp1+JbkGNxq7FNiIWCcosRvIESufwLYxUp8qbOWDWu5R9oYumgdY5aLEYmteqRzg
lrrljkyIIK6UZiGKkmkhKVumS7kUMZKlCRBpbYm3eJJAjsbZ/newRcXFgaHEQzuj291WJqvV
qutGvTr/p7DmaEjJu5G+A8yAuCizWfyVqIe2WA9CVDUOi0ff8H3+bF6Cgf5NInEp69aJgU5U
Eidq5EQbM6kQu0n6VeJmDBbv4FHy+D8BBjKv0z8AAA
--Multipart_Wed_Dec_18_16:55:00_2002-1
Content-Type: text/plain; charset=ISO-2022-JP


-- 
--- 僕の前にBugはない。
--- 僕の後ろにBugはできる。
    中田 伸悦

--Multipart_Wed_Dec_18_16:55:00_2002-1--