casseopea2 / gperftools

Automatically exported from code.google.com/p/gperftools
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Win32 applications have an access violation on VirtualProtect in Wow64 #157

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
This should be fixed in perftools 1.4, just released.

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