-
Notifications
You must be signed in to change notification settings - Fork 162
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 in BleDisClient.readDisInfoWithKeysAsStrings #503
Comments
FLOW-60720 |
We fixed it in our internal fork. |
Looking at the screen shot in the report, this may have been caused by non-thread safe access to dictionary; as the problem seems to happen on getting dictionary key values count. The proposed fix may not be enough to prevent such crash; if it is, it may cause some other functionality to fail. Need to check how the dictionary is accessed to see if/when access to dictionary happens from multiple threads (e.g. from different queues) |
Will make update to SDK to fix related multithreading issue with dictionary. |
Change to synchronise dictionary access will be in next SDK release. |
Platform on which you observed the bug:
Device on which you observed the bug:
Describe the bug
App randomly crashes for some of our users. Looking at the crash report, it seems that it is a null-reference exception, where
self
is null. Most likely can be fixed by usingweak self
and doing a null-check before accessingself
.How to Reproduce
No clear reproduction steps, it happens randomly.
Expected behavior
App should not crash.
Screenshots and logs
![CleanShot 2024-11-19 at 14 53 52@2x](https://private-user-images.githubusercontent.com/26259846/387669907-fbba7214-f889-481b-a979-dceb3f495cec.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4OTA5NDksIm5iZiI6MTczODg5MDY0OSwicGF0aCI6Ii8yNjI1OTg0Ni8zODc2Njk5MDctZmJiYTcyMTQtZjg4OS00ODFiLWE5NzktZGNlYjNmNDk1Y2VjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDAxMTA0OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdjZjkyZTFkYmMzOTJkYjYzNmE0M2QwNzk4OThmODU4ZjhjNGEzYzdkM2NkNjU4YjEyOWJiYjE2YzcwYWYxYzcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.HLWAC2s_I7WAFVhYUFgjBKSKvU0hc4VP6Kyez6dVKpQ)
The text was updated successfully, but these errors were encountered: