Hi Liam,

The reason it is crashing is because you end up executing managed code in a
thread that is about to exit (it has in fact started to exit). The problem
is that mono needs certain thread-local data, and when a thread exits this
data is freed. If managed code is executed after this data has been freed,
you will crash.

I do not know exactly how to fix it, but it does however look suspicious
that you're executing UIKit code on a secondary thread. I believe you have
executed UIKit code on a secondary thread at some point, and then you end
up crashing when the thread exits. This is quite easy to track down if you
update to the newly released 5.4 - you will get an exception at runtime if
you access UIKit on any thread but the main one.

I hope this helps,
Rolf

On Fri, Sep 7, 2012 at 1:56 AM, Robert Reck <[email protected]> wrote:

> Liam,
> I have the same problem currently. My app was rejected a week or so ago
> and I've been trying to figure out what caused the crash and can not
> reproduce it.  Sorry, I don't have a solution for you, but I am hoping you
> find out why and maybe it will clue me in to a solution.
>
> Bob
>
>
> On Sep 6, 2012, at 7:53 PM, Liam Houlahan <[email protected]<mailto:
> [email protected]>> wrote:
>
> Hi Everyone
>
> I have submitted an app to the appstore and it has been rejected because
> it crashes.
>
> The description of when the app crashes by apple is vague and I cannot
> reproduce the crash.
>
> I have uploaded the symbolicated crash logs too google docs hoping that
> you guys may be able to make out what is going on?
>
> Here is the link
> https://docs.google.com/folder/d/0B5ghoqfnILgZOWlqRFRQUUxYZlE/edit
>
> The problem with the crash logs is that there is not a reference to any of
> my code in the thread which crashed. I have not seen this before. Normally
> when my apps have crashed the crash log will show under the thread that
> crashed a reference to some lines of code which are written by me. It looks
> to me that the crash is occurring in mono but I cannot be sure of this.
>
> Thanks
> Liam
>
> _______________________________________________
> MonoTouch mailing list
> [email protected]<mailto:[email protected]>
> http://lists.ximian.com/mailman/listinfo/monotouch
>
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to