[Mono-aspnet-list] mod_modo intermittent exception on postback

miniBill cmt.minibill at gmail.com
Tue May 20 18:01:04 UTC 2014


Could you try with a more recent version of xsp?
Recent as in >=3.0


2014-05-20 18:16 GMT+02:00 CS <aarons at cherniaksoftware.com>:

> I am running mod_mono 3.4.0 under Apache 2.2 on a FreeBSD 10.0 machine. My
> ASP.NET 4.5 application was developed in Visual Studio on a Windows
> machine and deployed to the FreeBSD server.
>
> The application consists of an aspx page containing a form that uses the
> asp:Wizard control.
>
> When navigating forward / back between the wizard pages, I get an
> intermittent exception thrown by the GetClientBlock method in
> ModMonoRequest.cs<https://github.com/mono/xsp/blob/master/src/Mono.WebServer.Apache/ModMonoRequest.cs>When I inspected the postback fields using Firebug, I noticed that mod_mono
> produces an exceptionally large *__VIEWSTATE* field. When testing under
> IIS Express 7, the __VIEWSTATE submitted was 1.8 kB, whereas under
> mod_mono, it was 22 kB.
>
> I am wondering if the giant ViewState has something to do with my
> exception, since GetClientBlock reads an input buffer. (I also asked this
> Stackoverflow question <http://stackoverflow.com/q/23747570/3271599>regarding the giant Viewstate.)
>
> Exception stack trace from browser:
>
>  at Mono.WebServer.ModMonoRequest.GetClientBlock (System.Byte[] bytes, Int32 position, Int32 size) [0x0007f] in /var/ports/basejail/usr/ports/www/xsp/work/xsp-2.10.2/src/Mono.WebServer.Apache/ModMonoRequest.cs:587
>  at Mono.WebServer.ModMonoWorker.Read (System.Byte[] buffer, Int32 position, Int32 size) [0x0000a] in /var/ports/basejail/usr/ports/www/xsp/work/xsp-2.10.2/src/Mono.WebServer.Apache/ModMonoWorker.cs:268
>  at Mono.WebServer.ModMonoWorkerRequest.ReadEntityBody (System.Byte[] buffer, Int32 size) [0x0005e] in /var/ports/basejail/usr/ports/www/xsp/work/xsp-2.10.2/src/Mono.WebServer.Apache/ModMonoWorkerRequest.cs:583
>  at System.Web.HttpRequest.MakeInputStream () [0x0022f] in /var/ports/basejail/usr/ports/lang/mono/work/mono-3.4.0/mcs/class/System.Web/System.Web/HttpRequest.cs:904
>  at System.Web.HttpRequest.get_InputStream () [0x0000b] in /var/ports/basejail/usr/ports/lang/mono/work/mono-3.4.0/mcs/class/System.Web/System.Web/HttpRequest.cs:1149
>  at System.Web.HttpRequest.LoadWwwForm () [0x00000] in /var/ports/basejail/usr/ports/lang/mono/work/mono-3.4.0/mcs/class/System.Web/System.Web/HttpRequest.cs:662
>  at System.Web.HttpRequest.get_FormUnvalidated () [0x0004e] in /var/ports/basejail/usr/ports/lang/mono/work/mono-3.4.0/mcs/class/System.Web/System.Web/HttpRequest.cs:713
>  at System.Web.HttpRequest.get_Form () [0x00000] in /var/ports/basejail/usr/ports/lang/mono/work/mono-3.4.0/mcs/class/System.Web/System.Web/HttpRequest.cs:724
>  at System.Web.UI.Page.DeterminePostBackMode () [0x00043] in /var/ports/basejail/usr/ports/lang/mono/work/mono-3.4.0/mcs/class/System.Web/System.Web.UI/Page.cs:816
>  at System.Web.UI.Page.InternalProcessRequest () [0x00021] in /var/ports/basejail/usr/ports/lang/mono/work/mono-3.4.0/mcs/class/System.Web/System.Web.UI/Page.cs:1396
>  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00062] in /var/ports/basejail/usr/ports/lang/mono/work/mono-3.4.0/mcs/class/System.Web/System.Web.UI/Page.cs:1269
>
>
> ------------------------------
> View this message in context: mod_modo intermittent exception on postback<http://mono.1490590.n4.nabble.com/mod-modo-intermittent-exception-on-postback-tp4662878.html>
> Sent from the Mono - ASP.NET mailing list archive<http://mono.1490590.n4.nabble.com/Mono-ASP-NET-f1539225.html>at Nabble.com.
>
> _______________________________________________
> Mono-aspnet-list mailing list
> Mono-aspnet-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20140520/90d4a6a9/attachment.html>


More information about the Mono-aspnet-list mailing list