Forum Xamarin.iOS

Help with Potential Crash - CameraUI

RobertSayersRobertSayers USMember ✭✭

Hi,

I was wondering if anyone can help point out what to look for to help solve this crash:

SIGABRT: Objective-C exception thrown. Name: NSGenericException Reason: *** Collection <__NSArrayM: 0x283324780> was mutated while being enumerated. Native stack trace: 0 CoreFoundation 0x0000000192c63c44 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 1256516 1 libobjc.A.dylib 0x000000019297e0c8 objc_exception_throw + 60 2 CoreFoundation 0x0000000192c63598 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 1254808 3 libobjc.A.dylib 0x00000001929910f8 objc_enumerationMutation + 32 4 CameraUI 0x00000001b47a0918 6549ACD2-E6A4-37D8-B8CA-91287AEAB874 + 227608 5 CameraUI 0x00000001b47a0378 6549ACD2-E6A4-37D8-B8CA-91287AEAB874 + 226168 6 Foundation 0x000000019302e288 672CF0CB-4951-3B91-89DF-55E953AEA00F + 1147528 7 CoreFoundation 0x0000000192bbbb30 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 568112 8 CoreFoundation 0x0000000192bbbb80 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 568192 9 CoreFoundation 0x0000000192bbae78 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 564856 10 CoreFoundation 0x0000000192bbab10 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 563984 11 CoreFoundation 0x0000000192b33b08 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 11016 12 CoreFoundation 0x0000000192bba440 _CFXNotificationPost + 1268 13 Foundation 0x0000000192f1cdcc 672CF0CB-4951-3B91-89DF-55E953AEA00F + 28108 14 UIKitCore 0x0000000196cfefe0 55D60569-DBB7-3BC9-8A97-DCAC95C64D4B + 10706912 15 UIKitCore 0x00000001966d0798 55D60569-DBB7-3BC9-8A97-DCAC95C64D4B + 4224920 16 UIKitCore 0x0000000196cfed8c 55D60569-DBB7-3BC9-8A97-DCAC95C64D4B + 10706316 17 UIKitCore 0x00000001964a068c 55D60569-DBB7-3BC9-8A97-DCAC95C64D4B + 1930892 18 UIKitCore 0x000000019694b7e8 _UIScenePerformActionsWithLifecycleActionMask + 112 19 UIKitCore 0x00000001964a0248 55D60569-DBB7-3BC9-8A97-DCAC95C64D4B + 1929800 20 UIKitCore 0x000000019649fc78 55D60569-DBB7-3BC9-8A97-DCAC95C64D4B + 1928312 21 UIKitCore 0x00000001964a0064 55D60569-DBB7-3BC9-8A97-DCAC95C64D4B + 1929316 22 UIKitCore 0x000000019649f8e8 55D60569-DBB7-3BC9-8A97-DCAC95C64D4B + 1927400 23 UIKitCore 0x00000001964a4098 55D60569-DBB7-3BC9-8A97-DCAC95C64D4B + 1945752 24 UIKitCore 0x0000000196965214 55D60569-DBB7-3BC9-8A97-DCAC95C64D4B + 6930964 25 UIKitCore 0x0000000196878e90 55D60569-DBB7-3BC9-8A97-DCAC95C64D4B + 5963408 26 UIKitCore 0x00000001969651cc _UISceneSettingsDiffActionPerformChangesWithTransitionContext + 260 27 UIKitCore 0x00000001964a3db0 55D60569-DBB7-3BC9-8A97-DCAC95C64D4B + 1945008 28 UIKitCore 0x00000001969650b4 _UISceneSettingsDiffActionPerformActionsWithDelayForTransitionContext + 108 29 UIKitCore 0x00000001964a3c0c 55D60569-DBB7-3BC9-8A97-DCAC95C64D4B + 1944588 30 UIKitCore 0x000000019630f630 55D60569-DBB7-3BC9-8A97-DCAC95C64D4B + 288304 31 UIKitCore 0x000000019630e0f4 55D60569-DBB7-3BC9-8A97-DCAC95C64D4B + 282868 32 UIKitCore 0x000000019630f360 55D60569-DBB7-3BC9-8A97-DCAC95C64D4B + 287584 33 UIKitCore 0x000000019689b23c 55D60569-DBB7-3BC9-8A97-DCAC95C64D4B + 6103612 34 FrontBoardServices 0x0000000197dcdb1c 124B166D-3905-3F51-A46A-646AE3424213 + 56092 35 FrontBoardServices 0x0000000197df4128 124B166D-3905-3F51-A46A-646AE3424213 + 213288 36 FrontBoardServices 0x0000000197dd80f8 124B166D-3905-3F51-A46A-646AE3424213 + 98552 37 FrontBoardServices 0x0000000197df4044 124B166D-3905-3F51-A46A-646AE3424213 + 213060 38 libdispatch.dylib 0x000000019290b00c ED0789CD-8D80-39F4-9651-D8707D9C0337 + 12300 39 libdispatch.dylib 0x000000019290dd50 ED0789CD-8D80-39F4-9651-D8707D9C0337 + 23888 40 FrontBoardServices 0x0000000197e1a384 124B166D-3905-3F51-A46A-646AE3424213 + 369540 41 FrontBoardServices 0x0000000197e1a030 124B166D-3905-3F51-A46A-646AE3424213 + 368688 42 FrontBoardServices 0x0000000197e1a59c 124B166D-3905-3F51-A46A-646AE3424213 + 370076 43 CoreFoundation 0x0000000192bdf260 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 713312 44 CoreFoundation 0x0000000192bdf1b4 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 713140 45 CoreFoundation 0x0000000192bde920 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 710944 46 CoreFoundation 0x0000000192bd97ec 97285ACB-7B21-393A-ABF6-03F1DBB5D2A2 + 690156 47 CoreFoundation 0x0000000192bd9098 CFRunLoopRunSpecific + 480 48 GraphicsServices 0x000000019cd43534 GSEventRunModal + 108 49 UIKitCore 0x0000000196cf97ac UIApplicationMain + 1940 50 Xamarin.Sdk 0x00000001020365e4 Xamarin.Sdk + 11986404 51 Xamarin.Sdk 0x0000000101f9d35c Xamarin.Sdk

Tagged:

Answers

  • ColeXColeX Member, Xamarin Team Xamurai

    Did you test on real device or simulator ? Camera can't run on simulator .

    If you test with real device , please provide the exact code , this common error information does not help .

  • RobertSayersRobertSayers USMember ✭✭

    Yes unfortunately this stack trace is coming from customers via AppCenter crash logs. Is there anything you can point me to - that will help to diagnose the issue as I use a third party component for barcode scanning and a camera section for taking photos?

Sign In or Register to comment.