Skip to content
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

[Android] Cocos2dxSound has ConcurrentModificationException #17474

Closed
dumganhar opened this issue Mar 9, 2017 · 1 comment
Closed

[Android] Cocos2dxSound has ConcurrentModificationException #17474

dumganhar opened this issue Mar 9, 2017 · 1 comment
Assignees
Milestone

Comments

@dumganhar
Copy link

dumganhar commented Mar 9, 2017

Reported at http://discuss.cocos2d-x.org/t/android-cocos2dxsound-has-concurrentmodificationexception/10461

Crash stack:

java.util.ConcurrentModificationException
at java.util.HashMap\$HashIterator.nextEntry(HashMap.java:792)
at java.util.HashMap\$EntryIterator.next(HashMap.java:829)
at java.util.HashMap\$EntryIterator.next(HashMap.java:827)
at org.cocos2dx.lib.Cocos2dxSound.setEffectsVolume(Unknown Source)
at org.cocos2dx.lib.Cocos2dxHelper.setEffectsVolume(Unknown Source)
at org.cocos2dx.lib.Cocos2dxRenderer.nativeRender(Native Method)
at org.cocos2dx.lib.Cocos2dxRenderer.onDrawFrame(Unknown Source)
at android.opengl.GLSurfaceView\$GLThread.guardedRun(GLSurfaceView.java:1463)
at android.opengl.GLSurfaceView\$GLThread.run(GLSurfaceView.java:1217)
  • cocos2d-x version: v3.14
  • devices test on: Android
  • developing environments
    • NDK version: r10e
    • Xcode version: N/A
    • VS version: N/A
    • browser type and version: N/A

Steps to Reproduce:

  1. Hard to reproduce, but the crash informations were collected from analysis system.
@dumganhar dumganhar added this to the next milestone Mar 9, 2017
@dumganhar dumganhar self-assigned this Mar 9, 2017
dumganhar pushed a commit to dumganhar/cocos2d-x that referenced this issue Mar 9, 2017
@dumganhar
Copy link
Author

fixed at #17479

@minggo minggo modified the milestones: 3.15, next Mar 9, 2017
@minggo minggo closed this as completed in 47694b0 Mar 9, 2017
stevetranby added a commit to stevetranby/cocos2d-x that referenced this issue Mar 15, 2017
…futurePRs

* commit '7d3b9de866d9bdbf76329fd377f54f8b54eaf52d':
  update gradle version and build tool version (cocos2d#17496)
  Signal the scroll once the list is updated in cocos2d::extension::TableView. (cocos2d#17295)
  fixed cocos2d#17395: OpenAL A003 error if doing AL invocation before alcMakeContextCurrent(s_ALContext); (cocos2d#17492)
  Improve the AndroidStudio configurations of tests & templates (cocos2d#17495)
  [ci skip][win32] Updates lua template (cocos2d#17493)
  [win32] Updates template project configuration files. (cocos2d#17491)
  Fixes memory issues catched by Xcode Analyze Tool. (cocos2d#17489)
  fixed cocos2d#17395: AudioEngine alSourcePlay error code:a003 in lua-tests. (cocos2d#17485)
  fixed cocos2d#17474: [Android] It may trigger ConcurrentModificationException in Cocos2dxSound.java. (cocos2d#17479)

# Conflicts:
#	tools/cocos2d-console
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants