Bug 60738 - Crashlytics reports crash due to ImageSource.Cancel() invocation
Summary: Crashlytics reports crash due to ImageSource.Cancel() invocation
Status: RESOLVED NOT_REPRODUCIBLE
Alias: None
Product: Forms
Classification: Xamarin
Component: iOS ()
Version: 2.4.0
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-11-17 20:08 UTC by Seifer
Modified: 2017-12-14 21:23 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NOT_REPRODUCIBLE

Description Seifer 2017-11-17 20:08:09 UTC
Crashlytics reports a crash for our application with the log below.
Unfortunately, we unable to reproduce the issue but seems it happens from time-to-time.

Here is the best I can provide yet:


0x100756224 System_System_Net_WebConnection_InitRead (WebConnection.cs:577)
1 System_System_Net_WebConnection_InitRead (WebConnection.cs:577)
2 System_System_Net_WebConnectionStream_Close (WebConnectionStream.cs:823)
3 System_System_Net_HttpWebRequest_Abort (HttpWebRequest.cs:1098)
4 System_Net_Http_System_Net_Http_HttpClientHandler__c__SendAsyncb__63_0_object (HttpClientHandler.cs:1)
5 mscorlib_System_Threading_CancellationCallbackInfo_ExecutionContextCallback_object (CancellationTokenSource.cs:1068)
6 mscorlib_System_Threading_ExecutionContext_RunInternal_System_Threading_ExecutionContext_System_Threading_ContextCallback_object_bool (executioncontext.cs:957)
7 mscorlib_System_Threading_ExecutionContext_Run_System_Threading_ExecutionContext_System_Threading_ContextCallback_object (executioncontext.cs:894)
8 mscorlib_System_Threading_CancellationCallbackInfo_ExecuteCallback (CancellationTokenSource.cs:1048)
9 mscorlib_System_Threading_CancellationTokenSource_CancellationCallbackCoreWork_System_Threading_CancellationCallbackCoreWorkArguments (CancellationTokenSource.cs:900)
10 System_Threading_CancellationTokenSource_ExecuteCallbackHandlers_bool + 453056
11 mscorlib_System_Threading_CancellationTokenSource_NotifyCancellation_bool (CancellationTokenSource.cs:780)
12 mscorlib_System_Threading_CancellationTokenSource_LinkedTokenCancelDelegate_object (CancellationTokenSource.cs:91)
13 mscorlib_System_Threading_CancellationCallbackInfo_ExecutionContextCallback_object (CancellationTokenSource.cs:1068)
14 mscorlib_System_Threading_CancellationCallbackInfo_ExecuteCallback (CancellationTokenSource.cs:1058)
15 mscorlib_System_Threading_CancellationTokenSource_CancellationCallbackCoreWork_System_Threading_CancellationCallbackCoreWorkArguments (CancellationTokenSource.cs:900)
16 System_Threading_CancellationTokenSource_ExecuteCallbackHandlers_bool + 453056
17 mscorlib_System_Threading_CancellationTokenSource_NotifyCancellation_bool (CancellationTokenSource.cs:780)
18 mscorlib_System_Threading_CancellationTokenSource_Cancel (CancellationTokenSource.cs:363)
19 Xamarin_Forms_Core_Xamarin_Forms_ImageSource_Cancel (.D:\agent\_work\1\s\Xamarin.Forms.Core\ImageSource.cs:56)
20 Xamarin_Forms_Image__OnSourcePropertyChangingd__24_MoveNext (D:\agent\_work\1\s\Xamarin.Forms.Core\Image.cs:156)
21 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 839656
22 mono_jit_runtime_invoke (mini-runtime.c:2768)
23 do_runtime_invoke (object.c:2862)
24 mono_gsharedvt_constrained_call (jit-icalls.c:1413)
25 wrapper_managed_to_native_object___icall_wrapper_mono_gsharedvt_constrained_call_intptr_intptr_intptr_intptr_intptr + 849108
26 System_Runtime_CompilerServices_AsyncVoidMethodBuilder_Start_TStateMachine_GSHAREDVT_TStateMachine_GSHAREDVT_ + 628744
27 Xamarin_Forms_Image_OnSourcePropertyChanging_Xamarin_Forms_ImageSource_Xamarin_Forms_ImageSource (<unknown>:1)
28 Xamarin_Forms_Core_Xamarin_Forms_Image_OnSourcePropertyChanging_Xamarin_Forms_BindableObject_object_object (.D:\agent\_work\1\s\Xamarin.Forms.Core\Image.cs:146)
29 Xamarin_Forms_Core_Xamarin_Forms_BindableObject_SetValueActual_Xamarin_Forms_BindableProperty_Xamarin_Forms_BindableObject_BindablePropertyContext_object_bool_Xamarin_Forms_Internals_SetValueFlags_bool (.D:\agent\_work\1\s\Xamarin.Forms.Core\BindableObject.cs:561)
30 Xamarin_Forms_Core_Xamarin_Forms_BindableObject_SetValueCore_Xamarin_Forms_BindableProperty_object_Xamarin_Forms_Internals_SetValueFlags_Xamarin_Forms_BindableObject_SetValuePrivateFlags (.D:\agent\_work\1\s\Xamarin.Forms.Core\BindableObject.cs:392)
31 Xamarin_Forms_Core_Xamarin_Forms_BindingExpression_ApplyCore_object_Xamarin_Forms_BindableObject_Xamarin_Forms_BindableProperty_bool (.D:\agent\_work\1\s\Xamarin.Forms.Core\BindingExpression.cs:174)
32 Xamarin_Forms_Core_Xamarin_Forms_BindingExpression_Apply_bool (.D:\agent\_work\1\s\Xamarin.Forms.Core\BindingExpression.cs:56)
33 Xamarin_Forms_Core_Xamarin_Forms_BindingExpression_BindingExpressionPart__PropertyChangedb__47_0 (.D:\agent\_work\1\s\Xamarin.Forms.Core\BindingExpression.cs:1)
34 Xamarin_iOS_Foundation_NSAsyncActionDispatcher_Apply (NSAction.cs:163)
35 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 839656
36 mono_jit_runtime_invoke (mini-runtime.c:2768)
37 do_runtime_invoke (object.c:2862)
38 mono_runtime_invoke (object.c:3016)
39 native_to_managed_trampoline_3(objc_object*, objc_selector*, _MonoMethod**, unsigned int) (registrar.m:106)
40 -[__MonoMac_NSAsyncActionDispatcher xamarinApplySelector] (registrar.m:7380)
41 __NSThreadPerformPerform + 340
42 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
43 __CFRunLoopDoSources0 + 540
44 __CFRunLoopRun + 724
45 CFRunLoopRunSpecific + 384
46 GSEventRunModal + 180
47 UIApplicationMain + 204
Comment 1 Paul DiPietro [MSFT] 2017-11-17 21:16:40 UTC
Setting to needinfo for the time being until we can hopefully get a reproduction.
Comment 2 Paul DiPietro [MSFT] 2017-12-14 21:23:27 UTC
As we have had no further reports of this issue we will close this for the time being. To the reporter or anyone else who may come across this issue, please reopen with a minimized reproduction if the issue is reproducible as of the latest stable build of X.F.