XenApp/XenDesktop 7.15.2000: Intermittent Error "wfshell shell has stopped working" While Launching ICA Sessions

XenApp/XenDesktop 7.15.2000: Intermittent Error "wfshell shell has stopped working" While Launching ICA Sessions

book

Article ID: CTX238678

calendar_today

Updated On:

Description

  • Intermittently error "wfshell shell has stopped working" is seen while launching ICA sessions.
  • wfshell.exe crashes on the VDA's with the below error:
Log Name:      Application
Source:        Application Error
Date:          8/16/2018 1:10:55 PM
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      xxxxxx
Description:
Faulting application name: wfshell.exe, version: 7.15.2000.108, time stamp: 0x5ac79cc9
Faulting module name: CtxUiMon.dll, version: 7.15.2000.108, time stamp: 0x5ac79e33
Exception code: 0xc0000094
Fault offset: 0x00005cfa
Faulting process id: 0x3fb4
Faulting application start time: 0x01d43560bd9c0634
Faulting application path: C:\Program Files (x86)\Citrix\System32\wfshell.exe
Faulting module path: C:\Program Files (x86)\Citrix\System32\CtxUiMon.dll

 

Environment

Citrix is not responsible for and does not endorse or accept any responsibility for the contents or your use of these third party Web sites. Citrix is providing these links to you only as a convenience, and the inclusion of any link does not imply endorsement by Citrix of the linked Web site. It is your responsibility to take precautions to ensure that whatever Web site you use is free of viruses or other harmful items.

Resolution

Engage Citrix support to get Private LD0373 for CtxUiMon.dll for 7.15 LTSR CU2 VDA's.

The public fix for this issue will be released in future Cumulative updates.

Problem Cause

From the crash dump analysis of wfshell.exe  it is found that the crash was due to Integer divide-by-zero exception.
ExceptionCode: c0000094 (Integer divide-by-zero) 
ExceptionFlags: 00000000 
NumberParameters: 0
This was an issue in the product, as the code was using length variable which can be zero for dividing value.

In order to confirm, if you are hitting the same issue or not, engage Citrix Support to get the process crash dump of wfshell.exe analyzed.

 

Issue/Introduction

XenApp/XenDesktop 7.15.2000: Intermittent Error "wfshell shell has stopped working" While Launching ICA Sessions

Additional Information

You can use WER (WIndows Error Reporting) or Procdump tool to collect application crash dumps:

https://docs.microsoft.com/en-us/windows/desktop/wer/collecting-user-mode-dumps

https://docs.microsoft.com/en-us/sysinternals/downloads/procdump