-
Notifications
You must be signed in to change notification settings - Fork 31
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
panic - 'vdso symbol __vdso_clock_getres's real size is 10 bytes, but trying to replace it with 16 bytes' #16
Comments
I have the same problem on Ubuntu 22.04
It does feel like the error is coming from |
This is really a bug in reverie (it reproduces running the reverie strace implementation on |
The following change fixes reverie for me: samth/reverie@a7f6cae but I cannot be sure if it's right. |
I have an upstream fix for this in Reverie that should be getting synced into the repo within the next hour or so. @samth was on the right on the money with the fix. The NOP padding at the end of the VDSO patches was unnecessary and can just be removed. I also have a fix for the Thanks @androm3da for reporting this issue! Keep those bug reports coming! :) |
I don't think this actually fixes the issue. The problem is now 5 bytes vs 8 bytes, but it still errors. You need the changes to handle things being up to 8-byte aligned that are in my patch, or something different (I still don't know if that change is right). |
@samth Not quite sure I follow. Does facebookexperimental/reverie@debce82 not fix the issue? The vdso patches are now 8 bytes instead of 16 (not 5 bytes). |
Right, that commit does not fix the problem. On my system the original vdso entry is 5 bytes. |
Ohh, now I understand. I thought you meant the patch was 5 bytes. That's a pretty small vdso entry size. What distro+version are you running? And what is the kernel version? I'd like to see what those entries are actually doing. Maybe we don't really need to patch them. |
It's the same machine as this issue: #18 Ubuntu 22.10 and 5.19.0 is the short answer. |
fix does not work for me neither.
|
I was able to reproduce on an Ubuntu 22.04 VM. This is the disassembly of
In these implementations, it's just a |
Summary: Helper script for debugging facebookexperimental/hermit#16. Differential Revision: D41565407 fbshipit-source-id: 01cd3121dde671a563a8d2674cc42bfa6bce1226
I am using commit 159c343 and I'm on ubuntu 20.04
I did a |
@androm3da Try deleting Also, for reference, the commit with the fix is facebookexperimental/reverie@5478e47. |
This did the trick, tyvm @jasonwhite |
Describe the bug
I hit this panic using
hermit
built from 95b3ac7. The development node I'm allocated is a VM and has very limited PMU modeled. That may not be related to the vdso panic though.Indicate any of these common scenarios that apply:
To Reproduce
Minimal input to reproduce the behavior.
Expected behavior
A clear and concise description of what you expected to happen.
Environment
uname -a
):/proce/cpuinfo
):/etc/issue
,/etc/redhat-release
):Additional context
Attach the logs to this issue as a text file generated by
hermit --log=trace --log-file=FOO run
.Add any other context about the problem here.
hermit_trace.log
The text was updated successfully, but these errors were encountered: