- diff --git a/cygwin/devel/msnfs41client.bash b/cygwin/devel/msnfs41client.bash
- index 4699afb..957c332 100755
- --- a/cygwin/devel/msnfs41client.bash
- +++ b/cygwin/devel/msnfs41client.bash
- @@ -448,7 +448,7 @@ function nfsclient_rundeamon
- "${nfsd_args[@]:1}"
- )
- "${nfsd_args[@]}"
- - elif false ; then
- + elif true ; then
- #
- # test nfsd.exe with Dr. Memory (version 2.6.0 -- build 0)
- #
- @@ -456,21 +456,24 @@ function nfsclient_rundeamon
- nfsd_args=(
- 'drmemory.exe' \
- '-batch'
- - '-brief'
- + #'-brief'
- '-no_follow_children'
- '-lib_blocklist_frames' '1'
- '-check_uninit_blocklist' 'MSWSOCK,WS2_32,ucrtbased.dll,ucrtbase.dll'
- '-malloc_callstacks'
- - '-delay_frees' '16384'
- - '-delay_frees_maxsz' $((64*1024*1024))
- - '-redzone_size' '4096'
- + #'-delay_frees' '16384'
- + #'-delay_frees_maxsz' $((64*1024*1024))
- + #'-redzone_size' '4096'
- '-check_uninitialized'
- + '-check_uninit_non_moves'
- '-check_uninit_all'
- '-strict_bitops'
- '-gen_suppress_syms'
- '-preload_symbols'
- # no symbol cache, user "SYSTEM" cannot write data to cache
- '-no_use_symcache'
- + # disable leak checking for performance
- + '-no_check_leaks'
- '--'
- "$(cygpath -w "$(which "${nfsd_args[0]}")")"
- "${nfsd_args[@]:1}"
- @@ -580,7 +583,7 @@ function nfsclient_system_rundeamon
- )
- "${nfsd_args[@]}"
- - elif false ; then
- + elif true ; then
- #
- # test nfsd.exe with Dr. Memory (version 2.6.0 -- build 0)
- #
- @@ -588,21 +591,24 @@ function nfsclient_system_rundeamon
- nfsd_args=(
- 'drmemory.exe' \
- '-batch'
- - '-brief'
- + #'-brief'
- '-no_follow_children'
- '-lib_blocklist_frames' '1'
- '-check_uninit_blocklist' 'MSWSOCK,WS2_32,ucrtbased.dll,ucrtbase.dll'
- '-malloc_callstacks'
- - '-delay_frees' '16384'
- - '-delay_frees_maxsz' $((64*1024*1024))
- - '-redzone_size' '4096'
- + #'-delay_frees' '16384'
- + #'-delay_frees_maxsz' $((64*1024*1024))
- + #'-redzone_size' '4096'
- '-check_uninitialized'
- + '-check_uninit_non_moves'
- '-check_uninit_all'
- '-strict_bitops'
- '-gen_suppress_syms'
- '-preload_symbols'
- # no symbol cache, user "SYSTEM" cannot write data to cache
- '-no_use_symcache'
- + # disable leak checking for performance
- + '-no_check_leaks'
- '--'
- "$(cygpath -w "$(which "${nfsd_args[0]}")")"
- "${nfsd_args[@]:1}"
- diff --git a/daemon/nfs41_daemon.c b/daemon/nfs41_daemon.c
- index 93d66b2..8b00833 100644
- --- a/daemon/nfs41_daemon.c
- +++ b/daemon/nfs41_daemon.c
- @@ -899,11 +899,13 @@ VOID ServiceStart(DWORD argc, LPTSTR *argv)
- WaitForSingleObject(stop_event, INFINITE);
- #else
- //This can be changed to waiting on an array of handles and using waitformultipleobjects
- - DPRINTF(1, ("Parent waiting for children threads\n"));
- - for (i = 0; i < nfs41_dg.num_worker_threads; i++)
- + DPRINTF(0, ("Parent waiting for children threads\n"));
- + for (i = 0; i < nfs41_dg.num_worker_threads; i++) {
- WaitForSingleObject(tids[i].handle, INFINITE );
- + DPRINTF(0, ("## Worker thread %d returned\n", (int)i));
- + }
- #endif
- - DPRINTF(1, ("Parent woke up!!!!\n"));
- + DPRINTF(0, ("Parent woke up!!!!\n"));
- out_pipe:
- CloseHandle(pipe);
drmemory test settings
Posted by Anonymous on Thu 16th Jan 2025 09:25
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.