@DTS Engineer
First of all thanks for your answer.
In the message before yours I have posted full log.
The interesting stuff for me, that NSArray is handling by EAAccessory, it is part of EAAccessory framework, not my Array. So I try to understand what I can do with thread to affect Main Thread in that way that Object could be deleted in that moment when it was created.
And usually it is happens in background.
And btw, it is only visible on PROD, so when optimization is turned on.
Our QA has never observed the bug.
Thanks,
Eugene.
Post
Replies
Boosts
Views
Activity
Thanks!
Full log is here:
logs.txt
I can't attach full log cause Forum showed this error:
This post contains sensitive language. Please revise it in order to continue.
Incident Identifier: 9071D48D-2B8C-4636-90E0-8D4BCD382C6A
Distributor ID: com.apple.AppStore
Hardware Model: iPhone14,2
Process: Poly Lens iOS [441]
Path: /private/var/containers/Bundle/Application/AE5D4478-F14C-4CFB-B892-60D90F2F2BBA/Poly Lens iOS.app/Poly Lens iOS
Identifier: com.plantronics.myheadset
Version: 4.4.3 (15741)
AppStoreTools: 16A242b
AppVariant: 1:iPhone14,2:15
Code Type: ARM-64 (Native)
Role: unknown
Parent Process: launchd [1]
Coalition: com.plantronics.myheadset [627]
Date/Time: 2024-09-13 09:42:31.4873 +0200
Launch Time: 2024-09-13 08:23:27.2514 +0200
OS Version: iPhone OS 17.6.1 (21G93)
Release Type: User
Baseband Version: 3.50.04
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Reason: *** -[NSArray initWithArray:range:copyItems:]: range {0, 1} extends beyond bounds for empty array
Termination Reason: SIGNAL 6 Abort trap: 6
Terminating Process: Poly Lens iOS [441]
Triggered by Thread: 10
Last Exception Backtrace:
0 CoreFoundation 0x1918fcf20 __exceptionPreprocess + 164 (NSException.m:249)
1 libobjc.A.dylib 0x18979b2b8 objc_exception_throw + 60 (objc-exception.mm:356)
2 CoreFoundation 0x19188c0ac -[NSArray initWithArray:range:copyItems:] + 1180 (NSArray.m:0)
3 CoreFoundation 0x1918c39a8 +[NSArray arrayWithArray:] + 60 (NSArray.m:975)
4 ExternalAccessory 0x1c4beada4 -[EAAccessoryManager _findExtraAccessoriesContainedOnlyInEA:] + 88 (EAAccessoryManager.m:1235)
5 ExternalAccessory 0x1c4bea630 -[EAAccessoryManager _checkForConnectedAccessories:backgroundTaskIdentifier:] + 144 (EAAccessoryManager.m:1274)
6 libdispatch.dylib 0x1997a113c _dispatch_call_block_and_release + 32 (init.c:1530)
7 libdispatch.dylib 0x1997a2dd4 _dispatch_client_callout + 20 (object.m:576)
8 libdispatch.dylib 0x1997a5f6c _dispatch_queue_override_invoke + 928 (queue.c:4967)
9 libdispatch.dylib 0x1997b4894 _dispatch_root_queue_drain + 392 (queue.c:7136)
10 libdispatch.dylib 0x1997b509c _dispatch_worker_thread2 + 156 (queue.c:7204)
11 libsystem_pthread.dylib 0x1ee34c8f8 _pthread_wqthread + 228 (pthread.c:2709)
12 libsystem_pthread.dylib 0x1ee3490cc start_wqthread + 8 (:-1)
Just turn off Find My Mac and network. And it will work.
Any update? How did you solve a problem?