Skip to content
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

Crash: 4.37.0 +[ADJPackageBuilder addIdfaToParameters:withConfig:logger:packageParams:] #696

Closed
tikidunpon opened this issue Feb 6, 2024 · 3 comments

Comments

@tikidunpon
Copy link

Environment

SDK Version: 4.37.0
iOS Version: iOS 17+
Installation Method: SwiftPM

Crash Log

com.apple.main-thread
0  libsystem_kernel.dylib         0x1178 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0xf10 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0xe28 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0xc68 mach_msg + 24
4  CoreFoundation                 0x35b1c __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x33a14 __CFRunLoopRun + 1208
6  CoreFoundation                 0x33478 CFRunLoopRunSpecific + 608
7  GraphicsServices               0x34f8 GSEventRunModal + 164
8  UIKitCore                      0x22c62c -[UIApplication _run] + 888
9  UIKitCore                      0x22bc68 UIApplicationMain + 340
10 my-app                     0xa708 main + 20 (AppDelegate.swift:20)
11 ???                            0x1d308adcc (missing symbol)

com.apple.uikit.eventfetch-thread
0  libsystem_kernel.dylib         0x1178 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0xf10 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0xe28 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0xc68 mach_msg + 24
4  CoreFoundation                 0x35b1c __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x33a14 __CFRunLoopRun + 1208
6  CoreFoundation                 0x33478 CFRunLoopRunSpecific + 608
7  Foundation                     0x2c48c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
8  Foundation                     0x5974c -[NSRunLoop(NSRunLoop) runUntilDate:] + 64
9  UIKitCore                      0x18e4a8 -[UIEventFetcher threadMain] + 420
10 Foundation                     0xafde0 __NSThread__start__ + 732
11 libsystem_pthread.dylib        0x24d4 _pthread_start + 136
12 libsystem_pthread.dylib        0x1a10 thread_start + 8

com.google.firebase.crashlytics.MachExceptionServer
0  libsystem_kernel.dylib         0x1178 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0xf10 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0xe28 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0xc68 mach_msg + 24
4  my-app                     0x43b24 FIRCLSMachExceptionServer + 192 (FIRCLSMachException.c:192)
5  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
6  libsystem_pthread.dylib        0x1a10 thread_start + 8

com.apple.NSURLConnectionLoader
0  libsystem_kernel.dylib         0x1178 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0xf10 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0xe28 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0xc68 mach_msg + 24
4  CoreFoundation                 0x35b1c __CFRunLoopServiceMachPort + 160
5  CoreFoundation                 0x33a14 __CFRunLoopRun + 1208
6  CoreFoundation                 0x33478 CFRunLoopRunSpecific + 608
7  CFNetwork                      0x25a060 estimatedPropertyListSize + 38188
8  Foundation                     0xafde0 __NSThread__start__ + 732
9  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
10 libsystem_pthread.dylib        0x1a10 thread_start + 8

Thread
0  libsystem_pthread.dylib        0x19fc start_wqthread + 438

Thread
0  libsystem_kernel.dylib         0x96d0 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x19b0 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x1a04 start_wqthread + 8

Thread
0  libsystem_kernel.dylib         0x96d0 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x19b0 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x1a04 start_wqthread + 8

Crashed: io.adjust.ActivityQueue
0  libsystem_kernel.dylib         0x9fbc __pthread_kill + 8
1  libsystem_pthread.dylib        0x5680 pthread_kill + 268
2  libsystem_c.dylib              0x75b90 abort + 180
3  libsystem_malloc.dylib         0x26200 malloc_vreport + 908
4  libsystem_malloc.dylib         0x264a8 malloc_zone_error + 104
5  libsystem_malloc.dylib         0x6a90 _szone_free + 480
6  libswiftCore.dylib             0x3a6914 _swift_release_dealloc + 56
7  libswiftCore.dylib             0x3a7fb0 bool swift::RefCounts<swift::RefCountBitsT<(swift::RefCountInlinedness)1> >::doDecrementSlow<(swift::PerformDeinit)1>(swift::RefCountBitsT<(swift::RefCountInlinedness)1>, unsigned int) + 136
8  my-app                     0x95b194 +[ADJPackageBuilder addIdfaToParameters:withConfig:logger:packageParams:] + 1404 (ADJPackageBuilder.m:1404)
9  my-app                     0x95a5c0 -[ADJPackageBuilder addIdfaIfPossibleToParameters:] + 1238 (ADJPackageBuilder.m:1238)
10 my-app                     0x952694 -[ADJPackageBuilder getEventParameters:forEventPackage:] + 407 (ADJPackageBuilder.m:407)
11 my-app                     0x9506f8 -[ADJPackageBuilder buildEventPackage:isInDelay:] + 78 (ADJPackageBuilder.m:78)
12 my-app                     0x93edb4 -[ADJActivityHandler eventI:event:] + 1175 (ADJActivityHandler.m:1175)
13 my-app                     0x93a8cc __33-[ADJActivityHandler trackEvent:]_block_invoke + 291 (ADJActivityHandler.m:291)
14 my-app                     0x96af98 __42+[ADJUtil launchInQueue:selfInject:block:]_block_invoke + 804 (ADJUtil.m:804)
15 libdispatch.dylib              0x26a8 _dispatch_call_block_and_release + 32
16 libdispatch.dylib              0x4300 _dispatch_client_callout + 20
17 libdispatch.dylib              0xb894 _dispatch_lane_serial_drain + 748
18 libdispatch.dylib              0xc3c4 _dispatch_lane_invoke + 380
19 libdispatch.dylib              0x17004 _dispatch_root_queue_drain_deferred_wlh + 288
20 libdispatch.dylib              0x16878 _dispatch_workloop_worker_thread + 404
21 libsystem_pthread.dylib        0x1964 _pthread_wqthread + 288
22 libsystem_pthread.dylib        0x1a04 start_wqthread + 8

