-
Notifications
You must be signed in to change notification settings - Fork 40
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
subarrayWithRange crash on 4.14 SDK Mavic Mini #101
Comments
Happens to me as well on IPhone Xr. Following |
Agent comment from Luce Luo in Zendesk ticket #49570: Thank you for contacting DJI. Thanks, Luce Luo °°° |
This issue is also happening in Matrice 300 |
@AdamKraif We are working on this issue now, is there any reprocueable method for us, so that we can test locally. |
Agent comment from DJI SDK in Zendesk ticket #49570: Dear developer, thank you for contacting DJI. °°° |
I have the same issue. Sorry for the machine translated English. |
@muratatakashi Please tell me how to reproduce this bug, thx. |
Hi,
SDK - 4.14 / 4.14-trial1
Drone - Mavic mini Firmware - 01.00.0500
Phone - IphoneSE, Iphone11, iphone11Max, iphoneX (Those are the ones that we tested on but it looks like the problem can recreate at all iPhone models) Version - >14.0
The crash :
Terminating app due to uncaught exception 'NSRangeException', reason: '* -[NSArray subarrayWithRange:]: range {0, 9223372036854775808} extends beyond bounds for empty array'
terminating with uncaught exception of type NSException
The stack trace:
0 CoreFoundation 0x00000001a6f89880 727F2644-EB4E-3D57-BC2E-E6803BA92366 + 1202304
1 libobjc.A.dylib 0x00000001bbfa4c50 objc_exception_throw + 60
2 CoreFoundation 0x00000001a6ff9e1c 727F2644-EB4E-3D57-BC2E-E6803BA92366 + 1662492
3 CoreFoundation 0x00000001a6e80ff0 727F2644-EB4E-3D57-BC2E-E6803BA92366 + 118768
4 DJIUXSDK 0x000000010ef78cf0 -[DUXWidgetCollectionViewStacksLayout frameOfWidgetAtIndex:] + 324
5 DJIUXSDK 0x000000010ef78b04 -[DUXWidgetCollectionViewStacksLayout layoutAttributesForItemAtIndexPath:] + 244
6 DJIUXSDK 0x000000010ee9c2b0 -[DUXWidgetCollectionViewLayout layoutAttributesForElementsInRect:] + 316
7 UIKitCore 0x00000001a90876cc 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 3217100
8 UIKitCore 0x00000001a9086e54 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 3214932
9 UIKitCore 0x00000001a90503c0 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 2991040
10 UIKitCore 0x00000001a9e8bec4 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 17915588
11 QuartzCore 0x00000001aa3a6644 8510F139-0824-3686-A9AA-3E198539A021 + 1439300
12 QuartzCore 0x00000001aa3a6b18 8510F139-0824-3686-A9AA-3E198539A021 + 1440536
13 QuartzCore 0x00000001aa3bb30c 8510F139-0824-3686-A9AA-3E198539A021 + 1524492
14 QuartzCore 0x00000001aa300640 8510F139-0824-3686-A9AA-3E198539A021 + 759360
15 QuartzCore 0x00000001aa32bb08 8510F139-0824-3686-A9AA-3E198539A021 + 936712
16 QuartzCore 0x00000001aa32ce98 8510F139-0824-3686-A9AA-3E198539A021 + 941720
17 CoreFoundation 0x00000001a6f04358 727F2644-EB4E-3D57-BC2E-E6803BA92366 + 656216
18 CoreFoundation 0x00000001a6efe5c4 727F2644-EB4E-3D57-BC2E-E6803BA92366 + 632260
19 CoreFoundation 0x00000001a6efeb74 727F2644-EB4E-3D57-BC2E-E6803BA92366 + 633716
20 CoreFoundation 0x00000001a6efe21c CFRunLoopRunSpecific + 600
21 GraphicsServices 0x00000001beaca784 GSEventRunModal + 164
22 UIKitCore 0x00000001a993eee8 8518EAE3-832B-3FF0-9FA5-9DBE3041F26C + 12357352
23 UIKitCore 0x00000001a994475c UIApplicationMain + 168
24 UXSDKDemo 0x00000001026ef9b0 main + 112
25 libdyld.dylib 0x00000001a6bbe6b0 21B19919-1334-38BC-B233-896E929945E0 + 5808
Please provide a solution
Thanks.
The text was updated successfully, but these errors were encountered: