Skip to content

"pulse_init" is being recursively called in a dead loop. #316

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

Open
Daren-Wang opened this issue Feb 24, 2025 · 0 comments
Open

"pulse_init" is being recursively called in a dead loop. #316

Daren-Wang opened this issue Feb 24, 2025 · 0 comments

Comments

@Daren-Wang
Copy link

this is trace call,Please solve this recursive problem using a brute-force method.

Thread 55 Queue : adapterStratloadQueue.com.anythink (serial)
#0	0x00000001b15f3b70 in SwiftHashTable::hash<SwiftTypeProtocolConformanceLocationKey> ()
#1	0x00000001b15f3ab8 in SwiftHashTable::getIndex<SwiftTypeProtocolConformanceLocationKey, SwiftTypeProtocolConformanceLocationKey> ()
#2	0x00000001b15f3a4c in SwiftHashTable::getPotentialTarget<SwiftTypeProtocolConformanceLocationKey, SwiftTypeProtocolConformanceLocationKey> ()
#3	0x00000001b15f38c8 in dyld4::APIs::_dyld_find_protocol_conformance ()
#4	0x000000018cc43f74 in swift_conformsToProtocolMaybeInstantiateSuperclasses ()
#5	0x000000018cc42b48 in swift_conformsToProtocolCommon ()
#6	0x000000018cbe69f0 in swift::_conformsToProtocol ()
#7	0x000000018cbeebe4 in _conformsToProtocols ()
#8	0x000000018cbed8a8 in tryCastToConstrainedOpaqueExistential ()
#9	0x000000018cbec068 in tryCast ()
#10	0x000000018cbebb14 in swift_dynamicCast ()
#11	0x000000018c97ef04 in Swift.String.init<τ_0_0>(describing: τ_0_0) -> Swift.String ()
#12	0x000000011bb2ce98 in isConfiguringSessionSafe(delegate:) at /SourcePackages/checkouts/Pulse/Sources/Pulse/URLSessionProxy/URLSessionProxyDelegate+AutomaticRegistration.swift:54
#13	0x000000011bb2d030 in static NSURLSession.pulse_init(configuration:delegate:delegateQueue:) at /SourcePackages/checkouts/Pulse/Sources/Pulse/URLSessionProxy/URLSessionProxyDelegate+AutomaticRegistration.swift:68
#14	0x000000011bb2d2d4 in @objc static NSURLSession.pulse_init(configuration:delegate:delegateQueue:) ()
#15	0x0000000123c0c710 in -[MTGURLSessionManager session] ()
#16	0x0000000123c0cf24 in -[MTGURLSessionManager description] ()
#17	0x000000018ceea818 in merged protocol witness for Swift.CustomStringConvertible.description.getter : Swift.String in conformance __C.NSObject : Swift.CustomStringConvertible in Foundation ()
#18	0x000000018c92503c in Swift._debugPrint_unlocked<τ_0_0, τ_0_1 where τ_0_1: Swift.TextOutputStream>(τ_0_0, inout τ_0_1) -> () ()
#19	0x000000018c9ebf6c in generic specialization <Swift.String> of Swift._debugPrint<τ_0_0 where τ_0_0: Swift.TextOutputStream>(_: Swift.Array<Any>, separator: Swift.String, terminator: Swift.String, to: inout τ_0_0) -> () ()
#20	0x000000018c9df058 in Swift.Optional.debugDescription.getter : Swift.String ()
#21	0x000000018c97efc0 in Swift.String.init<τ_0_0>(describing: τ_0_0) -> Swift.String ()


#3038	0x000000018c92503c in Swift._debugPrint_unlocked<τ_0_0, τ_0_1 where τ_0_1: Swift.TextOutputStream>(τ_0_0, inout τ_0_1) -> () ()
#3039	0x000000018c9ebf6c in generic specialization <Swift.String> of Swift._debugPrint<τ_0_0 where τ_0_0: Swift.TextOutputStream>(_: Swift.Array<Any>, separator: Swift.String, terminator: Swift.String, to: inout τ_0_0) -> () ()
#3040	0x000000018c9df058 in Swift.Optional.debugDescription.getter : Swift.String ()
#3041	0x000000018c97efc0 in Swift.String.init<τ_0_0>(describing: τ_0_0) -> Swift.String ()
#3042	0x000000011bb2ce98 in isConfiguringSessionSafe(delegate:) at /SourcePackages/checkouts/Pulse/Sources/Pulse/URLSessionProxy/URLSessionProxyDelegate+AutomaticRegistration.swift:54
#3043	0x000000011bb2d030 in static NSURLSession.pulse_init(configuration:delegate:delegateQueue:) at /SourcePackages/checkouts/Pulse/Sources/Pulse/URLSessionProxy/URLSessionProxyDelegate+AutomaticRegistration.swift:68
#3044	0x000000011bb2d2d4 in @objc static NSURLSession.pulse_init(configuration:delegate:delegateQueue:) ()
#3045	0x0000000123c0c710 in -[MTGURLSessionManager session] ()
#3046	0x0000000123c0cf24 in -[MTGURLSessionManager description] ()
#3047	0x000000018ceea818 in merged protocol witness for Swift.CustomStringConvertible.description.getter : Swift.String in conformance __C.NSObject : Swift.CustomStringConvertible in Foundation ()
#3048	0x000000018c92503c in Swift._debugPrint_unlocked<τ_0_0, τ_0_1 where τ_0_1: Swift.TextOutputStream>(τ_0_0, inout τ_0_1) -> () ()
#3049	0x000000018c9ebf6c in generic specialization <Swift.String> of Swift._debugPrint<τ_0_0 where τ_0_0: Swift.TextOutputStream>(_: Swift.Array<Any>, separator: Swift.String, terminator: Swift.String, to: inout τ_0_0) -> () ()
#3050	0x000000018c9df058 in Swift.Optional.debugDescription.getter : Swift.String ()
#3051	0x000000018c97efc0 in Swift.String.init<τ_0_0>(describing: τ_0_0) -> Swift.String ()
#3052	0x000000011bb2ce98 in isConfiguringSessionSafe(delegate:) at /SourcePackages/checkouts/Pulse/Sources/Pulse/URLSessionProxy/URLSessionProxyDelegate+AutomaticRegistration.swift:54
#3053	0x000000011bb2d030 in static NSURLSession.pulse_init(configuration:delegate:delegateQueue:) at /SourcePackages/checkouts/Pulse/Sources/Pulse/URLSessionProxy/URLSessionProxyDelegate+AutomaticRegistration.swift:68
#3054	0x000000011bb2d2d4 in @objc static NSURLSession.pulse_init(configuration:delegate:delegateQueue:) ()
#3055	0x0000000123c0c710 in -[MTGURLSessionManager session] ()
#3056	0x0000000123c0c454 in -[MTGURLSessionManager initWithSessionConfiguration:] ()
#3057	0x0000000123be3b38 in -[MTGBaseNetWorkManager init] ()
#3058	0x0000000123c0daa0 in -[MTGAPIManager init] ()
#3059	0x0000000123c0da28 in +[MTGAPIManager sharedInstance] ()
#3060	0x0000000123bfb370 in -[MTGBusinessRequestManager getEncodeRequestUrlWithHost:paramter:] ()
#3061	0x0000000123bf95d0 in -[MTGBusinessRequestManager getAdsWithParamsModel:success:failure:] ()
#3062	0x0000000123af517c in -[MTGVideoAdRequestComposite netRequest:success:failure:] ()
#3063	0x0000000123af5c1c in -[MTGVideoAdRequestComposite requestApiAdWithTimeout:] ()
#3064	0x0000000123c1f6d8 in -[MTGAdRequestDelayManager performDelayExcuteBlock:] ()
#3065	0x0000000123af0ad0 in -[MTGVideoAdManagerComposite _loadVideoWithBidToken:placementId:unitId:delegate:autoLoad:] ()
#3066	0x0000000123a72cb4 in -[MTGBidRewardAdManager loadVideoWithBidToken:placementId:unitId:delegate:] ()
#3067	0x0000000123c6f058 in -[ATMintegralRewardedVideoAdapter loadNormalRewardedAd:] ()
#3068	0x0000000123c6ef38 in -[ATMintegralRewardedVideoAdapter loadADWithInfo:localInfo:completion:] ()
#3069	0x000000012310ebec in __49-[ATAdapterLoadService loadAdapterWithUnitGroup:]_block_invoke.60 ()
#3070	0x0000000100e04b98 in _dispatch_call_block_and_release ()
#3071	0x0000000100e067bc in _dispatch_client_callout ()
#3072	0x0000000100e0e66c in _dispatch_lane_serial_drain ()
#3073	0x0000000100e0f408 in _dispatch_lane_invoke ()
#3074	0x0000000100e1c404 in _dispatch_root_queue_drain_deferred_wlh ()
#3075	0x0000000100e1ba38 in _dispatch_workloop_worker_thread ()
#3076	0x00000001eadff934 in _pthread_wqthread ()

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