com.adjust.AttributionQueue
0  libswiftCore.dylib             0x3a7480 _swift_allocObject_ + 56
1  Foundation                     0xb7b58 _NSSwiftCalendar.init(checkedCalendarIdentifier:) + 236
2  Foundation                     0xb7a60 @objc _NSSwiftCalendar.init(checkedCalendarIdentifier:) + 36
3  my-app                     0x9684e4 +[ADJUtil getDateFormatter] + 132 (ADJUtil.m:132)
4  my-app                     0x968814 +[ADJUtil formatDate:] + 196 (ADJUtil.m:196)
5  my-app                     0x9687c8 +[ADJUtil formatSeconds1970:] + 192 (ADJUtil.m:192)
6  my-app                     0x94c630 -[ADJAttributionHandler requestAttributionI:] + 193 (ADJAttributionHandler.m:193)
7  my-app                     0x94bdc0 __85-[ADJAttributionHandler initWithActivityHandler:startsSending:userAgent:urlStrategy:]_block_invoke + 57 (ADJAttributionHandler.m:57)
8  libdispatch.dylib              0x4300 _dispatch_client_callout + 20
9  libdispatch.dylib              0x77b8 _dispatch_continuation_pop + 600
10 libdispatch.dylib              0x1b5c0 _dispatch_source_latch_and_call + 420
11 libdispatch.dylib              0x1a190 _dispatch_source_invoke + 832
12 libdispatch.dylib              0xb718 _dispatch_lane_serial_drain + 368
13 libdispatch.dylib              0xc3c4 _dispatch_lane_invoke + 380
14 libdispatch.dylib              0x17004 _dispatch_root_queue_drain_deferred_wlh + 288
15 libdispatch.dylib              0x16878 _dispatch_workloop_worker_thread + 404
16 libsystem_pthread.dylib        0x1964 _pthread_wqthread + 288
17 libsystem_pthread.dylib        0x1a04 start_wqthread + 8

Thread
0  libsystem_kernel.dylib         0x96d0 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x19b0 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x1a04 start_wqthread + 8

Thread
0  libsystem_kernel.dylib         0x96d0 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x19b0 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x1a04 start_wqthread + 8

Thread
0  libsystem_kernel.dylib         0x96d0 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x19b0 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x1a04 start_wqthread + 8

Thread
0  libsystem_kernel.dylib         0x96d0 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x19b0 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x1a04 start_wqthread + 8
@tikidunpon tikidunpon changed the title Crash +[ADJPackageBuilder addIdfaToParameters:withConfig:logger:packageParams:] Crash: 4.37.0 +[ADJPackageBuilder addIdfaToParameters:withConfig:logger:packageParams:] Feb 6, 2024
@genadyb genadyb mentioned this issue Feb 15, 2024
@uerceg
Copy link
Contributor

uerceg commented Feb 15, 2024

Hi @tikidunpon,

Would it be possible for you to try out the latest v4.37.1 SDK update and let us know if you're still experiencing this issue with that SDK version?

Thank you in advance.

@Minishlink
Copy link

Hello, 4.37.1 seems to fix this issue (at least we have no related crash on our app version with 4.37.1 whereas we did with 4.37.0)

@genadyb
Copy link
Contributor

genadyb commented Mar 22, 2024

So I'm closing this issue for now.
Please feel free to reopen or comment if you experience it again.
Thank you.

