AppLovin / AppLovin-MAX-SDK-iOS

84 stars 69 forks source link

[ALDeviceMotionManager getAccelerationFromAccelerometerData:] crash #284

Open lmaigit opened 4 months ago

lmaigit commented 4 months ago

MAX SDK Version

11.11.4

Device/Platform Info

iOS 17.1.1、iOS 16.3.1

Current Behavior

my application receive some crashes from Firebase. the error message as follows:

0 libsystem_kernel.dylib abort_with_payload + 8 1 libsystem_kernel.dylib abort_with_payload_wrapper_internal + 104 2 libsystem_kernel.dylib abort_with_payload_wrapper_internal + 30 3 libobjc.A.dylib _objc_fatalv(unsigned long long, unsigned long long, char const, char) + 116 4 libobjc.A.dylib _objc_fatalv(unsigned long long, unsigned long long, char const, char) + 30 5 libobjc.A.dylib objc::DenseMapBase<objc::DenseMap<method_t const, void, objc::DenseMapValueInfo<void>, objc::DenseMapInfo<method_t const>, objc::detail::DenseMapPair<method_t const, void> >, method_t const, void, objc::DenseMapValueInfo<void>, objc::DenseMapInfo<method_t const>, objc::detail::DenseMapPair<method_t const, void> >::FatalCorruptHashTables(objc::detail::DenseMapPair<method_t const, void> const, unsigned int) const + 84 6 libobjc.A.dylib bool objc::DenseMapBase<objc::DenseMap<method_t const, void, objc::DenseMapValueInfo<void>, objc::DenseMapInfo<method_t const>, objc::detail::DenseMapPair<method_t const, void> >, method_t const, void, objc::DenseMapValueInfo<void>, objc::DenseMapInfo<method_t const>, objc::detail::DenseMapPair<method_t const, void> >::LookupBucketFor<method_t const>(method_t const const&, objc::detail::DenseMapPair<method_t const, void> const&) const + 228 7 libobjc.A.dylib method_t_remappedImp_nolock(method_t const*) + 52 8 libobjc.A.dylib method_t::imp(bool) const + 228 9 libobjc.A.dylib lookUpImpOrForward + 780 10 libobjc.A.dylib class_getInstanceMethod + 64 11 CoreFoundation methodDescriptionForSelector + 228 12 CoreFoundation -[NSObject(NSObject) methodSignatureForSelector:] + 36 13

+[ALDeviceMotionManager getAccelerationFromAccelerometerData:] + 2737460 14

57-[ALDeviceMotionManager startListeningToDeviceFlipEvents]_block_invoke + 2736856 15 Foundation NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK + 24 16 Foundation -[NSBlockOperation main] + 104 17 Foundation NSOPERATION_IS_INVOKING_MAIN + 16 18 Foundation -[NSOperation start] + 708 19 Foundation NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION + 16 20 Foundation NSOQSchedule_f + 172 21 libdispatch.dylib _dispatch_block_async_invoke2 + 148 22 libdispatch.dylib _dispatch_client_callout + 20 23 libdispatch.dylib _dispatch_continuation_pop + 504 24 libdispatch.dylib _dispatch_async_redirect_invoke + 736 25 libdispatch.dylib _dispatch_root_queue_drain + 396 26 libdispatch.dylib _dispatch_worker_thread2 + 164 27 libsystem_pthread.dylib _pthread_wqthread + 228 28 libsystem_pthread.dylib start_wqthread + 8

Expected Behavior

No response

How to Reproduce

unknown

Additional Info

detail logs: com.cmcm.live_issue_3085f2362a39e23b4c43ae11acf331e8_crash_session_c12f4834f28647eebf3a8eee2ee0bd14_DNE_0_v2_stacktrace.txt

ymCode commented 4 months ago

same issue

JulienDev commented 4 months ago

same issue, could you please fix it or give us a workaround?

thomasmso commented 4 months ago

Hey yall- you can set creativeDebuggerEnabled in the settings object of ALSdk.shared(...) to false. That would fix this issue.

JulienDev commented 4 months ago

Ok thanks, I'll try!

Le mer. 10 janv. 2024, 23:38, Thomas So @.***> a écrit :

Hey yall- you can set creativeDebuggerEnabled in the settings object of ALSdk.shared(...) to false. That would fix this issue.

— Reply to this email directly, view it on GitHub https://github.com/AppLovin/AppLovin-MAX-SDK-iOS/issues/284#issuecomment-1885855048, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAARNMJTROVRNBAIRZMLAQDYN4J55AVCNFSM6AAAAABBJZOZR2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBVHA2TKMBUHA . You are receiving this because you commented.Message ID: @.***>