[Mono-bugs] [Bug 69117][Nor] Changed - mod_mono 1.0.4 on AMD64
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sun, 30 Jan 2005 21:39:18 -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 mmorano@mikeandwan.us.
http://bugzilla.ximian.com/show_bug.cgi?id=69117
--- shadow/69117 2004-12-04 08:26:35.000000000 -0500
+++ shadow/69117.tmp.19672 2005-01-30 21:39:18.000000000 -0500
@@ -1,16 +1,16 @@
Bug#: 69117
Product: Mono: Runtime
Version: 1.1
-OS: unknown
+OS: GNU/Linux [Other]
OS Details: Gentoo Linux (AMD64)
Status: NEW
Resolution:
Severity: Unknown
Priority: Normal
-Component: misc
+Component: io-layer
AssignedTo: mono-bugs@ximian.com
ReportedBy: mmorano@mikeandwan.us
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
URL:
Cc:
@@ -138,6 +138,81 @@
TIA!
-Mike
------- Additional Comments From gonzalo@ximian.com 2004-12-04 08:26 -------
--> runtime
+
+------- Additional Comments From mmorano@mikeandwan.us 2005-01-30 21:39 -------
+I did some further testing on this item, using the latest from svn (as
+of Jan. 30, 2005 - svn rev 39779). The error is still present. The
+important thing to note is that the site works fine on XSP. However,
+it never responds to the first request in mod_mono. CPU spikes to
+100% until I kill the process.
+
+The following represents a stacktrace of sorts to try and help
+illustrate where the issue may lie:
+
+ - [sockets.c] _wapi_recv(guint32, void*, size_t, int)
+ - [socket-io.c]
+ves_icall_System_Net_Sockets_Socket_Receive_internal(SOCKET,
+MonoArray, gint32, gint32, gint32, gint32)
+ - Socket.Receive_internal(IntPtr, byte[], int, int, SocketFlags, out
+int)
+ - Socket.Receive_nochecks(byte[], int, int, SocketFlags)
+ - Socket.Receive(byte[], int, int, SocketFlags)
+ - NetworkStream.Read(byte[] buffer, int offset, int size)
+ - BinaryReader.FillBuffer(int bytes)
+ - BinaryReader.ReadInt32()
+ - ModMonoRequest.GetInitialData()
+
+
+The following is some output from gdb when running apache:
+
+
+Program received signal SIGINT, Interrupt.
+[Switching to Thread 16384 (LWP 13066)]
+0x0000002a9655b302 in write () from /lib/libpthread.so.0
+(gdb) bt
+#0 0x0000002a9655b302 in write () from /lib/libpthread.so.0
+#1 0x0000002a95ff4037 in apr_socket_send () from /usr/lib/libapr-0.so.0
+#2 0x0000002a998a51e5 in ?? ()
+#3 0x00000000006b9199 in ?? ()
+#4 0x0000001d0000001d in ?? ()
+#5 0x00000000006b9199 in ?? ()
+#6 0x0000002a998a604e in ?? ()
+#7 0x00000000006b4c80 in ?? ()
+#8 0x0000002a97d344b3 in ?? ()
+#9 0x00000000006b9068 in ?? ()
+
+
+This is on AMD64. Here is some more info about how mono was built:
+
+>> MONO <<
+Mono JIT compiler version 1.1.3, (C) 2002-2004 Novell, Inc and
+Contributors. www.go-mono.com
+ TLS: __thread
+ GC: Included Boehm (with typed GC)
+ SIGSEGV : normal
+ Globalization: none
+
+>> XSP <<
+xsp.exe 1.0.5.99
+(c) 2002,2003 Ximian, Inc.
+(c) 2003,2004 Novell, Inc.
+Minimalistic web server for testing System.Web
+
+
+>> MOD-MONO-SERVER <<
+mod-mono-server.exe 1.0.5.99
+(c) 2002,2003 Ximian, Inc.
+(c) 2003,2004 Novell, Inc.
+Minimalistic web server for testing System.Web
+
+
+Can anyone duplicate this issue, or counter with a working mod_mono on
+AMD64?
+
+
+Thanks,
+Mike
+