[CDRIVER-2319] Crash in sasl_client_new Created: 09/Oct/17 Updated: 28/Oct/23 Resolved: 02/Nov/17 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | auth, tests |
| Affects Version/s: | 1.9.0 |
| Fix Version/s: | 1.9.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | A. Jesse Jiryu Davis | Assignee: | A. Jesse Jiryu Davis |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
The GSSAPI test has started failing. The first failure is here: https://evergreen.mongodb.com/version/mongo_c_driver_f4e0214e8b52759527bbb3d97dc63a722a720e0a Seems caused by that commit, indeed: that commit altered the code path that mongoc-ping.c uses to run a command, and the test uses mongoc-ping.c to test GSSAPI auth. I'm commenting-out the test in run-auth-tests.sh, uncomment it once this is fixed. It only crashes on Linux when SASL is enabled, and both SSL and automatic cleanup are disabled. The configure line is like:
|
| Comments |
| Comment by A. Jesse Jiryu Davis [ 02/Nov/17 ] |
|
It's related to the SASL global logging callback. This has been very difficult to diagnose and we haven't really determined the cause of the crash. Since this logging is only useful if MONGOC_ENABLE_TRACING is defined at compile time, and that is a developer feature, it's easiest to just not register a logging callback at all. |
| Comment by Githook User [ 02/Nov/17 ] |
|
Author: {'name': 'A. Jesse Jiryu Davis', 'username': 'ajdavis', 'email': 'jesse@mongodb.com'}Message: Revert " This reverts commit db0129bfe0243cd7671d0a5b3682982d646049e1. |
| Comment by Githook User [ 02/Nov/17 ] |
|
Author: {'name': 'A. Jesse Jiryu Davis', 'username': 'ajdavis', 'email': 'jesse@mongodb.com'}Message: This was only effective if tracing was enabled at compile time, and it |
| Comment by Githook User [ 09/Oct/17 ] |
|
Author: {'email': 'jesse@mongodb.com', 'name': 'A. Jesse Jiryu Davis', 'username': 'ajdavis'}Message: |