DynamoRIO / DynamoRIO/drmemory
APP CRASH mingw hello,world
- Dominant language
- C
- Stars
- 2.7k
- Forks
- 290
- PR merge metrics
- No merged PRs in 30d
Description
On Windows 10 1809, using Eclipse and MinGW (latest verisions), when I drag/drop an executable onto the Dr. Memory icon, I get this as a result every time.
```
Dr. Memory version 1.11.0 build 2 built on Aug 29 2016 02:42:07
Dr. Memory results for pid 3452: "TestCPP.exe"
Application cmdline: "C:\eclipsePhotonPortable\Workspace\TestCPP\Debug\TestCPP.exe"
Recorded 115 suppression(s) from default C:\Program Files (x86)\Dr. Memory\bin\suppress-default.txt
Error #1: UNADDRESSABLE ACCESS: executing 0x00000000-0x00000001 1 byte(s)
# 0 (0x00000000)
Note: @0:00:01.149 in thread 6756
```
The ONLY thing in the program is:
```
#include
using namespace std;
int main() {
cout << "!!!Hello World!!!" << endl; // prints !!!Hello World!!!
return 0;
}
```
I have used these linker flags:
`-static-libgcc -static-libstdc++ -ggdb`
I have also copied the syscalls_wow64.txt file into the Dr. Memory\bin folder
I have tried this on three different windows computers - same thing. Any ideas?
I am being forced to use the Linux Subsystem for windows 10 and Ubuntu/Valgrind because of this error....
Contributor guide
Assessment
This issue has not been assessed yet.