[Mono-bugs] [Bug 76460][Maj] New - ASP.NET crash with > ~ 120 Ko Reponse

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Oct 17 05:41:17 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 informatique.internet at fiducial.fr.

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

--- shadow/76460	2005-10-17 05:41:17.000000000 -0400
+++ shadow/76460.tmp.15701	2005-10-17 05:41:17.000000000 -0400
@@ -0,0 +1,46 @@
+Bug#: 76460
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: Sys.Web
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: informatique.internet at fiducial.fr               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: ASP.NET crash with > ~ 120 Ko Reponse
+
+I want to send a byte[] of a size > 120kb to the client:
+this code cause a segfault to xsp :
+
+private void MyButton_Click(object sender,EventArgs e)
+{
+int length=120000;
+byte[] buffer=new byte[length];
+Response.ClearHeaders();
+Response.Clear();
+Response.AddHeader("Content-Disposition","attachment;
+filename=\""+"essai"+"\"");
+Response.AppendHeader("Content-Length",length.ToString());
+Response.StatusCode = 200;
+Response.OutputStream.Write(buffer,0,length);
+Response.End();
+Response.Flush();
+}
+
+hubert at hub-lin-dev /home/monoapp/WebApplication1 $ xsp
+xsp
+Listening on port: 8080 (non-secure)
+Listening on address: 0.0.0.0
+Root directory: /home/monoapp/WebApplication1
+Hit Return to stop the server.
+Erreur de segmentation
+
+I'm working on mono from today's svn's revision... on a x86 (PIV) on Linux
+(2.6.13, but it fails to with another linux 2.6.10)


More information about the mono-bugs mailing list