Bug 17874 - Crash in ios 7.0.6, android 4.12
Summary: Crash in ios 7.0.6, android 4.12
Status: RESOLVED FIXED
Alias: None
Product: Class Libraries
Classification: Mono
Component: mscorlib ()
Version: 3.2.x
Hardware: PC Windows
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-02-19 09:19 UTC by Grigory (Playtika)
Modified: 2014-04-22 10:27 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 GitHub or Developer Community 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 FIXED

Description Grigory (Playtika) 2014-02-19 09:19:13 UTC
From ios logs:
System.ObjectDisposedException: The object was used after being disposed.
  at System.Net.WebConnection.EndRead (System.Net.HttpWebRequest request, IAsyncResult result) [0x0001f] in /Developer/MonoTouch/Source/mono/mcs/class/System/System.Net/WebConnection.cs:943 
  at System.Net.WebConnectionStream.EndRead (IAsyncResult r) [0x0003c] in /Developer/MonoTouch/Source/mono/mcs/class/System/System.Net/WebConnectionStream.cs:405 

From Android 
System.InvalidOperationException: The underlying Task is already in one of the three final states: RanToCompletion, Faulted, or Canceled.
  at System.Threading.Tasks.TaskCompletionSource`1[System.Int32].SetException (IEnumerable`1 exceptions) [0x00000] in <filename unknown>:0  (code.cs:1)
  at System.Threading.Tasks.TaskCompletionSource`1[System.Int32].SetException (System.Exception exception) [0x00000] in <filename unknown>:0  (code.cs:1)
  at System.Threading.Tasks.TaskFactory`1[System.Int32].InnerInvoke (System.Threading.Tasks.TaskCompletionSource`1 tcs, System.Func`2 endMethod, IAsyncResult l) [0x00000] in <filename unknown>:0  (code.cs:1)
  at System.Threading.Tasks.TaskFactory`1+<FromAsyncBeginEnd>c__AnonStorey5`3[System.Int32,System.Byte[],System.Int32,System.Int32].<>m__0 (IAsyncResult l) [0x00000] in <filename unknown>:0  (code.cs:1)
  at System.Net.WebAsyncResult.CB (System.Object unused) [0x00000] in <filename unknown>:0  (code.cs:1)
Comment 1 Grigory (Playtika) 2014-02-19 09:19:40 UTC
7.0.5 and 4.10.2 are completely okay :)
Comment 2 Marek Safar 2014-03-07 16:43:06 UTC
I believe this issue is resolved in master
Comment 3 Grigory (Playtika) 2014-04-22 09:05:21 UTC
Android issue reproduces on 4.12.3
Comment 4 Marek Safar 2014-04-22 10:27:28 UTC
4.12.3 is not tracking latest mono but some 6 months old version. You need to wait for XA update