Bug 602230 - xsp crashes after servicing Microsoft Chart Control website
Summary: xsp crashes after servicing Microsoft Chart Control website
Status: RESOLVED DUPLICATE of bug 582162
Alias: None
Product: Mono: Class Libraries
Classification: Mono
Component: Sys.Web (show other bugs)
Version: 2.6.x
Hardware: Other Other
: P5 - None : Normal
Target Milestone: ---
Assignee: Marek Habersack
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-04 06:11 UTC by Jason Height
Modified: 2010-06-03 12:26 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Example self contained website (549.57 KB, application/zip)
2010-05-04 06:11 UTC, Jason Height
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Height 2010-05-04 06:11:33 UTC
Created attachment 358851 [details]
Example self contained website 

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5

Xsp2 from 2.6.4 will crash after servicing a page that contains a Microsoft Chart control.

Reproducible: Always

Steps to Reproduce:
1. Unzip attached website.
2. Open a command prompt and change to the website directory.
3. type "c:\Program Files\Mono-2.6.4\bin\xsp" --verbose
4. Open Browser and hit the xsp url

Actual Results:  
Webpage will load and correctly display the chart control, however after a period of approximately 5-10 seconds, xsp will terminate with the error message:

Peer unexpectedly closed the connection on write. Closing our end.
System.IO.IOException: Write failure ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host.

  at System.Net.Sockets.Socket.Send (System.Byte[] buf, Int32 offset, Int32 size, SocketFlags flags) [0x00000] in <filename unknown>:0
  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, Int32 offset, Int32 size) [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, Int32 offset, Int32 size) [0x00000] in <filename unknown>:0
  at Mono.WebServer.XSPWorker.Write (System.Byte[] buffer, Int32 position, Int32 size) [0x00000] in <filename unknown>:0
Peer unexpectedly closed the connection on write. Closing our end.
System.ObjectDisposedException: The object was used after being disposed.
  at System.Net.Sockets.NetworkStream.CheckDisposed () [0x00000] in <filename unknown>:0
  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, Int32 offset, Int32 size) [0x00000] in <filename unknown>:0
  at Mono.WebServer.XSPWorker.Write (System.Byte[] buffer, Int32 position, Int32 size) [0x00000] in <filename unknown>:0

Expected Results:  
The webpage shoudl display (as it correctly does!) but xsp should not crash
Comment 1 Robert Jordan 2010-06-03 12:26:18 UTC
Mark as duplicate. Next time please specify the OS when filing a bug.

*** This bug has been marked as a duplicate of bug 582162 ***