[Opensim-users] async_call_method Exception thrown when attempting to load an IAR; OS 0.7.2 Dev (r/16668)

Justin Clark-Casey jjustincc at googlemail.com
Thu Sep 8 19:01:23 UTC 2011


It would be helpful if you could file a mantis for this with all the details.  It might be causing some kind of issue 
and should be fixed anyway.  However, since it's probably been around for quite a while without causing extremely 
serious problems, it probably won't receive attention for a while.

On 08/09/11 02:02, Chris wrote:
> Ahh I see... There was no other log info (at least no other unusual info) before the exception occurs unfortunately.
> Just the standard IAR loading procedural stuff then the exception(s) immediately after it is done.
>
> Is it anything I should be concerned with as far as possible data corruption or IAR assets/inventory objects not being
> loaded fully or anything?
>
> Thanks =)
>
> On 9/7/2011 4:52 PM, Justin Clark-Casey wrote:
>> An async_call_method thread is sometimes running through an enumeration while another thread changes the collection,
>> which results in this error. It's some kind of race condition since this doesn't occur consistently.
>>
>> This is a different problem from that seen in Mantis 5669.
>>
>> It's very unfortunate that there's no other log information here (I'm assuming that you're not missing anything out),
>> since there's no indication as to where in the code this is occurring. Finding it might mean a forensic analysis of
>> the code called by IAR loading, and even then it could be triggered by other processes occurring in parallel.
>>
>> The changes are this has been occurring some time and has only recently been revealed by logging exceptions that come
>> to the top of async_call_method threads. We may have to comment this logging out temporarily for the release.
>>
>> On 07/09/11 12:12, Chris wrote:
>>> Hi all. On latest master (r/16668) I've been getting some weird exceptions after attempting to load
>>> an IAR. Some times I'll get multiple errors, sometimes only a few or one, or sometimes the exception
>>> is not thrown. Doesn't seem to matter which avatar I attempt to load to or how big the IAR is. What
>>> could be causing this?
>>>
>>> Thanks :)
>>>
>>> Error:
>>>
>>> 06:07:25 - [UTIL]: Continuing after async_call_method thread terminated with exc
>>> eption Collection was modified; enumeration operation may not execute. at Syst
>>> em.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
>>> 06:07:25 - [UTIL]: Continuing after async_call_method thread terminated with exc
>>> eption Collection was modified; enumeration operation may not execute. at Syst
>>> em.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
>>> 06:07:25 - [UTIL]: Continuing after async_call_method thread terminated with exc
>>> eption Collection was modified; enumeration operation may not execute. at Syst
>>> em.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
>>> 06:07:25 - [UTIL]: Continuing after async_call_method thread terminated with exc
>>> eption Collection was modified; enumeration operation may not execute. at Syst
>>> em.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
>>> 06:07:25 - [UTIL]: Continuing after async_call_method thread terminated with exc
>>> eption Collection was modified; enumeration operation may not execute. at Syst
>>> em.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
>>> 06:07:25 - [UTIL]: Continuing after async_call_method thread terminated with exc
>>> eption Collection was modified; enumeration operation may not execute. at Syst
>>> em.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
>>> 06:07:25 - [UTIL]: Continuing after async_call_method thread terminated with exc
>>> eption Collection was modified; enumeration operation may not execute. at Syst
>>> em.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
>>>
>>
>>
>
>


-- 
Justin Clark-Casey (justincc)
http://justincc.org/blog
http://twitter.com/justincc



More information about the Opensim-users mailing list