breautek commented on issue #924: Crash Report: ConcurrentModificationException URL: https://github.com/apache/cordova-android/issues/924#issuecomment-613457396 To be clear he was just simply responding to my question haha... If it only happened 30 times since you opened the issue, that's approximately 1 occurrence per day... which means the chances of intentionally triggering the bug naturally will likely be extremely difficult. I have a feeling that there are potential race conditions in the resume/pause lifecycles but we will likely need a controlled test case to prove it... Or if you're willing... I can branch off of 8.1 and implement `synchronizedMap` and you can fork my branch. We'll see if the problem goes away. If it is a race condition, the java docs appears to suggest that `synchronizedMap` should fix it by ensuring synchronised access to our plugin maps. I'm assuming this is at a performance cost though and I'm not sure how significant that would be...
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
