>>>>> "t" == ts  <decoux / moulon.inra.fr> writes:

t>  Another example

 An example to see why I dont think that the problem is regex.c

uln% diff -u regex.c~ regex.c
--- regex.c~    2004-11-22 16:29:50.000000000 +0100
+++ regex.c     2005-04-24 12:37:32.000000000 +0200
@@ -1290,6 +1290,9 @@
 
   int options = bufp->options;
 
+  rb_warn("1");
+  rb_warn("2");
+
   bufp->fastmap_accurate = 0;
   bufp->must = 0;
   bufp->must_skip = 0;
uln% 

uln% gdb --quiet ./miniruby
Using host libthread_db library "/lib64/libthread_db.so.1".
(gdb) r -e '/[]]/'
Starting program: /opt/ts/ruby/ruby-1.8.2/miniruby -e '/[]]/'
-e:1: warning: 1

Program received signal SIGSEGV, Segmentation fault.
0x0000000000486f1d in warn_print (fmt=0x4a4d84 "2", args=0xffffffff)
    at error.c:126
126         rb_write_error2(buf, len);
(gdb) q
The program is running.  Exit anyway? (y or n) y
uln%


Guy Decoux