Hi, This works for me. I've tried both: ruby 1.8.2 (2004-12-25) [i386-mswin32] (Windows) ruby 1.8.4 (2005-12-24) [i386-linux] (gentoo linux) Just a guess, but maybe you compiled ruby with to much optimizations in CFLAGS ? Mine are CFLAGS="-O2 -fomit-frame-pointer" Hope this helps... Guillaume > Brad Hilton wrote: > > Hello, > > The following code produces a segfault with ruby-1.8.4 from gentoo, > as well as with ruby-1.8 from cvs and 1.9 from cvs. There appears to > be an issue when super is called in the subclass and the parent class > has method_missing defined. Strangely, if super is called with > explicit arguments, no segfault occurs. Likewise, if the method > definition in the subclass is modified slightly (see below) the > segfault is avoided. > > Thanks, > Brad > > ------------------------------------ > class BaseClass > def method_missing(*args) > p args > end > end > > class Article < BaseClass > > # if this is defined as title=(arg) the segfault does not occur > def title=(*args) > super(args) # works > super(*args) # works > super # segfault... > end > end > > a = Article.new > a.body = 'body' > a.title = 'foo' > -------------------------------