AsyncMethodBuilder an exception occurs

mizemize USMember

The same code exception occurs in the iPhone 4s and iPAD 3 will,
But in the iPhone 5s not

Exception follows

Unhandled Exception:
0   MyAppName                            0x01ac948f mono_handle_exception_internal + 2306
1   MyAppName                            0x01ac8b87 mono_handle_exception + 30
2   MyAppName                            0x01ac3063 mono_arm_throw_exception + 106
3   MyAppName                            0x00752114 throw_exception + 64
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>m__1 (object) [0x00000] in /Users/builder/data/lanes/2377/73229919/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:1010
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context (object) [0x0000e] in /Users/builder/data/lanes/2377/73229919/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/threading/threadpool.cs:1291
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00081] in /Users/builder/data/lanes/2377/73229919/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/threading/executioncontext.cs:581
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) [0x00000] in /Users/builder/data/lanes/2377/73229919/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/threading/executioncontext.cs:530
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x0002a] in /Users/builder/data/lanes/2377/73229919/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/threading/threadpool.cs:1268
at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00096] in /Users/builder/data/lanes/2377/73229919/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/threading/threadpool.cs:859
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in /Users/builder/data/lanes/2377/73229919/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/threading/threadpool.cs:1196
at (wrapper runtime-invoke) object.runtime_invoke_dynamic (intptr,intptr,intptr,intptr) <0x00100>
12  MyAppName                            0x01ad24ef mono_jit_runtime_invoke + 1150
13  MyAppName                            0x01b1588d mono_runtime_invoke + 88
14  MyAppName                            0x01b316fb worker_thread + 474
15  MyAppName                            0x01b35907 start_wrapper + 350
16  MyAppName                            0x01b65069 inner_start_thread + 148
17  libsystem_pthread.dylib             0x244f985b <redacted> + 138
18  libsystem_pthread.dylib             0x244f97cf _pthread_start + 110
19  libsystem_pthread.dylib             0x244f7724 thread_start + 8

Answers

  • VitalyIlchenkoVitalyIlchenko UAMember

    Did you find a solution?
    I have the same unhandled exception on iPhone 4S when I call TaskCompletionSource.TrySetException(new OperationCanceledException()). But my OperationCanceledException is handled in my code.

Sign In or Register to comment.