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

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Oct 18 11:18:21 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 21:28:13.000000000 -0400
+++ shadow/76460.tmp.32592	2005-10-18 11:18:21.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 76460
 Product: Mono: Class Libraries
 Version: 1.1
 OS: unknown
 OS Details: 
-Status: RESOLVED   
-Resolution: FIXED
+Status: REOPENED   
+Resolution: 
 Severity: Unknown
 Priority: Major
 Component: Sys.Web
 AssignedTo: gonzalo at ximian.com                            
 ReportedBy: informatique.internet at fiducial.fr               
 QAContact: mono-bugs at ximian.com
@@ -55,6 +55,41 @@
 index.aspx - single file test case
 
 
 ------- Additional Comments From gonzalo at ximian.com  2005-10-17 21:28 -------
 Fixed in svn r51845.
 Thanks!
+
+------- Additional Comments From informatique.internet at fiducial.fr  2005-10-18 11:18 -------
+Well, thank you for the fix... 
+But it fails now with a length>200ko
+
+you can try :
+
+private void MyButton_Click(object sender,EventArgs e)
+{
+int length=200000;
+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();
+}
+
+you will get :
+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.
+
+** (process:11870): ERROR (recursed) **: file mini-trampolines.c: line
+28 (mono_magic_trampoline): assertion failed: (addr)
+aborting...
+Erreur de segmentation
+


More information about the mono-bugs mailing list