Unhandled Exception in Rhino API

Hello everyone,

I keep getting an unhandled exception that happens occasionally in my code.

I am calling the FindByUserString function of the ObjectTable class. API Link

The exception happens in the unsafe part of the code and is an access violation exception - Attempt to read or write protected memory.

This is a screenshot of the debugger.

I strongly believe this is a bug in the API. How can I report it?

Thank you,

The RhinoDoc class is not thread safe. I wouldn’t recommend calling functions on it from tasks.

If you have a way to repeat this crash, please send us a code example and we’ll see what we can do to fix it.

Gotcha. A lock statement seems to have solved the issue.