[Mono-bugs] [Bug 51278][Nor] Changed - poll(2) failed due to: Bad file descriptor.on MacOS

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
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 lupus@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=51278

--- 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 @@
 Bug#: 51278
 Product: Mono/Runtime
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: MacOS 10.3.1
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: peter@ximian.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
-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 @@
 client.
 
 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 lupus@ximian.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
+fixed.