Skip to content

Instantly share code, notes, and snippets.

@AhmedAbouelkher
Created March 4, 2021 09:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AhmedAbouelkher/c8f70ae63eee79ff785570e71d0f2830 to your computer and use it in GitHub Desktop.
Save AhmedAbouelkher/c8f70ae63eee79ff785570e71d0f2830 to your computer and use it in GitHub Desktop.
This a crash log for my app when using `image picker` on iOS [iPhone 6s]
2021-03-04 00:28:50.965445+0200 Runner[12765:1387776] Metal API Validation Enabled
2021-03-04 00:28:51.320883+0200 Runner[12765:1388031] 6.26.0 - [GoogleUtilities/AppDelegateSwizzler][I-SWZ001011] App Delegate Proxy is disabled.
2021-03-04 00:28:51.382509+0200 Runner[12765:1388062] flutter: Observatory listening on http://127.0.0.1:54693/HgVwgJyl5AA=/
2021-03-04 00:28:57.072419+0200 Runner[12765:1388053] fopen failed for data file: errno = 2 (No such file or directory)
2021-03-04 00:28:57.072528+0200 Runner[12765:1388053] Errors found! Invalidating cache...
2021-03-04 00:28:57.853121+0200 Runner[12765:1388053] fopen failed for data file: errno = 2 (No such file or directory)
2021-03-04 00:28:57.853262+0200 Runner[12765:1388053] Errors found! Invalidating cache...
2021-03-04 00:29:21.559735+0200 Runner[12765:1387776] [Assert] View <(null):0x0> does not conform to UITextInput protocol
2021-03-04 00:29:21.778253+0200 Runner[12765:1387776] [Assert] View <(null):0x0> does not conform to UITextInput protocol
2021-03-04 00:29:22.516234+0200 Runner[12765:1387776] -[UIWindow endDisablingInterfaceAutorotationAnimated:] called on <UIRemoteKeyboardWindow: 0x108052c00; frame = (0 0; 375 667); opaque = NO; autoresize = W+H; layer = <UIWindowLayer: 0x28179d780>> without matching -beginDisablingInterfaceAutorotation. Ignoring.
2021-03-04 00:29:32.481628+0200 Runner[12765:1388052] flutter: login
2021-03-04 00:29:33.668108+0200 Runner[12765:1388052] flutter: eXTtLtc2udc28QCxGksZeMj1eK53
2021-03-04 00:29:34.681998+0200 Runner[12765:1388052] flutter: eXTtLtc2udc28QCxGksZeMj1eK53
2021-03-04 00:29:34.682870+0200 Runner[12765:1388052] flutter: eXTtLtc2udc28QCxGksZeMj1eK53
2021-03-04 00:29:39.701941+0200 Runner[12765:1387776] [Snapshotting] Snapshotting a view (0x107945c00, UIKeyboardImpl) that is not in a visible window requires afterScreenUpdates:YES.
2021-03-04 00:29:40.283378+0200 Runner[12765:1389216] 6.26.0 - [Firebase/Firestore][I-FST000001] WatchStream (282b28f18) Stream error: 'Unavailable: Network connectivity changed'
2021-03-04 00:29:42.030395+0200 Runner[12765:1388052] flutter: eXTtLtc2udc28QCxGksZeMj1eK53
2021-03-04 00:29:42.030954+0200 Runner[12765:1388052] flutter: qpUZ9Q7fVLila2vu2Wqg
2021-03-04 00:29:42.031257+0200 Runner[12765:1388052] flutter: 1VuexYtAw105eQHxFFxu
2021-03-04 00:30:07.042591+0200 Runner[12765:1388364] [AXRuntimeCommon] Unknown client: Runner
2021-03-04 00:30:16.493342+0200 Runner[12765:1388364] [core] "Error returned from daemon: Error Domain=com.apple.accounts Code=7 "(null)""
2021-03-04 00:30:16.674627+0200 Runner[12765:1387776] [Runner] findWriterForTypeAndAlternateType:119: unsupported file format 'public.heic'
2021-03-04 00:30:16.974847+0200 Runner[12765:1387776] [Runner] findWriterForTypeAndAlternateType:119: unsupported file format 'public.heic'
2021-03-04 00:30:17.316745+0200 Runner[12765:1388052] flutter: /private/var/mobile/Containers/Data/Application/76177467-1C95-44EA-B30E-618121F3E9B9/tmp/image_picker_C807DE20-3B6B-42D8-8D32-BDC8F22D35C4-12765-000002722A0C2BF8.jpg
2021-03-04 00:30:17.316980+0200 Runner[12765:1388052] flutter: image_picker_C807DE20-3B6B-42D8-8D32-BDC8F22D35C4-12765-000002722A0C2BF8.jpg
2021-03-04 00:30:17.317271+0200 Runner[12765:1388052] flutter: [image_picker_C807DE20-3B6B-42D8-8D32-BDC8F22D35C4-12765-000002722A0C2BF8.jpg, null, null]
2021-03-04 00:30:17.318445+0200 Runner[12765:1389516] [AXRuntimeCommon] AX Lookup problem - errorCode:1100 error:Permission denied portName:'com.apple.iphone.axserver' PID:12781 (
0 AXRuntime 0x00000001a57a2e8c EC42B49D-11D1-381C-A64C-E03AD80E1BF7 + 347788
1 AXRuntime 0x00000001a5751f90 _AXGetPortFromCache + 548
2 AXRuntime 0x00000001a57535e8 AXUIElementPerformFencedActionWithValue + 460
3 UIKit 0x00000001cff8b184 A364474F-19D9-3995-8708-6CB734CE071B + 852356
4 libdispatch.dylib 0x0000000106fd7ce4 _dispatch_call_block_and_release + 24
5 libdispatch.dylib 0x0000000106fd9528 _dispatch_client_callout + 16
6 libdispatch.dylib 0x0000000106fe05ac _dispatch_lane_serial_drain + 748
7 libdispatch.dylib 0x0000000106fe1234 _dispatch_lane_invoke + 452
8 libdispatch.dylib 0x0000000106feca5c _dispatch_workloop_worker_thread + 1456
9 libsystem_pthread.dylib 0x00000001cfca55a4 _pthread_wqthread + 272
10 libsystem_pthread.dylib 0x00000001cfca8874 start_wqthread + 8
)
2021-03-04 00:30:17.324729+0200 Runner[12765:1389516] [AXRuntimeCommon] AX Lookup problem - errorCode:1100 error:Permission denied portName:'com.apple.iphone.axserver' PID:12781 (
0 AXRuntime 0x00000001a57a2e8c EC42B49D-11D1-381C-A64C-E03AD80E1BF7 + 347788
1 AXRuntime 0x00000001a5751f90 _AXGetPortFromCache + 548
2 AXRuntime 0x00000001a57535e8 AXUIElementPerformFencedActionWithValue + 460
3 UIKit 0x00000001cff8b184 A364474F-19D9-3995-8708-6CB734CE071B + 852356
4 libdispatch.dylib 0x0000000106fd7ce4 _dispatch_call_block_and_release + 24
5 libdispatch.dylib 0x0000000106fd9528 _dispatch_client_callout + 16
6 libdispatch.dylib 0x0000000106fe05ac _dispatch_lane_serial_drain + 748
7 libdispatch.dylib 0x0000000106fe1234 _dispatch_lane_invoke + 452
8 libdispatch.dylib 0x0000000106feca5c _dispatch_workloop_worker_thread + 1456
9 libsystem_pthread.dylib 0x00000001cfca55a4 _pthread_wqthread + 272
10 libsystem_pthread.dylib 0x00000001cfca8874 start_wqthread + 8
)
2021-03-04 00:30:17.326221+0200 Runner[12765:1389516] [AXRuntimeCommon] AX Lookup problem - errorCode:1100 error:Permission denied portName:'com.apple.iphone.axserver' PID:12781 (
0 AXRuntime 0x00000001a57a2e8c EC42B49D-11D1-381C-A64C-E03AD80E1BF7 + 347788
1 AXRuntime 0x00000001a5751f90 _AXGetPortFromCache + 548
2 AXRuntime 0x00000001a57535e8 AXUIElementPerformFencedActionWithValue + 460
3 UIKit 0x00000001cff8b184 A364474F-19D9-3995-8708-6CB734CE071B + 852356
4 libdispatch.dylib 0x0000000106fd7ce4 _dispatch_call_block_and_release + 24
5 libdispatch.dylib 0x0000000106fd9528 _dispatch_client_callout + 16
6 libdispatch.dylib 0x0000000106fe05ac _dispatch_lane_serial_drain + 748
7 libdispatch.dylib 0x0000000106fe1234 _dispatch_lane_invoke + 452
8 libdispatch.dylib 0x0000000106feca5c _dispatch_workloop_worker_thread + 1456
9 libsystem_pthread.dylib 0x00000001cfca55a4 _pthread_wqthread + 272
10 libsystem_pthread.dylib 0x00000001cfca8874 start_wqthread + 8
)
2021-03-04 00:30:18.945416+0200 Runner[12765:1388053] This application is modifying the autolayout engine from a background thread after the engine was accessed from the main thread. This can lead to engine corruption and weird crashes.
Stack:(
0 CoreAutoLayout 0x000000019bac6548 011F5CA5-D31B-3CDC-83C2-C7CB66064075 + 62792
1 CoreAutoLayout 0x000000019bac6318 011F5CA5-D31B-3CDC-83C2-C7CB66064075 + 62232
2 CoreAutoLayout 0x000000019bac5e78 011F5CA5-D31B-3CDC-83C2-C7CB66064075 + 61048
3 CoreAutoLayout 0x000000019bac1b58 011F5CA5-D31B-3CDC-83C2-C7CB66064075 + 43864
4 UIKitCore 0x000000018a21feec CC6E5AC7-8248-35F6-8B42-2E25C93DCF0A + 16932588
5 UIKitCore 0x000000018a232398 CC6E5AC7-8248-35F6-8B42-2E25C93DCF0A + 17007512
6 QuartzCore 0x000000018a737df4 461501DD-204F-3516-9F5D-BDD0BA19FDA1 + 1400308
7 QuartzCore 0x000000018a73e398 461501DD-204F-3516-9F5D-BDD0BA19FDA1 + 1426328
8 QuartzCore 0x000000018a7496e8 461501DD-204F-3516-9F5D-BDD0BA19FDA1 + 1472232
9 QuartzCore 0x000000018a694d7c 461501DD-204F-3516-9F5D-BDD0BA19FDA1 + 732540
10 QuartzCore 0x000000018a6bef40 461501DD-204F-3516-9F5D-BDD0BA19FDA1 + 905024
11 Flutter 0x000000010363b3a0 _ZN7flutter10IOSSurface11SubmitFrameEP15GrDirectContextNSt3__110unique_ptrINS_12SurfaceFrameENS3_14default_deleteIS5_EEEE + 248
12 Flutter 0x00000001039119f8 _ZN7flutter10Rasterizer13DrawToSurfaceERNS_9LayerTreeE + 604
13 Flutter 0x0000000103912534 _ZNSt3__110__function6__funcIZN7flutter10Rasterizer4DrawEN3fml6RefPtrINS2_8PipelineINS2_9LayerTreeEEEEEE3$_1NS_9allocatorISA_EEFvNS_10unique_ptrIS7_NS_14default_deleteIS7_EEEEEEclEOSG_ + 116
14 Flutter 0x0000000103911cf8 _ZN7flutter10Rasterizer4DrawEN3fml6RefPtrINS_8PipelineINS_9LayerTreeEEEEE + 408
15 Flutter 0x0000000103918544 _ZNSt3__110__function6__funcIZN7flutter5Shell14OnAnimatorDrawEN3fml6RefPtrINS2_8PipelineINS2_9LayerTreeEEEEENS4_9TimePointEE4$_30NS_9allocatorISB_EEFvvEEclEv + 100
16 Flutter 0x000000010364627c _ZN3fml15MessageLoopImpl10FlushTasksENS_9FlushTypeE + 1472
17 Flutter 0x00000001036489a8 _ZN3fml17MessageLoopDarwin11OnTimerFireEP16__CFRunLoopTimerPS0_ + 32
18 CoreFoundation 0x000000018743e3e0 F3021642-E3C0-33F8-9911-DD303A6056D0 + 635872
19 CoreFoundation 0x000000018743dfe4 F3021642-E3C0-33F8-9911-DD303A6056D0 + 634852
20 CoreFoundation 0x000000018743d4c4 F3021642-E3C0-33F8-9911-DD303A6056D0 + 632004
21 CoreFoundation 0x0000000187437850 F3021642-E3C0-33F8-9911-DD303A6056D0 + 608336
22 CoreFoundation 0x0000000187436ba0 CFRunLoopRunSpecific + 572
23 Flutter 0x0000000103648884 _ZN3fml17MessageLoopDarwin3RunEv + 88
24 Flutter 0x0000000103647a60 _ZNSt3__114__thread_proxyINS_5tupleIJNS_10unique_ptrINS_15__thread_structENS_14default_deleteIS3_EEEEZN3fml6ThreadC1ERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEE3$_0EEEEEPvSJ_ + 196
25 libsystem_pthread.dylib 0x00000001cfca3c9c _pthread_start + 288
26 libsystem_pthread.dylib 0x00000001cfca8880 thread_start + 8
)
2021-03-04 00:30:19.028263+0200 Runner[12765:1388053] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main thread.'
*** First throw call stack:
(0x1874bd9d8 0x19b843b54 0x19bac6640 0x19bac6318 0x19bac5e78 0x19bac1b58 0x18a21feec 0x18a232398 0x18a737df4 0x18a73e398 0x18a7496e8 0x18a694d7c 0x18a6bef40 0x10363b3a0 0x1039119f8 0x103912534 0x103911cf8 0x103918544 0x10364627c 0x1036489a8 0x18743e3e0 0x18743dfe4 0x18743d4c4 0x187437850 0x187436ba0 0x103648884 0x103647a60 0x1cfca3c9c 0x1cfca8880)
libc++abi.dylib: terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main thread.'
terminating with uncaught exception of type NSException
(lldb)
@colleenpamchen
Copy link

Hi, did you ever figure out how to resolve this? I am facing the exact same issue and I can't find a published solution anywhere.

@Kennexcorp
Copy link

Same here... I am experiencing the same issue... were you able to resolve it? @colleenpamchen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment