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

Failing to profile the nix ruby binary #374

Open
viraptor opened this issue Dec 31, 2022 · 2 comments
Open

Failing to profile the nix ruby binary #374

viraptor opened this issue Dec 31, 2022 · 2 comments

Comments

@viraptor
Copy link

FTR, this is an FYI and doesn't block me. I may end up debugging it myself at some point.

Profiling the ruby binary from nixpkgs (2.7.6, 3.0.4, 3.1.2) fails with the standard "Failed to locate Ruby version symbol" error. It's a stripped binary, linking against local versions of every library. (not using distro files)

I don't have further info at this point, but may update in a while.

@omnibs
Copy link

omnibs commented Sep 19, 2023

@viraptor did you end up being able to use rbspy with a ruby binary from nixpkgs, or have any pointers?

I hit this today and found your issue

@viraptor
Copy link
Author

viraptor commented Sep 20, 2023

No, I did something else. Haven't really dug into this. It's probably trivial to fix by skipping stripping, but I'm not sure that's something that should live in nixpkgs either... Although I'd be happy to say - yes, let's not strip ruby.

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