[MONGOCRYPT-576] Include the reason crypt_shared failed to load in error message Created: 01/May/23 Updated: 28/Oct/23 Resolved: 08/May/23 |
|
| Status: | Closed |
| Project: | Libmongocrypt |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.8.0 |
| Type: | Improvement | Priority: | Unknown |
| Reporter: | Kevin Albertson | Assignee: | Kevin Albertson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
ProposalInclude the error from mcr_dll_open when crypt_shared fails to load and an override path is set. Include the error from mcr_dll_open to this error. Background & MotivationMotivated by a discussion with kenneth.white@mongodb.com. A common mistake is using crypt_shared library built for the wrong architecture. The error returned by the driver does not indicate the cause of the error. Example:
libmongocrypt logs the error from mcr_dll_open:
Not all drivers surface libmongocrypt logs. See Do drivers expose libmongocrypt logs?. |
| Comments |
| Comment by Githook User [ 09/May/23 ] |
|
Author: {'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}Message:
|
| Comment by Githook User [ 07/May/23 ] |
|
Author: {'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}Message:
|
| Comment by Cloud GitHub Webhooks [ 07/May/23 ] |
|
kevinAlbs merged a pull request (MONGOCRYPT-576 Include the error from `mcr_dll_open` in hard error) into the following branch: |