dlang-community / harbored-mod

A documentation generator for D with support for both DDoc and Markdown.
Boost Software License 1.0
18 stars 14 forks source link

dub test crashes in allocator #65

Closed kiith-sa closed 5 years ago

kiith-sa commented 8 years ago

At least with 2.071; revisit and fix this - more stuff might be broken:

Running ./bin/__test__library__ 
testAllocator failed for FallbackAllocator!(HmodBlockAllocator!32768LU, GCAllocator)
core.exception.AssertError@../../../.dub/packages/experimental_allocator-2.70.0-b1/src/std/experimental/allocator/common.d(595): Assertion failure
----------------
??:? _d_assert [0x727d2f]
??:? void std.experimental.allocator.common.__assert(int) [0x722a3b]
../../../.dub/packages/experimental_allocator-2.70.0-b1/src/std/experimental/allocator/common.d:589 void std.experimental.allocator.common.testAllocator!(pure nothrow @nogc @safe std.experimental.allocator.building_blocks.fallback_allocator.FallbackAllocator!(allocator.HmodBlockAllocator!(32768uL).HmodBlockAllocator, std.experimental.allocator.gc_allocator.GCAllocator).FallbackAllocator std.experimental.allocator.building_blocks.fallback_allocator.FallbackAllocator!(allocator.HmodBlockAllocator!(32768uL).HmodBlockAllocator, std.experimental.allocator.gc_allocator.GCAllocator).FallbackAllocator.__unittestL25_3038().__lambda1()).testAllocator() [0x638f91]
../../../.dub/packages/experimental_allocator-2.70.0-b1/src/std/experimental/allocator/building_blocks/fallback_allocator.d:27 void std.experimental.allocator.building_blocks.fallback_allocator.FallbackAllocator!(allocator.HmodBlockAllocator!(32768uL).HmodBlockAllocator, std.experimental.allocator.gc_allocator.GCAllocator).FallbackAllocator.__unittestL25_3038() [0x62bde8]
??:? void allocator.__modtest() [0x65bc78]
??:? int core.runtime.runModuleUnitTests().__foreachbody2(object.ModuleInfo*) [0x751bb8]
??:? int object.ModuleInfo.opApply(scope int delegate(object.ModuleInfo*)).__lambda2(immutable(object.ModuleInfo*)) [0x726aff]
??:? int rt.minfo.moduleinfos_apply(scope int delegate(immutable(object.ModuleInfo*))).__foreachbody2(ref rt.sections_elf_shared.DSO) [0x72f11a]
??:? int rt.sections_elf_shared.DSO.opApply(scope int delegate(ref rt.sections_elf_shared.DSO)) [0x72f1a9]
??:? int rt.minfo.moduleinfos_apply(scope int delegate(immutable(object.ModuleInfo*))) [0x72f0ab]
??:? int object.ModuleInfo.opApply(scope int delegate(object.ModuleInfo*)) [0x726adb]
??:? runModuleUnitTests [0x751aaa]
??:? void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll() [0x72a65e]
??:? void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate()) [0x72a600]
??:? _d_run_main [0x72a571]
??:? main [0x62b43f]
??:? __libc_start_main [0x575ea3f]
Program exited with code 1