running memprof on ree 2010.02, gives a segmentation fault

Discussion in 'Ruby' started by Deepak Kannan, Aug 2, 2010.

  1. 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

    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
    --
    Posted via http://www.ruby-forum.com/.
     
    Deepak Kannan, Aug 2, 2010
    #1
    1. Advertising

  2. Deepak Kannan

    Roger Pack Guest

    Deepak Kannan 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
    --
    Posted via http://www.ruby-forum.com/.
     
    Roger Pack, Aug 2, 2010
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. D A H
    Replies:
    1
    Views:
    1,583
    LenM22
    Jan 28, 2005
  2. nrhayyal
    Replies:
    2
    Views:
    433
    nrhayyal
    Jun 27, 2005
  3. carl
    Replies:
    5
    Views:
    1,617
    Vladimir Jovic
    Dec 1, 2009
  4. Maxx
    Replies:
    17
    Views:
    1,109
    James Kuyper
    Jan 2, 2012
  5. Saraswati lakki
    Replies:
    0
    Views:
    1,346
    Saraswati lakki
    Jan 6, 2012
Loading...

Share This Page