[Mono-dev] BIG ASP.NET BUG : SegFault when sending a Response of a size > 120Ko

Hubert FONGARNAND informatique.internet at fiducial.fr
Tue Oct 18 10:37:57 EDT 2005


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

I've updated the bug report...
thank in advance
hubert


Le lundi 17 octobre 2005 à 20:49 -0400, Gonzalo Paniagua Javier a
écrit :

> On Mon, 2005-10-17 at 20:33 -0400, Gonzalo Paniagua Javier wrote:
> > On Mon, 2005-10-17 at 11:08 +0200, Hubert FONGARNAND wrote:
> > > http://bugzilla.ximian.com/show_bug.cgi?id=76460
> 
> It's fixed now.
> 
> For those of you seeing weird libc errors and xsp dying, please try
> http://primates.ximian.com/~gonzalo/System.Web.dll.gz (gunzip + gacutil
> -i), as I think it's the same problem as the one reported by Hubert.
> 
> Thanks.
> 
> -Gonzalo
> 
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
_______________________________________________
Ce message et les éventuels documents joints peuvent contenir des informations confidentielles.
Au cas où il ne vous serait pas destiné, nous vous remercions de bien vouloir le supprimer et en aviser immédiatement l'expéditeur. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou publication, totale ou partielle et quel qu'en soit le moyen est formellement interdite.
Les communications sur internet n'étant pas sécurisées, l'intégrité de ce message n'est pas assurée et la société émettrice ne peut être tenue pour responsable de son contenu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20051018/1956f087/attachment.html 


More information about the Mono-devel-list mailing list