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 ==16985==WARNING: MemorySanitizer: use-of-uninitialized-value #0 0x56542ef3759e in WebSocket::OnRead(bool, int) chrome/test/chromedriver/net/websocket.cc:242:7 #1 0x5654306bddfb in Run base/callback.h:97:12 #2 0x5654306bddfb in DidCompleteReadWrite net/socket/tcp_client_socket.cc:413:0 #3 0x5654306bddfb in net::TCPClientSocket::DidCompleteRead(base::OnceCallback<void (int)>, int) net/socket/tcp_client_socket.cc:401:0 #4 0x5654306c1fb4 in Invoke<void (net::TCPClientSocket::*)(base::OnceCallback<void (int)>, int), net::TCPClientSocket *, base::OnceCallback<void (int)>, int> base/bind_internal.h:499:12 #5 0x5654306c1fb4 in MakeItSo<void (net::TCPClientSocket::*)(base::OnceCallback<void (int)>, int), net::TCPClientSocket *, base::OnceCallback<void (int)>, int> base/bind_internal.h:599:0 #6 0x5654306c1fb4 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 0x5654306c1fb4 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 0x565431003128 in Run base/callback.h:97:12 #9 0x565431003128 in net::TCPSocketPosix::ReadCompleted(scoped_refptr<net::IOBuffer> const&, base::OnceCallback<void (int)>, int) net/socket/tcp_socket_posix.cc:570:0 #10 0x565431007dde 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 0x565431007dde 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 0x565431007dde 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 0x565431007dde 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 0x56543100cd9e in Run base/callback.h:97:12 #15 0x56543100cd9e in net::SocketPosix::RetryRead(int) net/socket/socket_posix.cc:560:0 #16 0x56543100e16b in Run base/callback.h:97:12 #17 0x56543100e16b in ReadCompleted net/socket/socket_posix.cc:568:0 #18 0x56543100e16b in net::SocketPosix::OnFileCanReadWithoutBlocking(int) net/socket/socket_posix.cc:472:0 #19 0x565430461435 in base::MessagePumpLibevent::OnLibeventNotification(int, short, void*) base/message_loop/message_pump_libevent.cc:0:13 #20 0x565431158f86 in event_process_active base/third_party/libevent/event.c:381:4 #21 0x565431158f86 in event_base_loop base/third_party/libevent/event.c:521:0 #22 0x565430462522 in base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_libevent.cc:232:7 #23 0x5654302d962f in Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:406:12 #24 0x5654302d962f 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 0x565430257a45 in base::RunLoop::Run() base/run_loop.cc:157:14 #26 0x56543036ccb8 in base::Thread::ThreadMain() base/threading/thread.cc:312:3 #27 0x56543045ce71 in base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:81:13 #28 0x7fda808dd183 in start_thread ??:0:0 #29 0x7fda7afdb03c in clone ??:0:0 Uninitialized value was created by a heap deallocation #0 0x56542e8ebe64 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 0x56542ef2d5fc in operator() buildtools/third_party/libc++/trunk/include/memory:2338:5 #2 0x56542ef2d5fc in reset buildtools/third_party/libc++/trunk/include/memory:2651:0 #3 0x56542ef2d5fc in ~unique_ptr buildtools/third_party/libc++/trunk/include/memory:2605:0 #4 0x56542ef2d5fc in SyncWebSocketImpl::Core::~Core() chrome/test/chromedriver/net/sync_websocket_impl.cc:130:0 #5 0x56542ef2d8bc in SyncWebSocketImpl::Core::~Core() chrome/test/chromedriver/net/sync_websocket_impl.cc:130:34 #6 0x56542ef2dca4 in SyncWebSocketImpl::Core::OnDestruct() const chrome/test/chromedriver/net/sync_websocket_impl.cc:178:5 #7 0x56542ef2ea71 in Destruct chrome/test/chromedriver/net/sync_websocket_impl.h:108:11 #8 0x56542ef2ea71 in Release base/memory/ref_counted.h:403:0 #9 0x56542ef2ea71 in Release base/memory/scoped_refptr.h:297:0 #10 0x56542ef2ea71 in ~scoped_refptr base/memory/scoped_refptr.h:209:0 #11 0x56542ef2ea71 in ~__tuple_leaf buildtools/third_party/libc++/trunk/include/tuple:170:0 #12 0x56542ef2ea71 in ~tuple buildtools/third_party/libc++/trunk/include/tuple:469:0 #13 0x56542ef2ea71 in ~BindState base/bind_internal.h:854:0 #14 0x56542ef2ea71 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 0x5654301888ba in Destruct base/callback_internal.cc:29:3 #16 0x5654301888ba in Release base/memory/ref_counted.h:403:0 #17 0x5654301888ba in Release base/memory/scoped_refptr.h:297:0 #18 0x5654301888ba in ~scoped_refptr base/memory/scoped_refptr.h:209:0 #19 0x5654301888ba in base::internal::CallbackBase::~CallbackBase() base/callback_internal.cc:84:0 #20 0x56542ef38e97 in InvokeConnectCallback chrome/test/chromedriver/net/websocket.cc:298:1 #21 0x56542ef38e97 in WebSocket::OnReadDuringHandshake(char const*, int) chrome/test/chromedriver/net/websocket.cc:273:0 #22 0x56542ef370fc in WebSocket::OnRead(bool, int) chrome/test/chromedriver/net/websocket.cc:232:5 #23 0x5654306bddfb in Run base/callback.h:97:12 #24 0x5654306bddfb in DidCompleteReadWrite net/socket/tcp_client_socket.cc:413:0 #25 0x5654306bddfb in net::TCPClientSocket::DidCompleteRead(base::OnceCallback<void (int)>, int) net/socket/tcp_client_socket.cc:401:0 #26 0x5654306c1fb4 in Invoke<void (net::TCPClientSocket::*)(base::OnceCallback<void (int)>, int), net::TCPClientSocket *, base::OnceCallback<void (int)>, int> base/bind_internal.h:499:12 #27 0x5654306c1fb4 in MakeItSo<void (net::TCPClientSocket::*)(base::OnceCallback<void (int)>, int), net::TCPClientSocket *, base::OnceCallback<void (int)>, int> base/bind_internal.h:599:0 #28 0x5654306c1fb4 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 0x5654306c1fb4 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 0x565431003128 in Run base/callback.h:97:12 #31 0x565431003128 in net::TCPSocketPosix::ReadCompleted(scoped_refptr<net::IOBuffer> const&, base::OnceCallback<void (int)>, int) net/socket/tcp_socket_posix.cc:570:0 #32 0x565431007dde 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 0x565431007dde 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 0x565431007dde 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 0x565431007dde 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 0x56543100cd9e in Run base/callback.h:97:12 #37 0x56543100cd9e in net::SocketPosix::RetryRead(int) net/socket/socket_posix.cc:560:0 #38 0x56543100e16b in Run base/callback.h:97:12 #39 0x56543100e16b in ReadCompleted net/socket/socket_posix.cc:568:0 #40 0x56543100e16b in net::SocketPosix::OnFileCanReadWithoutBlocking(int) net/socket/socket_posix.cc:472:0 #41 0x565430461435 in base::MessagePumpLibevent::OnLibeventNotification(int, short, void*) base/message_loop/message_pump_libevent.cc:0:13 #42 0x565431158f86 in event_process_active base/third_party/libevent/event.c:381:4 #43 0x565431158f86 in event_base_loop base/third_party/libevent/event.c:521:0 #44 0x565430462522 in base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_libevent.cc:232:7 #45 0x5654302d962f in Run base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:406:12 #46 0x5654302d962f 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 0x565430257a45 in base::RunLoop::Run() base/run_loop.cc:157:14 #48 0x56543036ccb8 in base::Thread::ThreadMain() base/threading/thread.cc:312:3 SUMMARY: MemorySanitizer: use-of-uninitialized-value (/b/s/w/ir/out/Release/chromedriver_unittests+0xcea59e) Exiting [ RUN ] SyncWebSocketImplTest.Connect [ OK ] SyncWebSocketImplTest.Connect (11 ms) ================================================================================