Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(176)

Issue 2247943002: [WebRTC] Disable DirectX capturer tests if the system does not support it. (Closed)

Created:
4 years, 4 months ago by Hzj_jie
Modified:
4 years, 4 months ago
Reviewers:
Sergey Ulanov, joedow
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

[WebRTC] Disable DirectX capturer tests if the system does not support it. A recent DrMemory failure has been detected after change 2099123002. After some investigation, an uninitialized read has been detected in NtUserGetThreadDesktop webrtc::Desktop::GetThreadDesktop webrtc::ScopedThreadDesktop::ScopedThreadDesktop webrtc::ScreenCapturerWinGdi::ScreenCapturerWinGdi webrtc::ScreenCapturer::Create webrtc::ScreenCapturerTest_UseDirectxCapturer_Test::TestBody So there are two issues, 1. The Directx capturer won't be triggered as the system does not support it. So these tests should be disabled in this scenario. 2. An uninitialized read in NtUserGetThreadDesktop -> ScopedThreadDesktop stacks, which should be suppressed. By default, these suppressions should be placed in chromium/external with other suppressions. So this change is a quick fix to the failure, do not use ScreenCapturerWinGdi in ScreenCaputrerWinDirectx tests. BUG= Committed: https://crrev.com/82dda1af5e7401334b819a1b050be19660ace821 Cr-Commit-Position: refs/heads/master@{#13766}

Patch Set 1 #

Patch Set 2 : Add log if directx capturer is not supported. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -0 lines) Patch
M webrtc/modules/desktop_capture/screen_capturer_unittest.cc View 1 3 chunks +15 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (13 generated)
Hzj_jie
4 years, 4 months ago (2016-08-16 00:28:26 UTC) #4
Hzj_jie
Hi, Sergey, This change blocks Dr Memory tests, would you please have a quick look?
4 years, 4 months ago (2016-08-16 00:52:12 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2247943002/40001
4 years, 4 months ago (2016-08-16 01:34:00 UTC) #10
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
4 years, 4 months ago (2016-08-16 01:34:02 UTC) #12
Sergey Ulanov
I think the test should create ScreenCapturerDirectx directly to ensure that it always tests the ...
4 years, 4 months ago (2016-08-16 02:25:50 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2247943002/40001
4 years, 4 months ago (2016-08-16 02:37:36 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 4 months ago (2016-08-16 02:53:36 UTC) #19
commit-bot: I haz the power
4 years, 4 months ago (2016-08-16 02:53:48 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/82dda1af5e7401334b819a1b050be19660ace821
Cr-Commit-Position: refs/heads/master@{#13766}

Powered by Google App Engine
This is Rietveld 408576698