Back to build
Raw log | Switch to full mode | Login

Test 'SyncWebSocketImplTest.Connect' completed with the following status(es): 'CRASH','SUCCESS' Test 'SyncWebSocketImplTest.Connect' had the following logs when run: ================================================================================ [ RUN ] SyncWebSocketImplTest.Connect ==2575==WARNING: MemorySanitizer: use-of-uninitialized-value #0 0x558bef48d94e in WebSocket::OnRead(bool, int) chrome/test/chromedriver/net/websocket.cc:242:7 #1 0x558bf0c09fdb in Run base/callback.h:99:12 #2 0x558bf0c09fdb in DidCompleteReadWrite net/socket/tcp_client_socket.cc:413:0 #3 0x558bf0c09fdb in net::TCPClientSocket::DidCompleteRead(base::OnceCallback<void (int)>, int) net/socket/tcp_client_socket.cc:401:0 #4 0x558bf0c0e194 in Invoke<void (net::TCPClientSocket::*)(base::OnceCallback<void (int)>, int), net::TCPClientSocket *, base::OnceCallback<void (int)>, int> base/bind_internal.h:499:12 #5 0x558bf0c0e194 in MakeItSo<void (net::TCPClientSocket::*)(base::OnceCallback<void (int)>, int), net::TCPClientSocket *, base::OnceCallback<void (int)>, int> base/bind_internal.h:599:0 #6 0x558bf0c0e194 in RunImpl<void (net::TCPClientSocket::*)(base::OnceCallback<void (int)>, int), std::__1::tuple<base::internal::UnretainedWrapper<net::TCPClientSocket>, base::OnceCallback<void (int)> >, 0, 1> base/bind_internal.h:672:0 #7 0x558bf0c0e194 in base::internal::Invoker<base::internal::BindState<void (net::TCPClientSocket::*)(base::OnceCallback<void (int)>, int), base::internal::UnretainedWrapper<net::TCPClientSocket>, base::OnceCallback<void (int)> >, void (int)>::RunOnce(base::internal::BindStateBase*, int) base/bind_internal.h:641:0 #8 0x558bf1544058 in Run base/callback.h:99:12 #9 0x558bf1544058 in net::TCPSocketPosix::ReadCompleted(scoped_refptr<net::IOBuffer> const&, base::OnceCallback<void (int)>, int) net/socket/tcp_socket_posix.cc:570:0 #10 0x558bf1548d0e in Invoke<void (net::TCPSocketPosix::*)(const scoped_refptr<net::IOBuffer> &, base::OnceCallback<void (int)>, int), net::TCPSocketPosix *, scoped_refptr<net::IOBuffer>, base::OnceCallback<void (int)>, int> base/bind_internal.h:499:12 #11 0x558bf1548d0e in MakeItSo<void (net::TCPSocketPosix::*)(const scoped_refptr<net::IOBuffer> &, base::OnceCallback<void (int)>, int), net::TCPSocketPosix *, scoped_refptr<net::IOBuffer>, base::OnceCallback<void (int)>, int> base/bind_internal.h:599:0 #12 0x558bf1548d0e in RunImpl<void (net::TCPSocketPosix::*)(const scoped_refptr<net::IOBuffer> &, base::OnceCallback<void (int)>, int), std::__1::tuple<base::internal::UnretainedWrapper<net::TCPSocketPosix>, scoped_refptr<net::IOBuffer>, base::OnceCallback<void (int)> >, 0, 1, 2> base/bind_internal.h:672:0 #13 0x558bf1548d0e in base::internal::Invoker<base::internal::BindState<void (net::TCPSocketPosix::*)(scoped_refptr<net::IOBuffer> const&, base::OnceCallback<void (int)>, int), base::internal::UnretainedWrapper<net::TCPSocketPosix>, scoped_refptr<net::IOBuffer>, base::OnceCallback<void (int)> >, void (int)>::RunOnce(base::internal::BindStateBase*, int) base/bind_internal.h:641:0 #14 0x558bf154dcce in Run base/callback.h:99:12 #15 0x558bf154dcce in net::SocketPosix::RetryRead(int) net/socket/socket_posix.cc:560:0 #16 0x558bf154f09b in Run base/callback.h:99:12 #17 0x558bf154f09b in ReadCompleted net/socket/socket_posix.cc:568:0 #18 0x558bf154f09b in net::SocketPosix::OnFileCanReadWithoutBlocking(int) net/socket/socket_posix.cc:472:0 #19 0x558bf099b315 in base::MessagePumpLibevent::OnLibeventNotification(int, short, void*) base/message_loop/message_pump_libevent.cc:0:13 #20 0x558bf1697b06 in event_process_active base/third_party/libevent/event.c:381:4 #21 0x558bf1697b06 in event_base_loop base/third_party/libevent/event.c:521:0 #22 0x558bf099c6fa in base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_libevent.cc:235:7 #23 0x558bf081439f in Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 #24 0x558bf081439f in non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:0:0 #25 0x558bf0792945 in base::RunLoop::Run() base/run_loop.cc:157:14 #26 0x558bf08aaa48 in base::Thread::ThreadMain() base/threading/thread.cc:312:3 #27 0x558bf0996d41 in base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 #28 0x7f5c2a094183 in start_thread ??:0:0 #29 0x7f5c2479203c in clone ??:0:0 Uninitialized value was created by a heap deallocation #0 0x558beee40b94 in operator delete(void*) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/msan/msan_new_delete.cc:74:0 #1 0x558bef4839ac in operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 #2 0x558bef4839ac in reset buildtools/third_party/libc++/trunk/include/memory:2651:0 #3 0x558bef4839ac in ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605:0 #4 0x558bef4839ac in SyncWebSocketImpl::Core::~Core() chrome/test/chromedriver/net/sync_websocket_impl.cc:130:0 #5 0x558bef483c6c in SyncWebSocketImpl::Core::~Core() chrome/test/chromedriver/net/sync_websocket_impl.cc:130:34 #6 0x558bef484054 in SyncWebSocketImpl::Core::OnDestruct() const chrome/test/chromedriver/net/sync_websocket_impl.cc:178:5 #7 0x558bef484e21 in Destruct chrome/test/chromedriver/net/sync_websocket_impl.h:108:11 #8 0x558bef484e21 in Release base/memory/ref_counted.h:403:0 #9 0x558bef484e21 in Release base/memory/scoped_refptr.h:297:0 #10 0x558bef484e21 in ~scoped_refptr base/memory/scoped_refptr.h:209:0 #11 0x558bef484e21 in ~__tuple_leaf buildtools/third_party/libc++/trunk/include/tuple:170:0 #12 0x558bef484e21 in ~tuple buildtools/third_party/libc++/trunk/include/tuple:469:0 #13 0x558bef484e21 in ~BindState base/bind_internal.h:854:0 #14 0x558bef484e21 in base::internal::BindState<void (SyncWebSocketImpl::Core::*)(bool*, base::WaitableEvent*, int), scoped_refptr<SyncWebSocketImpl::Core>, bool*, base::WaitableEvent*>::Destroy(base::internal::BindStateBase const*) base/bind_internal.h:857:0 #15 0x558bf06c311a in Destruct base/callback_internal.cc:29:3 #16 0x558bf06c311a in Release base/memory/ref_counted.h:403:0 #17 0x558bf06c311a in Release base/memory/scoped_refptr.h:297:0 #18 0x558bf06c311a in ~scoped_refptr base/memory/scoped_refptr.h:209:0 #19 0x558bf06c311a in base::internal::CallbackBase::~CallbackBase() base/callback_internal.cc:84:0 #20 0x558bef48f23f in InvokeConnectCallback chrome/test/chromedriver/net/websocket.cc:298:1 #21 0x558bef48f23f in WebSocket::OnReadDuringHandshake(char const*, int) chrome/test/chromedriver/net/websocket.cc:273:0 #22 0x558bef48d4ac in WebSocket::OnRead(bool, int) chrome/test/chromedriver/net/websocket.cc:232:5 #23 0x558bf0c09fdb in Run base/callback.h:99:12 #24 0x558bf0c09fdb in DidCompleteReadWrite net/socket/tcp_client_socket.cc:413:0 #25 0x558bf0c09fdb in net::TCPClientSocket::DidCompleteRead(base::OnceCallback<void (int)>, int) net/socket/tcp_client_socket.cc:401:0 #26 0x558bf0c0e194 in Invoke<void (net::TCPClientSocket::*)(base::OnceCallback<void (int)>, int), net::TCPClientSocket *, base::OnceCallback<void (int)>, int> base/bind_internal.h:499:12 #27 0x558bf0c0e194 in MakeItSo<void (net::TCPClientSocket::*)(base::OnceCallback<void (int)>, int), net::TCPClientSocket *, base::OnceCallback<void (int)>, int> base/bind_internal.h:599:0 #28 0x558bf0c0e194 in RunImpl<void (net::TCPClientSocket::*)(base::OnceCallback<void (int)>, int), std::__1::tuple<base::internal::UnretainedWrapper<net::TCPClientSocket>, base::OnceCallback<void (int)> >, 0, 1> base/bind_internal.h:672:0 #29 0x558bf0c0e194 in base::internal::Invoker<base::internal::BindState<void (net::TCPClientSocket::*)(base::OnceCallback<void (int)>, int), base::internal::UnretainedWrapper<net::TCPClientSocket>, base::OnceCallback<void (int)> >, void (int)>::RunOnce(base::internal::BindStateBase*, int) base/bind_internal.h:641:0 #30 0x558bf1544058 in Run base/callback.h:99:12 #31 0x558bf1544058 in net::TCPSocketPosix::ReadCompleted(scoped_refptr<net::IOBuffer> const&, base::OnceCallback<void (int)>, int) net/socket/tcp_socket_posix.cc:570:0 #32 0x558bf1548d0e in Invoke<void (net::TCPSocketPosix::*)(const scoped_refptr<net::IOBuffer> &, base::OnceCallback<void (int)>, int), net::TCPSocketPosix *, scoped_refptr<net::IOBuffer>, base::OnceCallback<void (int)>, int> base/bind_internal.h:499:12 #33 0x558bf1548d0e in MakeItSo<void (net::TCPSocketPosix::*)(const scoped_refptr<net::IOBuffer> &, base::OnceCallback<void (int)>, int), net::TCPSocketPosix *, scoped_refptr<net::IOBuffer>, base::OnceCallback<void (int)>, int> base/bind_internal.h:599:0 #34 0x558bf1548d0e in RunImpl<void (net::TCPSocketPosix::*)(const scoped_refptr<net::IOBuffer> &, base::OnceCallback<void (int)>, int), std::__1::tuple<base::internal::UnretainedWrapper<net::TCPSocketPosix>, scoped_refptr<net::IOBuffer>, base::OnceCallback<void (int)> >, 0, 1, 2> base/bind_internal.h:672:0 #35 0x558bf1548d0e in base::internal::Invoker<base::internal::BindState<void (net::TCPSocketPosix::*)(scoped_refptr<net::IOBuffer> const&, base::OnceCallback<void (int)>, int), base::internal::UnretainedWrapper<net::TCPSocketPosix>, scoped_refptr<net::IOBuffer>, base::OnceCallback<void (int)> >, void (int)>::RunOnce(base::internal::BindStateBase*, int) base/bind_internal.h:641:0 #36 0x558bf154dcce in Run base/callback.h:99:12 #37 0x558bf154dcce in net::SocketPosix::RetryRead(int) net/socket/socket_posix.cc:560:0 #38 0x558bf154f09b in Run base/callback.h:99:12 #39 0x558bf154f09b in ReadCompleted net/socket/socket_posix.cc:568:0 #40 0x558bf154f09b in net::SocketPosix::OnFileCanReadWithoutBlocking(int) net/socket/socket_posix.cc:472:0 #41 0x558bf099b315 in base::MessagePumpLibevent::OnLibeventNotification(int, short, void*) base/message_loop/message_pump_libevent.cc:0:13 #42 0x558bf1697b06 in event_process_active base/third_party/libevent/event.c:381:4 #43 0x558bf1697b06 in event_base_loop base/third_party/libevent/event.c:521:0 #44 0x558bf099c6fa in base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_libevent.cc:235:7 #45 0x558bf081439f in Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:403:12 #46 0x558bf081439f in non-virtual thunk to base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:0:0 #47 0x558bf0792945 in base::RunLoop::Run() base/run_loop.cc:157:14 #48 0x558bf08aaa48 in base::Thread::ThreadMain() base/threading/thread.cc:312:3 SUMMARY: MemorySanitizer: use-of-uninitialized-value (/b/s/w/ir/out/Release/chromedriver_unittests+0xce894e) Exiting [ RUN ] SyncWebSocketImplTest.Connect [ OK ] SyncWebSocketImplTest.Connect (7 ms) ================================================================================