.NET driver fails to start mongocryptd on Windows, on latest build with:
{"t":{"$date":"2025-06-12T02:00:13.775+01:00"},"s":"D1", "c":"ASSERT", "id":23074, "ctx":"thread1","msg":"User assertion","attr":{"error":"FileNotOpen: Failed probe for \"C:\\data\\mci\\683b\\mongo-csharp-driver\\tests\\MongoDB.Driver.Tests\\bin\\Release\\net6.0\\NUL\": Incorrect function","location":"src/mongo/db/initialize_server_global_state.cpp:322:1:checkAndMoveLogFile"}}
First observed failing build: 8.2.0-alpha-1295-g831ccff
Last observed working build: 8.2.0-alpha-1139-g3baedc5
Works on versions 4 to 8.
Failure with NUL log:
--logpath NUL --logappend
Success with a log file:
--logpath 1.txt --logappend
- is related to
-
SERVER-46543 Incomplete support for logging to NUL on Windows
-
- Backlog
-
-
SERVER-70000 Upgrade boost from blackduck warning
-
- Closed
-
-
DRIVERS-934 Drivers should ensure mongocryptd stdout/err is redirected to /dev/null
-
- Closed
-
- related to
-
DRIVERS-3287 Validate whether mongocryptd starts on Windows
-
- Closed
-
-
CSHARP-5642 Temporary disable mongocryptd tests on latest, windows
-
- Closed
-