[MonoTouch] Weird Json.NET / Newtonsoft errors w/ latest MT beta and 5.1

2012-03-10 Thread Nic Wise
I'm still not sure whats causing it, but I was deserializing a basic json object within a thread, and today - and ONLY today - I've been getting the stack dump below. If I do it outside of a thread, it works _fine_. Anyone else seeing this? XC 4.3.1 iOS 5.1 MT latest beta (installed this

Re: [MonoTouch] Weird Json.NET / Newtonsoft errors w/ latest MT beta and 5.1

2012-03-10 Thread Nic Wise
oops, spoke too soon. here's the sqlite error. Again, it's in a Task-created thread. it appears to be when I (simplified) do this: Task.Factory.StartNew(() = { //do some work. This works fine }).ContinueWith(t = {

Re: [MonoTouch] Weird Json.NET / Newtonsoft errors w/ latest MT beta and 5.1

2012-03-10 Thread Sebastien Pouliot
Hello Nic, It looks identical to bug #3676. You should add yourself on c.c. to the bug report. Sebastien [1] https://bugzilla.xamarin.com/show_bug.cgi?id=3676 On Sat, Mar 10, 2012 at 6:21 AM, Nic Wise n...@fastchicken.co.nz wrote: I'm still not sure whats causing it, but I was deserializing a

Re: [MonoTouch] Weird Json.NET / Newtonsoft errors w/ latest MT beta and 5.1

2012-03-10 Thread Nic Wise
I found that it appears to be doing things in a thread. eg, I was sharing a sqlite connection between threads. Big problem in this release (or possibly, in this release of sqlite in ios5.1 - not sure) Same for the JSON stuff - move it into the main thread, no problems. On Sat, Mar 10, 2012 at