Running memprof on ree 2010.02, gives a segmentation fault

have opened a issue at:

The installation of memprof was successful. And is on a virtualized on a
XEN instance.

uname -a
Linux foo-xen #1 SMP Mon Jan 26 03:09:12 UTC 2009 x86_64 GNU/Linux

ruby -v
ruby 1.8.7 (2010-04-19 patchlevel 253) [x86_64-linux], MBARI 0x6770,
Ruby Enterprise Edition 2010.02

But, i am getting “Segmentation fault” when i run the example from the
README

ruby foo.rb foo.rb:5: [BUG] Segmentation fault
ruby 1.8.7 (2010-04-19 patchlevel 253) [x86_64-linux], MBARI 0x6770,
Ruby Enterprise Edition 2010.02
Aborted

CODE:
require ‘rubygems’
require ‘memprof’
Memprof.track {
100.times{ “abc” }
100.times{ 1.23 + 1 }
100.times{ Module.new }
}

What i am doing wrong?

thanks,
deepak

Deepak K. wrote:

have opened a issue at:
http://github.com/ice799/memprof/issues/issue/7

The installation of memprof was successful. And is on a virtualized on a
XEN instance.

uname -a
Linux foo-xen #1 SMP Mon Jan 26 03:09:12 UTC 2009 x86_64 GNU/Linux

ruby -v
ruby 1.8.7 (2010-04-19 patchlevel 253) [x86_64-linux], MBARI 0x6770,
Ruby Enterprise Edition 2010.02

But, i am getting “Segmentation fault” when i run the example from the
README

Maybe it’s not REE compatible, since REE uses a different GC style?
-r

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs