Closed pmanuelli closed 3 years ago
Hi Which param did you pass as eventName to logEvent? It seems that you pass not a String value
Hello Andrey, thank you for your answer.
We are using non-null Strings as event names. The event used as conversion event is "conversion_value_update"
More relevant information: To the users experiencing this crash, seems to happen only once. It does happen shortly after the first run of the app.
As an additional data point, we're also seeing this crash in our app. Our AppsFlyer implementation has not changed (other than updating the library) for many releases of our app. We have not yet migrated to v6.1.4.
Further information: we just updated to v6.1.4 and our automation tests are showing that the problem is likely fixed (i.e. the problem was causing our automation tests to fail immediately, and this is no longer happening, so it looks like it is at least improved and may be completely fixed)
Great news @twc-rhedin! Our app with the update to v6.1.4 comes to production today or tomorrow (that depends on Apple's review time). I will let you all know if the issue is resolved with this version.
@twc-rhedin Can you share additional logs from automation tests? And any useful information related to this problem. And seems like the problem was on backend side.. Cos no changes were made on SDK for SKAd feature. support@appsflyer.com
Update 1:
Starting from 6.1.4
SKAd rule has separate endpoint and implementation changed. Thats why, I think, crash disappeared.
In my case, the crash persists in v6.1.4.
We tested in our production environment and as soon as we enabled the Conversion Value measurement feature, the crash started again.
@twc-rhedin have you tested in your production environment?
@andr-ggn We are experiencing the same issue. It started in version 6.1.3 and persists in the current version 6.1.4.
I can provide the following crash log from Crashlytics:
Abgestürzt: com.appsflyer.serial
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000000
-[AFSDKSKAdNetwork willUpdateConversionValueWithName:values:]
Crashed: com.appsflyer.serial
0 libobjc.A.dylib 0x1a1d76128 lookUpImpOrForward + 76
1 libobjc.A.dylib 0x1a1d60524 _objc_msgSend_uncached + 68
2 libswiftCore.dylib 0x190d281f0 _swift_stdlib_isNSString + 68
3 libswiftCore.dylib 0x190b23b34 _isNSString(_:) + 100
4 libswiftCore.dylib 0x190b3bdac __SharedStringStorage.isEqualToString(to:) + 212
5 libswiftCore.dylib 0x190b3bf98 @objc __SharedStringStorage.isEqualToString(to:) + 28
6 AppName 0x1008d0f8c -[AFSDKSKAdNetwork willUpdateConversionValueWithName:values:] + 4379725708
7 AppName 0x1008e9164 -[AppsFlyerLib callServerWithEventName:eventValues:options:completion:] + 4379824484
8 libdispatch.dylib 0x18c93ddb0 _dispatch_client_callout + 20
9 libdispatch.dylib 0x18c94112c _dispatch_continuation_pop + 416
10 libdispatch.dylib 0x18c952c08 _dispatch_source_invoke + 1260
11 libdispatch.dylib 0x18c944fd8 _dispatch_lane_serial_drain + 272
12 libdispatch.dylib 0x18c945c5c _dispatch_lane_invoke + 408
13 libdispatch.dylib 0x18c94fd78 _dispatch_workloop_worker_thread + 708
14 libsystem_pthread.dylib 0x1d87f9814 _pthread_wqthread + 276
15 libsystem_pthread.dylib 0x1d880076c start_wqthread + 8
The issue was caused by internal variable with __unsafe_unretained
modifier. Next release will contain a fix. Thank you for participation!
6.2.0 should fix an issue
fixed in 6.2.0
Report
SDK Version
6.1.3
What did you do?
Integrated SDK version 6.1.3 and run the app in the production environment.
What did you expect to happen?
The app does not crash.
What happened instead?
The app crashes on -[AFSDKSKAdNetwork willUpdateConversionValueWithName:values:]
Please provide any other relevant information.
The issue started at least on version 6.1.2. It crashes when we enable the new Conversion Value measurement feature, based on a tracked event.