[Mono-bugs] [Bug 330357] Mono + Mod_Mono + Apache

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Oct 17 09:42:25 EDT 2007


https://bugzilla.novell.com/show_bug.cgi?id=330357#c17


Frederic MEYER <f.meyer at tetco.fr> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |f.meyer at tetco.fr
             Status|NEEDINFO                                        |ASSIGNED
      Info Provider|mirko-novell at nextware.it                        |




--- Comment #17 from Frederic MEYER <f.meyer at tetco.fr>  2007-10-17 07:42:24 MST ---
We here have the same random behaviour.

RHEL4 + mono 1.2.5.1 + patched mcs 1.2.5.1 System.Web.Services.dll to get fix
for bug #331183 + apache + mod-mono

The way we can get this error is to stress the first compilation of the web
application (just upon apache or mod_mono restart)

We wrote a script that parses all our aspx pages with a curl in order to get
the compilation done. We have more that one web application.

The problem never arise when we launch our script on only one web application
(which compiles its pages then sequentially)

The problem appears, randomly, when :
- we launch our compilation script on several web apps at the same time
- we launch several compilation scripts on the *same* web app (making
concurrent access like in the real life)

When the problem appears, mono (mod_mono, mod-mono-server2) is still here but
completly deadlocked.

The problem can be somewhat bypassed on multiple apps if we slow down the page
request process, (for instance with a 1s sleep in between each request). But
this is not the real life.

Here are the logs :

[Sun Oct 07 10:42:41 2007] [notice] Apache/2.0.54 (Unix) mod_mono/1.2.5
configured -- resuming normal operations
System.IO.DirectoryNotFoundException: Directory
'/tmp/apache-temp-aspnet-0/stamp' does not exist
  at System.IO.Directory.Delete (System.String path) [0x00000]
  at System.Web.Hosting.ApplicationHost.CreateApplicationHost (System.Type
hostType, System.String virtualDir, System.String physicalDir) [0x00000]
  at Mono.WebServer.VPathToHost.CreateHost (Mono.WebServer.ApplicationServer
server, Mono.WebServer.WebSource webSource) [0x00000]
  at Mono.WebServer.ApplicationServer.GetApplicationForPath (System.String
vhost, Int32 port, System.String path, Boolean defaultToRoot) [0x00000]
  at (wrapper remoting-invoke-with-check)
Mono.WebServer.ApplicationServer:GetApplicationForPath (string,int,string,bool)
  at Mono.WebServer.ModMonoWorker.GetOrCreateApplication (System.String vhost,
Int32 port, System.String filepath, System.String virt) [0x00000]
  at Mono.WebServer.ModMonoWorker.InnerRun (System.Object state) [0x00000]
  at Mono.WebServer.ModMonoWorker.Run (System.Object state) [0x00000]
System.IO.DirectoryNotFoundException: Directory
'/tmp/apache-temp-aspnet-0/stamp' does not exist
  at System.IO.Directory.Delete (System.String path) [0x00000]
  at System.Web.Hosting.ApplicationHost.CreateApplicationHost (System.Type
hostType, System.String virtualDir, System.String physicalDir) [0x00000]
  at Mono.WebServer.VPathToHost.CreateHost (Mono.WebServer.ApplicationServer
server, Mono.WebServer.WebSource webSource) [0x00000]
  at Mono.WebServer.ApplicationServer.GetApplicationForPath (System.String
vhost, Int32 port, System.String path, Boolean defaultToRoot) [0x00000]
  at (wrapper remoting-invoke-with-check)
Mono.WebServer.ApplicationServer:GetApplicationForPath (string,int,string,bool)
  at Mono.WebServer.ModMonoWorker.GetOrCreateApplication (System.String vhost,
Int32 port, System.String filepath, System.String virt) [0x00000]
  at Mono.WebServer.ModMonoWorker.InnerRun (System.Object state) [0x00000]
  at Mono.WebServer.ModMonoWorker.Run (System.Object state) [0x00000]
