jacob-project
jacob-project copied to clipboard
Program execution hangs in the Java_com_jacob_com_EnumVariant_release()
We use Jacob in the multi-threaded mode. In the case when the network connection is unstable (hence, data loss can occur), we have the following problem:
During operation, the program execution occasionally hangs in the Java_com_jacob_com_EnumVariant_release(), line: ULONG refs = self->Release(). This "hung" state is always preceded by the occurrence of a ThrowComFail in the Java_com_jacob_com_EnumVariant_Next() method.
To emulate a bad network connection, we used https://jagt.github.io/clumsy/. Filters: inbound and (ip.DstAddr == wmi_ip or ip.SrcAddr == wmi_ip), Throttle, Inbound, 10%; Tamper, Inbound, 10%
Please help us to understand the reasons behind this behavior. Many thank in advance!