New issue
Advanced search Search tips

Issue 697178 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Mar 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug

Blocking:
issue 697171



Sign in to add a comment

Webrtc/ConnectionTest.FirstCaptureFailed/0 failing under msan

Project Member Reported by thakis@chromium.org, Feb 28 2017

Issue description

Surprisingly not an uninit memory, but a real test failure:

https://build.chromium.org/p/chromium.memory.full/builders/Linux%20MSan%20Tests/builds/6001/steps/remoting_unittests%20on%20Ubuntu-14.04/logs/Webrtc_ConnectionTest.FirstCaptureFailed_0

../../remoting/protocol/connection_unittest.cc:667: Failure
Value of: stats.host_stats.latest_event_timestamp
  Actual: 0 bogo-microseconds
Expected: event_timestamp
Which is: 42 bogo-microseconds
[23155:23401:0228/111605.028426:4558269410:WARNING:rtp_rtcp_impl.cc(348)] Failed to send RTCP BYE
[  FAILED  ] Webrtc/ConnectionTest.FirstCaptureFailed/0, where GetParam() = true (196 ms)
 
Components: Services>Chromoting
I'm going to kick off a MSAN build and see if I can reproduce this locally.
Owner: sergeyu@chromium.org
Status: Assigned (was: Unconfirmed)
I followed the instructions onhttps://www.chromium.org/developers/testing/memorysanitizer to build remoting_unittests and then simply running ./out/msan/remoting_unittests triggered the Webrtc/ConnectionTest.FirstCaptureFailed/0 failure for me.
Running the test case by itself fails as well: ./out/msan/remoting_unittests --gtest_filter=Webrtc/ConnectionTest.FirstCaptureFailed/0
And my normal build succeeds. Hope you can reproduce this as well. Let me know if you cannot and need help testing patches or what not.
This is now the last thing keeping the msan bot from going green.
https://build.chromium.org/p/chromium.memory.full/builders/Linux%20MSan%20Tests?numbuilds=200 -- sergeyu, can you look at this soon, or should we disable the test under msan for now?
Hi, I just started having issues with chrome remote desktop in the last week or so. reported the bug here: Issue 698053

Could it be related? thanks.
Probably not. I've updated that bug with some instructions.
Project Member

Comment 11 by bugdroid1@chromium.org, Mar 4 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/fa09c695b8a976fdfcfca5b3c01e030e58288003

commit fa09c695b8a976fdfcfca5b3c01e030e58288003
Author: thakis <thakis@chromium.org>
Date: Sat Mar 04 01:08:41 2017

Disable ConnectionTest.FirstCaptureFailed under msan.

The test fails under msan and it's the last thing keeping the msan bot
red.

BUG= 697178 

Review-Url: https://codereview.chromium.org/2728023004
Cr-Commit-Position: refs/heads/master@{#454737}

[modify] https://crrev.com/fa09c695b8a976fdfcfca5b3c01e030e58288003/remoting/protocol/connection_unittest.cc

Project Member

Comment 12 by bugdroid1@chromium.org, Mar 21 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/5e372bf6de94cb418ab952d9e33d2cfa0269e987

commit 5e372bf6de94cb418ab952d9e33d2cfa0269e987
Author: sergeyu <sergeyu@chromium.org>
Date: Tue Mar 21 21:56:23 2017

Fix failed capture handling in WebrtcVideoStream

Previously, when a capture request fails, WebrtcVideoStream was
saving the corresponding event timestamp and then reusing it for
the following frame. That logic was implemented incorrectly - it
worked properly only when key_frame_request_ is set. This caused
the test to fail under MSAN as the key_frame_request_ is
set with a delay.

It's questionable if that logic is useful, so this CL removes it
together with the corresponding test. Also improved handling of
failed captures in WebrtcFrameSchedulerSimple.

BUG= 697178 

Review-Url: https://codereview.chromium.org/2757923004
Cr-Commit-Position: refs/heads/master@{#458569}

[modify] https://crrev.com/5e372bf6de94cb418ab952d9e33d2cfa0269e987/remoting/protocol/connection_unittest.cc
[modify] https://crrev.com/5e372bf6de94cb418ab952d9e33d2cfa0269e987/remoting/protocol/webrtc_frame_scheduler_simple.cc
[modify] https://crrev.com/5e372bf6de94cb418ab952d9e33d2cfa0269e987/remoting/protocol/webrtc_frame_scheduler_simple.h
[modify] https://crrev.com/5e372bf6de94cb418ab952d9e33d2cfa0269e987/remoting/protocol/webrtc_video_stream.cc
[modify] https://crrev.com/5e372bf6de94cb418ab952d9e33d2cfa0269e987/remoting/protocol/webrtc_video_stream.h

Status: F (was: Assigned)
Status: Fixed (was: F)

Sign in to add a comment