Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Does memprof work on ree 2010.02. It fails with a 'Segmentation fault'
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
deepak  
View profile  
 More options Aug 3 2010, 3:29 am
From: deepak <kannan.dee...@gmail.com>
Date: Tue, 3 Aug 2010 00:29:25 -0700 (PDT)
Local: Tues, Aug 3 2010 3:29 am
Subject: Does memprof work on ree 2010.02. It fails with a 'Segmentation fault'
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 must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joe Damato  
View profile  
 More options Aug 14 2010, 9:04 pm
From: Joe Damato <ice...@gmail.com>
Date: Sat, 14 Aug 2010 18:04:01 -0700
Local: Sat, Aug 14 2010 9:04 pm
Subject: Re: Does memprof work on ree 2010.02. It fails with a 'Segmentation fault'
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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
deepak kannan  
View profile  
 More options Aug 16 2010, 1:55 am
From: deepak kannan <kannan.dee...@gmail.com>
Date: Mon, 16 Aug 2010 11:25:37 +0530
Local: Mon, Aug 16 2010 1:55 am
Subject: Re: Does memprof work on ree 2010.02. It fails with a 'Segmentation fault'

hi,
attached the gdb log, named "memprof_gdb.issue7.txt.zip".
also the script used, named foo.rb

> gem search memprof

*** LOCAL GEMS ***
memprof (0.3.6, 0.3.5)

cheers,
deepak

  memprof_gdb.issue7.txt.zip
8K Download

  foo.rb
< 1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »