www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - std.experimental.allocator unittest failures on Win32

reply Vladimir Panteleev <thecybershadow.lists gmail.com> writes:
Hi,

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

core.exception.AssertError std\experimental\allocator\building_blocks\al
ocator_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).
Apr 20 2016
parent Vladimir Panteleev <thecybershadow.lists gmail.com> writes:
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.
Apr 21 2016