新井です。

以下で、落ちました。

ruby -v -rtk -e 'p TkButton.ancestors'
ruby 1.5.0 (1999-11-17) [i586-linux]
-e: [BUG] Segmentation fault
IOT trap/Abort (core dumped)

パッチです。(対処がSubjectと違う^^;)

Index: ruby.c
===================================================================
RCS file: /home/cvs/ruby/ruby.c,v
retrieving revision 1.9
diff -u -r1.9 ruby.c
--- ruby.c	1999/11/17 07:30:34	1.9
+++ ruby.c	1999/11/22 14:07:24
@@ -117,8 +117,6 @@
 
 extern VALUE rb_load_path;
 
-static VALUE e_script;
-
 #define STATIC_FILE_LENGTH 255
 
 #if defined(_WIN32) || defined(DJGPP)
@@ -324,6 +322,7 @@
     int version = 0;
     int copyright = 0;
     int verbose = 0;
+    VALUE e_script = Qfalse;
 
     if (argc == 0) return;
 
--
新井康司 (Koji Arai)