[Mono-dev] Houston error during web request on Apache 2.4

APS dev.malst at apsystems.it
Wed Oct 8 13:01:15 UTC 2014


Hi,

I installed mono on a Centos 7 box with Apache 2.4 in order to serve 
aspx pages.
I had to use a patched version of mod_mono because the standard version 
2.10 doesn't compile on Apache 2.4. It works pretty well but in some 
request, I've not been able yet to discover the case, I obtain the 
following error:

System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Exception: Houston...
   at Mono.WebServer.ModMonoRequest.GetClientBlock (System.Byte[] bytes, Int32 position, Int32 size) [0x00000] in <filename unknown>:0
   at Mono.WebServer.ModMonoWorker.Read (System.Byte[] buffer, Int32 position, Int32 size) [0x00000] in <filename unknown>:0
   at Mono.WebServer.ModMonoWorkerRequest.ReadEntityBody (System.Byte[] buffer, Int32 size) [0x00000] in <filename unknown>:0
   at System.Web.HttpRequest.MakeInputStream () [0x00000] in <filename unknown>:0
   at System.Web.HttpRequest.get_InputStream () [0x00000] in <filename unknown>:0
   at System.Web.HttpRequest.LoadWwwForm () [0x00000] in <filename unknown>:0
   at System.Web.HttpRequest.get_FormUnvalidated () [0x00000] in <filename unknown>:0
   at System.Web.HttpRequest.get_Form () [0x00000] in <filename unknown>:0
   at System.Web.UI.Page.DeterminePostBackMode () [0x00000] in <filename unknown>:0
   at System.Web.UI.Page.InternalProcessRequest () [0x00000] in <filename unknown>:0
   at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000] in <filename unknown>:0
   --- End of inner exception stack trace ---
   at System.Web.UI.Page.ProcessException (System.Exception e) [0x00000] in <filename unknown>:0
   at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000] in <filename unknown>:0
   at System.Web.HttpApplication+<Pipeline>c__Iterator3.MoveNext () [0x00000] in <filename unknown>:0
   at System.Web.HttpApplication.Tick () [0x00000] in <filename unknown>:0

It seems very similar to the problem reported here 
https://bugzilla.xamarin.com/show_bug.cgi?id=16796 without any response. 
I checked the history of mod_mono 3.8 that enables Apache 2.4 support 
but I saw nothing related to this kind of problem.
Any hint about how to solve or diagnose better the problem?
Thanks in advance.




More information about the Mono-devel-list mailing list