[Sun Oct 07 10:42:52 2007] [error] (70014)End of file found: read_data failed
[Sun Oct 07 10:42:52 2007] [error] (70014)End of file found: read_data failed
[Sun Oct 07 10:42:52 2007] [error] Command stream corrupted, last command was
-1
[Sun Oct 07 10:42:52 2007] [error] Command stream corrupted, last command was
-1
System.Runtime.Serialization.SerializationException: The object with ID 2 could
not be resolved

Server stack trace:
  at System.Runtime.Serialization.ObjectManager.DoFixups () [0x00000]
  at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadNextObject
(System.IO.BinaryReader reader) [0x00000]
  at
System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectGraph
(System.IO.BinaryReader reader, Boolean readHeaders, System.Object& result,
System.Runtime.Remoting.Messaging.Header[]& headers) [0x00000]
  at
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.NoCheckDeserialize
(System.IO.Stream serializationStream,
System.Runtime.Remoting.Messaging.HeaderHandler handler) [0x00000]
  at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize
(System.IO.Stream serializationStream) [0x00000]
  at System.Runtime.Remoting.RemotingServices.DeserializeCallData
(System.Byte[] array) [0x00000]
  at (wrapper xdomain-dispatch) Mono.WebServer.BaseApplicationHost:set_Server
(object,byte[]&,byte[]&)

Exception rethrown at [0]:

  at (wrapper xdomain-invoke) Mono.WebServer.BaseApplicationHost:set_Server
(Mono.WebServer.ApplicationServer)
  at Mono.WebServer.VPathToHost.CreateHost (Mono.WebServer.ApplicationServer
server, Mono.WebServer.WebSource webSource) [0x00000]
  at Mono.WebServer.ApplicationServer.GetApplicationForPath (System.String
vhost, Int32 port, System.String path, Boolean defaultToRoot) [0x00000]
  at (wrapper remoting-invoke-with-check)
Mono.WebServer.ApplicationServer:GetApplicationForPath (string,int,string,bool)
  at Mono.WebServer.ModMonoWorker.GetOrCreateApplication (System.String vhost,
Int32 port, System.String filepath, System.String virt) [0x00000]
  at Mono.WebServer.ModMonoWorker.InnerRun (System.Object state) [0x00000]
  at Mono.WebServer.ModMonoWorker.Run (System.Object state) [0x00000]
[Sun Oct 07 10:42:52 2007] [error] (70014)End of file found: read_data failed
[Sun Oct 07 10:42:52 2007] [error] Command stream corrupted, last command was
-1
System.NullReferenceException: Object reference not set to an instance of an
object
  at Mono.WebServer.ModMonoWorker.InnerRun (System.Object state) [0x00000]
  at Mono.WebServer.ModMonoWorker.Run (System.Object state) [0x00000]
[Sun Oct 07 10:42:52 2007] [error] (70014)End of file found: read_data failed
[Sun Oct 07 10:42:52 2007] [error] Command stream corrupted, last command was
-1
System.NullReferenceException: Object reference not set to an instance of an
object
  at Mono.WebServer.ModMonoWorker.InnerRun (System.Object state) [0x00000]
  at Mono.WebServer.ModMonoWorker.Run (System.Object state) [0x00000]
[Sun Oct 07 10:42:52 2007] [error] (70014)End of file found: read_data failed
[Sun Oct 07 10:42:52 2007] [error] Command stream corrupted, last command was
-1
System.NullReferenceException: Object reference not set to an instance of an
object
  at Mono.WebServer.ModMonoWorker.InnerRun (System.Object state) [0x00000]
  at Mono.WebServer.ModMonoWorker.Run (System.Object state) [0x00000]
[Sun Oct 07 10:42:52 2007] [error] (70014)End of file found: read_data failed
[Sun Oct 07 10:42:52 2007] [error] Command stream corrupted, last command was
-1


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list