@genadyb genadyb closed this as completed Mar 22, 2024
github-merge-queue bot referenced this issue in valora-inc/wallet Mar 26, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [react-native-adjust](https://togithub.com/adjust/react_native_sdk) |
[`^4.37.1` ->
`^4.37.2`](https://renovatebot.com/diffs/npm/react-native-adjust/4.37.1/4.37.2)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-native-adjust/4.37.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-native-adjust/4.37.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-native-adjust/4.37.1/4.37.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-native-adjust/4.37.1/4.37.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>adjust/react_native_sdk (react-native-adjust)</summary>

###
[`v4.37.2`](https://togithub.com/adjust/react_native_sdk/blob/HEAD/CHANGELOG.md#Version-4372-21st-March-2024)

[Compare
Source](https://togithub.com/adjust/react_native_sdk/compare/v4.37.1...v4.37.2)

##### Fixed

- Fixed occasional crashes caused by not synchronized access to cached
IDFA value
([https://github.com/adjust/ios_sdk/issues/696](https://togithub.com/adjust/ios_sdk/issues/696)).

##### Changed

- Added tracking of `third_party_sharing` and `measurement_consent`
packages if invoked before SDK initialization in subsequent SDK
initializations.

##### Native SDKs

-   \[iOS@v4.37.2]\[ios_sdk_v4.37.2]
-   \[Android@v4.38.2]\[android_sdk_v4.38.2]

***

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 5pm,every weekend" in timezone
America/Los_Angeles, Automerge - "after 5pm,every weekend" in timezone
America/Los_Angeles.

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/valora-inc/wallet).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tom McGuire <mcgtom10@gmail.com>
github-merge-queue bot referenced this issue in valora-inc/wallet Mar 27, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [react-native-adjust](https://togithub.com/adjust/react_native_sdk) |
[`^4.37.1` ->
`^4.37.2`](https://renovatebot.com/diffs/npm/react-native-adjust/4.37.1/4.37.2)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-native-adjust/4.37.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-native-adjust/4.37.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-native-adjust/4.37.1/4.37.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-native-adjust/4.37.1/4.37.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>adjust/react_native_sdk (react-native-adjust)</summary>

###
[`v4.37.2`](https://togithub.com/adjust/react_native_sdk/blob/HEAD/CHANGELOG.md#Version-4372-21st-March-2024)

[Compare
Source](https://togithub.com/adjust/react_native_sdk/compare/v4.37.1...v4.37.2)

##### Fixed

- Fixed occasional crashes caused by not synchronized access to cached
IDFA value
([https://github.com/adjust/ios_sdk/issues/696](https://togithub.com/adjust/ios_sdk/issues/696)).

##### Changed

- Added tracking of `third_party_sharing` and `measurement_consent`
packages if invoked before SDK initialization in subsequent SDK
initializations.

##### Native SDKs

-   \[iOS@v4.37.2]\[ios_sdk_v4.37.2]
-   \[Android@v4.38.2]\[android_sdk_v4.38.2]

***

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 5pm,every weekend" in timezone
America/Los_Angeles, Automerge - "after 5pm,every weekend" in timezone
America/Los_Angeles.

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/valora-inc/wallet).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tom McGuire <mcgtom10@gmail.com>
shottah referenced this issue in zed-io/kolektivo May 15, 2024
…nc#5161)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [react-native-adjust](https://togithub.com/adjust/react_native_sdk) |
[`^4.37.1` ->
`^4.37.2`](https://renovatebot.com/diffs/npm/react-native-adjust/4.37.1/4.37.2)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-native-adjust/4.37.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-native-adjust/4.37.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-native-adjust/4.37.1/4.37.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-native-adjust/4.37.1/4.37.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>adjust/react_native_sdk (react-native-adjust)</summary>

###
[`v4.37.2`](https://togithub.com/adjust/react_native_sdk/blob/HEAD/CHANGELOG.md#Version-4372-21st-March-2024)

[Compare
Source](https://togithub.com/adjust/react_native_sdk/compare/v4.37.1...v4.37.2)

##### Fixed

- Fixed occasional crashes caused by not synchronized access to cached
IDFA value
([https://github.com/adjust/ios_sdk/issues/696](https://togithub.com/adjust/ios_sdk/issues/696)).

##### Changed

- Added tracking of `third_party_sharing` and `measurement_consent`
packages if invoked before SDK initialization in subsequent SDK
initializations.

##### Native SDKs

-   \[iOS@v4.37.2]\[ios_sdk_v4.37.2]
-   \[Android@v4.38.2]\[android_sdk_v4.38.2]

***

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 5pm,every weekend" in timezone
America/Los_Angeles, Automerge - "after 5pm,every weekend" in timezone
America/Los_Angeles.

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/valora-inc/wallet).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tom McGuire <mcgtom10@gmail.com>
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

Successfully merging a pull request may close this issue.

4 participants