我要评分
获取效率
正确性
完整性
易理解

Cannot Find the core File During the Running of HAF

Symptom

An exception occurs when the HAF framework is running. As a result, the process exits and the corresponding core dump file is not found.

Key Process and Cause Analysis

The system does not generate the core dump file into the expected path because the output path of the core dump file is not correctly configured.

Conclusion and Solution

Core dump files are generated by the system. The HAF framework does not have the permission to change the core dump path. Therefore, you need to check the system configuration.

Check the system configuration file to determine the location where the core dump file is generated.

1
cat /proc/sys/kernel/core_pattern

Determine the generation rule and path of core dump files based on the command output.