www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22660] New: std.experimental.allocator randomly fails unittest

https://issues.dlang.org/show_bug.cgi?id=22660

          Issue ID: 22660
           Summary: std.experimental.allocator randomly fails unittest
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Mac OS X
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: bugzilla digitalmars.com

The following Phobos unittest fails randomly on macOS 12.x x64, DMD (latest)
test:

--------------------------

****** FAIL debug64 std.experimental.allocator
core.exception.AssertError std/experimental/allocator/package.d(3738):
Assertion failure
----------------
std/regex/internal/tests.d:364 onAssertError [0x106595e21]
std/regex/internal/tests.d:364 _d_assertp [0x106596152]
std/digest/sha.d:506 pure nothrow  safe void
std.experimental.allocator.__unittest_L3717_C1().__lambda10() [0x105ca03b8]
std/digest/sha.d:334 void std.experimental.allocator.__unittest_L3717_C1()
[0x105ca01c3]
std/datetime/systime.d:11345 void std.experimental.allocator.__modtest()
[0x105c9a6bf]
../druntime/src/test_runner.d:73 void test_runner.doTest(object.ModuleInfo*,
ref core.runtime.UnitTestResult) [0x10485317f]
../druntime/src/test_runner.d:44 core.runtime.UnitTestResult
test_runner.testModules() [0x10485308c]
../druntime/src/test_runner.d:25 core.runtime.UnitTestResult
test_runner.tester() [0x104852ec3]
std/regex/internal/tests.d:364 runModuleUnitTests [0x10659767c]
std/regex/internal/tests.d:364 void rt.dmain2._d_run_main2(char[][], ulong,
extern (C) int function(char[][])*).runAll() [0x1065c1efd]
std/regex/internal/tests.d:364 void rt.dmain2._d_run_main2(char[][], ulong,
extern (C) int function(char[][])*).tryExec(scope void delegate())
[0x1065c1e78]
std/regex/internal/tests.d:364 _d_run_main2 [0x1065c1dda]
std/regex/internal/tests.d:364 _d_run_main [0x1065c1b0e]
../druntime/src/test_runner.d:110 main [0x104852d69]
??:? start [0x116a834fd]
make[1]: *** [unittest/std/experimental/allocator/package.run] Error 1

--
Jan 08 2022