On 20.07.2012 16:00, jayemmess wrote: > henon wrote >> On 20.07.2012 14:28, jayemmess wrote: >>> Hi, >>> >>> I've inherited a project built using Mono for Android and need establish >>> why >>> it is occasionally crashing. I have no prior experience of Android or >>> Mono, >>> but am a .net developer. >>> >>> There doesn't seem to be any predictability around the crashes and they >>> generally occur after 1 to 10 minutes of usage. The visual studio >>> debugger >>> is not activating and so the only thing I have to go on is the Android >>> Device Logging. The log seems to show that the crashes are happening for >>> a >>> number of different reasons, though that could just be me not >>> understanding >>> what the logs are telling me. >>> >>> I've published one of the logs here: http://pastebin.com/KnzdKikM >>> >>> It seems that the app was in this instance terminated due to an ANR. >>> Would >>> anyone be able to tell me if that log shows why the ANR occurred or >>> advise >>> me on how I should go about debugging the issue? >> Run the program with Monodroid debugger attached to it. You should then >> get an exception popping up whenever a crash >> happens. That should tell you much more than the android log, it even >> hilites the originating line of code (if possible). >> -- Henon >> > I've tried this but didn't get any exception. It seems it's hanging rather > than just crashing so I get a popup saying it's not responding and I can > either kill it or wait. The screen goes black some time before the popup > appears and remains black (I waited about 5 minutes) if I choose "wait". > > J Interesting, what's your ... Android Version? Device? Mono4Android Version?
I also experienced hangs (see my Thread on this list): http://mono-for-android.1047100.n5.nabble.com/Random-Deadlock-td5710849.html You can try my test program (all info in the mail from Jul 16 on that thread) and see if it hangs. -- Henon > > > -- > View this message in context: > http://mono-for-android.1047100.n5.nabble.com/Random-crashes-tp5710970p5710972.html > Sent from the Mono for Android mailing list archive at Nabble.com. > _______________________________________________ > Monodroid mailing list > Monodroid@lists.ximian.com > > UNSUBSCRIBE INFORMATION: > http://lists.ximian.com/mailman/listinfo/monodroid > _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid