Log situations where workitem event threads are aborted on stop request because they failed to complete event processing within the given timeout.
This is for bug hunting purposes where thread aborts may be causing dangling lock issues and subsequent vm crashes on mono (with ReaderWriterLockSlim, etc.)0.7.5-pf-bulletsim
parent
047270bdc8
commit
512e4c9313
|
@ -550,9 +550,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
|
||||||
// forcibly abort the work item (this aborts the underlying thread).
|
// forcibly abort the work item (this aborts the underlying thread).
|
||||||
if (!m_InSelfDelete)
|
if (!m_InSelfDelete)
|
||||||
{
|
{
|
||||||
// m_log.ErrorFormat(
|
m_log.DebugFormat(
|
||||||
// "[SCRIPT INSTANCE]: Aborting script {0} {1} in prim {2} {3} {4} {5}",
|
"[SCRIPT INSTANCE]: Aborting unstopped script {0} {1} in prim {2}, localID {3}, timeout was {4} ms",
|
||||||
// ScriptName, ItemID, PrimName, ObjectID, m_InSelfDelete, DateTime.Now.Ticks);
|
ScriptName, ItemID, PrimName, LocalID, timeout);
|
||||||
|
|
||||||
workItem.Abort();
|
workItem.Abort();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue