Suggestions for Destroying Allocations When a Process Is Abnormal
Symptom
The user captures an abnormal exit signal, and destroys allocations in the signal handling function. However, re-execution of the function fails. The error message shown in Figure 2-8 is displayed in the log.
Possible Cause
When a process is abnormal, the kernel-mode driver on the host side automatically detects and initiates the allocation destruction procedure on the device side. Therefore, users do not need to capture the abnormal process signal or destroy allocations proactively. Otherwise, the allocation destruction procedure is affected.
Solution
Users do not need to pay attention to the abnormal exit signal of the process.