[Mono-bugs] [Bug 51278][Nor] Changed - poll(2) failed due to: Bad file descriptor.on MacOS
Thu, 4 Dec 2003 12:05:19 -0500 (EST)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by firstname.lastname@example.org.
--- shadow/51278 2003-11-21 16:57:08.000000000 -0500
+++ shadow/51278.tmp.11008 2003-12-04 12:05:19.000000000 -0500
@@ -1,23 +1,23 @@
OS Details: MacOS 10.3.1
-Summary: Mint failures on MacOS 10.3.1
+Summary: poll(2) failed due to: Bad file descriptor.on MacOS
I'm having trouble creating an xml-rpc service on MacOS 10.3. I've built mint without
garbage collection support (libboehm is broken on 10.3 so far). The service runs, but as
soon as I make an rpc call it dies with an infinite loop of this output:
(xsp.exe:13261): GLib-WARNING **: poll(2) failed due to: Bad file descriptor.
@@ -60,6 +60,14 @@
I've attached a tarball with a test case. To run the server, run "mint xsp.exe". To run the
client, run "mint HelloClient.exe". The expected output is "Hello World!" from the client.
Both the server and client work fine on Linux.
+------- Additional Comments From email@example.com 2003-12-04 12:05 -------
+It's most likely the io-layer daemon, since it's the only component of
+mono that uses the glib main loop where that message is coming from.
+It likely as races, according to the comments in io-layer/daemon.c,
+since it just ignores race issues on systems without a poll()
+implementation. That code needs to be rewritten in a portable way and