[mono-android] Debugging Nexus 10 reboots while app open

2013-04-25 Thread George Banfill (Linknode Ltd)
HI all, My monogame based app is causing our Nexus 10 to reboot every so often. So I have a few standard activities (axml layouts etc) that show the user some stuff / choose some settings. Then the user can start up a 3D viewer based on Monogame. After a while of running the Monogame page nexus

Re: [mono-android] Debugging Nexus 10 reboots while app open

2013-04-25 Thread Paul Johnson
Hi, What I need is suggestions on how to debug this as I have exhausted all my ideas. I suspect the app is using too many resources / threads / memory and this is causing Android to reboot. However I can’t prove this as the logcat log is cleared on reboot, so I have no idea what happened immedia

Re: [mono-android] Debugging Nexus 10 reboots while app open

2013-04-25 Thread Dean Ellis
George you can try running adb -d logcat > android.log while the device is attached via USB and just leave it running. It should log everything to the log file then. Dean On Thu, Apr 25, 2013 at 11:23 AM, Paul Johnson wrote: > Hi, > > > What I need is suggestions on how to debug this as I h

[mono-android] error occuring after updating my android version in vs2010 while building the previous projects

2013-04-25 Thread krish
hi, while i was using mono for android 4.0 i m unable to deploy to real android devices ...thats y i updated my android version to 4.6.04 as when i open my vs2010 IDE it popups with window i just click on downl

Re: [mono-android] Debugging Nexus 10 reboots while app open

2013-04-25 Thread George Banfill (Linknode Ltd)
Thanks for the suggestions, Paul: Not doing anything external, no network requests ongoing. However the Rotation_Vector sensor is active (see below) Dean: I copied the logcat log to my machine, first run not useful, second run gave me a SIGILL from the SensorService. F/libc( 393): Fatal s

Re: [mono-android] Debugging Nexus 10 reboots while app open

2013-04-25 Thread Dean Ellis
Hi George Are you using the Acelerometer? If so are you using the one from the MonoGame repo or have you implemented your own android specific one? Dean On Thu, Apr 25, 2013 at 3:30 PM, George Banfill (Linknode Ltd) < george.banf...@linknode.co.uk> wrote: > Thanks for the suggestions, > > Paul

Re: [mono-android] Debugging Nexus 10 reboots while app open

2013-04-25 Thread Jonathan Pryor
On Apr 25, 2013, at 10:30 AM, George Banfill (Linknode Ltd) wrote: > F/libc( 393): Fatal signal 4 (SIGILL) at 0x70da0d10 (code=1), thread 407 > (SensorService) > I/DEBUG ( 125): *** *** *** *** *** *** *** *** *** *** *** *** *** *** > *** *** > I/DEBUG ( 125): Build fingerprint: >

Re: [mono-android] error occuring after updating my android version in vs2010 while building the previous projects

2013-04-25 Thread Jonathan Pryor
On Apr 25, 2013, at 9:03 AM, krish wrote: > Error 1 Unexpected error - Please fill a bug report at > http://bugzilla.xamarin.com. Reason: System.IO.FileNotFoundException: Could > not load assembly 'System.DirectoryServices, Version=4.0.0.0, > Culture=neutral, PublicKeyToken=b03f5f7f11d50a

Re: [mono-android] Debugging Nexus 10 reboots while app open

2013-04-25 Thread George Banfill (Linknode Ltd)
Hi Dean, No I am not using the accelerometer or the Monogame wrapper around it. I have written my own: defaultRotationVectorSensor = sensorManager.GetDefaultSensor(SensorType.RotationVector); sensorManager.RegisterListener(_watcher, defaultRotationVectorSensor, SensorDelay.Fastest); I have tr

Re: [mono-android] Debugging Nexus 10 reboots while app open

2013-04-25 Thread Dean Ellis
hi George I assume you are disposing of the rotation vector values you get back from the Sensor, like we do in the MonoGame accelerometer as that did produce a memory leak that exibited similar behaviour. Dean On Thu, Apr 25, 2013 at 5:03 PM, George Banfill (Linknode Ltd) < george.banf...@linkn

Re: [mono-android] Debugging Nexus 10 reboots while app open

2013-04-25 Thread George Banfill (Linknode Ltd)
Your correct, my process is 1747. Don't have the full log any more (just the relevant bits to this crash). I've also set a simple app to run the rotation_vector sensor and display the results to see if it is running the sensor that is doing it or if it is something coming from running in monoga

Re: [mono-android] HttpWebRequest freezing when turning off screen

2013-04-25 Thread Jonathan Pryor
On Apr 22, 2013, at 8:52 AM, Stephan Steiner wrote: > I'm wondering - is there any setting that I should use to ensure that the > phones will keep the Wifi active while I have an ongoing HttpWebRequest? http://stackoverflow.com/questions/3871824/how-do-i-keep-wifi-from-disconnecting-whe

Re: [mono-android] SIGSEGV on global::Java.Lang.Object.GetObject<>

2013-04-25 Thread Jonathan Pryor
This thread has moved to the forums: http://forums.xamarin.com/discussion/3473/sigsegv-on-globaljava-lang-object-getobject - Jon On Apr 16, 2013, at 11:34 PM, baramuse wrote: > Hi, > > I'm struggling with using a third party JNI library. > I've managed to build the BindingLibrary pr