-
Notifications
You must be signed in to change notification settings - Fork 17
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
Offset outside the function bounds #6
Comments
Ah, maybe this is triggered when a function outside of the executable itself (e.g. shared library) is called? |
For
Definitely not the same. Is the binary something that you can share? That would make it easiest to repro, otherwise I can also try to cook up the same error independently. |
Never mind I see what the issue is. I don't see an option in bpftrace to disable this though, will open an upstream bug. As a workaround, the easiest option at this point is to just not use |
Ah ok, thank you ;) If you need a repro case for the bpftrace bug: #include <cstdio>
int main(int argc, char** argv)
{
auto lambda = [](int i){
printf("YES: %d\n", i);
};
for(int i = 0; i < 100; ++i)
lambda(i);
return 0;
} compiled with |
Hey, great tool!
I'm seeing error messages like these whenever I try to trace a line with "x": (the initial tracepoint on main works)
Versions:
Do you have an idea what is going on here / what information I can provide?
The source code of the "gui" executable is here: https://github.com/xqms/imgui_ros. But I'll try to create a minimal example that triggers this problem.
The text was updated successfully, but these errors were encountered: