On Sun, Aug 15, 2010 at 6:34 AM, Joe Damato <ice
...@gmail.com> wrote:
> hi -
> i pushed a small fix for memprof today that should be unrelated to the
> segfault you are seeing. that said, i couldnt get this to segfault in
> my ubuntu vm using the new memprof (version 0.3.6).
> i tested using the same version of ree and the test script your
> provided and it worked fine for me.
> can you retest using the new memprof version? if you get a segfault,
> can you try this:
> cd directory/with/test/script
> gdb ruby
> r test-script-name.rb
> when you hit the segfault in gdb and are sitting at a (gdb) prompt,
> please do this
> set height 0 <enter>
> bt <enter>
> info registers <enter>
> x/3i $rip <enter>
> maint info sections ALLOBJ <enter>
> and send me all the output. there may be a lot of it.
> thanks,
> joe
> On Tue, Aug 3, 2010 at 12:29 AM, deepak <kannan.dee...@gmail.com> wrote:
> > Does memprof work on ree 2010.02. It fails with a 'Segmentation
> > fault', even though the gem got installed sucessfully.
> >> ruby -v
> > ruby 1.8.7 (2010-04-19 patchlevel 253) [x86_64-linux], MBARI 0x6770,
> > Ruby Enterprise Edition 2010.02
> >> uname -a
> > Linux foo-xen #1 SMP Mon Jan 26 03:09:12 UTC 2009 x86_64 GNU/Linux
> > I have opened an issue here:
> > http://github.com/ice799/memprof/issues/7
> > The code fails with a 'Segmentation fault'
> > CODE:
> > require 'rubygems'
> > require 'memprof'
> > Memprof.track {
> > 100.times{ "abc" }
> > 100.times{ 1.23 + 1 }
> > 100.times{ Module.new }
> > }
> > --
> > You received this message because you are subscribed to the Google Groups
> "Ruby Enterprise Edition" group.
> > To post to this group, send email to emm-ruby@googlegroups.com.
> > To unsubscribe from this group, send email to
> emm-ruby+unsubscribe@googlegroups.com<emm-ruby%2Bunsubscribe@googlegroups.c om>
> .
> > For more options, visit this group at
> http://groups.google.com/group/emm-ruby?hl=en.
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby Enterprise Edition" group.
> To post to this group, send email to emm-ruby@googlegroups.com.
> To unsubscribe from this group, send email to
> emm-ruby+unsubscribe@googlegroups.com<emm-ruby%2Bunsubscribe@googlegroups.c om>
> .
> For more options, visit this group at
> http://groups.google.com/group/emm-ruby?hl=en.