From: nobu.nokada@... Date: 2003-08-15T12:35:32+09:00 Subject: Re: _id2ref bug? (another break) Hi, At Fri, 15 Aug 2003 11:37:42 +0900, Ryan Pavlik wrote: > printf("id2ref - %d, %d\n", BUILTIN_TYPE(ptr), RBASIC(ptr)->klass); > > When running: > > id2ref - 63, 135382017 > /usr/local/encap/mephle-0.8.0/share/mephle/Driver/Storage_cache.rb:36: > [BUG] Segmentation fault BUILTIN_TYPE 63 is T_NODE, which must not appear in Ruby. Try with changing the patched line as following. if (BUILTIN_TYPE(ptr) == 0 || BUILTIN_TYPE(ptr) >= T_BLKTAG || RBASIC(ptr)->klass == 0) { -- Nobu Nakada