Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HANG: every 32-bit test on Windows Server 2016 #2329

Closed
derekbruening opened this issue Nov 30, 2020 · 2 comments · Fixed by #2332
Closed

HANG: every 32-bit test on Windows Server 2016 #2329

derekbruening opened this issue Nov 30, 2020 · 2 comments · Fixed by #2332

Comments

@derekbruening
Copy link
Contributor

Trying to move to Github Actions (#2323) on Server 2016 VM's and 64-bit hits #2328 while 32-bit has every single app hang up front:

2020-11-29T03:06:31.9521175Z test 3
2020-11-29T03:06:31.9522000Z         Start   3: hello
2020-11-29T03:06:31.9523132Z 
2020-11-29T03:06:31.9531488Z 3: Test command: "C:\Program Files\CMake\bin\cmake.exe" "-D" "cmd:STRING=D:/a/drmemory/drmemory/build_drmemory-dbg-32/bin/drmemor
y.exe@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch@-dr_ops@-dumpcore_mask@-dr_ops@0x87fd@-dr_ops@-stderr_mask@-dr_ops@15@-dr_ops@-msgbox_mask@-dr_op
s@0@-callstack_style@0x27@-no_results_to_stderr@--@D:/a/drmemory/drmemory/build_drmemory-dbg-32/tests/hello.exe" "-D" "TOOL_DR_HEAPSTAT:BOOL=OFF" "-D" "outpat
:STRING={DRMEMORY_CTEST_SRC_DIR}/hello.out" "-D" "respat:STRING={DRMEMORY_CTEST_SRC_DIR}/hello.res" "-D" "resmark:STRING=Details:" "-D" "nudge:STRING=D:/a/drm
emory/drmemory/build_drmemory-dbg-32/bin/drmemory.exe@-debug@-dr_debug@-dr@{DRMEMORY_CTEST_DR_DIR}/..@-batch" "-D" "VMKERNEL:BOOL=OFF" "-D" "USE_DRSYMS:BOOL=O
N" "-D" "X64:BOOL=OFF" "-D" "ARM:BOOL=" "-D" "ANDROID:BOOL=" "-D" "ADB:FILEPATH=" "-D" "toolbindir:STRING={DRMEMORY_CTEST_DR_DIR}/../bin32" "-D" "DRMEMORY_CTE
ST_SRC_DIR:STRING=D:/a/drmemory/drmemory/tests" "-D" "DRMEMORY_CTEST_DR_DIR:STRING=D:/a/drmemory/drmemory/build_drmemory-dbg-32/dynamorio/cmake" "-D" "CMAKE_S
YSTEM_VERSION:STRING=10.0.14393" "-D" "exit_code:STRING=0" "-D" "path_append:STRING=" "-D" "timeout:STRING=120" "-D" "postcmd:STRING=" "-P" "D:/a/drmemory/drm
emory/build_drmemory-dbg-32/tests/runtest.cmake"
2020-11-29T03:06:31.9540822Z 3: Test timeout computed to be: 120
2020-11-29T03:08:31.2699737Z   1/145 Test   #3: hello .............................***Timeout 120.01 sec
$ grep Timeout vs2017/5_Run\ Suite.txt 
2020-11-29T03:08:31.2699737Z   1/145 Test   #3: hello .............................***Timeout 120.01 sec
2020-11-29T03:08:31.2761422Z   2/145 Test  #20: procterm ..........................***Timeout 120.01 sec
2020-11-29T03:10:31.2794987Z   4/145 Test  #71: pcache ............................***Timeout 120.01 sec
2020-11-29T03:12:31.2889937Z   5/145 Test   #4: malloc ............................***Timeout 120.01 sec
2020-11-29T03:14:31.2981830Z   6/145 Test   #5: leak_indirect .....................***Timeout 120.01 sec
2020-11-29T03:16:31.3055641Z   7/145 Test   #6: free ..............................***Timeout 120.01 sec
2020-11-29T03:18:31.3165601Z   8/145 Test   #7: badjmp ............................***Timeout 120.01 sec
2020-11-29T03:18:34.7867533Z   9/145 Test   #2: unit_tests ........................***Timeout 600.00 sec
2020-11-29T05:54:35.3931008Z 131/145 Test #131: drfuzz_test_app_abort .............***Timeout 600.01 sec
2020-11-29T05:56:31.9095110Z 132/145 Test #132: drfuzz_test_no_crash ..............***Timeout 600.01 sec
2020-11-29T06:04:35.4098040Z 133/145 Test #133: umbra_test_empty ..................***Timeout 600.01 sec
2020-11-29T06:06:31.9270627Z 134/145 Test #134: umbra_test_shadow_mem .............***Timeout 600.01 sec
...
@derekbruening
Copy link
Contributor Author

Even with f_global==STDERR and -verbose==2: zero output!
Seems like some missing library issue or sthg?
Probably a popup msgbox. Need rdp to figure it out.

@derekbruening
Copy link
Contributor Author

DR commit DynamoRIO/dynamorio@724de52 from DynamoRIO/dynamorio#4589 should fix this: will close after pulling into DrM.

derekbruening added a commit that referenced this issue Dec 6, 2020
Updates DR to 312d24d3 to pull in two key fixes for Dr. Memory on
Github Actions Windows Server 2016:

+ DynamoRIO/dynamorio#4588: Handle anomalous alloc bases in Windows
  query loop (DynamoRIO/dynamorio#4590)

+ DynamoRIO/dynamorio#4587: Use from-wrapper syscall numbers for all
  win10 (DynamoRIO/dynamorio#4589)

Fixes #2328
Fixes #2329
derekbruening added a commit that referenced this issue Dec 6, 2020
Updates DR to 312d24d3 to pull in two key fixes for Dr. Memory on
Github Actions Windows Server 2016:

+ DynamoRIO/dynamorio#4588: Handle anomalous alloc bases in Windows
  query loop (DynamoRIO/dynamorio#4590)

+ DynamoRIO/dynamorio#4587: Use from-wrapper syscall numbers for all
  win10 (DynamoRIO/dynamorio#4589)

Fixes #2328
Fixes #2329
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant