stellar2012wxg / gperftools

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

On Windows 8.1, system-alloc_unittest fails an assert #681

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using Visual studio 2013 community edition, compile x86 debug version
2. select system-alloc_unittest as startup project
3. run (F5) 

What is the expected output? What do you see instead?
Expected to see a PASS
instead the following assert
Assertion failed: success == TRUE, file 
c:\des\gperftools-2.4\src\windows\system-alloc.cc, line 166

What version of the product are you using? On what operating system?
2.4, Windows 8.1

Please provide any additional information below.

This seems to be an attempt to call VirtualFree (inside TCMalloc_SystemRelease) 
again with the same memory reference

(I think it may be due to how the freelist is handled)

Original issue reported on code.google.com by des...@googlemail.com on 12 Apr 2015 at 10:15

GoogleCodeExporter commented 9 years ago
This is same bug as issue 665.

I.e. my understanding is that underlying issue is due to lack of decommit 
support in SysAlloc interface. And also hidden assumption of original unittest 
that you can "decommit" static data (which works on unices but not on windows).

Original comment by alkondratenko on 15 Apr 2015 at 3:03