From: Lyle Johnson Date: 2002-10-22T04:54:39+09:00 Subject: Re: rb_gc_register_address problem Paul Brannan wrote: > If I do have a bug like this in the future, what techniques can I use to > track it down? Not sure if this would help, but most memory debugging tools (like Purify on Windows, or Valgrind on Linux) should trap it as a dangling pointer and give you some information about where the original reference was created -- in your case, during the call to rb_gc_register_address().