buffer8848 / gperftools

Automatically exported from code.google.com/p/gperftools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Win32 applications have an access violation on VirtualProtect in Wow64

GoogleCodeExporter opened this issue · comments

What steps will reproduce the problem?
1. Build a win32 application with the libtcmalloc-minimal project (I 
linked it as a library instead of dll).
2. Run on Windows Server 2003 64 bit edition.

What is the expected output? What do you see instead?
The application will crash early on during patching of the main program 
while calling VirtualProtect.  The flag in the call needs to be 
PAGE_EXECUTE_READWRITE instead of PAGE_READWRITE.

What version of the product are you using? On what operating system?
perftools 1.3, compiled on XP 32bit, ran on Server 2003 64 bit.

Please provide any additional information below.

Original issue reported on code.google.com by escri...@hotmail.com on 21 Jul 2009 at 2:34

Thanks for tracking down the problem!  I've forwarded it to some windows experts
here, and assuming no problems, it will be in the next release.

Original comment by csilv...@gmail.com on 22 Jul 2009 at 7:11

  • Changed state: Started
  • Added labels: Priority-Medium, Type-Defect
This should be fixed in perftools 1.4, just released.

Original comment by csilv...@gmail.com on 11 Sep 2009 at 6:55

  • Changed state: Fixed