I tried the demos in /ruby/ext/tk/sample/demos-en/widget
and the Animation demo "A Celebration of Rube Goldberg"
crashes with the following Tk message:

  failed to allocate memory
  failed to allocate memory
      while executing
  "rb_after a00000"
      ("after" script)

It can crash when launching this demo, or when running,
or even when running for the 2nd or 3st time.

I tried with Ruby 1.8.3 and it seems to work, so I suppose
it doesn't come from my version of Tcl/Tk. In case
it helps, I have MacOSX 10.4 with Tcl/Tk 8.4 (installed
with the OS).

Does anybody know where this error can come from ?