Bug 13914 - Random crash on the Simulator
Summary: Random crash on the Simulator
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: 6.4.0
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2013-08-12 07:01 UTC by Prashant Cholachagudda
Modified: 2017-08-29 18:16 UTC (History)
5 users (show)

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:

Description Prashant Cholachagudda 2013-08-12 07:01:43 UTC
There a random exception, when we try to download the data from webservice using WebClientEx.

mono-rt: Stacktrace:

mono-rt: at <unknown> <0xffffffff>

SphereUpPrivateNetwork(1132,0xacd632c0) malloc: *** error for object
0x7f577ba4: incorrect checksum for freed object - object was probably
modified after being freed.
*** set a breakpoint in malloc_error_break to debug
mono-rt: at (wrapper managed-to-native)
System.IO.Compression.DeflateStream.ReadZStream (intptr,intptr,int) <IL
0x00027, 0xffffffff>

mono-rt: at System.IO.Compression.DeflateStream.ReadInternal
(byte[],int,int) [0x00031] in

mono-rt: at (wrapper runtime-invoke)
(object,intptr,intptr,intptr) <IL 0x00074, 0xffffffff>

Native stacktrace:

Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.

Web client file: https://www.dropbox.com/s/sklctt7h3ggrwff/WebClientEx.cs
Comment 2 Low 2014-05-15 06:27:53 UTC
Having same error too. It happen in both iOS and Android version. But my code is using HttpWebRequest. Chances of happening is quite high and normally it happen when request is cancelled.
Seriously this bug have been so long and nothing have been done to fix this bug.
Comment 3 Rolf Bjarne Kvinge [MSFT] 2014-05-15 08:10:34 UTC
Low, can you attach a project we can use to reproduce this?
Comment 4 Low 2014-05-15 21:23:29 UTC
Already reported using email support 2-3 months ago. There is no news on this. Code is already send through the email support too.
Comment 6 John Miller [MSFT] 2017-07-24 18:57:03 UTC
 I’m unable to reproduce this issue using the latest Xamarin.iOS Please attach the following to help us reproduce this issue: 
-Detailed reproduction steps 
-Version information (Visual Studio → About Visual Studio menu) 
-A project that we can use to run and reproduce the issue. The sample code sent to support was not sufficient to reproduce this.
Comment 7 Vincent Dondain [MSFT] 2017-08-29 18:16:36 UTC
We have not received the requested information. If you are still experiencing this issue please provide all the requested information and re-open the bug report. Thanks!