DynamoRIO / DynamoRIO/drmemory
ASSERT: drheapstat can't find sysnum_UserConnectToServer, it has no tables, pdbs, or exports
- Dominant language
- C
- Stars
- 2.7k
- Forks
- 290
- PR merge metrics
- No merged PRs in 30d
Description
_From [rnk@google.com](https://code.google.com/u/rnk@google.com/) on March 08, 2012 15:33:44_
When I run the pre-commit suite, each and every drheapstat test fails like so:
1: ~~Dr.H~~ ASSERT FAILURE (thread 8016): ....\common\alloc.c:2236:
1: sysnum_UserConnectToServer != -1 || !is_wow64_process() ||
1: !running_on_Vista_or_later() (error finding alloc syscall #)
This is similar to issue #419 which we already fixed by relaxing this assert.
It makes sense that drheapstat can't find this system call num: it doesn't have drsyms (USE_DRSYMS is OFF for me, and turning it on gives a link error), it doesn't have drmemory's syscall # tables from issue #388 , and UserConnectToServer is not exported from user32.dll.
What's the best way to fix this, add drsyms support to drheapstat, or moving drmemory's syscall tables into common/?
_Original issue: http://code.google.com/p/drmemory/issues/detail?id=820_
Contributor guide
Assessment
This issue has not been assessed yet.