firebase / firebase-ios-sdk

Firebase SDK for Apple App Development
https://firebase.google.com
Apache License 2.0
5.67k stars 1.49k forks source link

Firestore Crashing #1216

Closed kiranb47 closed 6 years ago

kiranb47 commented 6 years ago

screen shot 2018-05-03 at 4 02 08 pm

Tried using Cocos Pod & Manually. Same issue. But working on a empty project without any other 3rd Party SDK's. My project is a game contains Facebook integration, Fabric, IronSrc, UnityAds, FAN, Admob & Cocos2dx.

gsoltis commented 6 years ago

Hi, can you provide the version of the Firestore SDK you're using? And can you try narrowing down which other SDK it's conflicting with (try an empty project with half of them, then the other half if that works)?

kiranb47 commented 6 years ago

Hi, I’m using the most updated version available for download. I spent some time today by removing some sdks. But no luck. I will try some tomorrow.

On 03-May-2018, at 9:38 PM, Greg Soltis notifications@github.com wrote:

Hi, can you provide the version of the Firestore SDK you're using? And can you try narrowing down which other SDK it's conflicting with (try an empty project with half of them, then the other half if that works)?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/firebase/firebase-ios-sdk/issues/1216#issuecomment-386349048, or mute the thread https://github.com/notifications/unsubscribe-auth/ANVCHc0dpbkFlw1K8JwIZz7fW8I1UGjoks5tuyuWgaJpZM4Tw2N3.

gsoltis commented 6 years ago

Can you provide a copy of your Podfile.lock ?

kiranb47 commented 6 years ago

Yes, Attached.

On 3 May 2018 at 22:02, Greg Soltis notifications@github.com wrote:

Can you provide a copy of your Podfile.lock ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/firebase/firebase-ios-sdk/issues/1216#issuecomment-386356368, or mute the thread https://github.com/notifications/unsubscribe-auth/ANVCHQhPhCVACurSC5zPzq4Z208j5Zloks5tuzEugaJpZM4Tw2N3 .

gsoltis commented 6 years ago

Hmm, it appears the attachment is not coming through. You might have to use the github web interface to do it?

kiranb47 commented 6 years ago

pod.zip

kiranb47 commented 6 years ago

@gsoltis attached.

kiranb47 commented 6 years ago

@gsoltis attached crashlog from fabric. games.spearmint.linesandhexa_issue_97_crash_9f7dcc3cf46445e481f73d4c335ce8e3_DNE_0_v2.txt

gsoltis commented 6 years ago

Got it, thanks. I'll take a look. I'm looking into the possibility that you are hitting this issue, but I'm not sure yet: https://github.com/grpc/grpc/issues/6111

kiranb47 commented 6 years ago

Definitely issue is coming from BoringSSL. Might be a OpenSSL conflicting issue.

gsoltis commented 6 years ago

Do you have a copy of openssl also being loaded by one of the other SDKs? I don't see it as an explicit dependency in your Podfile...

kiranb47 commented 6 years ago

https://github.com/cocos2d/cocos2d-x-3rd-party-libs-bin/tree/v3/openssl

On 3 May 2018 at 22:45, Greg Soltis notifications@github.com wrote:

Do you have a copy of openssl also being loaded by one of the other SDKs? I don't see it as an explicit dependency in your Podfile...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/firebase/firebase-ios-sdk/issues/1216#issuecomment-386369175, or mute the thread https://github.com/notifications/unsubscribe-auth/ANVCHWpULXZL6qk_1fGZeHUDkifg_Vowks5tuzshgaJpZM4Tw2N3 .

gsoltis commented 6 years ago

Ah, that looks like the culprit.

kiranb47 commented 6 years ago

Hey @gsoltis I found where issue is coming from. My game have a multiplayer part which uses Cocos2dx builtin web socket implementation. I just removed multiplayer part and run. Now no crashes. "Web socket" feature surely using OpenSSL.

gsoltis commented 6 years ago

Yup, that makes sense. Unfortunately, your best bet may be to follow the instructions in the gRPC issue to cause it to build against OpenSSL.

kiranb47 commented 6 years ago

Ok i will try. @gsoltis You know Cocos2dx is a widely using game engine. I hope you guys find a easy solution.

gsoltis commented 6 years ago

Agreed. I will follow up with the gRPC team.

kiranb47 commented 6 years ago

ok, thank you

gsoltis commented 6 years ago

@kiranb47 I'm going to close this issue in favor of the re-opened gRPC issue, as it's more properly addressed there.

I'll update your cocos2d issue as well with the link.