Skip to content

Abort: function reportError at S:\SourceCache\swift-project\swift\lib\SIL\Verifier\MemoryLifetimeVerifier.cpp:265 #82534

Open
@compnerd

Description

@compnerd

Description

No response

Reproduction

Build Swift Foundation statically on Windows

Stack dump

Exception Code: 0x80000003
 #0 0x00007ff726947d25 (S:\b\5\bin\swiftc.exe+0x6f87d25)
 #1 0x00007fffaecd1989 (C:\WINDOWS\System32\ucrtbase.dll+0xc1989)
 #2 0x00007fffaecb4ab1 (C:\WINDOWS\System32\ucrtbase.dll+0xa4ab1)
 #3 0x00007ff721e23dfa (S:\b\5\bin\swiftc.exe+0x2463dfa)
 #4 0x00007ff721e23d56 (S:\b\5\bin\swiftc.exe+0x2463d56)
 #5 0x00007ff720cf6731 (S:\b\5\bin\swiftc.exe+0x1336731)
 #6 0x00007ff720cf6b33 (S:\b\5\bin\swiftc.exe+0x1336b33)
 #7 0x00007ff720cf206a (S:\b\5\bin\swiftc.exe+0x133206a)
 #8 0x00007ff720cf34d7 (S:\b\5\bin\swiftc.exe+0x13334d7)
 #9 0x00007ff720cf7aee (S:\b\5\bin\swiftc.exe+0x1337aee)
#10 0x00007ff720b5a7f8 (S:\b\5\bin\swiftc.exe+0x119a7f8)
#11 0x00007ff720b4a5ed (S:\b\5\bin\swiftc.exe+0x118a5ed)
#12 0x00007ff72109e3e3 (S:\b\5\bin\swiftc.exe+0x16de3e3)
#13 0x00007ff720d53aad (S:\b\5\bin\swiftc.exe+0x1393aad)
#14 0x00007ff720d52ca7 (S:\b\5\bin\swiftc.exe+0x1392ca7)
#15 0x00007ff720d50747 (S:\b\5\bin\swiftc.exe+0x1390747)
#16 0x00007ff720d50a26 (S:\b\5\bin\swiftc.exe+0x1390a26)
#17 0x00007ff720d50437 (S:\b\5\bin\swiftc.exe+0x1390437)
#18 0x00007ff720da658d (S:\b\5\bin\swiftc.exe+0x13e658d)
#19 0x00007ff720d50bbf (S:\b\5\bin\swiftc.exe+0x1390bbf)
#20 0x00007ff720d3e2c5 (S:\b\5\bin\swiftc.exe+0x137e2c5)
#21 0x00007ff7202de445 (S:\b\5\bin\swiftc.exe+0x91e445)
#22 0x00007ff72003d7ed (S:\b\5\bin\swiftc.exe+0x67d7ed)
#23 0x00007ff72003e2cf (S:\b\5\bin\swiftc.exe+0x67e2cf)
#24 0x00007ff72003d034 (S:\b\5\bin\swiftc.exe+0x67d034)
#25 0x00007ff72003d4eb (S:\b\5\bin\swiftc.exe+0x67d4eb)
#26 0x00007ff72003f442 (S:\b\5\bin\swiftc.exe+0x67f442)
#27 0x00007ff71fe7ddf0 (S:\b\5\bin\swiftc.exe+0x4bddf0)
#28 0x00007ff71fe7d987 (S:\b\5\bin\swiftc.exe+0x4bd987)
#29 0x00007ff7269aace8 (S:\b\5\bin\swiftc.exe+0x6feace8)
#30 0x00007fffb0e4e8d7 (C:\WINDOWS\System32\KERNEL32.DLL+0x2e8d7)
#31 0x00007fffb12fc34c (C:\WINDOWS\SYSTEM32\ntdll.dll+0x3c34c)

Expected behavior

For this to either produce a diagnostic (or more realistically, compile).

Environment

Windows main

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    SILSILOptimizerArea → compiler: SIL optimization passesbugA deviation from expected or documented behavior. Also: expected but undesirable behavior.crashBug: A crash, i.e., an abnormal termination of softwaretriage neededThis issue needs more specific labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions