Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007340opensim[REGION] OpenSim Corepublic2014-10-06 17:002015-07-07 10:33
ReporterAliciaRaven 
Assigned To 
PriorityhighSeveritycrashReproducibilityrandom
StatusconfirmedResolutionopen 
PlatformOSOS Version
Product Versionmaster (dev code) 
Target VersionFixed in Version 
Summary0007340: SigSegv crash caused by HttpListener passing invalid arguments
DescriptionThis has only happened twice and I am unsure as to what the cause is. I think the HttpServer has been worked on recently so i thought i should post these reports in case is is connected. There is nothing in the logs but i have screen shots of the console taken after the crashes. The dates are 30th September and 6th October.

I think there might have been other http warnings on occasion that haven't caused a crash but i cant find an example yet, I will keep looking.

Thanks :)
TagsNo tags attached.
Git Revision or version number
Run Mode Grid (Multiple Regions per Sim)
Physics EngineBulletSim
Script Engine
EnvironmentMono / Linux64
Mono Version3.6
Viewer
Attached Filesgif file icon SigSegv1.gif [^] (23,814 bytes) 2014-10-06 17:00


gif file icon SigSegv2.gif [^] (23,484 bytes) 2014-10-06 17:00

- Relationships

-  Notes
(0026883)
AliciaRaven (manager)
2014-10-06 17:09

Just found some data inside a log from 24th September. I guess thats 3 times it happened then not 2. I only included the top part of the exceptions as the socket exception is repeated about 15 times then the sim crashed.

2014-09-24 11:37:05,096 WARN - OpenSim.Region.ClientStack.LindenUDP.LLUDPServer [LLUDPSERVER]: No packets received from root agent of Clyde Pepper for 60000ms in Honeywood. Disconnecting.
2014-09-24 11:38:24,529 ERROR - OpenSim.Framework.Servers.HttpServer.BaseHttpServer [BASE HTTP SERVER]: Handler not found for http request POST /CAPS/EQG/d13ce8b0-0cbd-4def-8f90-162f6d6b576d/
2014-09-24 17:12:02,463 ERROR - OpenSim.Framework.Servers.HttpServer.BaseHttpServer [BASE HTTP SERVER]: HttpServer.HttpListener had an exception: Invalid arguments
System.Net.Sockets.SocketException: Invalid arguments
  at System.Net.Sockets.Socket.Accept () [0x00000] in <filename unknown>:0
  at System.Net.Sockets.Socket+Worker.Accept () [0x00000] in <filename unknown>:0
(0026886)
justincc (administrator)
2014-10-08 14:54

Odd, this isn't something I've seen myself with Mono 3.2.8. It might be Mono related or some bad interaction with Mono and the HttpServer. It shouldn't really be possible for C# code to cause a SIGSEGV.
(0026889)
AliciaRaven (manager)
2014-10-08 18:39

Ok thanks for the info. I will keep an eye out and see if I can get any more information on this.
(0027467)
cinderblocks (reporter)
2015-02-07 15:50

I'm having this problem happen several times a day on one region. Running master on CentOS 7 Mono 3.12.0
(0028658)
JeffKelley (reporter)
2015-06-12 04:44
edited on: 2015-07-24 03:05

This is crashing one of my simulators:

2015-06-10 17:13:09,015 ERROR - OpenSim.Framework.Servers.HttpServer.BaseHttpServer [BASE HTTP SERVER]: HttpServer.HttpListener had an exception: Invalid arguments
System.Net.Sockets.SocketException: Invalid arguments
  at System.Net.Sockets.Socket.Accept () [0x00000] in <filename unknown>:0
  at System.Net.Sockets.Socket+Worker.Accept () [0x00000] in <filename unknown>:0

Repeated 24 times then crash.

CentOS, MONO 3.2.5, opensim Dev 8de65a8

Other 5 simulators run fine.
_____________

July, 24 2015 - Flagging this comment as IRRELEVANT since my issue is gone.

For the record, here is how :

I upgraded MONO from 3.2.5 to 3.12.1. My grid beacame instable, so I downgraded to 3.2.5. I had random SIGSEV (about one a day) in BaseHttpServer as reported in this MANTIS.

I proceeded to an in-depth MONO purge, running the 3.2.5 uninstall script from the tarball (this is CentOS, there is no package), then the 3.12.1 uninstaller, then the 3.2.5 again, then removing some more files manually.

Finally, I reinstalled MONO 3.2.5 on what I think was a MONO-virgin system.

6 simulators are now running for 28 days along, which, by my definition, is "stable". Conclusion : conflictig MONO libs.


Linux 2.6.32-504.8.1.el6.x86_64
opensim Dev (8de65a8)
MONO 3.2.5

(0028864)
pcerioli (reporter)
2015-07-03 17:19

It happened to me to. It threw a bunch of errors and then the region crashed.
The grid is not open to the public, so the presence of avatars shouldn't affect it.

I am running on:
Mono 3.10.0
Ubuntu 14.04.2 LTS
Opensim 0.8.1 (with BulletSim).

Errors here:
2015-06-26 23:13:19,982 ERROR - OpenSim.Framework.Servers.HttpServer.BaseHttpServer [BASE HTTP SERVER]: HttpServer.HttpListener had an exception: Invalid arguments
System.Net.Sockets.SocketException: Invalid arguments
  at System.Net.Sockets.Socket.Accept () [0x00000] in <filename unknown>:0
  at System.Net.Sockets.Socket+Worker.Accept () [0x00000] in <filename unknown>:0
