Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008269opensim[REGION] OpenSim Corepublic2017-11-22 12:352017-11-23 00:53
Reporterssm2017 
Assigned Tossm2017 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionnot fixable 
PlatformOSOS Version
Product Versionmaster (dev code) 
Target VersionFixed in Version 
Summary0008269: SIGQUIT is not interpreted by "mono OpenSim.exe"
Descriptionhello
using mono 5.2.0.215 or mono 4.6.2.16

when sending a SIGQUIT to the "mono OpenSim.exe" process, the console is displaying a lot an errors like :

Full thread dump :

"GetTextureWorker1"
"STP:PoolService:0" at <unknown> <0xffffffff>
...
"STP:Util:1"
"<unnamed thread>" at <unknown> <0xffffffff>
...
"GetMeshWorker1"
"PollServiceWatcherThread:10100" at <unknown> <0xffffffff>
...
"Timer-Scheduler" at <unknown> <0xffffffff>
...
etc....

but the simulator is still functionning
Steps To Reproduceget the simulator pid like using :

[Startup]
PIDFile = "myfile.pid"

and then use (if the process has the pid 1234):
kill -3 1234

and watch the console (the sim is not stopped and is filled with errors)
TagsNo tags attached.
Git Revision or version number
Run ModeStandalone (1 Region)
Physics EngineBulletSim
EnvironmentMono / Linux64
Mono VersionOther
Viewer
Attached Files

- Relationships
related to 0008090resolvedmelanie UnixSignals setup should be more graceful 

-  Notes
(0032459)
ssm2017 (reporter)
2017-11-22 12:44

after beeing informed by JeffKelley, the wiki is saying this :
http://opensimulator.org/wiki/Debugging#Thread_Dumps [^]

wouldn't it be better for OpenSim.exe to begin the "shutdown" process instead of returning a dump when receiving a SIGQUIT ?
(0032460)
ssm2017 (reporter)
2017-11-22 14:47

i can see in the code that SIGTERM should be interpreted.
depending on versions of mono it is either kill the process either do nothing.
i will try to investigate mono versions about that on tomorrow
(0032461)
ssm2017 (reporter)
2017-11-23 00:53

ok, it looks like a "mono" issue.
when sending a SIGTERM, the console suddenly stops without triggering the "shutdown" and displays "Terminated". (depending on OpenSimulator version and mono version...).
closing this issue

- Issue History
Date Modified Username Field Change
2017-11-22 12:35 ssm2017 New Issue
2017-11-22 12:44 ssm2017 Note Added: 0032459
2017-11-22 14:47 ssm2017 Note Added: 0032460
2017-11-23 00:51 ssm2017 Relationship added related to 0008090
2017-11-23 00:53 ssm2017 Note Added: 0032461
2017-11-23 00:53 ssm2017 Status new => resolved
2017-11-23 00:53 ssm2017 Resolution open => not fixable
2017-11-23 00:53 ssm2017 Assigned To => ssm2017


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker