-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[SVE] [Android] Crash on Android13 #22440
Comments
Same error on Android 12 |
The actual issue is the "Chip stack locking error" bit: that triggers a crash. What's really needed here is a stack to figure out what code is removing session holders on the wrong thread.... |
The stack locking means that the code attempts to call CHIP APIs in a thread that is not supposed to do that. May be an android binding problem, but a stack trace would really be needed to debug. |
same as #21708 maybe? that one has a stack trace. |
I saw more logs in out flutter project. Hope this helps with the issue. @andy31415 @bzbarsky-apple
|
I edited the C++ source code. The issue seems to be solved. Is this the correct way?
|
@andy31415 Hi, any idea? |
We are seeing the same issue. Is there any progress on this? |
@DanijelBojcic There is no progress. When I add the code: |
We did not test it in production yet, but i can confirm that our team did not see the issue since I added that line. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Any update? |
Hope this will be helpful, thanks! |
same crash! |
The change in #22440 (comment) seems correct (aquire the stack lock before doing deletion) ... it can probably have a smaller scope and we should also check if that delete could happen while lock is held and avoid a deadlock). Since you are able to reproduce this issue, could you create a fix PR ? |
I think we have fixed it in master via #29710 and #25625, could you retest it using latest master? @MrLiuYunPing thanks |
@MrLiuYunPing you can reach me(yunhanw) at slack for further discussion as well, thanks |
I have locally retried it several time, I cannot reproduce it with latest code. Close it now. Feel free to create a new ticket if the crash continues @MrLiuYunPing . thanks |
Reproduction steps
I have an esp32-c3 device connected to my Android 13 phone. When the app runs for a while, the app will crash. But I can't see the specific stack info. Log is as follows:
Bug prevalence
It crashes every time it starts up for a while。
GitHub hash of the SDK that was being used
f046787
Platform
android
Platform Version(s)
Android 13
Type
Platform Issue
Anything else?
No response
The text was updated successfully, but these errors were encountered: