iOS Crash: NSInvalidArgumentException during BLE write with active scanning (EXC_BAD_ACCESS) #778
Answered
by
peitschie
Thilakforabm
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
peitschie
Oct 13, 2025
Replies: 1 comment 1 reply
-
|
I've converted this into an issue at #779 This looks like a crash in the iOS stack due to threaded access to the dictionary as Swift dictionaries are not thread-safe. We'll need some synchronisation/locking to stop the concurrent access while modifying. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
peitschie
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

I've converted this into an issue at #779
This looks like a crash in the iOS stack due to threaded access to the dictionary as Swift dictionaries are not thread-safe. We'll need some synchronisation/locking to stop the concurrent access while modifying.