DynamoRIO / DynamoRIO/dynamorio
Sophos causes suite failure on some Win7 workstations
- Dominant language
- C
- Stars
- 3.2k
- Forks
- 629
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 31
Description
_From [rnk@google.com](https://code.google.com/u/rnk@google.com/) on May 21, 2012 13:37:37_
When I run the suite on my machine workstation, I see lots of client.events failures. This makes it hard to pick out failures that I've introduced, which are the ones related to dynamo.c down below.
I did a cursory investigation a long time ago, and it seems to be that these client.module and client.events tests are loading some win32 dll and expecting to get the unload event by test end. However, the injected sophos dll keeps the dll alive, and so the unload event never comes.
Related to https://code.google.com/p/drmemory/issues/detail?id=820&q=user32 , where sophos is loading user32.dll to the process and causing DrMemory asserts.
debug-i32-static-ext: build successful; no tests for this build
debug-internal-32: 94 tests passed, ***\* 13 tests failed, of which 3 were flaky: ****
code_api|win32.partial_map_FLAKY => CURIOSITY : exports-Characteristics == 0 in file ......\core\win32\module_shared.c line 212;CURIOSITY : exports-Characteristics == 0 in file ......\core\win32\module_shared.c line 212;CURIOSITY : exports-Characteristics == 0 in file ......\core\win32\module_shared.c line 212;CURIOSITY : exports-Characteristics == 0 in file ......\core\win32\module_shared.c line 212;CURIOSITY : exports-Characteristics == 0 in file ......\core\win32\module_shared.c line 212;CURIOSITY : exports-Characteristics == 0 in file ......\core\win32\module_shared.c line 212;CURIOSITY : exports-Characteristics == 0 in file ......\core\win32\module_shared.c line 212;CURIOSITY : exports-Characteristics == 0 in file ......\core\win32\module_shared.c line 212;CURIOSITY : exports-Characteristics == 0 in file ......\core\win32\module_shared.c line 212;CURIOSITY : exports-Characteristics == 0 in file ......\core\win32\module_shared.c line 212;CURIOSITY : exports-Characteristics == 0 in file ......\core\win32\module_shared.c line 212;CURIOSITY : exports-Characteristics == 0 in file ......\core\win32\module_shared.c line 212;CURIOSITY : exports-Characteristics == 0 in file ......\core\win32\module_shared.c line 212;CURIOSITY : exports-Characteristics == 0 in file ......\core\win32\module_shared.c line 212;CURIOSITY : exports-Characteristics == 0 in file ......\core\win32\module_shared.c line 212;CURIOSITY : exports-Characteristics == 0 in file ......\core\win32\module_shared.c line 212;CURIOSITY : (0) invalid version info structure in file ......\core\win32\module.c line 5825;CURIOSITY : (0) invalid version info structure in file ......\core\win32\module.c line 5825
code_api|win32.reload_FLAKY
code_api|security-win32.codemod-threads_FLAKY => Application F:\src\dynamorio\build\build_debug-internal-32\suite\tests\bin\security-win32.codemod-threads_FLAKY.exe (4884). Internal Error Internal DynamoRIO Error: ......\core\dynamo.c:1055 locks_not_closed() == 0 CURIOSITY : stats-datasec_not_prot_pair.value 100 in file ......\core\dynamo.c line 2996;CURIOSITY : ((NTSTATUS)(res) = 0) cant open for deletion in file ......\core\win32\os.c line 5126
code_api|client.modules
code_api|client.events
code_api|client.events_cpp
code_api|client.drsyms-testgcc
code_api|client.drutil-test => Application F:\src\dynamorio\build\build_debug-internal-32\suite\tests\bin\client.drutil-test.exe (2292). Internal Error Internal DynamoRIO Error: ......\core\dynamo.c:1055 locks_not_closed() == 0 CURIOSITY : stats-datasec_not_prot_pair.value 100 in file ......\core\dynamo.c line 2996;CURIOSITY : ((NTSTATUS)(res) = 0) cant open for deletion in file ......\core\win32\os.c line 5126
code_api|api.startstop => Application F:\src\dynamorio\build\build_debug-internal-32\suite\tests\bin\api.startstop.exe (7080). Internal Error Internal DynamoRIO Error: ......\core\dynamo.c:2584 false
code_api,opt_memory|client.events
code_api,disable_traces|client.events
code_api,thread_private|client.events
code_api,thread_private,disable_traces|client.events
debug-internal-64: 77 tests passed, ***\* 5 tests failed, of which 1 were flaky: ****
code_api|win32.crtprcs => Application F:\src\dynamorio\build\build_debug-internal-64\suite\tests\bin\win32.crtprcs.exe (2868). Internal Error Internal DynamoRIO Error: ......\core\dynamo.c:2584 false
code_api|security-win32.apc-shellcode_FLAKY
code_api|client.large_options => Application F:\src\dynamorio\build\build_debug-internal-64\suite\tests\bin\client.large_options.exe (4216). Internal Error Internal DynamoRIO Error: ......\core\dynamo.c:2584 false
code_api|api.startstop => Application F:\src\dynamorio\build\build_debug-internal-64\suite\tests\bin\api.startstop.exe (4572). Internal Error Internal DynamoRIO Error: ......\core\dynamo.c:2584 false
code_api|client.nudge_ex => Application F:\src\dynamorio\build\build_debug-internal-64\suite\tests\bin\client.nudge_ex.exe (2268). Internal Error Internal DynamoRIO Error: ......\core\dynamo.c:2584 false
debug-unit-tests-32: all 3 tests passed
debug-unit-tests-64: all 3 tests passed
release-external-32: build successful; no tests for this build
release-external-64: build successful; no tests for this build
_Original issue: http://code.google.com/p/dynamorio/issues/detail?id=781_
Contributor guide
Assessment
This issue has not been assessed yet.