Program Exiting Time Error or TBE Error

Symptom

After the retrieval process is complete, an error message is displayed, indicating that a segmentation fault or TBE error occurs when the program exits.

Possible Cause

Another component in the user's service process uses ACL resources and calls aclFinalize to destroy the resources. As a result, ACL resources are repeatedly destroyed.

Solution

Set the environment variable MX_INDEX_FINALIZE to 0, so that Index SDK does not call aclFinalize. If it is set to 1, aclFinalize is still called. Other values are invalid.

Ensure that aclFinalize is called once to release resources when the process exits. Otherwise, an error may occur when the process exits.