[Mono-list] mod_mono, and "Abnormal string size" again

Gonzalo Paniagua Javier reply.to.the.list.iam.suscribed@notexists.ximian.com
Fri, 04 Feb 2005 18:58:10 -0500


On Fri, 2005-02-04 at 18:20 +0100, Michael Elsdörfer wrote:
> Hi everybody,
> 
> I think I wrote to this list ago with the same problem a few month ago, but
> it remained unsolved. I'm trying to get mod_mono running on my debian server
> using Apache 2. It never worked, and I just decided to give it a new shot.
> 
> I deleted everything with "mono" in the name. Then I downloaded the 1.0.5
> packages of mono, xsp and mod_mono, compiled and installed them. I started
> XSP manually under the www-data account, so that I could see the log
> messages.
> 
> Now, everytime I request an aspx file, I get
> 
> "In ModMonoWorker.Run: Abnormal string size"
> 
> So, I had a look at the source code. The exception is thrown in the first
> call to ReadString() in GetInitialData(). I added a couple of WriteLines()
> to ReadString() to output some debug information, and here it is:
> 
> Size queried from reader: 50331648
> MAX_STRING_SIZE: 10240
> 
> {MAX_STRING_SIZE} bytes read:
> GET/demoHTTP/1.Hostprivate.devforge.de
> User-AgentTMozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.5)
> Gecko/20041108
> Firefox/1.0Acceptctext/xml,application/xml,application/xhtml+xml,text/html;q
> =0.9,text/plain;q=0.8,image/png,*/*;q=0.5Accept-Languagede,en;q=0.7,en-us;q=
> 0.3Accept-Encoding
> gzip,deflateAccept-CharsetISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive300
> Connection
> 80.128.56.128?239.209.84P
> 
> Is there perhaps some issue with the line endings? 
> I hope this is useful to one of developers - I *really* want to get mod_mono
> running.
> 
> Any help is very much appreciated.

I have no idea on what's happening on your system. You might have an old
mod_mono.so (and don't tell me you have a libmod_mono.so from before the
renaming and you're LoadModule'ing that one ;-) or you're running an old
mod-mono-server or ... :-?

Anyone else running debian with mono 1.0.5 and having the same problem?

-Gonzalo