-
Notifications
You must be signed in to change notification settings - Fork 494
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
Crash from Sentinel issue on arm 32-bit #1033
Comments
Do you have interested to fix it? |
I would prefer not to work with the upstream Sentinel repository because I have no experience with it and don't need to use it. This work would take time that I really don't have ATM. It does seem odd that just compiling dapr with the Sentinel plugin present but not configured would cause this issue in dapr. Once again though I don't need to use Sentinel and have a working solution, and unfortunately no time to pursue it. |
/cc @artursouza @wcs1only |
Seems to need a fix in upstream, just use this patch directly. |
/assign @yaron2 if not emergency, will wait for next release of upstream. |
Not an emergency from my perspective. Thanks for resolving. |
Assigned to @daixiang0 |
@daixiang0 Can you test it on an ARM32 bits. |
@artursouza I am afraid that I can not since no ARM32 machine, just run it within hacked container. |
@daixiang0 No worries. Can you send a PR? @kb2ma Can you validate this once the fix is in master? |
@artursouza Sure, I'd be happy to test. |
Seems like this was fixed, but is once again breaking on :latest and :edge-linux-arm
|
@daixiang0 Can this be fixed again and validated as part of the build? I see that we are skipping running tests in arm32. |
@kb2ma Please, validate the current master version. |
In what area(s)?
What version of Dapr?
Expected Behavior
No crash at startup.
Actual Behavior
dapr v1.2.2 crashes at startup on arm 32-bit due to an integer overflow issue in Sentinel v1.0.2, as I reported upstream, including a stack trace. What's odd is that I have not configured dapr to actually use Sentinel -- no component or configuration yaml.
I have found two ways to workaround the error. First, comment out references to Sentinel in
cmd/daprd/main.go
. Second, use a version of Sentinel patched for the overflow. See Sentinel patch and use.Steps to Reproduce the Problem
You should be able to reproduce just by running an app with dapr v1.2.2 on an arm 32-bit platform, like a Raspberry Pi 3.
Release Note
RELEASE NOTE: UPDATE Runtime dependency.
The text was updated successfully, but these errors were encountered: