[Mono-bugs] [Bug 462045] New: mod-mono-server causes EndOfStreamException

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Dec 23 14:06:53 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=462045


           Summary: mod-mono-server causes EndOfStreamException
           Product: Mono: Class Libraries
           Version: SVN
          Platform: x86
        OS/Version: Windows Vista
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web.Services
        AssignedTo: atsushi at ximian.com
        ReportedBy: kobruleht2 at hot.ee
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


To reproduce:

1. Create file I:/raamat/MyAppWeb/SilverlightApplication4_Web/test.aspx :

<%@ Page language='C#' %>
<html>
<body>
<%=System.DateTime.Now%>
from http://go-mono.com/forums/#nabble-td20305863
</body>
</html>

2. Run mod-mono-server:

c:\mono/bin/mod-mono-server.bat --
address 127.0.0.1 --port 2000 --applications /:./ --nonstop --root
I:/raamat/MyAppWeb/SilverlightApplication4_Web --master --verbose
mod-mono-server2

Adding applications '/:./'...
Registering application:
    Host:          any
    Port:          any
    Virtual path:  /
    Physical path: I:\raamat\MyAppWeb\SilverlightApplication4_Web\
Listening on port: 2000
Listening on address: 127.0.0.1
Root directory: I:\raamat\MyAppWeb\SilverlightApplication4_Web

3. Configure and start Apache with mod_mono.

4. Type localhost/test.aspx in browser.

Observed: mod-mono-server console window shows:

System.IO.EndOfStreamException: Failed to read past end of stream.
  at System.IO.BinaryReader.ReadByte () [0x00000]
  at Mono.WebServer.ModMonoRequest.GetInitialData () [0x00000]
  at Mono.WebServer.ModMonoRequest..ctor (System.Net.Sockets.Socket client)
[0x0
0000]
  at Mono.WebServer.RequestReader..ctor (System.Net.Sockets.Socket client)
[0x00
000]
  at Mono.WebServer.ModMonoWorker.InnerRun (System.Object state) [0x00000]
  at Mono.WebServer.ModMonoWorker.Run (System.Object state) [0x00000]
System.IO.EndOfStreamException: Failed to read past end of stream.
  at System.IO.BinaryReader.ReadByte () [0x00000]
  at Mono.WebServer.ModMonoRequest.GetInitialData () [0x00000]
  at Mono.WebServer.ModMonoRequest..ctor (System.Net.Sockets.Socket client)
[0x0
0000]
  at Mono.WebServer.RequestReader..ctor (System.Net.Sockets.Socket client)
[0x00
000]
  at Mono.WebServer.ModMonoWorker.InnerRun (System.Object state) [0x00000]
  at Mono.WebServer.ModMonoWorker.Run (System.Object state) [0x00000]


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list