We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug drstrace fails on UNC paths, but works on paths which have a traditional X:\path syntax
To Reproduce Steps to reproduce the behavior (using Cygwin UNC path //foo/bar/path, but powershell \foo\bar\path gives the same result):
Expected behavior drmemory should run
Actual behavior drmemory fails with "ASSERT FAILURE: D:\a\drmemory\drmemory\drstrace\drstrace.c:589: outf != INVALID_FILE (failed to open log file)"
Versions
What version of Dr. Memory are you using? $ drmemory -version Dr. Memory version 2.6.19989 -- build 0
Does the latest build from https://drmemory.org/page_download.html#sec_latest_build solve the problem?
No
$ cmd /C 'ver' Microsoft Windows [Version 10.0.19045.4957]
64bit
The text was updated successfully, but these errors were encountered:
Turns out no network share is required, just plan UNC paths.
Example (Cygwin shell): cd //localhost/c$/cygwin64/home/roland_mainz/tmp/drstracetest $ drstrace -debug -- "$(cygpath -w /home/roland_mainz/work/msnfs41_uidmapping/ms-nfs41-client/destdir/cygdrive/c/cygwin64/sbin/nfs_mount)" <Using system call file C:\Program Files (x86)\Dr. Memory\drmemory\logs\symcache\syscalls_x64.txt> ASSERT FAILURE: D:\a\drmemory\drmemory\drstrace\drstrace.c:589: outf != INVALID_FILE (failed to open log file)
Example (Powershell): cd '\localhost\c$\cygwin64\home\roland_mainz\tmp\drstracetest' drstrace -debug -- 'C:\cygwin64\home\roland_mainz\work\msnfs41_uidmapping\ms-nfs41-client\destdir\cygdrive\c\cygwin64\sbin\nfs_mount.exe' <Using system call file C:\Program Files (x86)\Dr. Memory\drmemory\logs\symcache\syscalls_x64.txt> ASSERT FAILURE: D:\a\drmemory\drmemory\drstrace\drstrace.c:589: outf != INVALID_FILE (failed to open log file)
Sorry, something went wrong.
Correction: Powershell path syntax for local drive C: is '\localhost\c$\cygwin64\home\roland_mainz\tmp\drstracetest' in this case
No branches or pull requests
Describe the bug
drstrace fails on UNC paths, but works on paths which have a traditional X:\path syntax
To Reproduce
Steps to reproduce the behavior (using Cygwin UNC path //foo/bar/path, but powershell \foo\bar\path gives the same result):
cd //derfw1fs10.global.loc/copy/Mainz/wingrendeltest1
$ drstrace -- "$(cygpath -w "$PWD/sbin/nfs_mount")"
<Using system call file C:\Program Files (x86)\Dr. Memory\drmemory\logs\symcache\syscalls_x64.txt>
ASSERT FAILURE: D:\a\drmemory\drmemory\drstrace\drstrace.c:589: outf != INVALID_FILE (failed to open log file)
Expected behavior
drmemory should run
Actual behavior
drmemory fails with "ASSERT FAILURE: D:\a\drmemory\drmemory\drstrace\drstrace.c:589: outf != INVALID_FILE (failed to open log file)"
Versions
What version of Dr. Memory are you using?
$ drmemory -version
Dr. Memory version 2.6.19989 -- build 0
Does the latest build from
https://drmemory.org/page_download.html#sec_latest_build solve the problem?
No
$ cmd /C 'ver'
Microsoft Windows [Version 10.0.19045.4957]
64bit
The text was updated successfully, but these errors were encountered: