$ ./rubyyarv19
begin
-- stack frame ------------
-- control frame ----------
c:0001 p:---- s:0000 b:-001 l:000000 d:000000 ------
---------------------------
[BUG] Segmentation fault
ruby 1.9.0 (2007-01-04) [i686-darwin8.8.2]

Abort trap
$ gdb ./rubyyarv19
(gdb) run
Starting program: /Users/drbrain/Work/svn/ruby/trunk/rubyyarv19
Reading symbols for shared libraries .... done
begin

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0108800c
frame_func_id (cfp=0x1088000) at eval.c:1850
1850        yarv_iseq_t *iseq = cfp->iseq;
(gdb) list
1845    }
1846
1847    static ID
1848    frame_func_id(yarv_control_frame_t *cfp)
1849    {
1850        yarv_iseq_t *iseq = cfp->iseq;
1851        if (!iseq) {
1852            return cfp->method_id;
1853        }
1854        else if (YARV_IFUNC_P(iseq)) {
(gdb) bt
#0  frame_func_id (cfp=0x1088000) at eval.c:1850
#1  0x00110239 in error_pos () at eval_error.h:39
#2  0x0011398d in error_print () at eval_error.h:100
#3  0x00113da7 in error_handle (ex=2106564) at eval_error.h:241
#4  0x00113e3b in ruby_options (argc=1, argv=0xbffff7ac) at eval.c:149
#5  0x00001f7a in main (argc=1, argv=0xbffff7ac, envp=0xbffff7b4) at  
main.c:45

-- 
Eric Hodel - drbrain / segment7.net - http://blog.segment7.net

I LIT YOUR GEM ON FIRE!