Re: [mono-android] Could not create wake pipe
I seems that I had a leak on handling database file, that was most likely causing this. After the fix, this seemed to go away. Thanks for the reply. On 29 November 2012 16:50, Goncalo Oliveira wrote: > Thanks for the reply Jonathan. > > I am using Android 2.3, so that matches. > I'll take a better look to see if I'm leaking any file handles... > > Thanks again > > > On 29 November 2012 15:57, Jonathan Pryor wrote: > >> On Nov 29, 2012, at 5:06 AM, Goncalo Oliveira wrote: >> > Yes, it is my process. In the logcat bellow, it's process 10704. The >> device in question has very little memory, and it's always on the edge. >> > >> > http://pastebin.com/63H3qErk >> >> Relevant line: >> >> > • 11-27 16:12:18.944 F/Looper (10704): Could not create wake >> pipe. errno=24 >> >> It's coming from the "Looper" component. >> >> Which Android version is this? Here's the Android 2.3 source that I >> believe is generating the message: >> >> >> https://github.com/android/platform_frameworks_base/blob/gingerbread-release/libs/utils/Looper.cpp#L42 >> > int result = pipe(wakeFds); >> > LOG_ALWAYS_FATAL_IF(result != 0, "Could not create wake pipe. >> errno=%d", errno); >> >> errno 24 corresponds to EMFILE "Too many descriptors are active." >> >> Sounds like there are too many files open. ;-) >> >> The question is, who's opening them? If you are, you might want to see if >> you can reduce the number of files which are open at once. >> >> Thanks, >> - Jon >> >> ___ >> Monodroid mailing list >> Monodroid@lists.ximian.com >> >> UNSUBSCRIBE INFORMATION: >> http://lists.ximian.com/mailman/listinfo/monodroid >> > > > > -- > Gonçalo Oliveira > -- Gonçalo Oliveira ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid
[mono-android] lazy compiler/debugger?
hi folks, my Compiler/debugger don't want to do something i've programmed when i'm not supervising his steps... now what is this thing... the activity i get this strange behavior, calls one method two times to get the needed data to show in a List View. this method builds an SQL Select Query out of the Data given to this method ( i know there is a Query method... just don't ask please), sends the query and returns a cursor.this cursor is given back to the method the activity has called. without setting an breakpoint above the 2 querys the compile walks through it and giving me cursors back without any data in it. when i set an breakpoint over it, and i *step into* the whole thing or i'm just *step*ping *over* the whole procedure, i get all the data i wanted. that would be the part which calls the method and this one is the fitting method so... what is wrong here? -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/lazy-compiler-debugger-tp5712541.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
[mono-android] Mono Lost License 4.4.38
After install release 4.4.38 mono lost license. Activate option don´t work. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Mono-Lost-License-4-4-38-tp5712531.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
Re: [mono-android] Mono Lost License 4.4.38
Hi, After install release 4.4.38 mono lost license. Activate option don´t work. Aren't we on 4.4.5? Paul -- "Space," it says, "is big. Really big. You just won't believe how vastly, hugely, mindbogglingly big it is. I mean, you may think it's a long way down the road to the chemist's, but that's just peanuts to space, listen..." Hitch Hikers Guide to the Galaxy, a truly remarkable book! ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid
Re: [mono-android] lazy compiler/debugger?
ok my status now is, that i've found the following error: 11-30 14:48:09.187 E/Cursor (32737): Invalid statement in fillWindow() same in the device log window and nothing more. anyone who could know why this happens? -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/lazy-compiler-debugger-tp5712541p5712546.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
Re: [mono-android] Mono Lost License 4.4.38
Mono does that here and there :-) -Original Message- From: monodroid-boun...@lists.ximian.com [mailto:monodroid-boun...@lists.ximian.com] On Behalf Of Natanael Sent: Thursday, November 29, 2012 2:27 PM To: monodroid@lists.ximian.com Subject: [mono-android] Mono Lost License 4.4.38 After install release 4.4.38 mono lost license. Activate option don´t work. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Mono-Lost-License-4-4-38-tp5712531.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
[mono-android] Garbage collector log "dumping"
Since 4.4.5 garbage collector is completely dumping the logs... Isn't there a way turn off some of the logs? Sure, I can filter them in the debug monitor, but because it's constantly dumping stuff, doesn't help much... -- Gonçalo Oliveira ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid
Re: [mono-android] Garbage collector log "dumping"
On Nov 30, 2012, at 12:49 PM, Goncalo Oliveira wrote: > Since 4.4.5 garbage collector is completely dumping the logs... Isn't there a > way turn off some of the logs? > Sure, I can filter them in the debug monitor, but because it's constantly > dumping stuff, doesn't help much... Sorry, this was a diagnostic aid added by the GC team that was accidentally added. It will be removed in the next release. Thanks, - Jon ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid
Re: [mono-android] Garbage collector log "dumping"
Thanks for the reply Jon. I've increased the DDMS logcat buffer and am using some "pretty" java regexes to "work around" this. Cheers On 30 November 2012 19:26, Jonathan Pryor wrote: > On Nov 30, 2012, at 12:49 PM, Goncalo Oliveira wrote: > > Since 4.4.5 garbage collector is completely dumping the logs... Isn't > there a way turn off some of the logs? > > Sure, I can filter them in the debug monitor, but because it's > constantly dumping stuff, doesn't help much... > > Sorry, this was a diagnostic aid added by the GC team that was > accidentally added. It will be removed in the next release. > > Thanks, > - Jon > > ___ > Monodroid mailing list > Monodroid@lists.ximian.com > > UNSUBSCRIBE INFORMATION: > http://lists.ximian.com/mailman/listinfo/monodroid > -- Gonçalo Oliveira ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid
Re: [mono-android] Mono Lost License 4.4.38
On Nov 30, 2012, at 8:42 AM, Paul Johnson wrote: > Aren't we on 4.4.5? We're fast-moving now. ;-) - Jon ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid
Re: [mono-android] Mono Lost License 4.4.38
On Nov 29, 2012, at 8:27 AM, Natanael wrote: > After install release 4.4.38 mono lost license. Please contact supp...@xamarin.com. Thanks, - Jon ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid
Re: [mono-android] No resource found for Color
On Nov 29, 2012, at 4:59 PM, Steve Sharrock wrote: > The Color is defined in Resources/Values/Colors.xml... > > > > #659ccf > That would be why; we're assuming that the Color is backed by a file, while yours is not. Could you please file a bug for this issue? Thanks, - Jon ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid
[mono-android] TextView color
Here is my code: TextView mapTextView = new TextView(contextOverlay); mapTextView.Text = overlayDetailsForThisOverlay.stringName; May I please have some help to change the text color for this text. The documentation (http://developer.android.com/reference/android/widget/TextView.html) appears to show that there is a 'setTextColor' method. I am new to Android programming. Do I need to set up an XML file (I am not sure of how/why to do this). Thanks -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/TextView-color-tp5712555.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
Re: [mono-android] TextView color
On Nov 30, 2012, at 9:23 PM, Canning wrote: > The documentation > (http://developer.android.com/reference/android/widget/TextView.html) > appears to show that there is a 'setTextColor' method. This is bound as the TextView.SetTextColor(Color) method: http://androidapi.xamarin.com/?link=M%3aAndroid.Widget.TextView.SetTextColor(Android.Graphics.Color) > I am new to Android programming. Do I need to set up an XML file (I am not > sure of how/why to do this). No XML file is required for the Color; you can just use an Android.Graphics.Color value. - Jon ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid
Re: [mono-android] TextView color
Can you please give me an example with code. Thanks. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/TextView-color-tp5712555p5712557.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