Hi,
I tried ZenProfile with both 1.8.4 and 1.8.5 from Darwinports. I get the
following error when requiring ZenProfile:
$ gdb ruby
(gdb) run -rubygems -e ‘require “zenprofile”’
Starting program: /opt/local/bin/ruby -rubygems -e ‘require
“zenprofile”’
Reading symbols for shared libraries .+. done
Reading symbols for shared libraries … done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x0000000c
0x002071e8 in rb_ary_entry ()
(gdb) backtrace
#0 0x002071e8 in rb_ary_entry ()
#1 0x000e3b38 in prof_event_hook ()
#2 0x00225758 in rb_call0 ()
#3 0x002260a0 in rb_call ()
#4 0x0021fb90 in rb_eval ()
#5 0x0021aaac in eval_node ()
#6 0x0021b0d8 in ruby_exec_internal ()
#7 0x0021b134 in ruby_exec ()
#8 0x0021b17c in ruby_run ()
#9 0x00002cd4 in main ()
Any ideas?
Thanks
Andreas