Discussion:
[Mono-list] Mod_Mono crash "*" is not a valid virtual path - PLEASE help!
acrym
2013-12-15 00:32:47 UTC
Permalink
Every so often, the mono process crashes and i'm left with this error in the
log file:

[Fri Dec 13 06:27:08 2013] [error] Command stream corrupted, last command
was -1
WARNING: WebConfigurationManager's LRUcache evictions count reached its max
size
Cache Size: 100 (overridable via MONO_ASPNET_WEBCONFIG_CACHESIZE)
System.Web.HttpException: '*' is not a valid virtual path.
at System.Web.HttpRequest.MapPath (System.String virtualPath,
System.String baseVirtualDir, Boolean allowCrossAppMapping) [0x00000] in
<filename unknown>:0
at System.Web.HttpRequest.MapPath (System.String virtualPath) [0x00000] in
<filename unknown>:0
at System.Web.Hosting.HostingEnvironment.MapPath (System.String
virtualPath) [0x00000] in <filename unknown>:0
at System.Web.Hosting.DefaultVirtualPathProvider.DirectoryExists
(System.String virtualDir) [0x00000] in <filename unknown>:0
at System.Web.Configuration.WebConfigurationManager.FindWebConfig
(System.String path, System.Boolean& inAnotherApp) [0x00000] in <filename
unknown>:0
at System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration
(System.String path, System.String site, System.String locationSubPath,
System.String server, System.String userName, System.String password,
Boolean fweb) [0x00000] in <filename unknown>:0
at System.Web.Configuration.WebConfigurationManager.GetSection
(System.String sectionName, System.String path, System.Web.HttpContext
context) [0x00000] in <filename unknown>:0
at System.Web.Configuration.WebConfigurationManager.GetSection
(System.String sectionName) [0x00000] in <filename unknown>:0
at Mono.WebServer.BaseApplicationHost.LocateHandler (System.String verb,
System.String uri) [0x00000] in <filename unknown>:0
at Mono.WebServer.BaseApplicationHost.IsHttpHandler (System.String verb,
System.String uri) [0x00000] in <filename unknown>:0
at Mono.WebServer.Paths.VirtualPathExists (IApplicationHost appHost,
System.String verb, System.String uri) [0x00000] in <filename unknown>:0
at Mono.WebServer.Paths.GetPathsFromUri (IApplicationHost appHost,
System.String verb, System.String uri, System.String& realUri,
System.String& pathInfo) [0x00000] in <filename unknown>:0
at Mono.WebServer.ModMonoWorkerRequest.GetRequestData () [0x00000] in
<filename unknown>:0
at Mono.WebServer.MonoWorkerRequest.ReadRequestData () [0x00000] in
<filename unknown>:0
at Mono.WebServer.BaseApplicationHost.ProcessRequest
(Mono.WebServer.MonoWorkerRequest mwr) [0x00000] in <filename unknown>:0
at Mono.WebServer.ModMonoApplicationHost.ProcessRequest (Int32 reqId,
System.String verb, System.String queryString, System.String path,
System.String protocol, System.String localAddress, Int32 serverPort,
System.String remoteAddress, Int32 remotePort, System.String remoteName,
System.String[] headers, System.String[] headerValues, System.Object worker)
[0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check)
Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],string[],object)
at Mono.WebServer.ModMonoWorker.InnerRun (System.Object state) [0x00000]
in <filename unknown>:0
at Mono.WebServer.ModMonoWorker.Run (System.Object state) [0x00000] in
<filename unknown>:0



Please help, these errors that crash my site almost daily are driving me
insane!!



--
View this message in context: http://mono.1490590.n4.nabble.com/Mod-Mono-crash-is-not-a-valid-virtual-path-PLEASE-help-tp4661548.html
Sent from the Mono - General mailing list archive at Nabble.com.
acrym
2013-12-19 02:56:15 UTC
Permalink
Please help! I will take any advice or suggestions!



--
View this message in context: http://mono.1490590.n4.nabble.com/Mod-Mono-crash-is-not-a-valid-virtual-path-PLEASE-help-tp4661548p4661573.html
Sent from the Mono - General mailing list archive at Nabble.com.
Robert Jordan
2013-12-19 09:52:11 UTC
Permalink
Post by acrym
Please help! I will take any advice or suggestions!
See https://bugzilla.novell.com/show_bug.cgi?id=509163

Robert
acrym
2013-12-20 07:26:59 UTC
Permalink
I'm still getting the error. I changed Web.Config to this:

<system.web>
<monoSettings verificationCompatibility="1"></monoSettings>
</system.web>

The bug fix was provided in 2009, and I have mono 3.1.1, so it should have
been included, right?

Additional info: Typing in a URL with '*' or ':' DOES give the 500 error,
but DOES NOT show the same error for any other page I try to visit. The only
way I've found to get rid of the error is to restart httpd.






--
View this message in context: http://mono.1490590.n4.nabble.com/Mod-Mono-crash-is-not-a-valid-virtual-path-PLEASE-help-tp4661548p4661590.html
Sent from the Mono - General mailing list archive at Nabble.com.

Loading...