This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.
Error Message
Capture trace already enabled.
Description
The trace capture has been enabled for the process.
Possible Causes
The trace capture is in progress.
Solution
Wait for the trace capture to finish, or call the hidebug.stopAppTraceCapture API to stop the running trace capture, to resolve the duplicate capture issue.
Error Message
No write permission on the file.
Description
You do not have the permission to write the trace file in the current directory.
Possible Causes
The directory does not exist or is deleted by mistake.
Solution
Run the capture API again to regenerate the correct directory file, to resolve the permission verification failure issue.
Error Message
Abnormal trace status.
The error message may vary depending on the API.
Description
The current trace capture encounters an internal error.
Possible Causes
The system kernel crashes or the application process does not respond.
Solution
Restart the application or device to resolve the issue of an abnormal internal state of trace capture.
Error Message
No capture trace running.
Description
No trace capture is in progress.
Possible Causes
Trace capture is not enabled.
Solution
Ensure that trace capture has been successfully started before calling the API to stop trace capture.
Error Message
Quota exceeded.
Description
The API call quota is exceeded.
Possible Causes
The API is called by a process more than the quota (once per day).
The API is called by the device more than the quota (five times per week).
Solution
Wait for the call quota of the process or device to be refreshed, to resolve the issue that the API call quota has been exceeded.
Error Message
Trace storage limit reached.
Description
The number of .sys files returned by the trace collection in the directory exceeds the upper limit.
Possible Causes
The number of .sys files returned by the trace collection in the directory is greater than or equal to 3.
Solution
Clean up the files in the trace directory to resolve the issue that the trace file storage limit has been reached.
Error Message
Resource unavailable.
Description
The number of times the application calls trace collection exceeds the system resource quota.
Possible Causes
The number of times the application calls trace collection exceeds the daily quota of system resources.
Solution
Wait for the system resource quota to be refreshed on the next day, to resolve the issue that trace capture exceeds the resource quota.