-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Security
-
None
-
ALL
-
Security 2019-12-02
Very similar to SERVER-35125.
Standalone Windows version:
2019-11-08T22:53:52.747+0000 I CONTROL [initandlisten] targetMinOS: Windows 7/Windows Server 2008 R2 2019-11-08T22:53:52.747+0000 I CONTROL [initandlisten] db version v4.3.0-2084-g6ef06c9 2019-11-08T22:53:52.747+0000 I CONTROL [initandlisten] git version: 6ef06c9093462bec22c2219c341b0219f1864cca
The server is crashing when the Python driver attempts to connect with this error:
2019-11-08T22:53:54.585+0000 I NETWORK [listener] connection accepted from 127.0.0.1:49242 #2 (1 connection now open) 2019-11-08T22:53:54.665+0000 F CONTROL [conn2] *** unhandled exception (access violation) at 0x0000000000000000, terminating 2019-11-08T22:53:54.665+0000 F CONTROL [conn2] *** access violation was a DEP violation at 0x0 2019-11-08T22:53:54.665+0000 F CONTROL [conn2] *** stack trace for unhandled exception: 2019-11-08T22:53:54.836+0000 I - [conn2] ??? mongod.exe ...\src\mongo\util\net\ssl\detail\impl\schannel.ipp(334) asio::ssl::detail::SSLHandshakeManager::doServerHandshake+0x1b6 mongod.exe ...\src\mongo\util\net\ssl\detail\impl\schannel.ipp(100) asio::ssl::detail::SSLHandshakeManager::nextHandshake+0x18d mongod.exe ...\src\mongo\util\net\ssl\detail\impl\engine_schannel.ipp(103) asio::ssl::detail::engine::handshake+0x34 mongod.exe ...\src\mongo\util\net\ssl\detail\io.hpp(38) asio::ssl::detail::io<asio::basic_stream_socket<asio::generic::stream_protocol>,asio::ssl::detail::buffered_handshake_op<asio::mutable_buffers_1> >+0x63 mongod.exe ...\src\mongo\transport\session_asio.h(617) <lambda_3301ff84a878097d756749b8837dd279>::operator()+0xa6 mongod.exe ...\src\mongo\transport\session_asio.h(623) mongo::transport::TransportLayerASIO::ASIOSession::maybeHandshakeSSLForIngress<asio::mutable_buffers_1>+0x2d8 mongod.exe ...\src\mongo\util\future_impl.h(893) <lambda_e8e27e0b91d6204c863d3216e6eb1b5f>::operator()+0x39 mongod.exe ...\src\mongo\transport\session_asio.h(402) mongo::transport::TransportLayerASIO::ASIOSession::read<asio::mutable_buffers_1>+0xcb mongod.exe ...\src\mongo\transport\session_asio.h(355) mongo::transport::TransportLayerASIO::ASIOSession::sourceMessageImpl+0x80 mongod.exe ...\src\mongo\transport\session_asio.h(142) mongo::transport::TransportLayerASIO::ASIOSession::sourceMessage+0x53 mongod.exe ...\src\mongo\transport\service_state_machine.cpp(307) <lambda_5064a192bae23f40a4fe23ce2b3de124>::operator()+0x66 mongod.exe ...\src\mongo\transport\service_state_machine.cpp(517) mongo::ServiceStateMachine::_runNextInGuard+0x127 mongod.exe c:\program files (x86)\microsoft visual studio\2017\professional\vc\tools\msvc\14.16.27023\include\functional(16707566) std::_Func_impl_no_alloc<<lambda_b23af5efc3b61ab25bff0c3bcd13382b>,void>::_Do_call+0x5d mongod.exe ...\src\mongo\transport\service_executor_synchronous.cpp(125) <lambda_472996f9e6b00ec91d31b43a6cde81f7>::operator()+0x13d mongod.exe c:\program files (x86)\microsoft visual studio\2017\professional\vc\tools\msvc\14.16.27023\include\thr\xthread(230) std::_LaunchPad<std::unique_ptr<std::tuple<<lambda_a107131b0689d694f9bc602dd323d0cb> >,std::default_delete<std::tuple<<lambda_a107131b0689d694f9bc602dd323d0cb> > > > >::_Go+0x80 mongod.exe c:\program files (x86)\microsoft visual studio\2017\professional\vc\tools\msvc\14.16.27023\include\thr\xthread(209) std::_Pad::_Call_func+0x9 ucrtbase.DLL o__realloc_base+0x60 kernel32.dll BaseThreadInitThunk+0xd 2019-11-08T22:53:54.836+0000 I CONTROL [conn2] writing minidump diagnostic file C:\data\mci\db0e56ad7f7f3e9c9801f00b59c62dd2\drivers-tools\mongodb\bin\mongod.2019-11-08T22-53-54.mdmp 2019-11-08T22:53:55.164+0000 F CONTROL [conn2] *** immediate exit due to unhandled exception
This is consistently happening in our Evergreen CI, for example: https://evergreen.mongodb.com/task/mongo_python_driver_tests_windows_vs2015_python_version_27plus__platform~windows_vs2015_auth_ssl~auth_ssl_python_version~win_vs2015_2.7_test_latest_standalone_9cf0fbd785086ef1702bbafd2ad92a279fe406e4_19_11_08_19_48_15
The full mongo-orchestration log file (which includes the full mongod log) is here: mongo_python_driver_tests_windows_vs2015_python_version_27plus__platform_windows_vs2015_auth_ssl_auth_ssl_python_version_win_vs2015_2.7_test_latest_standalone_9cf0fbd785086ef1702bbafd2ad92a279fe406e4_19_11_08_19_48_15-0-orchestration.log.txt
- depends on
-
SERVER-44736 Remove unnecessary calls to GetProcAddress
- Closed
-
SERVER-45592 Raise Windows runtime minimum to Windows 10/Windows 2016 for MongoDB 4.4
- Closed
- is related to
-
PYTHON-2070 Migrate Windows MongoDB 4.3+ testing to Windows 10/2016+
- Closed
- related to
-
PYTHON-2064 Collect Windows mongod crash dumps from mongo-orchestration
- Closed