[MonoTouch] App is crashing at random - the app completely freezes indefinitely

Sebastien Pouliot sebastien at xamarin.com
Fri Mar 2 00:40:43 UTC 2012


Since you're using `UIWebView` I just wanted to make sure that you are
aware that it's LoadRequest method is not re-entrant. It's not well
documented [1] and took me a while to find it out myself. I'm 100%
sure about LoadRequest but other parts could also share the same
"design" decision [2].

Sebastien

[1] http://double-slash.net/2010/10/18/using-multiple-ios-uiwebview-objects/
[2] https://discussions.apple.com/thread/1719161?start=0&tstart=0

p.s. This was added recently to MonoTouch documentation but has not
yet been pushed to the web site.

On Thu, Mar 1, 2012 at 7:20 PM, MilkyJoe <leigh.bowers at curvenet.co.uk> wrote:
> Sorry I posted that last message prematurely.
>
> I am unable to recreate the problem when debugging, which makes it all the
> more difficult. I am unable to repeat a sequence of steps to trigger the
> issue.
>
> I'll have a look at making the GC more aggressive. Thanks for the
> suggestion.
>
> --
> View this message in context: http://monotouch.2284126.n4.nabble.com/App-is-crashing-at-random-the-app-completely-freezes-indefinitely-tp4436796p4436991.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> MonoTouch at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch


More information about the MonoTouch mailing list