2015-06-26 23:13:19,983 ERROR - OpenSim.Framework.Servers.HttpServer.BaseHttpServer [BASE HTTP SERVER]: HttpServer.HttpListener had an exception: Invalid arguments
System.Net.Sockets.SocketException: Invalid arguments
  at System.Net.Sockets.Socket.Accept () [0x00000] in <filename unknown>:0
  at System.Net.Sockets.Socket+Worker.Accept () [0x00000] in <filename unknown>:0
2015-06-26 23:13:19,983 ERROR - OpenSim.Framework.Servers.HttpServer.BaseHttpServer [BASE HTTP SERVER]: HttpServer.HttpListener had an exception: Invalid arguments
System.Net.Sockets.SocketException: Invalid arguments
  at System.Net.Sockets.Socket.Accept () [0x00000] in <filename unknown>:0
  at System.Net.Sockets.Socket+Worker.Accept () [0x00000] in <filename unknown>:0
2015-06-26 23:13:19,984 ERROR - OpenSim.Framework.Servers.HttpServer.BaseHttpServer [BASE HTTP SERVER]: HttpServer.HttpListener had an exception: Invalid arguments
System.Net.Sockets.SocketException: Invalid arguments
  at System.Net.Sockets.Socket.Accept () [0x00000] in <filename unknown>:0
  at System.Net.Sockets.Socket+Worker.Accept () [0x00000] in <filename unknown>:0
2015-06-26 23:13:19,984 ERROR - OpenSim.Framework.Servers.HttpServer.BaseHttpServer [BASE HTTP SERVER]: HttpServer.HttpListener had an exception: Invalid arguments
System.Net.Sockets.SocketException: Invalid arguments
  at System.Net.Sockets.Socket.Accept () [0x00000] in <filename unknown>:0
  at System.Net.Sockets.Socket+Worker.Accept () [0x00000] in <filename unknown>:0
2015-06-26 23:13:19,983 ERROR - OpenSim.Framework.Servers.HttpServer.BaseHttpServer [BASE HTTP SERVER]: HttpServer.HttpListener had an exception: Invalid arguments
System.Net.Sockets.SocketException: Invalid arguments
  at System.Net.Sockets.Socket.Accept () [0x00000] in <filename unknown>:0
  at System.Net.Sockets.Socket+Worker.Accept () [0x00000] in <filename unknown>:0
2015-06-26 23:13:19,983 ERROR - OpenSim.Framework.Servers.HttpServer.BaseHttpServer [BASE HTTP SERVER]: HttpServer.HttpListener had an exception: Invalid arguments
System.Net.Sockets.SocketException: Invalid arguments
  at System.Net.Sockets.Socket.Accept () [0x00000] in <filename unknown>:0
  at System.Net.Sockets.Socket+Worker.Accept () [0x00000] in <filename unknown>:0
2015-06-26 23:13:19,986 ERROR - OpenSim.Framework.Servers.HttpServer.BaseHttpServer [BASE HTTP SERVER]: HttpServer.HttpListener had an exception: Invalid arguments
System.Net.Sockets.SocketException: Invalid arguments
  at System.Net.Sockets.Socket.Accept () [0x00000] in <filename unknown>:0
  at System.Net.Sockets.Socket+Worker.Accept () [0x00000] in <filename unknown>:0
2015-06-26 23:13:19,987 ERROR - OpenSim.Framework.Servers.HttpServer.BaseHttpServer [BASE HTTP SERVER]: HttpServer.HttpListener had an exception: Invalid arguments
System.Net.Sockets.SocketException: Invalid arguments
  at System.Net.Sockets.Socket.Accept () [0x00000] in <filename unknown>:0
  at System.Net.Sockets.Socket+Worker.Accept () [0x00000] in <filename unknown>:0
2015-06-26 23:13:19,990 ERROR - OpenSim.Framework.Servers.HttpServer.BaseHttpServer [BASE HTTP SERVER]: HttpServer.HttpListener had an exception: Invalid arguments
System.Net.Sockets.SocketException: Invalid arguments
(0028878)
Bruce (reporter)
2015-07-07 10:33
edited on: 2015-07-07 10:36

Not sure this is related to this mantis:

[BASE HTTP SERVER]: HttpServer.HttpListener had an exception: An existing connection was forcibly closed by the remote host System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.Socket.EndAccept(Byte[]& buffer, Int32& bytesTransferred, IAsyncResult asyncResult)
   at System.Net.Sockets.Socket.EndAccept(IAsyncResult asyncResult)
   at System.Net.Sockets.TcpListener.EndAcceptSocket(IAsyncResult asyncResult)
   at HttpServer.HttpListenerBase.OnAccept(IAsyncResult ar)

(r26096 - win64 .net - singularity alpha)


- Issue History
Date Modified Username Field Change
2014-10-06 17:00 AliciaRaven New Issue
2014-10-06 17:00 AliciaRaven File Added: SigSegv1.gif
2014-10-06 17:00 AliciaRaven File Added: SigSegv2.gif
2014-10-06 17:09 AliciaRaven Note Added: 0026883
2014-10-08 14:54 justincc Note Added: 0026886
2014-10-08 18:39 AliciaRaven Note Added: 0026889
2015-02-07 15:50 cinderblocks Note Added: 0027467
2015-06-12 04:44 JeffKelley Note Added: 0028658
2015-06-12 04:44 JeffKelley Status new => confirmed
2015-07-03 17:19 pcerioli Note Added: 0028864
2015-07-07 10:33 Bruce Note Added: 0028878
2015-07-07 10:36 Bruce Note Edited: 0028878 View Revisions
2015-07-24 03:05 JeffKelley Note Edited: 0028658 View Revisions


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker