Intel® Advisor User Guide

ID 766448
Date 11/07/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Unhandled Application Exception

Occurs when an unhandled exception is detected that causes the application program to crash.

Problem type: Dangling lock

ID

Code Location

Description

1

Exception

Represents the instruction that threw the exception.

Example

void problem1(int *y)
{
    *y = 5;
}

void problem2()
{
    int x = new int;
}

In these (simplified) example functions, two exceptions are possible:

  • Variable y may not reference a valid memory location and therefore the write may cause an exception to be thrown. If that exception is not properly handled, the Dependencies Report will show an Unhandled application exception pointing to the write of y.

  • If the process is out of memory, the allocation will throw an exception. If the exception is not handled, the Dependencies Report will show an Unhandled application exception associated with the allocation.

Because of the abnormal process termination (crash), the Dependencies tool may also report a Missing end task and Missing end site problem.

Possible Correction Strategies

This problem usually exposes an existing bug in your application that appears when the application is run with the Dependencies tool.