Re: std.experimental.allocator unittest failures on Win32

2016-04-21 Thread Vladimir Panteleev via Digitalmars-d
On Wednesday, 20 April 2016 at 13:43:59 UTC, Vladimir Panteleev 
wrote:

Hi,

When I attempt to run the Phobos tests on my machine, I get the 
following:


[...]


Should anyone run into this, these disappeared after updating 
snn.lib.




std.experimental.allocator unittest failures on Win32

2016-04-20 Thread Vladimir Panteleev via Digitalmars-d

Hi,

When I attempt to run the Phobos tests on my machine, I get the 
following:


core.exception.AssertError@std\experimental\allocator\building_blocks\allocator_list.d(198):
 Assertion failure

0x010AECF7 in _d_assert
0x00EBF05A in 
D3std12experimental9allocator15building_blocks14allocator_list325__T13AllocatorListTS3std12expe437997C7796FFAC276BC2767A7BEA4BE
0x00EE765C in void 
std.experimental.allocator.building_blocks.kernighan_ritchie.__modtest()
0x010BD087 in int object.ModuleInfo.opApply(scope int 
delegate(object.ModuleInfo*)).__lambda2(immutable(object.ModuleInfo*))


object.Error@(0): Access Violation

0x010DB60E in RTLHeapBlock
0x00EAFB1A in shared(nothrow @nogc bool function(void[])) 
std.experimental.allocator.mallocator.Mallocator.deallocate
0x00EEB796 in void 
std.experimental.allocator.building_blocks.region.__modtest()
0x010BD087 in int object.ModuleInfo.opApply(scope int 
delegate(object.ModuleInfo*)).__lambda2(immutable(object.ModuleInfo*))


After this, unittest.exe deadlocks (it seems to be blocking 
inside DMCRT's malloc, which I assume is waiting on a lock 
dangling due to the above AV in RTLHeapBlock).