[Mono-bugs] [Bug 76447][Wis] New - gint32/long mixup
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Oct 14 20:29:30 EDT 2005
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 kamenovl at gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=76447
--- shadow/76447 2005-10-14 20:29:30.000000000 -0400
+++ shadow/76447.tmp.25985 2005-10-14 20:29:30.000000000 -0400
@@ -0,0 +1,77 @@
+Bug#: 76447
+Product: Mono: Runtime
+Version: 1.1
+OS: other
+OS Details: FreeBSD 5.4-STABLE #0: Mon Sep 12 15:38:32 BST 2005 amd64
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: io-layer
+AssignedTo: dick at ximian.com
+ReportedBy: kamenovl at gmail.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: gint32/long mixup
+
+Description of Problem:
+
+At the time of test I used latest FreeBSD AMD64 port from the BSD# Project.
+This specific problem appeared when I tried to use XSP and particulary when
+the XSP code was trying to set non-blocking mode. *This is not a XSP
+specific problem*.
+
+Steps to reproduce the problem:
+1. Get a FreeBSD mono version from the BSD# Project (using mono-merge)
+dated around 04/10/2005.
+2. Compile it.
+3. Compile XSP.
+4. Try to run XSP.
+
+Actual Results:
+----------------
+Listening on port: 8080
+Listening on address: 0.0.0.0
+Root directory: /usr/ports/www/xsp
+Main.ErrorCode: 10022
+Main.Error: Invalid arguments
+Trace: in <0x0006d> System.Net.Sockets.Socket:set_Blocking (Boolean value)
+in <0x000aa> Mono.WebServer.ApplicationServer:Start (Boolean bgThread)
+in (wrapper remoting-invoke-with-check)
+Mono.WebServer.ApplicationServer:Start (bool)
+in <0x00e91> Mono.XSP.Server:Main (System.String[] args)
+Who: Void set_Blocking(Boolean)
+-----------------
+
+With fancy prints:
+-----------------
+Listening on port: 8080
+Listening on address: 0.0.0.0
+Root directory: /usr/ports/lang/mono/work/mono-1.1.9.1/mono
+** Message: ioctlsocket: invalid command = 2147772030
+** Message: ioctlsocket: FIONBIO = 2147772030
+Main.ErrorCode: 10022
+Main.Error: Invalid arguments
+Trace: in <0x0006d> System.Net.Sockets.Socket:set_Blocking (Boolean value)
+in <0x000aa> Mono.WebServer.ApplicationServer:Start (Boolean bgThread)
+in (wrapper remoting-invoke-with-check)
+Mono.WebServer.ApplicationServer:Start (bool)
+in <0x00e91> Mono.XSP.Server:Main (System.String[] args)
+Who: Void set_Blocking(Boolean)
+-----------------
+
+
+Expected Results:
+XSP to work.
+
+How often does this happen?
+Everytime.
+
+
+Additional Information:
+Diff: http://skydive.defx.org/diff/mono/sockets.c.diff
+The above patch the problem and XSP will run happily. The diff was
+submitted to the FreeBSD BSD# Project as well. The patch itself _is not_
+*FreeBSD* specific so it shouldnt break any other platform build.
More information about the mono-bugs
mailing list