# ZenProfile: Bus Error on OS X

**URL:** <https://www.ruby-forum.com/t/zenprofile-bus-error-on-os-x/71450>\
**Category:** Ruby\
**Created:** [October 9, 2006, 12:45am UTC](https://www.ruby-forum.com/t/zenprofile-bus-error-on-os-x/71450 "2006-10-09T00:45:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![andreas](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ee7513/32.png) [@andreas](https://www.ruby-forum.com/u/andreas)\
**Post date:** [October 9, 2006, 12:45am UTC](https://www.ruby-forum.com/t/zenprofile-bus-error-on-os-x/71450/1 "2006-10-09T00:45:43Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![andreas](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ee7513/32.png) [@andreas](https://www.ruby-forum.com/u/andreas)\
**Post date:** [October 9, 2006, 2:42am UTC](https://www.ruby-forum.com/t/zenprofile-bus-error-on-os-x/71450/2 "2006-10-09T02:42:42Z")

</div>

On Oct 8, 2006, at 3:45 PM, Andreas S. wrote:

> Any ideas?

Start by filing a bug. Not writing a general ruby mailing list.
