DynamoRIO / DynamoRIO/drmemory
cs2bugMinGW_shared test failing on some machines
- Dominant language
- C
- Stars
- 2.7k
- Forks
- 290
- PR merge metrics
- No merged PRs in 30d
Description
_From [bruen...@google.com](https://code.google.com/u/109494838902877177630/) on December 17, 2013 19:28:55_
This is a new test I added. It passes on my desktop.
Fails in suite on laptop:
CMake Error at runtest.cmake:311 (message):
---
.././bin/drmemory.exe;-debug;-dr_debug;-dr;C:/src/dr/git/exports;-batch;-dr_ops;-dumpcore_mask
0x87fd -stderr_mask 15 -msgbox_mask
0;-callstack_style;0x27;-no_results_to_stderr;--;C:/src/drmemory/build_suite/build_drmemory-dbg-32/tests/cs2bugMinGW_shared.exe
failed (Exit code 0xc0000013
): WARNING: unable to locate results file since can't open
C:\src\drmemory\build_suite\build_drmemory-dbg-32\logs/resfile.531672: 2
~~Dr.M~~ WARNING: application exited with abnormal code 0xc0000013
---
Weird exit status:
#define STATUS_NO_MEDIA_IN_DEVICE ((NTSTATUS)0xC0000013L)
in cmd:
---------------------------
cs2bugMinGW_shared.exe - System Error
---------------------------
The program can't start because libgcc_s_dw2-1.dll is missing from your computer. Try reinstalling the program to fix this problem.
---------------------------
OK
---------------------------
OK, didn't have path -- with path, it hangs at end in cmd:
# ChildEBP RetAddr
00 0028fdc8 7463149d ntdll!ZwWaitForSingleObject+0x15
01 0028fe34 76491194 KERNELBASE!WaitForSingleObjectEx+0x98
02 0028fe4c 76491148 kernel32!WaitForSingleObjectExImplementation+0x75
03 0028fe60 6e954dcc kernel32!WaitForSingleObject+0x12
WARNING: Stack unwind information not available. Following frames may be wrong.
04 0028fe90 004013c0 libgcc_s_dw2_1!_deregister_frame_info_bases+0xfc
05 0028feb0 74a7c3e9 cs2bugMinGW_shared+0x13c0
06 0028fee4 74a836bb msvcrt!_cinit+0xc1
07 0028fef8 00401cce msvcrt!exit+0x11
08 0028ff18 004010bb cs2bugMinGW_shared+0x1cce
09 0028ff68 004012a8 cs2bugMinGW_shared+0x10bb
0a 0028ff88 7649336a cs2bugMinGW_shared+0x12a8
0b 0028ff94 76ee9f72 kernel32!BaseThreadInitThunk+0xe
In cygwin doesn't work even w/ path:
% PATH=$PATH:/c/cygwin/usr/i686-pc-mingw32/sys-root/mingw/bin build_drmemory-dbg-32/tests/cs2bugMinGW_shared.exe
% echo $?
127
Still investigating.
_Original issue: http://code.google.com/p/drmemory/issues/detail?id=1413_
Contributor guide
Assessment
This issue has not been assessed yet.