std.experimental.allocator unittest failures on Win32

Vladimir Panteleev via Digitalmars-d digitalmars-d at puremagic.com
Wed Apr 20 06:43:59 PDT 2016


Hi,

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

core.exception.AssertError at 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).



More information about the Digitalmars-d mailing list