Hi,
Using refcount example with options '-threads' and python worker give me errors randomly in setitem when assigning to a map or vector,
telling me that the object I try to assign as wrong type.
So,maybe SWIG_ConvertPtr (when used with implicitconv flag) is not thread safe as it randomly return than the object as a wrong type.
Thanks
Note: a fix in patch 3571189 is under discussion.
Patch URL now https://sourceforge.net/p/swig/patches/328/