Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > ruby-prof on freebsd

Reply
Thread Tools

ruby-prof on freebsd

 
 
_-_ Daniel _-_
Guest
Posts: n/a
 
      12-01-2008
$ ruby-prof --mode memory test.rb
/usr/local/lib/ruby/gems/1.8/gems/ruby-prof-0.7.1/bin/ruby-prof:170: [BUG]
Segmentation fault
ruby 1.8.6 (2008-08-11) [i386-freebsd7]

Abort trap: 6

$ cat test.rb
class Dir
def self.rglob(dir,regex)
res = []
Dir.entries(dir).each { |f|
res.push(f) if regex.match f
}
return res
end
end


The code in test.rb doesn't matter.

Does anyone have this issue with ruby-prof? I have patched the
interpreter with Sylvain Joyeux's patch.
http://rubyforge.org/tracker/index.p...1814&atid=7062

Anyone have any ideas for this?

Thank you in advance,

Daniel
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
New FreeBSD Logo Aquila Deus Computer Support 2 02-10-2005 02:15 PM
FreeBSD 4.5 + ISL =) . Mft . Cisco 2 08-23-2004 11:17 PM
FreeBSD Application/Network Problem Llewellyn Angus Computer Support 3 07-21-2004 03:47 AM
Cisco WS-C1924-EN vlan trunk to FreeBSD or Linux Robert Bala Cisco 1 04-13-2004 04:29 AM
Re: how to get system info in FreeBSD with g++ as the compiler Victor Bazarov C++ 0 07-04-2003 04:02 AM



Advertisments