Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[GULNetworkURLSession setSessionInFetcherMap:forSessionID:] crash #14473

Open
linziyiwj opened this issue Feb 20, 2025 · 3 comments
Open

[GULNetworkURLSession setSessionInFetcherMap:forSessionID:] crash #14473

linziyiwj opened this issue Feb 20, 2025 · 3 comments

Comments

@linziyiwj
Copy link

linziyiwj commented Feb 20, 2025

Description

App crashes in GULNetworkURLSession,We can't locate the reason, please help me solve this problem.
the information is as follows:

  • Xccode 15.4
  • Firebase 10.14.0
  • Cocoapods version: We are using Cocoapods 1.14.3 with use_frameworks! :linkage => :static、use_modular_headers!
  • Crash appears on iOS16-18,and 18 Most
  • There is nothing special about the distribution of devices that crashed
  • The crash stack information is as follows

Image

Crashed: com.google.fira.worker
0  libobjc.A.dylib                0xeab8 realizeClassWithoutSwift(objc_class*, objc_class*) + 56
1  libobjc.A.dylib                0xed8c realizeClassWithoutSwift(objc_class*, objc_class*) + 780
2  libobjc.A.dylib                0xdfd8 realizeClassMaybeSwiftMaybeRelock(objc_class*, locker_mixin<lockdebug::lock_mixin<objc_lock_base_t>>&, bool) + 388
3  libobjc.A.dylib                0xe114 initializeAndMaybeRelock(objc_class*, objc_object*, locker_mixin<lockdebug::lock_mixin<objc_lock_base_t>>&, bool) + 144
4  libobjc.A.dylib                0x92b8 objc_loadWeakRetained + 268
5  libobjc.A.dylib                0x917c objc_loadWeak + 24
6  Foundation                     0x858d74 startReadARCWeakAutoreleasingAt + 32
7  Foundation                     0xa96a0 -[NSConcreteMapTable rehashAround:] + 192
8  Foundation                     0xa9438 -[NSConcreteMapTable rehash] + 96
9  Foundation                     0x118ac -[NSConcreteMapTable grow] + 100
10 Foundation                     0xe2d4 -[NSConcreteMapTable setObject:forKey:] + 172
11 xxxxxxxx                        0x2dcd0e8 +[GULNetworkURLSession setSessionInFetcherMap:forSessionID:] + 695 (GULNetworkURLSession.m:695)
12 xxxxxxxx                        0x2dcb4f8 -[GULNetworkURLSession sessionIDFromAsyncPOSTRequest:completionHandler:] + 177 (GULNetworkURLSession.m:177)
13 xxxxxxxx                        0x2dc9a1c -[GULNetwork postURL:headers:payload:queue:usingBackgroundSession:completionHandler:] + 159 (GULNetwork.m:159)
14 xxxxxxxx                        0x2bda7a4 -[APMMeasurement uploadData] + 13534012
15 xxxxxxxx                        0x2bdb058 -[APMMeasurement networkUploadCompletionHandlerWithResponse:error:] + 13536240
16 xxxxxxxx                        0x2bda9e8 __28-[APMMeasurement uploadData]_block_invoke.665 + 13534592
17 libdispatch.dylib              0x2370 _dispatch_call_block_and_release + 32
18 libdispatch.dylib              0x40d0 _dispatch_client_callout + 20
19 libdispatch.dylib              0xb6d8 _dispatch_lane_serial_drain + 744
20 libdispatch.dylib              0xc1e0 _dispatch_lane_invoke + 380
21 libdispatch.dylib              0x17258 _dispatch_root_queue_drain_deferred_wlh + 288
22 libdispatch.dylib              0x16aa4 _dispatch_workloop_worker_thread + 540
23 libsystem_pthread.dylib        0x4c7c _pthread_wqthread + 288
24 libsystem_pthread.dylib        0x1488 start_wqthread + 8

Reproducing the issue

No response

Firebase SDK Version

10.14.0

Xcode Version

15.4

Installation Method

CocoaPods

Firebase Product(s)

AB Testing, Analytics, Crashlytics, Remote Config, In-App Messaging, Messaging, Performance

Targeted Platforms

iOS

Relevant Log Output

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

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

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet
Replace this line with the contents of your Podfile.lock!
@google-oss-bot
Copy link

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

@paulb777
Copy link
Member

This looks like #11527. Removing FirebasePerformance may be a workaround.

@linziyiwj
Copy link
Author

linziyiwj commented Feb 20, 2025

This looks like #11527. Removing FirebasePerformance may be a workaround.

@paulb777 But we are using FirebasePerformance and cannot remove it

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants