MediaStreamConstraintsUtilAudioTest.ValidGeometry fails on WinTests dbg bot |
||
Issue descriptionSee https://build.chromium.org/p/chromium.win/builders/Win7%20Tests%20%28dbg%29%281%29/builds/60774 [ RUN ] MediaStreamConstraintsUtilAudioTest.ValidGeometry/0 c:\b\c\b\win\src\content\renderer\media\media_stream_constraints_util_audio_unittest.cc(1269): error: Expected: 2u Which is: 2 To be equal to: geometry.size() Which is: 0 [ RUN ] MediaStreamConstraintsUtilAudioTest.ValidGeometry/0 c:\b\c\b\win\src\content\renderer\media\media_stream_constraints_util_audio_unittest.cc(1269): error: Expected: 2u Which is: 2 To be equal to: geometry.size() Which is: 0 [ RUN ] MediaStreamConstraintsUtilAudioTest.ValidGeometry/0 c:\b\c\b\win\src\content\renderer\media\media_stream_constraints_util_audio_unittest.cc(1269): error: Expected: 2u Which is: 2 To be equal to: geometry.size() Which is: 0 [ RUN ] MediaStreamConstraintsUtilAudioTest.ValidGeometry/0 c:\b\c\b\win\src\content\renderer\media\media_stream_constraints_util_audio_unittest.cc(1269): error: Expected: 2u Which is: 2 To be equal to: geometry.size() Which is: 0
,
Jun 12 2017
However, that function has tests with the same values as MediaStreamConstraintsUtilAudioTest.ValidGeometry. Running on a win debug trybot to see if the problem reproduces. Otherwise, disabling the test on win-debug looks like a valid choice.
,
Jun 12 2017
The failure is reproducible on the win_chromium_dbg_ng trybot. https://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_dbg_ng/builds/2366
,
Jun 14 2017
The problem seems to be a compiler bug (either the Win Debug compiler is buggy or all others are). Comparing a pointer-to-member-function value for equality is false on the WinDbg compiler and true on all other compilers. However, if this value is stored in an array, the same comparison returns true when comparing against the array member. The unittest was fixed in https://codereview.chromium.org/2941553003/
,
Jun 14 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by guidou@chromium.org
, Jun 12 2017Status: Assigned (was: Untriaged)