DynamoRIO / DynamoRIO/drmemory
Child process not followed
- Dominant language
- C
- Stars
- 2.7k
- Forks
- 290
- PR merge metrics
- No merged PRs in 30d
Description
_From [pwcame...@gmail.com](https://code.google.com/u/115973093480634532778/) on June 11, 2013 12:57:35_
What steps will reproduce the problem? 1) Build this code using VS2012, default release 32 bit config, optimization disabled.
#include
#include
int _tmain(int argc, _TCHAR\* argv[])
{
STARTUPINFOW startInfo;
memset(&startInfo, 0, sizeof(startInfo));
startInfo.cb = sizeof(startInfo);
startInfo.wShowWindow = SW_MINIMIZE;
PROCESS_INFORMATION process_info = {0};
std::wstring pCmdLine = L"C:\Windows\system32\notepad.exe";
BOOL b = CreateProcessW(NULL, (wchar_t*)pCmdLine.c_str(), NULL, NULL, TRUE,
CREATE_NO_WINDOW, NULL, NULL , &startInfo, &process_info);
```
return 0;
```
}
1. Run Dr. Memory on this exe. I used these arguments (not that it probably matters): -no_possible_leaks -prefix_style 2 -callstack_max_frames 24 -callstack_style 0x820 -batch -no_check_gdi -- $(TargetPath)
2. Go to your Dr. Memory logs folder to view logs. What is the expected output? What do you see instead? Expected results for this exe and notepad.exe. Notepad.exe has no results. What version of the product are you using? On what operating system? 1.5.1-6 on Windows 7 x64.
Does the problem go away when running in light mode (pass "-light" to Dr.
Memory)? What about when running with the options "-leaks_only
-no_count_leaks -no_track_allocs"?
Didn't try. Seems N/A.
Would you prefer attachment of a cpp file and project file?
_Original issue: http://code.google.com/p/drmemory/issues/detail?id=1267_
Contributor guide
Assessment
This issue has not been assessed yet.