D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 22791 - std\socket.d(790) Heisenbug random failure
Summary: std\socket.d(790) Heisenbug random failure
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: x86_64 Windows
: P1 normal
Assignee: No Owner
URL:
Keywords: pull
Depends on:
Blocks:
 
Reported: 2022-02-19 04:22 UTC by Walter Bright
Modified: 2022-02-20 07:42 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Walter Bright 2022-02-19 04:22:27 UTC
Randomly appears in Azure Windows_DMD_latest x64

---

core.exception.AssertError@std\socket.d(790): unittest failure
----------------
0x00007FF6D72A17F8 in d_unittestp
0x00007FF6D68A8F8F in std.socket.__unittest_L773_C7 at D:\a\1\phobos\std\socket.d(791)
0x00007FF6D68B8CBC in void std.socket.__modtest()
0x00007FF6D72C5159 in int core.runtime.runModuleUnitTests().__foreachbody2(object.ModuleInfo*)
0x00007FF6D72BD847 in int object.ModuleInfo.opApply(scope int delegate(object.ModuleInfo*)).__lambda2(immutable(object.ModuleInfo*))
0x00007FF6D72C87C4 in int rt.minfo.moduleinfos_apply(scope int delegate(immutable(object.ModuleInfo*))).__foreachbody2(ref rt.sections_win64.SectionGroup)
0x00007FF6D72C872F in int rt.minfo.moduleinfos_apply(scope int delegate(immutable(object.ModuleInfo*)))
0x00007FF6D72BD807 in int object.ModuleInfo.opApply(scope int delegate(object.ModuleInfo*))
0x00007FF6D72C4FA3 in runModuleUnitTests
0x00007FF6D72B8F85 in void rt.dmain2._d_run_main2(char[][], ulong, extern (C) int function(char[][])*).runAll()
0x00007FF6D72B8EDF in void rt.dmain2._d_run_main2(char[][], ulong, extern (C) int function(char[][])*).tryExec(scope void delegate())
0x00007FF6D72B8CC6 in d_run_main2
0x00007FF6D7299039 in d_run_main
0x00007FF6D4D6EC42 in unittest._d_cmain!().main at D:\a\1\phobos\../druntime\import\core\internal\entrypoint.d(30)
0x00007FF6D7396B58 in __scrt_common_main_seh at d:\a01\_work\12\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl(288)
0x00007FF952437974 in BaseThreadInitThunk
0x00007FF953CFA2F1 in RtlUserThreadStart
1/133 modules FAILED unittests

--- errorlevel 1
Comment 1 Dlang Bot 2022-02-20 06:30:54 UTC
@WalterBright created dlang/phobos pull request #8388 "fix Issue 22791 - std\socket.d(790) Heisenbug random failure" fixing this issue:

- fix Issue 22791 - std\socket.d(790) Heisenbug random failure

https://github.com/dlang/phobos/pull/8388
Comment 2 Dlang Bot 2022-02-20 07:42:19 UTC
dlang/phobos pull request #8388 "fix Issue 22791 - std\socket.d(790) Heisenbug random failure" was merged into master:

- cc6f2d4dd9f70b46ba7591cbb9502fccc630e8c0 by Walter Bright:
  fix Issue 22791 - std\socket.d(790) Heisenbug random failure

https://github.com/dlang/phobos/pull/8388