-
Notifications
You must be signed in to change notification settings - Fork 158
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
'assert failed: spinlock_acquire....' during provisioning (MEGH-4227) #229
Comments
Is this ust a normal Rainmaker project with your own params and the Provisioning timeout reduced to 2 min, with no other changes? |
Generally yes. + nimble for communication with sensors. No changes in RainMaker core. Only using available RainMaker API. |
without change #222 i have stack overflow when Debug enabled and this is a few rows earlier than last assert failed (that was with #222 added) so think that both are lack of memory issues. If disable Debug logging (free some memory) it works again (meaby on the "bleeding edge")
Increased nimble stack and seems to be good now also with #222 and with debug enabled |
I also have this problem, how to solve it? |
Increase memory for nimble stack |
Everything works for some time. Since some moment i can't make provisioning. The only thing that fix it is erase-flash command. Then it works for some time.
I enabled Debug in menuconfig and see
assert failed: spinlock_acquire spinlock.h:123 ((result == SPINLOCK_FREE) == (lock->count == 0))
Whole log:
The text was updated successfully, but these errors were encountered: