Skip to content

iOS 10 and lower and jailbroken device crash on first run #446

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

Closed
kafejo opened this issue Nov 13, 2017 · 3 comments
Closed

iOS 10 and lower and jailbroken device crash on first run #446

kafejo opened this issue Nov 13, 2017 · 3 comments
Assignees

Comments

@kafejo
Copy link

kafejo commented Nov 13, 2017

[REQUIRED] Step 2: Describe your environment

  • Xcode version: 9.1
  • Firebase SDK version: 4.3.0
  • Firebase Component:
    • FirebaseAnalytics (4.0.4)
    • FirebaseCore (4.0.8)
    • FirebaseDynamicLinks (2.1.0)
    • FirebaseInstanceID (2.0.4)
    • FirebaseRemoteConfig (2.0.3)

[REQUIRED] Step 3: Describe the problem

Users with iOS 10 and lower and jailbroken device experience crash on first run after updating our app from Appstore.

Crashed: com.apple.root.default-qos
0  CoreFoundation                 0x189fdab48 CFDataGetBytePtr + 36
1  Security                       0x18a53bd58 SecKeyCreateWithData + 180
2  Security                       0x18a53bbd4 SecKeyCreateFromAttributeDictionary + 76
3  Security                       0x18a539758 SecTokenItemCreateFromAttributes + 312
4  Security                       0x18a539360 SecItemResultCopyPrepared + 1724
5  Security                       0x18a5369b0 SecItemResultProcess + 252
6  Security                       0x18a536d48 __SecItemCopyMatching_block_invoke_2 + 244
7  Security                       0x18a53885c __SecItemAuthDoQuery_block_invoke + 304
8  Security                       0x18a535610 SecItemAuthDo + 240
9  Security                       0x18a5364b8 SecItemAuthDoQuery + 492
10 Security                       0x18a536c48 __SecItemCopyMatching_block_invoke + 112
11 Security                       0x18a534e4c SecOSStatusWith + 56
12 Security                       0x18a536b90 SecItemCopyMatching + 404
13 Rubicoin                       0x10040d11c +[FIRInstanceIDKeyPair cachedKeyRefWithTag:] + 4298903836
14 Rubicoin                       0x10040ccf4 +[FIRInstanceIDKeyPair keyPairForPrivateKeyTag:publicKeyTag:error:] + 4298902772
15 Rubicoin                       0x10040e3b4 -[FIRInstanceIDKeyPairStore cachedKeyPairWithSubtype:error:] + 4298908596
16 Rubicoin                       0x10040e228 -[FIRInstanceIDKeyPairStore validCachedKeyPairWithSubtype:error:] + 4298908200
17 Rubicoin                       0x10040dbd4 -[FIRInstanceIDKeyPairStore loadKeyPairWithError:] + 4298906580
18 Rubicoin                       0x100403528 __45-[FIRInstanceID asyncLoadKeyPairWithHandler:]_block_invoke + 4298863912
19 libdispatch.dylib              0x188f91200 _dispatch_call_block_and_release + 24
20 libdispatch.dylib              0x188f911c0 _dispatch_client_callout + 16
21 libdispatch.dylib              0x188fa1558 _dispatch_root_queue_drain + 1032
22 libdispatch.dylib              0x188fa10ec _dispatch_worker_thread3 + 124
23 libsystem_pthread.dylib        0x18919a2b8 _pthread_wqthread + 1288
24 libsystem_pthread.dylib        0x189199da4 start_wqthread + 4
@morganchen12
Copy link
Contributor

@kafejo is this crashing on all iOS 10 devices and lower (including non-jailbroken ones)? If so, is the stack trace identical?

@kafejo
Copy link
Author

kafejo commented Nov 14, 2017

@morganchen12 no, only on jailbroken.

@morganchen12
Copy link
Contributor

morganchen12 commented Nov 14, 2017

It looks like your code is crashing deep in the Security framework. It's unlikely that Firebase is the root cause of this, and it will likely not be a priority for us to debug.

@salqadri can probably speak more to our support on jailbroken devices.

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

No branches or pull requests

5 participants