Suggestions for Destroying Allocations When a Process Is Abnormal

Symptom

The execution still fails after you captured an abnormal exit signal and released the applied resources in the signal processing function. The error message shown in Figure 1 is displayed in the log.

Figure 1 Unbinding model stream failed

Possible Cause

When a process is abnormal, the kernel-mode driver on the host automatically detects and initiates the allocation destruction procedure on the device. Therefore, you do not need to capture the abnormal process signal or destroy allocations proactively. Otherwise, the allocation destruction procedure is affected.

Solution

You can ignore the abnormal exit signal of the process.