DeepCloner
DeepCloner copied to clipboard
the program crashed when i deepclone opencvsahrp Mat
the program crashed when i deepclone opencvsahrp Mat for several times
I'm having an issue that my production website crashes, and I use this lib, and many times the Depcloner.dll is locked on the server and needs to reboot, any thoughts on this?
Could you provide short example? May be you try to clone big object? Deep clone tries to clone all dependency graph (therefore it is deep). So, if you try to clone object with relation to big graph - it can cause lot of objects to clone. Another issue can be when you try to clone object which uses native resources (IntPtr handles and so on). Due unpredictable behavior when this classes are cloned - it can cause crashes. Library has some heuristics to avoid this, but sometimes it impossible to make correct decision.
I can't reproduce it, only in production that I have problems and the server stops. My only idea comes from the fact that DeepCloner.dll gets locked all the time, and I need to restart the server to unlock, iis reset only doesn't work.