firebase / firebase-ios-sdk

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

crashes: pb_encode, EXC_BAD_ACCESS (code=1, address=0xa9065ff8d1028407) #13177

Closed linwear closed 2 months ago

linwear commented 3 months ago

Description

The program WX20240625-101846@2x when it starts, and the problem persists even when I use the latest version 10.28.0. pb_encode Thread 6: EXC_BAD_ACCESS (code=1, address=0xa9065ff8d1028407)

Reproducing the issue

No response

Firebase SDK Version

10.28.0

Xcode Version

15.4

Installation Method

CocoaPods

Firebase Product(s)

Analytics, Crashlytics

Targeted Platforms

iOS

Relevant Log Output

2024-06-25 10:16:27.719023+0800 OnWear[31186:6579437] 10.25.0 - [FirebaseSessions][I-SES000000] Data Collection is enabled for at least one Subscriber
2024-06-25 10:16:27.719080+0800 OnWear[31186:6579437] 10.25.0 - [FirebaseInstallations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT

no any more...

If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet
```json Replace this line with the contents of your Package.resolved. ```

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet
```yml Replace this line with the contents of your Podfile.lock! ```
google-oss-bot commented 3 months ago

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

linwear commented 3 months ago

2024-06-25 10:53:23.542139+0800 OnWear[31205:6588026] 10.28.1 - [FirebaseCore][I-COR000008] The project's Bundle ID is inconsistent with either the Bundle ID in 'GoogleService-Info.plist', or the Bundle ID in the options if you are using a customized options. To ensure that everything can be configured correctly, you may need to make the Bundle IDs consistent. To continue with this plist file, you may change your app's bundle identifier to 'com.LinWeiInnovation.LinWear.45GY6NDXXV'. Or you can download a new configuration file that matches your bundle identifier from https://console.firebase.google.com/ and replace the current one. 2024-06-25 10:53:23.570157+0800 OnWear[31205:6588020] 10.28.1 - [FirebaseAnalytics][I-ACS023007] Analytics v.10.28.1 started 2024-06-25 10:53:23.571313+0800 OnWear[31205:6588028] 10.28.1 - [FirebaseAnalytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r) 2024-06-25 10:53:23.575589+0800 OnWear[31205:6587695] [Firebase/Crashlytics] Version 10.28.1 2024-06-25 10:53:23.917721+0800 OnWear[31205:6588033] 10.28.1 - [FirebaseAnalytics][I-ACS800023] No pending snapshot to activate. SDK name: app_measurement 2024-06-25 10:53:23.918373+0800 OnWear[31205:6588033] 10.28.1 - [FirebaseAnalytics][I-ACS029017] Configuration was not found in database. The configuration will be fetched from the network when necessary 2024-06-25 10:53:23.919190+0800 OnWear[31205:6588020] 10.28.1 - [FirebaseAnalytics][I-ACS023016] Analytics is ready to receive events 2024-06-25 10:53:23.948584+0800 OnWear[31205:6588034] 10.28.1 - [FirebaseAnalytics][I-ACS023087] User property set. Name, value: _sid, 1719227950 2024-06-25 10:53:23.957413+0800 OnWear[31205:6588034] 10.28.1 - [FirebaseAnalytics][I-ACS023087] User property set. Name, value: _sno, 1 2024-06-25 10:53:23.958168+0800 OnWear[31205:6588020] 10.28.1 - [FirebaseAnalytics][I-ACS023051] Logging event: origin, name, params: auto, _s, { 2024-06-25 10:53:24.393200+0800 OnWear[31205:6588020] 10.28.1 - [FirebaseCrashlytics][I-CLS000000] Settings downloaded successfully 2024-06-25 10:53:24.732040+0800 OnWear[31205:6588028] 10.28.1 - [FirebaseSessions][I-SES000000] Data Collection is enabled for at least one Subscriber 2024-06-25 10:53:24.732632+0800 OnWear[31205:6588028] 10.28.1 - [FirebaseInstallations][I-FIS002001] -[FIRInstallationsIDController installationWithValidAuthTokenForcingRefresh:0], appName: __FIRAPP_DEFAULT

paulb777 commented 3 months ago

Sorry about the trouble. A few followup questions:

linwear commented 3 months ago

First of all, thank you very much for your reply. · When the program starts, I don't see any warnings. · When the program starts, I can see the page loading and then it crashes quickly. Debug does not see more valid information. · Podfile.lock file content: = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

PODS:

DEPENDENCIES:

SPEC REPOS: https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git:

EXTERNAL SOURCES: FitCloudDFUKit: :commit: 4a6de6ada7279a968788146cf7e9a82a4d1039a4 :git: https://github.com/htangsmart/FitCloudPro-SDK-iOS.git FitCloudKit: :git: https://github.com/htangsmart/FitCloudPro-SDK-iOS.git FitCloudWFKit: :git: https://github.com/htangsmart/FitCloudPro-SDK-iOS.git

CHECKOUT OPTIONS: FitCloudDFUKit: :commit: 4a6de6ada7279a968788146cf7e9a82a4d1039a4 :git: https://github.com/htangsmart/FitCloudPro-SDK-iOS.git FitCloudKit: :commit: eee3b839d0d90af7bca0698dcbd8f4bdc3e97b21 :git: https://github.com/htangsmart/FitCloudPro-SDK-iOS.git FitCloudWFKit: :commit: eee3b839d0d90af7bca0698dcbd8f4bdc3e97b21 :git: https://github.com/htangsmart/FitCloudPro-SDK-iOS.git

SPEC CHECKSUMS: AFNetworking: 3bd23d814e976cd148d7d44c3ab78017b744cd58 BaiduWalkNaviKit: cec7e4c5125a343d50a5451400137c755a088f26 BGFMDB: 48e6823027232402a678acc7f71484b1fc9171d0 BMKLocationKit: 7048cb9f9e6cd21d803a71013d175fce57db7f77 CocoaLumberjack: 6a459bc897d6d80bd1b8c78482ec7ad05dffc3f0 DGCharts: 1c6daf585b6cfc78807af44ea690d357c410627f DoraemonKit: 32fb97f3aa82efa133111d193080ca5462cef135 DZNEmptyDataSet: 9525833b9e68ac21c30253e1d3d7076cc828eaa7 Firebase: 49e62242b3ae422a002ab647a7e62a332a8c3ec1 FirebaseAnalytics: 1e06fe7d246af7230b08d1d9cdca54a4624dd461 FirebaseCore: dfc33f0dffba05f76181da9cc0151171ebb3bd10 FirebaseCoreExtension: f63147b723e2a700fe0f34ec6fb7f358d6fe83e0 FirebaseCoreInternal: 58d07f1362fddeb0feb6a857d1d1d1c5e558e698 FirebaseCrashlytics: f51e12b93f8e1134bbed602ed22df33804d55ccf FirebaseInstallations: 60c1d3bc1beef809fd1ad1189a8057a040c59f2e FirebaseRemoteConfigInterop: 70d200c6956ef3b5c3592a95e824c1210682d785 FirebaseSessions: 20da8500ad66bb12622743e170459bf62a0768e8 FitCloudDFUKit: 40997fde3d85513fa6c04b7260c65c479091c976 FitCloudKit: a8f977b6aa71c5f6b83b2882ba63fb8619aecdd2 FitCloudWFKit: 479df9517f4738280cba44a53a1cbd4a113d943b FMDB: 57486c1117fd8e0e6b947b2f54c3f42bf8e57a4e FSCalendar: 2d1d0d9398f12d439f55c1fe0f01525b151b8260 GCDWebServer: 2c156a56c8226e2d5c0c3f208a3621ccffbe3ce4 GoogleAppMeasurement: 55a4a3c8000c1280d68bf4c084adbfef20c49db1 GoogleDataTransport: 6c09b596d841063d76d4288cc2d2f42cc36e1e2a GoogleUtilities: ea963c370a38a8069cc5f7ba4ca849a60b6d7d15 iOSDFULibrary: 3500ac00451aa7d8ec48a752e91099669a2c1d27 IQKeyboardManager: c8665b3396bd0b79402b4c573eac345a31c7d485 JJException: fce490b5c046078709283d38de73fe2f624bc14c JXCategoryView: 99cbbab7ed3fd2cb2484208c9f39461820d10a13 lottie-ios: e047b1d2e6239b787cc5e9755b988869cf190494 Masonry: 678fab65091a9290e40e2832a55e7ab731aad201 MBProgressHUD: 3ee5efcc380f6a79a7cc9b363dd669c5e1ae7406 MJExtension: e97d164cb411aa9795cf576093a1fa208b4a8dd8 MJRefresh: ff9e531227924c84ce459338414550a05d2aea78 nanopb: 438bc412db1928dac798aa6fd75726007be04262 OpenCV: 1df7b8ab75900ef4365905b989bf60f5ca4101aa PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47 PromisesSwift: 9d77319bbe72ebf6d872900551f7eeba9bce2851 QMUIKit: 6321cf1124623d686a9ec0a79a7cc59d0d64a52c Realm: d97b438de77459e443bd2c8ad5ca0f95107aee4b SDAutoLayout: 8bf6b3bbc8b01f775d4defbb4fda2ace805461be SDCycleScrollView: a0d74c3384caa72bdfc81470bdbc8c14b3e1fbcf SDWebImage: dfe95b2466a9823cf9f0c6d01217c06550d7b29a SSZipArchive: fe6a26b2a54d5a0890f2567b5cc6de5caa600aef TZImagePickerController: c0f8e83c27cb08f7d812b1d066a5934d30ff78ad UICountingLabel: faf890b505d96312e324a86718f031fafffb0ccb YYText: 5c461d709e24d55a182d1441c41dc639a18a4849 Zip: b3fef584b147b6e582b2256a9815c897d60ddc67 ZIPFoundation: b1f0de4eed33e74a676f76e12559ab6b75990197 ZLCollectionViewFlowLayout: c99024652ce9f0c57d33ab53052c9b85e4a936b7

PODFILE CHECKSUM: 1f2fea6d09c77e4f010ae87e82e5efea0a4ddeec

COCOAPODS: 1.15.2

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

linwear commented 3 months ago

WX20240625-141007@2x nanopb follow pod Firebase auto import

paulb777 commented 3 months ago

Thanks. Can you share more about the "com.apple... " thread that is crashing?

linwear commented 3 months ago

Thread Queue : com.google.fira.worker (serial)

Thread Queue : com.apple.root.default-qos.overcommit (concurrent)

paulb777 commented 2 months ago

We'll likely need a fully reproducible example to help with this one.

google-oss-bot commented 2 months ago

Hey @linwear. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

google-oss-bot commented 2 months ago

Since there haven't been any recent updates here, I am going to close this issue.

@linwear if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.