Project: webrtc Issues People Development process History Sign in
New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
Issue 3064 MouseCursorTest (modules_unittests) fails with SyzyASan on Windows
Starred by 6 users Project Member Reported by kjellander@webrtc.org, Mar 17 2014 Back to list
Status: Assigned
Owner:
Cc:
Components:
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment
What steps will reproduce the problem?
1. On Windows, set the following environment:
set GYP_DEFINES="syzyasan=1 win_z7=1 chromium_win_pch=0 component=static_library"
set GYP_GENERATORS=ninja
set GYP_USE_SEPARATE_MSPDBSRV=1
2. Sync WebRTC using this .gclient spec:
solutions = [
  { "name"        : "src",
    "url"         : "https://webrtc.googlecode.com/svn/trunk",
    "deps_file"   : "DEPS",
    "managed"     : True,
    "custom_vars" : {
      "root_dir": "src",
    },
  },
]
3. Compile all in Release mode:
ninja -C out\Release
4. Checkout buildbot scripts in the level above src:
cd ..
svn co http://src.chromium.org/chrome/trunk/tools/build/scripts/slave
5. Process your binaries (standing in the root level, above src):
python slave\chromium\win_apply_asan.py --target Release
5. Run the test using:
cd src
out\Release\agent_logger.exe start --output-file=out\Release\modules_unittests.exe.asan_log -- out\Release\modules_unittests.exe --gtest_filter=Mouse*Test.* 

What is the expected result?
The test should pass

What do you see instead?
Many GMOCK warnings are produced during the run, and the following tests fail:

[ RUN      ] MouseCursorTest.MatchCursors
e:\src\webrtc\src\webrtc\modules\desktop_capture\win\cursor_unittest.cc(77): error: Value of: ConvertToMouseShapeAndCompare(IDD_CURSOR1_24BP
P, IDD_CURSOR1_32BPP)
  Actual: false
Expected: true
e:\src\webrtc\src\webrtc\modules\desktop_capture\win\cursor_unittest.cc(80): error: Value of: ConvertToMouseShapeAndCompare(IDD_CURSOR1_8BPP
, IDD_CURSOR1_32BPP)
  Actual: false
Expected: true
e:\src\webrtc\src\webrtc\modules\desktop_capture\win\cursor_unittest.cc(86): error: Value of: ConvertToMouseShapeAndCompare(IDD_CURSOR3_4BPP
, IDD_CURSOR3_32BPP)
  Actual: false
Expected: true
[  FAILED  ] MouseCursorTest.MatchCursors (0 ms)

On the bot, another test is failing instead:
http://build.chromium.org/p/client.webrtc.fyi/builders/Win%20SyzyASan/builds/537/steps/modules_unittests/logs/stdio

[ RUN      ] MouseCursorMonitorTest.FromScreen
e:\b\build\slave\win_syzyasan\build\src\webrtc\modules\desktop_capture\mouse_cursor_monitor_unittest.cc(66): error: Value of: cursor_image_.get()
  Actual: false
Expected: true
unknown file: error: SEH exception with code 0xc0000005 thrown in the test body.
[  FAILED  ] MouseCursorMonitorTest.FromScreen (0 ms)
[ RUN      ] MouseCursorMonitorTest.FromWindow
e:\b\build\slave\win_syzyasan\build\src\webrtc\modules\desktop_capture\mouse_cursor_monitor_unittest.cc(104): error: Value of: cursor_image_.get()
  Actual: false
Expected: true
e:\b\build\slave\win_syzyasan\build\src\webrtc\modules\desktop_capture\mouse_cursor_monitor_unittest.cc(105): error: Value of: position_received_
  Actual: false
Expected: true
[  FAILED  ] MouseCursorMonitorTest.FromWindow (0 ms)
[ RUN      ] MouseCursorMonitorTest.ShapeOnly
e:\b\build\slave\win_syzyasan\build\src\webrtc\modules\desktop_capture\mouse_cursor_monitor_unittest.cc(117): error: Value of: cursor_image_.get()
  Actual: false
Expected: true
[  FAILED  ] MouseCursorMonitorTest.ShapeOnly (0 ms)

Please use labels and text to provide additional information.


 
Comment 1 by vrk@webrtc.org, Oct 14 2014
Labels: Area-Desktop
Project Member Comment 2 by juberti@webrtc.org, Jan 7 2015
Labels: -Area-Desktop Area-GetUserMedia-Desktop
Project Member Comment 3 by juberti@webrtc.org, Jan 7 2015
Labels: -Area-GetUserMedia-Desktop Area-Desktop
Sign in to add a comment