How to resolve application hangs/freezes, "access violation", and "APPCRASH" event log errors in Portrait Dialogue


 

Issue

Many errors appear having to do with Threads.  

Dialogue occasionally freezes up.

Seen in the event log at the time of the freeze:
ISAPI 'C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll' reported itself as unhealthy for the following reason: 'Deadlock detected'.

Cause

The cause seems to be that these types of errors are seen in the Application Event log:
 
1 ----------------------------------------------------------------------------------------------------------------------------
Application: dllhost.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code c0000005, exception address 0BE93BC9
2 ----------------------------------------------------------------------------------------------------------------------------
MSDTC encountered an error (HR=0x80000171) while attempting to establish a secure connection with system <SERVERNAME>.
3 ----------------------------------------------------------------------------------------------------------------------------
Fault bucket , type 0
Event Name: APPCRASH
Response: Not available
Cab Id: 0
 
Problem signature:
P1: dllhost.exe
P2: 6.1.7600.16385
P3: 4a5bc6b7
P4: MHDIAL~1.DLL
P5: 6.0.1.283
P6: 52a86157
P7: c0000005
P8: 00003bc9
P9:
P10:
 
Attached files:
 
These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_dllhost.exe_55c948db5a6aa965200c82ca5a687f51eedbe45_0e3c23b5
 
Analysis symbol:
Rechecking for solution: 0
Report Id: 4a788d34-1551-11e4-bcd6-005056964221
Report Status: 4
4 ----------------------------------------------------------------------------------------------------------------------------
Faulting application name: dllhost.exe, version: 6.1.7600.16385, time stamp: 0x4a5bc6b7
Faulting module name: MHDIAL~1.DLL, version: 6.0.1.283, time stamp: 0x52a86157
Exception code: 0xc0000005
Fault offset: 0x00003bc9
Faulting process id: 0xaa4
Faulting application start time: 0x01cfa774f816dd64
Faulting application path: C:\WINDOWS\SysWOW64\dllhost.exe
Faulting module path: C:\PROGRA~2\PST\MILLIO~1\DIALOG~1\MHDIAL~1.DLL
Report Id: 4a788d34-1551-11e4-bcd6-005056964221
------------------------------------------------------------------------------------------------------------------------------

Resolution

UPDATED: April 28, 2017

A hotfix is available on the support FTP site for all servers for all customers using PD 6.0 SP1 (6.0.1.286).
 
Please contact support if you think you need this patch.
 
==================================README.TXT==================================
HOTFIX TFS-32882 - Build 6.0.1.286
 
Bug fixes
---------
This hotfix includes one bug fix
 
TFS-32882: Sporadic access violation in server XML routines after upgrading to PD 6.0 and 6.0 SP1
 
 
Installation instructions
-------------------------
This hotfix applies to environments running PD 6.0 SP1 only.
 
Note: If you want to have a backup of the current files, please do not rename the files but make copies of them instead.
  
1)  Disable and shut down the MH Dialog Server COM+ Application.
  
2)  Replace the files
 
* MHDialogServer.dll 
* MHDialogServer.dll.resmap
 
in the <Million Handshakes>\Dialog Server\ folder with the files found in the Dialog Server hotfix folder.
  
3)  Enable the the MH Dialog Server COM+ Application.
 
 
Configuration
-------------
No further configuration is required.
==================================README.TXT==================================