8000 sigaltstack wrong assert · Issue #11692 · google/gvisor · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

sigaltstack wrong assert #11692

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

Open
extio1 opened this issue May 5, 2025 · 0 comments
Open

sigaltstack wrong assert #11692

extio1 opened this issue May 5, 2025 · 0 comments
Labels
type: bug Something isn't working

Comments

@extio1
Copy link
extio1 commented May 5, 2025

Description

https://github.com/google/gvisor/blob/master/test/syscalls/linux/sigaltstack.cc#L178

assert EXPECT_LT(badhandler_low_water_mark, reinterpret_cast<char*>(stack.ss_sp) + 2 * SIGSTKSZ), but it seems to be that badhandler_low_water_mark can't be greater than static_cast<char*>(stack.ss_sp) + SIGSTKSZ or reinterpret_cast<char*>(stack_mem.data()) + 2 * SIGSTKSZ

i'm going to contribute the fix if this true

Steps to reproduce

No response

runsc version

docker version (if using docker)

uname

No response

kubectl (if using Kubernetes)

repo state (if built from source)

No response

runsc debug logs (if available)

@extio1 extio1 added the type: bug Something isn't working label May 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant
0