Page tree
Skip to end of metadata
Go to start of metadata
Purpose (problem description)

This page is designed to assist with troubleshooting errors while running an analysis on C/CPP/C++ code which results in a crash or hang during the analysis step.

Please see the following documentation pages for reference on the analysis configuration:

Please refer to the following page that provides the description of the generated analysis log file while running the CPP (C++ analyzer): CMS Snapshot Analysis - Run CPP Analyzer - C and CPP - Error Free Logs - CAST AIP 8

Observed in CAST AIP


8.2.x (tick)
Observed on RDBMS
Oracle Server (tick)
Microsoft SQL Server (tick)
CSS (tick)

Step by Step scenario

  • Deliver C/CPP/C++ Code via the DMT process.
  • Run the analysis of the code.
  • Analysis of C/CPP/C++ application hangs or crashes.
Action Plan

Perform the following actions:

  1. If there are massive error and warning messages in the analysis log file, you must resolve them.
  2.  If the crash occurs after remediating the warnings and errors in the analysis logs:
      1. Get the latest preprocessed file. It is located in %TEMP%\CAST\CAST\<version>\CAnalyzer2\PreprocessedFile.cpp.
      2. Reproduce the issue with the pre-processed file by creating a user defined C/CPP analysis unit and providing the path of this pre-processed file and running it.
        1. If the issue is reproduced, provide CAST Technical Support with only this file in order to reproduce the issue and to investigate
        2. If the issue cannot be reproduced, then provide CAST Technical Support the below Relevant Input in order to reproduce the issue and to investigate.


Relevant input

 Provide the following for investigation of this issue:

  •  CAST Support Tool (CST) - alias Sherlock. The option to select are : Export Database (Management base and Knowledge base), Export Configuration File, Export Logs, Export Source code.
  • Screenshots of the error
Impact on Analysis Results

Impact of issue: Analysis crashes with error messages in the analysis log
Impact after applying solution: Analysis runs fine.


Related Pages

  • No labels