Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running ruby-prof against simple script #12

Closed
jsierles opened this issue Feb 8, 2013 · 3 comments
Closed

Error running ruby-prof against simple script #12

jsierles opened this issue Feb 8, 2013 · 3 comments

Comments

@jsierles
Copy link

jsierles commented Feb 8, 2013

Not sure Thread ID: 70227446679520
Total: 0.000208
Sort by: self_time

%self total self wait child calls name
47.12 0.000 0.000 0.000 0.000 2 IO#set_encoding
21.15 0.000 0.000 0.000 0.000 2 IO#write
14.42 0.000 0.000 0.000 0.000 2 Global#[No method]
11.06 0.000 0.000 0.000 0.000 1 Kernel#puts
6.25 0.000 0.000 0.000 0.000 1 IO#puts

  • indicates recursively called methods
    ruby(1663,0x7fff79d54180) malloc: *** error for object 0x7fbe341deb78: pointer being freed was not allocated
    *** set a breakpoint in malloc_error_break to debug
    Abort trap: 6
@skaes
Copy link
Owner

skaes commented Feb 8, 2013

Most likely already fixed on ruby-prof master branch.

See https://github.com/rdp/ruby-prof/issues/105

Can you please try with ruby-prof's master branch.

Besides, without your script I can't verify your report.

@jsierles
Copy link
Author

jsierles commented Feb 8, 2013

Sorry for that - the script just does: puts "hi

I'll try with the latest branch.

@jsierles
Copy link
Author

jsierles commented Feb 8, 2013

That fixed it - thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants