-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
gvisor panic: Invalid MmapLayout #9613
Comments
Can you list how to reproduce it? |
cc @avagin Looking at You can repro it with something like:
|
Restarted the machine.
Finally found /tmp/gvisor-panic.log with MmapLyaout panic |
it looks similiar to #9303 iiuc you could try #9303 (comment) or #9303 (comment) it will be helpful if you could share your strace log and debug log |
You have to recompile a kernel with CONFIG_ARM64_VA_BITS_48. We don't support CONFIG_ARM64_VA_BITS_39. |
Thanks for suggestion. Looks like that is it most likely
I might give re-compiling the kernel with the 48 bits a try. In the meantime, amd64 version works fine for me. |
to wrap up, gVisor doesn't support < 3 layer paging table on kvm platform when running on ARM64. The commit at a1be003 adds the debug info that would require users to recompile their kernel with CONFIG_ARM64_VA_BITS_48 or more. |
Description
panic: Invalid MmapLayout: {MinAddr:32768 MaxAddr:545460846592 BottomUpBase:11351179231232 TopDownBase:18446733448603492352 DefaultDirection:1 MaxStackRand:35184372088832}
goroutine 1 [running]:
panic({0xb242e0?, 0x4000199f30?})
GOROOT/src/runtime/panic.go:1017 +0x3cc fp=0x4000129a90 sp=0x40001299e0 pc=0x49d0c
gvisor.dev/gvisor/pkg/sentry/arch.(*Context64).NewMmapLayout(0x150?, 0xc0e100?, 0x0?, 0x16000000100e718?)
pkg/sentry/arch/arch_arm64.go:249 +0x2cc fp=0x4000129ba0 sp=0x4000129a90 pc=0x2c5d0c
gvisor.dev/gvisor/pkg/sentry/mm.(*MemoryManager).SetMmapLayout(0x400037e000, 0xb26460?, 0xf73620?)
pkg/sentry/mm/lifecycle.go:49 +0x78 fp=0x4000129c80 sp=0x4000129ba0 pc=0x3f3228
Steps to reproduce
No response
runsc version
docker version (if using docker)
No response
uname
aarch64
kubectl (if using Kubernetes)
No response
repo state (if built from source)
No response
runsc debug logs (if available)
No response
The text was updated successfully, but these errors were encountered: