Unfortunately this bug is not reproducible (when I reran, DMD just segfault'ed) but it might point to the root cause of not deterministic behavior of DMD.
Note the index and array size.
ERROR: This is a compiler bug.
Please report it via https://issues.dlang.org/enter_bug.cgi
with, preferably, a reduced, reproducible example and the information below.
DustMite (https://github.com/CyberShadow/DustMite/wiki) can help with the reduction.
---
DMD v2.100.2-dirty
predefs Have_argparse DigitalMars LittleEndian D_Version2 all D_SIMD Windows Win64 CRuntime_Microsoft CppRuntime_Microsoft D_InlineAsm_X86_64 X86_64 D_LP64 D_Coverage unittest assert D_PreConditions D_PostConditions D_Invariants D_ModuleInfo D_Exceptions D_TypeInfo D_HardFloat
binary C:\D\dmd2\windows\bin64\dmd.exe
version v2.100.2-dirty
config C:\D\dmd2\windows\bin64\sc.ini
DFLAGS -IC:\D\dmd2\windows\bin64\..\..\src\phobos -IC:\D\dmd2\windows\bin64\..\..\src\druntime\import
---
core.exception.ArraySliceError@C:\Users\vagrant\clones\dmd\src\dmd\root\array.d(305): slice [0 .. 140698326884624] extends past source array of length 1665507498544
----------------
0x00007FF6E1C6B198
0x00007FF6E1C6B198
0x00007FF6E1C6AA82
0x00007FF6E1C5583B
0x00007FF6E1C55E6B
0x00007FF6E1C54DAA
0x00007FF6E1CA225F
0x00007FF6E18B79A8
0x00007FF6E18B7A29
0x00007FF6E18B7575
0x00007FF6E18BF59E
0x00007FF6E1A56D87
0x00007FF6E18A768A
0x00007FF6E192D8C4
0x00007FF6E18EAA39
0x00007FF6E19E91EB
0x00007FF6E19E8764
0x00007FF6E19333D2
0x00007FF6E193A3CD
0x00007FF6E19A2451
0x00007FF6E199F85D
0x00007FF6E192CBD5
0x00007FF6E18EAA39
0x00007FF6E1A7EAE1
0x00007FF6E191970A
0x00007FF6E18FACF9
0x00007FF6E19E91EB
0x00007FF6E19E8764
0x00007FF6E19333D2
0x00007FF6E193A3CD
0x00007FF6E19A2451
0x00007FF6E199F85D
0x00007FF6E192CBD5
0x00007FF6E18EAEA8
0x00007FF6E19E91EB
0x00007FF6E19E8764
0x00007FF6E1A43E3C
0x00007FF6E1A4407E
0x00007FF6E19E978C
0x00007FF6E19E8F94
0x00007FF6E19333D2
0x00007FF6E18F593E
0x00007FF6E19F7C9B
0x00007FF6E19E8764
0x00007FF6E19333D2
0x00007FF6E193A3CD
0x00007FF6E19A2451
0x00007FF6E18F49EC
0x00007FF6E19BB006
0x00007FF6E18E6F1A
0x00007FF6E1AAF6B3
0x00007FF6E1AA97FB
0x00007FF6E18D7F01
0x00007FF6E19E91EB
0x00007FF6E19E8764
0x00007FF6E19F94F2
0x00007FF6E1A43E3C
0x00007FF6E19F0D68
0x00007FF6E19E8764
0x00007FF6E19333D2
0x00007FF6E193A3CD
0x00007FF6E19A2451
0x00007FF6E199F85D
0x00007FF6E192CBD5
0x00007FF6E18EAEA8
0x00007FF6E19E91EB
0x00007FF6E19E8764
0x00007FF6E19333D2
0x00007FF6E193A3CD
0x00007FF6E19A2451
0x00007FF6E199F85D
0x00007FF6E192CBD5
0x00007FF6E18EAEA8
0x00007FF6E1A7EAE1
0x00007FF6E191970A
0x00007FF6E18FACF9
0x00007FF6E19E91EB
0x00007FF6E19E8764
0x00007FF6E19333D2
0x00007FF6E18F593E
0x00007FF6E192570A
0x00007FF6E18FB6D6
0x00007FF6E19E91EB
0x00007FF6E19E8764
0x00007FF6E19333D2
0x00007FF6E18F593E
0x00007FF6E19F7C9B
0x00007FF6E19E8764
0x00007FF6E19333D2
0x00007FF6E193A3CD
0x00007FF6E19A2451
0x00007FF6E18F49EC
0x00007FF6E18EB317
0x00007FF6E18EA516
0x00007FF6E1AAF6B3
0x00007FF6E1AA97FB
0x00007FF6E18D7F01
0x00007FF6E19E91EB
0x00007FF6E19E8764
0x00007FF6E19333D2
0x00007FF6E193A3CD
0x00007FF6E19A2451
0x00007FF6E19BB133
0x00007FF6E18E96DE
0x00007FF6E19E91EB
0x00007FF6E19F9C3A
0x00007FF6E19E8764
0x00007FF6E19F94F2
0x00007FF6E19F9C3A
0x00007FF6E19E8764
0x00007FF6E19333D2
0x00007FF6E193A3CD
0x00007FF6E19A2451
0x00007FF6E199F85D
0x00007FF6E192CBD5
0x00007FF6E18EAEA8
0x00007FF6E19E91EB
0x00007FF6E19E8764
0x00007FF6E19333D2
0x00007FF6E193A3CD
0x00007FF6E19A2451
0x00007FF6E199F85D
0x00007FF6E192CBD5
0x00007FF6E18EAEA8
0x00007FF6E19E91EB
0x00007FF6E19E8764
0x00007FF6E19333D2
0x00007FF6E193A3CD
0x00007FF6E19A2451
0x00007FF6E199F85D
0x00007FF6E192CBD5
0x00007FF6E192C039
0x00007FF6E192B8F3
0x00007FF6E1A7EB0D
0x00007FF6E191970A
0x00007FF6E18FACF9
0x00007FF6E19E91EB
0x00007FF6E19E8764
0x00007FF6E19333D2
0x00007FF6E193A3CD
0x00007FF6E19A2451
0x00007FF6E199F85D
0x00007FF6E192CBD5
0x00007FF6E18EAEA8
0x00007FF6E1A7EAE1
0x00007FF6E191970A
0x00007FF6E18FACF9
0x00007FF6E19E91EB
0x00007FF6E19E8764
0x00007FF6E19333D2
0x00007FF6E193A3CD
0x00007FF6E19A24D6
0x00007FF6E18F49EC
0x00007FF6E19E91EB
0x00007FF6E19E8764
0x00007FF6E19333D2
0x00007FF6E19310F4
0x00007FF6E1B1B127
0x00007FF6E1B2ECD8
0x00007FF6E1C5C3D9
0x00007FF6E1C5C259
0x00007FF6E1C5C01F
0x00007FF6E1C7E51C
0x00007FFAA7B7244D in BaseThreadInitThunk
0x00007FFAA85ADF78 in RtlUserThreadStart
C:\D\dmd2\windows\bin64\dmd.exe failed with exit code 1.
Process finished with exit code 2
PS I'm not able to report a bug because tracking system doesn't work with gmail.