|
Bugzilla – Full Text Bug Listing |
| Summary: | XSP2 crashes serving static images | ||
|---|---|---|---|
| Product: | [Mono] Mono: Runtime | Reporter: | Santiago Corredoira <santiago> |
| Component: | io-layer | Assignee: | Rodrigo Kumpera <rkumpera> |
| Status: | RESOLVED FIXED | QA Contact: | Mono Bugs <mono-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | jason.height, tagdev |
| Version: | 2.6.x | ||
| Target Milestone: | --- | ||
| Hardware: | x86 | ||
| OS: | Windows Vista | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Bug Depends on: | |||
| Bug Blocks: | 582827 | ||
| Attachments: | xsp-test.tar.bz2 | ||
|
Description
Santiago Corredoira
2010-02-23 11:58:18 UTC
The issue is reproducible on Windows (7 in my case), everything works fine on Linux. Please do not boost the severity to Major, though - it won't make the solution faster. Thanks! OK, this is my first bug filled and since it makes the web server unusable I thought it was Mayor. Sorry! This bug report seems to be a specific example of the general problem described under Bug 582827 (XSP 2.6.1 sends static content twice or crash on Windows) Another stack trace (xsp/trunk with mono 2.6.4 on Windows 7): C:\temp\xsp\test>mono ..\xsp.exe --port 8081 xsp Listening on address: 0.0.0.0 Root directory: C:\temp\xsp\test Listening on port: 8081 (non-secure) Hit Return to stop the server. Handling exception type SynchronizationLockException Message is Failed to regain lock IsTerminating is set to True System.Threading.SynchronizationLockException: Failed to regain lock at (wrapper managed-to-native) System.Threading.Monitor:Monitor_wait (object,i nt) at System.Threading.Monitor.Wait (System.Object obj, Int32 millisecondsTimeout ) [0x00000] in <filename unknown>:0 at System.Threading.Timer+Scheduler.SchedulerThread () [0x00000] in <filename unknown>:0 And another one: C:\temp\xsp\test>mono ..\xsp.exe --port 8081 xsp Listening on address: 0.0.0.0 Root directory: C:\temp\xsp\test Listening on port: 8081 (non-secure) Hit Return to stop the server. Peer unexpectedly closed the connection on write. Closing our end. System.IO.IOException: Write failure ---> System.Net.Sockets.SocketException: An operation was attempted on something that is not a socket. at System.Net.Sockets.Socket.Send (System.Byte[] buf, Int32 offset, Int32 size , SocketFlags flags) [0x00000] in <filename unknown>:0 at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, Int32 offset, Int32 size) [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, Int32 offset, Int32 size) [0x00000] in <filename unknown>:0 at Mono.WebServer.XSPWorker.Write (System.Byte[] buffer, Int32 position, Int32 size) [0x00000] in <filename unknown>:0 Created attachment 365036 [details]
xsp-test.tar.bz2
This is the binary I used to obtain the above two traces. Compiled with vs2010 for .NET 3.5, ran with mono 2.6.4. Works fine with .NET. To reproduce the issue you need to reload the test site several times. XSP also may lock up on exit.
Fixed the shutdown crash in r158302. This will be featured in 2-6-5. The rest of the bug is due to some mess up with possibly stall handles. Marek Habersack fixed it on trunk/2-6 on r158326/r158327. *** Bug 582827 has been marked as a duplicate of this bug. *** *** Bug 602230 has been marked as a duplicate of this bug. *** |