Why is Citrix ICA Client Receiver/Citrix Workspace App crashing during execution?
When running the workflow, in order to obtain the Window Name used in the selector, it is being executed the GetWindowText Win API call .
- On Citrix App launch, several windows are created from the wfica32.exe process.
- One of those windows crashes with with "0xC0000094: Integer division by zero".
Most likely, there is an un-initialized variable somewhere in the vdtwin.dll code.
This unhandled exception then causes the whole wfica32.exe to crash and the Citrix App fails to launch.
Normally this would execute as long as the Element Exist query times out. However this cannot happen due to the crash.
- Add a delay (10-15 seconds) before the “Wait for CitrixApp to load“ activity. This should provide enough time for wfica32.exe to initialize correctly. And as a fallback add the authentication in a retry scope if the CitrixApp it still fails.
- As the problem is generated due to incorrect behavior of a Citrix library, this needs to be reported to Citrix.