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.
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.
You can ignore the abnormal exit signal of the process.