[Mono-dev] Bug in the svn vm?
Raja R Harinath
rharinath at novell.com
Wed May 3 05:26:14 EDT 2006
Raja R Harinath <rharinath at novell.com> writes:
> Marek Habersack <grendel at caudium.net> writes:
>> I've just came accross a problem with the latest svn of mono. Trying to
>> access a site served by either xsp or xsp2 causes this to happen:
>> System.NullReferenceException: Object reference not set to an instance of an object
>> in <0x00134> Mono.WebServer.VPathToHost:CreateHost (Mono.WebServer.ApplicationServer server, IWebSource webSource)
>> in <0x000ee> Mono.WebServer.ApplicationServer:GetApplicationForPath (System.String vhost, Int32 port, System.String path, Boolean defaultToRoot)
>> in (wrapper remoting-invoke-with-check)
>> Mono.WebServer.ApplicationServer:GetApplicationForPath (string,int,string,bool)
>> in <0x00152> Mono.WebServer.XSPWorker:InnerRun (System.Object state)
>> in <0x00022> Mono.WebServer.XSPWorker:Run (System.Object state)
>> I've traced it to ApplicationHost.CreateApplicationHost, to the break
>> statement in the for loop (line 120 of ApplicationHost.cs). Setting the loop
>> iteration limit to some value and commenting the break statement out makes
>> xsp/xsp2 work again. I guess it's a runtime vm bug and it's, alas, way
>> beyond my knowledge to fix :(
> It actually looks like a compiler bug. I think it's a latent issue
> uncovered by my recent changes to the compiler.
This should be fixed in SVN r60206.
More information about the Mono-devel-list