CMS Snapshot Analysis - Run Analyzer - Performance issue - DOTNet - Analysis getting stuck at serialization step

Purpose (problem description)

.Net Analysis getting stuck at serialization step and analysis is not proceeding further

Observed in CAST AIP

ReleaseYes/No
8.3.x
8.2.x
8.1.x
8.0.x
7.3.x
7.2.x
7.0.x

Observed on RDBMS

RDBMSYes/No
Oracle Server
Microsoft SQL Server
CSS3
CSS2
CSS1

Step by Step scenario

Run analysis of .Net Job

Action Plan

  1. Identify the file due to which analysis is getting stuck

    1. Execute the following steps to generate traces. Use the attached (cast-25825_patch_traces.7z) trace dll (patch) to help produce some traces.

      1. Backup the two dlls CSharpActionsImpl.dll and DotNetActionsImpl.dll located in CAST installation folder (e.g. C:\Program Files\CAST\CAST\7.0.5)
      2. Before applying the patch
        1. Unzip content of joined archive cast-25825_patch_traces.7z in CAST installation folder
        2. Make sure a folder C:\temp exists
      1. Run the analysis we are interested in
      2. Go to folder C:\temp you will find two files named csharp\_method\_trace.txt' and dotnet_applysubst_trace.txt'
      3. Zip those files and join the archive to call
      4. If it is no longer needed to generate traces then undo the change made to installation folder by restoring the dlls backed-up in the first step
    1. Execute the following steps to identify the faulty file which is creating the stuck/hang
      1. In the generated file csharp\_method\_trace.txt' and dotnet_applysubst_trace.txt'
      2. Observe the last line and note the file name with path which is actually the problematic file
  2. Remove the identified file from the analysis to avoid getting stuck/hang

    1. To workaround the issue remove the identified files from the analysis
    2. Run analysis again

Notes/Comments

This solution has been tested in CAST version 7.0.5

Related Pages