jacob-project icon indicating copy to clipboard operation
jacob-project copied to clipboard

Program execution hangs in the Java_com_jacob_com_EnumVariant_release()

Open sshatalkin opened this issue 3 years ago • 0 comments

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!

sshatalkin avatar Mar 01 '21 11:03 sshatalkin