mail-archives/monodroid/2012-November/012777.html

150 строки
6.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE> [mono-android] Could not create epoll instance. errno=24
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:monodroid%40lists.ximian.com?Subject=Re%3A%20%5Bmono-android%5D%20Could%20not%20create%20epoll%20instance.%20errno%3D24&In-Reply-To=%3CCA%2BC5j5bs_9Tk5Xsx4HGe0uS9GCx3T69Qa_yUKPO5x9nVZj5r2g%40mail.gmail.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<style type="text/css">
pre {
white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */
}
</style>
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="012776.html">
<LINK REL="Next" HREF="012781.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[mono-android] Could not create epoll instance. errno=24</H1>
<B>Goncalo Oliveira</B>
<A HREF="mailto:monodroid%40lists.ximian.com?Subject=Re%3A%20%5Bmono-android%5D%20Could%20not%20create%20epoll%20instance.%20errno%3D24&In-Reply-To=%3CCA%2BC5j5bs_9Tk5Xsx4HGe0uS9GCx3T69Qa_yUKPO5x9nVZj5r2g%40mail.gmail.com%3E"
TITLE="[mono-android] Could not create epoll instance. errno=24">goncalo at minkan.net
</A><BR>
<I>Mon Nov 5 16:00:47 UTC 2012</I>
<P><UL>
<LI>Previous message: <A HREF="012776.html">[mono-android] Could not create epoll instance. errno=24
</A></li>
<LI>Next message: <A HREF="012781.html">[mono-android] Could not create epoll instance. errno=24
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#12777">[ date ]</a>
<a href="thread.html#12777">[ thread ]</a>
<a href="subject.html#12777">[ subject ]</a>
<a href="author.html#12777">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>It has nothing to do with code on receiver callback. I removed everything
except the log line and after something like 5 minutes, the same happens.
I added a new paste with the log, but again it says nothing (that I can see
as relevant).
Always Could not create epoll instance. errno=%d or Could not create wake
pipe. errno=%d.
errno is 24 - #define EMFILE 24 /* Too many open files */.
<A HREF="http://pastebin.com/NR06bWQD">http://pastebin.com/NR06bWQD</A>
Like I said earlier, a GC.Collect() fixes it. Any ideas?
On 5 November 2012 15:35, Goncalo Oliveira &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">goncalo at minkan.net</A>&gt; wrote:
&gt;<i> In this case it was fixed with a GC.Collect() but I still don't know what
</I>&gt;<i> was happening. What wasn't being freed and why...
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i> On 5 November 2012 15:29, Jeremy A. Kolb - ARA/NED &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">jkolb at ara.com</A>&gt; wrote:
</I>&gt;<i>
</I>&gt;&gt;<i> I see this sort of thing a lot... most of the time when there's an error
</I>&gt;&gt;<i> and it kills my app there's nothing in the logs. It's frustrating to say
</I>&gt;&gt;<i> the least.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> -----Original Message-----
</I>&gt;&gt;<i> From: <A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">monodroid-bounces at lists.ximian.com</A> [mailto:
</I>&gt;&gt;<i> <A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">monodroid-bounces at lists.ximian.com</A>] On Behalf Of Jonathan Pryor
</I>&gt;&gt;<i> Sent: Monday, November 05, 2012 9:47 AM
</I>&gt;&gt;<i> To: Discussions related to Mono for Android
</I>&gt;&gt;<i> Subject: Re: [mono-android] Could not create epoll instance. errno=24
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> On Nov 5, 2012, at 6:16 AM, Goncalo Oliveira &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">goncalo at minkan.net</A>&gt; wrote:
</I>&gt;&gt;<i> &gt; Here's the logcat dump
</I>&gt;&gt;<i> &gt; <A HREF="http://pastebin.com/WhVdbmRk">http://pastebin.com/WhVdbmRk</A>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> The logcat dump doesn't include the crash. The start of Mono for Android
</I>&gt;&gt;<i> process execution starts with a message containing __mono_init__:
</I>&gt;&gt;<i>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> <A HREF="http://docs.xamarin.com/Android/Guides/Deployment%2C_Testing%2C_and_Metrics/Android_Debug_Log#Interesting_Messages">http://docs.xamarin.com/Android/Guides/Deployment%2C_Testing%2C_and_Metrics/Android_Debug_Log#Interesting_Messages</A>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> You've captured the start of the process:
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> 11-05 11:08:08.837: I/ActivityThread(5987): Pub
</I>&gt;&gt;<i> Frotcom.FMobile.mono.MonoRuntimeProvider.__mono_init__:
</I>&gt;&gt;<i> mono.MonoRuntimeProvider
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> But there are no messages about how the process is exiting. More
</I>&gt;&gt;<i> information would be helpful.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Thanks,
</I>&gt;&gt;<i> - Jon
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> _______________________________________________
</I>&gt;&gt;<i> Monodroid mailing list
</I>&gt;&gt;<i> <A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">Monodroid at lists.ximian.com</A>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> UNSUBSCRIBE INFORMATION:
</I>&gt;&gt;<i> <A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">http://lists.ximian.com/mailman/listinfo/monodroid</A>
</I>&gt;&gt;<i> _______________________________________________
</I>&gt;&gt;<i> Monodroid mailing list
</I>&gt;&gt;<i> <A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">Monodroid at lists.ximian.com</A>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> UNSUBSCRIBE INFORMATION:
</I>&gt;&gt;<i> <A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">http://lists.ximian.com/mailman/listinfo/monodroid</A>
</I>&gt;&gt;<i>
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i> --
</I>&gt;<i> Gon&#231;alo Oliveira
</I>&gt;<i>
</I>
--
Gon&#231;alo Oliveira
-------------- next part --------------
An HTML attachment was scrubbed...
URL: &lt;<A HREF="http://lists.ximian.com/pipermail/monodroid/attachments/20121105/5771b048/attachment.html">http://lists.ximian.com/pipermail/monodroid/attachments/20121105/5771b048/attachment.html</A>&gt;
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="012776.html">[mono-android] Could not create epoll instance. errno=24
</A></li>
<LI>Next message: <A HREF="012781.html">[mono-android] Could not create epoll instance. errno=24
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#12777">[ date ]</a>
<a href="thread.html#12777">[ thread ]</a>
<a href="subject.html#12777">[ subject ]</a>
<a href="author.html#12777">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/monodroid">More information about the Monodroid
mailing list</a><br>
</body></html>