Re: [MonoTouch] Black Screen of death
Sounds like it might need a bug filing in bugzilla. Especially if you can make a small solution which reproduces the problem On 10 Aug 2012, at 01:11, jazzyjef2002 jeanfrancois.montplai...@gmail.com wrote: Ok, Did find the source... It is related to a UDPClient.Close() problem. Disposal in certain circumpstance seems to lock the process and nothing can bring it back except restarting the IDevice. Looking for a solution right now. Keep you posted... -- View this message in context: http://monotouch.2284126.n4.nabble.com/Black-Screen-of-death-tp4656416p4656452.html Sent from the MonoTouch mailing list archive at Nabble.com. ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch
Re: [MonoTouch] Black Screen of death
Yeah, well yes, I think it is related to that other post on which the Socket.Close() is actually creating a complete lock over the app... Im trying to force a crash of the app if it occurs by having an thread which give 5 seconds to app to terminate. If not then if called and unsafe DLL to crash vonlontarely the app... Found that code on the web [System.Runtime.InteropServices.DllImport (libc)] static extern int strlen (IntPtr zero); static unsafe void Tick () { int zero = 0; int* z = zero; // This is so that strlen is initialized // (so no/fewer locks are required later) strlen ((IntPtr) z); // The sleep interval can be modified to sleep // until you're sure the app has hung. System.Threading.Thread.Sleep (5000); // Create a crash report strlen (IntPtr.Zero); } Even that could not solve it... I even try to kill the task by using the on/off and home screen button, but not luck there either... (I guess im not killing the good process as bug occurs when app is restarted and clearly the faulty process isnt the new one, it is the previous one that didnt close all the way thru.) This one is really challenging... Jef -- View this message in context: http://monotouch.2284126.n4.nabble.com/Black-Screen-of-death-tp4656416p4656463.html Sent from the MonoTouch mailing list archive at Nabble.com. ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch
[MonoTouch] Black Screen of death
Hi, Just got a very strage problem with one of my apps. Apps has been terminated, going thru AppDelegate.WillTerminate, which basicaly only console.write that is has gone thru that function. No crash, nothing. But when I restart it back, the only thing Im getting is a BlackScreen (No loading screen in that app) and it stick there foreever... It is like the 17 seconds of loading is not even killing it. Nothing works except restarting the device. And Im unable to Debug it since Debug session has been killed when terminated and as soon as I start it again, then it start backk 100% of time! It feels like something is remaining even if app has been terminated... And this is random so doesnt occurs every time. Any idea? Thanks -- View this message in context: http://monotouch.2284126.n4.nabble.com/Black-Screen-of-death-tp4656416.html Sent from the MonoTouch mailing list archive at Nabble.com. ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch
Re: [MonoTouch] Black Screen of death
Hi, Reading Yes, Writing No. Writing are only done on special events which occurs later in the code. Thanks -- View this message in context: http://monotouch.2284126.n4.nabble.com/Black-Screen-of-death-tp4656416p4656418.html Sent from the MonoTouch mailing list archive at Nabble.com. ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch
Re: [MonoTouch] Black Screen of death
What is really really strange is that if Im looking within Instruments, Process is not there anymore, and when I restart it (Going thru the black screen) it does appear on the list of process... Weird... -- View this message in context: http://monotouch.2284126.n4.nabble.com/Black-Screen-of-death-tp4656416p4656420.html Sent from the MonoTouch mailing list archive at Nabble.com. ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch
Re: [MonoTouch] Black Screen of death
Still Priliminary, but so far it seems to work... It seems it is related to compilation method. I was trying to achieved a Arm6 + Arm7 compilation, and it was creating that black screen. Since I switched it back to Arm7 only then it seems to work... Will do further testing but so far it looks good... Anyone got this issue? -- View this message in context: http://monotouch.2284126.n4.nabble.com/Black-Screen-of-death-tp4656416p4656422.html Sent from the MonoTouch mailing list archive at Nabble.com. ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch