Re: [mono-android] jni error with 4.2.4 on jellybean

2012-08-23 Thread mcleodia
Thanks for the clarification. Most helpful. In that case, if the stacktrace in question is the point of failure, then, looking at the error message, something must be disposing of the windowManager object or its DefaultDisplay property. The DisplayMetrics object is a brand new locally declared o

Re: [mono-android] jni error with 4.2.4 on jellybean

2012-08-23 Thread mcleodia
Sorry, I meant the stacktrace I originally provided in the first post, which appears to point the finger at windowManager.DefaultDisplay.GetMetrics() and something going bad internally within the java world when this method was called. I just wanted to verify that stacktrace was an accurate indic

Re: [mono-android] jni error with 4.2.4 on jellybean

2012-08-22 Thread mcleodia
Aargh, nightmare Thanks for the suggestion. Sadly, I had to run an automated UI test thread for about half an hour to reproduce it. With gref logging enabled, goodness knows whether I can repeat it before generating enough log output for even nasa to struggle with :) I take it that the stac

[mono-android] jni error with 4.2.4 on jellybean

2012-08-22 Thread mcleodia
Hi folks I got an obscure JNI error calling the following method (on the UI thread). Is this something silly I am doing, or is this a xamarin bug? Motorola Xoom tablet running Jelly Bean 4.1.1, MFA version 4.2.4. public static class ContextExtensions { public static float ThemedRe

Re: [mono-android] msbuild crash in ResolveLibraryProjectImports task in MFA v4.1

2012-05-15 Thread mcleodia
Hi Jon The problem is that we use scons to autogenerate an msbuild file which has an absolute path to its OutputPath, which is a slightly unusual case. I have attached such a file (located in build\Android\release\Core\OssCore.csproj). Unzip the attachment to exactly the following location: c:\

Re: [mono-android] msbuild crash in ResolveLibraryProjectImports task in MFA v4.1

2012-05-14 Thread mcleodia
s for the speedy fix guys! Cheers Iain mcleodia wrote > > Yup, I can confirm I get the same problem, hintpath doesn't even fix the > issue anymore in 4.1.1. > > Also, another problem cropped up. The _ResolveAssemblies task dies too > because the Assemblies param

Re: [mono-android] msbuild crash in ResolveLibraryProjectImports task in MFA v4.1

2012-05-04 Thread mcleodia
Yup, I can confirm I get the same problem, hintpath doesn't even fix the issue anymore in 4.1.1. Also, another problem cropped up. The _ResolveAssemblies task dies too because the Assemblies parameter $(ProjectDir)$(OutDir)$(TargetFileName);@(ReferencePath)" comes out as: C:\temp\Main\build\And

Re: [mono-android] msbuild crash in ResolveLibraryProjectImports task in MFA v4.1

2012-04-12 Thread mcleodia
No worries, thanks for the v4.1 alpha :) I'm very excited about this as it means I will be able to get the compatibility package viewpager control in place rather than the hand rolled swipe gesture listener/viewswitcher combo I put in as a temporary measure. I can't easily produce a reproducable

[mono-android] msbuild crash in ResolveLibraryProjectImports task in MFA v4.1

2012-04-12 Thread mcleodia
Hi guys I think I may have found a corner case in your build system. I have an scons based build system that dynamically outputs msbuild files based on project dependencies and then fires them at msbuild to do its magic. Since updating to the v4.1 alpha, I get a crash when trying to build an app

Re: [mono-android] profiling support in monodroid?

2012-04-04 Thread mcleodia
Hi guys Did you manage to get the repro app I sent running ok? Cheers Iain -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/profiling-support-in-monodroid-tp5564284p5617377.html Sent from the Mono for Android mailing list archive at Nabble.com.

Re: [mono-android] profiling support in monodroid?

2012-03-22 Thread mcleodia
Cracked it! Need to run the software media renderer on a separate machine to get a reproducible crash on mac v2.10.9. Should happen fairly quickly. Repro app, crash dumps and notes submitted as bug 4033: https://bugzilla.xamarin.com/show_bug.cgi?id=4033 Cheers Iain -- View this message in cont

Re: [mono-android] profiling support in monodroid?

2012-03-21 Thread mcleodia
Hi Jon/Rodrigo Good news... I am hopefully going to be able to give you some form of a standalone repro. I remembered that we have a "software" media renderer, which is essentially a simulator app that can be run on a computer. So I set up an isolated test network today, consisting of a Mac con

Re: [mono-android] profiling support in monodroid?

2012-03-19 Thread mcleodia
Hi Jon Sorry for the delay in responding. I have been busy trying to gather as much info on the problem as possible. I went away and tried to get the profiler running via environment variables as per your suggestion, however I didn't see a way of invoking the profiler other than using the comma

Re: [mono-android] profiling support in monodroid?

2012-03-15 Thread mcleodia
Cheers for the suggestion Enrico Unfortunately, I went down the DDMS route already, but the leak does not appear to be a java object, as it doesn't show up in DDMS. Thanks for the suggestion though... Cheers Iain -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/p

Re: [mono-android] profiling support in monodroid?

2012-03-14 Thread mcleodia
Thanks Jon I will have a shot at getting a trace using the environment variables and let you know how I get on. Cheers Iain -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/profiling-support-in-monodroid-tp5564284p5566235.html Sent from the Mono for Android mailing

[mono-android] profiling support in monodroid?

2012-03-14 Thread mcleodia
Hi I am trying to track down performance problems and a memory leak that are preventing me from releasing an app. DDMS indicates no problems on the java side. Can anyone tell me whether the mono profiler is available on Mono for Android? If so, how would one go about capturing a trace that could