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

[cocos2d-x C++] iOS HTTP Client crashing randomly at ~1% of all requests #18612

Open
ForestRingGames opened this issue Jan 5, 2018 · 0 comments

Comments

@ForestRingGames
Copy link

ForestRingGames commented Jan 5, 2018

cocos2d-x version: 3.16
devices test on: iPad Air, iPad Pro, iPhone 6S
developing environments
NDK version: 16
Xcode version: 9.2
VS version: -
browser type and version: -

Crash type: com.apple.NSURLConnectionLoader EXC_BAD_ACCESS

Our game is doing some HTTP Requests with our backend at game startup and unfortunately, this does crash sometimes. It's not directly crashing on the HTTP Client's code but on a background thread (see crash screenshot).
Researching this, I've found that many people have been experiencing this crash in the past, usually the reason was an outdated Network Library on iOS (like old AFNetworking version, etc.).
(see https://github.com/AFNetworking/AFNetworking/issues/357 or Alamofire/Alamofire#1886)

Is Cocos2d-x using a specific network library that one could update?
Is there anything, we can do against this?

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant