fixes issue 1017
+ switch to iso88591* locale which is more widely available
+ still had to explicitly install it on the bot

git-svn-id: https://drmemory.googlecode.com/svn/trunk@1024 5b54908e-ead4-fc18-b48a-0285e6dbc711
add more handle leak tests
- add windows tests
- add more handle close syscalls
- increase handle test's callstack_max_frames
- add suppression for windows creation related leaks
- remove handle test on 64-bit for i#989

git-svn-id: https://drmemory.googlecode.com/svn/trunk@1026 5b54908e-ead4-fc18-b48a-0285e6dbc711
fixed i#502-c#5
- add SYSARG_CHECK_NEXT_ARG flag
- add arg skip code
- update NtGdiEnumFonts
- add EnumFont test in gdi.cpp

git-svn-id: https://drmemory.googlecode.com/svn/trunk@1027 5b54908e-ead4-fc18-b48a-0285e6dbc711
i#946 part 2: socketcall for x64

It's not easy to share all the code between SYS_socketcall and x64's nicer
top-level split.  I went with special arg type handling for sockaddr and
msghdr.  For sockaddr I call the existing check_sockaddr() (augmented to do
the kernel length adjustment in-house) and for msghdr I pulled the code out
of the socketcall sequence in order to share it.

Added a sorely-needed socket test to app_suite.  Confirmed manually
that it finds real errors in the receive buffer.

Added an extra_info array for use by syscall parameters that need to store
information from pre to post.  Folded the sysarg_size_from_field data into
the extra_info array.

git-svn-id: https://drmemory.googlecode.com/svn/trunk@1028 5b54908e-ead4-fc18-b48a-0285e6dbc711
i#946 part 3: ipc for x64
+ added handling for 12 x64 syscalls
+ pulled out and shared code for the 3 sub-sub-dispatches:
  semctl, msgctl, shmctl
+ pulled out code for msgbuf data type
+ added semaphore tests

git-svn-id: https://drmemory.googlecode.com/svn/trunk@1029 5b54908e-ead4-fc18-b48a-0285e6dbc711
Fix config-time error w/ mingw present where an empty param is not quoted.

git-svn-id: https://drmemory.googlecode.com/svn/trunk@1030 5b54908e-ead4-fc18-b48a-0285e6dbc711
fixes issue 958

Build alloc_replace.c with FPO disabled in order to include the alloc
frame in the callstack reliably.

git-svn-id: https://drmemory.googlecode.com/svn/trunk@1031 5b54908e-ead4-fc18-b48a-0285e6dbc711
fixes issue 998
fixes issue 657

Fix a race in callstack scanning that may explain many weird
callstacks we could never explain nor reproduce.  Switched
to per-thread page buffers to avoid serialization.

Marked realloc test as no longer FLAKY.

git-svn-id: https://drmemory.googlecode.com/svn/trunk@1032 5b54908e-ead4-fc18-b48a-0285e6dbc711
fixes issue 1024

Kill infloop.exe by pid instead of name to support simultanous nudge tests
(an alternative would be to add an ordering dependence, but we already bail
earlier if we can't get the pid, so we always have it).

git-svn-id: https://drmemory.googlecode.com/svn/trunk@1033 5b54908e-ead4-fc18-b48a-0285e6dbc711
+ fix socketcall bugs in r1028
+ disable strcasecmp for drheapstat since it fails natively

git-svn-id: https://drmemory.googlecode.com/svn/trunk@1034 5b54908e-ead4-fc18-b48a-0285e6dbc711
fixed issue 924
- avoid corrupting heap data by using a[4] = a[4] in cs2bug

git-svn-id: https://drmemory.googlecode.com/svn/trunk@1035 5b54908e-ead4-fc18-b48a-0285e6dbc711
fixed i#924-c#4: free test hang in drheapstat
- use *(x+32)=0xe to avoid corrupting free_list.

git-svn-id: https://drmemory.googlecode.com/svn/trunk@1036 5b54908e-ead4-fc18-b48a-0285e6dbc711
fixes issue 1025

update to DR r1582 to fix os_file_exists() to prevent sharing violations



git-svn-id: https://drmemory.googlecode.com/svn/trunk@1037 5b54908e-ead4-fc18-b48a-0285e6dbc711
fixed test failure on app_suite

git-svn-id: https://drmemory.googlecode.com/svn/trunk@1038 5b54908e-ead4-fc18-b48a-0285e6dbc711
update DynamoRIO to r1586 for reverting r1578,r1579

git-svn-id: https://drmemory.googlecode.com/svn/trunk@1039 5b54908e-ead4-fc18-b48a-0285e6dbc711
Revert DynamoRIO to r1576 for i#1027


git-svn-id: https://drmemory.googlecode.com/svn/trunk@1040 5b54908e-ead4-fc18-b48a-0285e6dbc711
update DynamoRIO to r1587


git-svn-id: https://drmemory.googlecode.com/svn/trunk@1041 5b54908e-ead4-fc18-b48a-0285e6dbc711
fixed issue 1026: winthread fail on drheapstat

git-svn-id: https://drmemory.googlecode.com/svn/trunk@1042 5b54908e-ead4-fc18-b48a-0285e6dbc711
fixed i#1016-c#3
- remove uninit check in light mode on syscall
- rename check_sysparam_defined to check_sysparam

git-svn-id: https://drmemory.googlecode.com/svn/trunk@1043 5b54908e-ead4-fc18-b48a-0285e6dbc711
fixes issue 1031

Handle not-yet-processed libc by not requiring a heapset match but instead
a libc hit on 2nd call in std::_DebugHeapDelete<*>.

git-svn-id: https://drmemory.googlecode.com/svn/trunk@1044 5b54908e-ead4-fc18-b48a-0285e6dbc711