Skip to content

Program utilizing variadic generics crashes at runtime with a double-free #83659

@GeorgeLyon

Description

@GeorgeLyon

Description

In Xcode 26, this code causes a runtime crash on exiting the scope with what seems like a double-free:

https://github.com/GeorgeLyon/SwiftClaude/blob/fff21bcf08df468529344f1b7c06e3efc6e9cb70/Tests/Schema%20Coding%20Tests/Composite%20Tests/Enum%20Schema%20Tests.swift#L373

Reproduction

https://github.com/GeorgeLyon/SwiftClaude/blob/fff21bcf08df468529344f1b7c06e3efc6e9cb70/Tests/Schema%20Coding%20Tests/Composite%20Tests/Enum%20Schema%20Tests.swift#L373

Stack dump

#0	0x00000001ae9ddf38 in _swift_release_dealloc ()
#1	0x00000001ae9deabc in swift::RefCounts<swift::RefCountBitsT<(swift::RefCountInlinedness)1>>::doDecrementSlow<(swift::PerformDeinit)1> ()
#2	0x000000010dac4c10 in destroy for SchemaCoding.Support._WrapperSchema ()
#3	0x000000010da4f328 in ___lldb_unnamed_symbol605893 ()
#4	0x00000001ae9ddf50 in _swift_release_dealloc ()
#5	0x00000001ae9deabc in swift::RefCounts<swift::RefCountBitsT<(swift::RefCountInlinedness)1>>::doDecrementSlow<(swift::PerformDeinit)1> ()
#6	0x00000001aeb7da38 in deinit ()
#7	0x00000001aeb7da60 in __deallocating_deinit ()
#8	0x00000001ae9ddf50 in _swift_release_dealloc ()
#9	0x00000001ae9deabc in swift::RefCounts<swift::RefCountBitsT<(swift::RefCountInlinedness)1>>::doDecrementSlow<(swift::PerformDeinit)1> ()
#10	0x000000010da54d10 in destroy for SchemaCoding.Support._EnumSchemaInternallyTagged [inlined] ()
#11	0x000000010da54bb4 in destroy for SchemaCoding.Support._EnumSchemaInternallyTagged ()
#12	0x000000010cea0b90 in EnumSchemaTests.testInternallyTaggedEnumSchema() at /Volumes/Shared/Developer/Projects/SwiftClaude/Tests/Schema Coding Tests/Composite Tests/Enum Schema Tests.swift:423
#13	0x000000010cea0678 in $s17SchemaCodingTests04EnumaC0V020testInternallyTaggeddA04TestfMp_7__localfMu0_ #1 @Sendable (_:) in static EnumSchemaTests.$s17SchemaCodingTests04EnumaC0V020testInternallyTaggeddA04TestfMp_16b30bd8b6e0d4121ffMu_@Sendable () at /var/folders/8c/snwqqj210s3ftmwr48clnzdc0000gn/T/swift-generated-sources/@__swiftmacro_17SchemaCodingTests04EnumaC0V020testInternallyTaggeddA04TestfMp_.swift:8
#14	0x000000010cea004c in static EnumSchemaTests.$s17SchemaCodingTests04EnumaC0V020testInternallyTaggeddA04TestfMp_16b30bd8b6e0d4121ffMu_@Sendable () at /var/folders/8c/snwqqj210s3ftmwr48clnzdc0000gn/T/swift-generated-sources/@__swiftmacro_17SchemaCodingTests04EnumaC0V020testInternallyTaggeddA04TestfMp_.swift:10
#15	0x000000010cea0f44 in implicit closure #1 in static EnumSchemaTests.$s17SchemaCodingTests04EnumaC0V020testInternallyTaggeddA04TestfMp_25generatorb30bd8b6e0d4121ffMu_@Sendable () ()
#16	0x000000010cea439c in partial apply for implicit closure #1 in static EnumSchemaTests.$s17SchemaCodingTests04EnumaC0V020testInternallyTaggeddA04TestfMp_25generatorb30bd8b6e0d4121ffMu_@Sendable () ()
#17	0x000000010100f6bc in (1) await resume partial function for closure #1 () async throws -> sending τ_0_1 in Testing.__checkClosureCall<τ_0_0, τ_0_1 where τ_0_0: Swift.Equatable, τ_0_0: Swift.Error>(throws: τ_0_0, performing: () async throws -> τ_0_1, expression: Testing.__Expression, comments: @autoclosure () -> Swift.Array<Testing.Comment>, isRequired: Swift.Bool, sourceLocation: Testing.SourceLocation) async -> Swift.Result<(), Swift.Error> ()
#18	0x000000010100f6bc in (1) await resume partial function for closure #1 () async throws -> sending τ_0_1 in Testing.__checkClosureCall<τ_0_0, τ_0_1 where τ_0_0: Swift.Equatable, τ_0_0: Swift.Error>(throws: τ_0_0, performing: () async throws -> τ_0_1, expression: Testing.__Expression, comments: @autoclosure () -> Swift.Array<Testing.Comment>, isRequired: Swift.Bool, sourceLocation: Testing.SourceLocation) async -> Swift.Result<(), Swift.Error> ()
#19	0x000000010100f6bc in (1) await resume partial function for closure #1 () async throws -> sending τ_0_1 in Testing.__checkClosureCall<τ_0_0, τ_0_1 where τ_0_0: Swift.Equatable, τ_0_0: Swift.Error>(throws: τ_0_0, performing: () async throws -> τ_0_1, expression: Testing.__Expression, comments: @autoclosure () -> Swift.Array<Testing.Comment>, isRequired: Swift.Bool, sourceLocation: Testing.SourceLocation) async -> Swift.Result<(), Swift.Error> ()
#20	0x000000010100f6bc in (1) await resume partial function for closure #1 () async throws -> sending τ_0_1 in Testing.__checkClosureCall<τ_0_0, τ_0_1 where τ_0_0: Swift.Equatable, τ_0_0: Swift.Error>(throws: τ_0_0, performing: () async throws -> τ_0_1, expression: Testing.__Expression, comments: @autoclosure () -> Swift.Array<Testing.Comment>, isRequired: Swift.Bool, sourceLocation: Testing.SourceLocation) async -> Swift.Result<(), Swift.Error> ()
#21	0x00000001010d9e80 in (5) await resume partial function for function signature specialization <Arg[0] = Dead> of closure #1 @Sendable () async throws -> () in closure #1 () async throws -> () in closure #1 () async -> () in static Testing.Runner._runTestCase(_: Testing.Test.Case, within: Testing.Runner.Plan.Step) async throws -> () ()
#22	0x00000001010ccca8 in (19) await resume partial function for closure #1 () async -> () in static Testing.Runner._runTestCase(_: Testing.Test.Case, within: Testing.Runner.Plan.Step) async throws -> () ()
#23	0x000000010100f6bc in (1) await resume partial function for closure #1 () async throws -> sending τ_0_1 in Testing.__checkClosureCall<τ_0_0, τ_0_1 where τ_0_0: Swift.Equatable, τ_0_0: Swift.Error>(throws: τ_0_0, performing: () async throws -> τ_0_1, expression: Testing.__Expression, comments: @autoclosure () -> Swift.Array<Testing.Comment>, isRequired: Swift.Bool, sourceLocation: Testing.SourceLocation) async -> Swift.Result<(), Swift.Error> ()
#24	0x0000000293a6f0b8 in (2) await resume partial function for Swift.TaskLocal.withValueImpl<τ_0_0>(_: __owned τ_0_0, operation: () async throws -> τ_1_0, isolation: isolated Swift.Optional<Swift.Actor>, file: Swift.String, line: Swift.UInt) async throws -> τ_1_0 ()
#25	0x0000000293a6ed60 in (2) await resume partial function for Swift.TaskLocal.withValue<τ_0_0>(_: τ_0_0, operation: () async throws -> τ_1_0, isolation: isolated Swift.Optional<Swift.Actor>, file: Swift.String, line: Swift.UInt) async throws -> τ_1_0 ()
#26	0x00000001010cd4a4 in (2) await resume partial function for generic specialization <()> of static Testing.Test.Case.withCurrent<τ_0_0>(_: Testing.Test.Case, perform: () async throws -> τ_0_0) async throws -> τ_0_0 ()
#27	0x00000001010cb148 in (2) await resume partial function for static Testing.Runner._runTestCase(_: Testing.Test.Case, within: Testing.Runner.Plan.Step) async throws -> () ()
#28	0x00000001010ca8b0 in (1) await resume partial function for closure #2 @Sendable (Testing.Test.Case) async throws -> () in static Testing.Runner._runTestCases<τ_0_0 where τ_0_0: Swift.Sequence, τ_0_0.Element == Testing.Test.Case>(_: τ_0_0, within: Testing.Runner.Plan.Step) async throws -> () ()
#29	0x000000010100f6bc in (1) await resume partial function for closure #1 () async throws -> sending τ_0_1 in Testing.__checkClosureCall<τ_0_0, τ_0_1 where τ_0_0: Swift.Equatable, τ_0_0: Swift.Error>(throws: τ_0_0, performing: () async throws -> τ_0_1, expression: Testing.__Expression, comments: @autoclosure () -> Swift.Array<Testing.Comment>, isRequired: Swift.Bool, sourceLocation: Testing.SourceLocation) async -> Swift.Result<(), Swift.Error> ()
#30	0x00000001010d7148 in (1) await resume partial function for generic not re-abstracted specialization <Testing.Test.Case, Swift.LazyFilterSequence<Swift.AnySequence<Testing.Test.Case>>> of closure #1 () async throws -> () in closure #1 (inout Swift.ThrowingTaskGroup<(), Swift.Error>) async throws -> () in static Testing.Runner._forEach<τ_0_0, τ_0_1 where τ_0_0: Swift.Sendable, τ_0_0 == τ_0_1.Element, τ_0_1: Swift.Sequence>(in: τ_0_1, _: @Sendable (τ_0_0) async throws -> ()) async throws -> () ()
#31	0x000000010100f6bc in (1) await resume partial function for closure #1 () async throws -> sending τ_0_1 in Testing.__checkClosureCall<τ_0_0, τ_0_1 where τ_0_0: Swift.Equatable, τ_0_0: Swift.Error>(throws: τ_0_0, performing: () async throws -> τ_0_1, expression: Testing.__Expression, comments: @autoclosure () -> Swift.Array<Testing.Comment>, isRequired: Swift.Bool, sourceLocation: Testing.SourceLocation) async -> Swift.Result<(), Swift.Error> ()

Expected behavior

The program does not try to free invalid memory

Environment

swift-driver version: 1.127.11.2 Apple Swift version 6.2 (swiftlang-6.2.0.16.14 clang-1700.3.16.4)
Target: arm64-apple-macosx26.0

Additional information

On Swift 6.1.2, the same code causes the compiler to abort at compile time, which seems better but the error message is scary:

error: compile command failed due to signal 6 (use -v to see invocation)
PHI node entries do not match predecessors!
  %171 = phi i64 [ 0, %167 ], [ %262, %173 ], !dbg !192
label %173
label %249
Instruction does not dominate all uses!
  %262 = add i64 %171, 1, !dbg !192
  %171 = phi i64 [ 0, %167 ], [ %262, %173 ], !dbg !192
Instruction does not dominate all uses!
  %222 = call ptr @llvm.stacksave.p0(), !dbg !192
  call void @llvm.stackrestore.p0(ptr %222), !dbg !264
Instruction does not dominate all uses!
  %184 = call ptr @llvm.stacksave.p0(), !dbg !192
  call void @llvm.stackrestore.p0(ptr %184), !dbg !264
Instruction does not dominate all uses!
  %126 = call ptr @llvm.stacksave.p0(), !dbg !190
  call void @llvm.stackrestore.p0(ptr %126), !dbg !264
Instruction does not dominate all uses!
  %88 = call ptr @llvm.stacksave.p0(), !dbg !190
  call void @llvm.stackrestore.p0(ptr %88), !dbg !264
<unknown>:0: error: fatal error encountered during compilation; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
<unknown>:0: note: Broken module found, compilation aborted!
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.      Program arguments: /usr/bin/swift-frontend -frontend -c "/workspaces/SwiftClaude/Sources/Schema Coding/Composite Schema/Array Schema.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Composite Schema/Case Iterable Schema.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Composite Schema/Constant Schema.swift" -primary-file "/workspaces/SwiftClaude/Sources/Schema Coding/Composite Schema/Enum Schema/Enum Schema (Internally Tagged).swift" -primary-file "/workspaces/SwiftClaude/Sources/Schema Coding/Composite Schema/Enum Schema/Enum Schema (Object Properties).swift" -primary-file "/workspaces/SwiftClaude/Sources/Schema Coding/Composite Schema/Enum Schema/Enum Schema Cases.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Composite Schema/Object Properties.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Composite Schema/Object Schema.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Composite Schema/Optional Schema.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Composite Schema/Struct Schema.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Composite Schema/Tuple Schema.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Composite Schema/Wrapper Schema.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Macros.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Primitive Schema/Boolean Schema.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Primitive Schema/Integer Schema.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Primitive Schema/Null Schema.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Primitive Schema/Number Schema.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Primitive Schema/Primitive Schema.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Primitive Schema/String Schema.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Schema Support/Empty Coding Key.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Schema Support/Property Decoders.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Schema Support/Schema Builder.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Schema Support/Schema Component.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Schema Support/Schema Tuple Archetype.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Schema.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Support/Combine Descriptions.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Support/JSON Support.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Support/Sendable Metatype.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Support/Variadic Tuple Archetype.swift" -supplementary-output-file-map /tmp/TemporaryDirectory.uuzKtZ/supplementaryOutputs-2 -target aarch64-unknown-linux-gnu -Xllvm -aarch64-use-tbi -disable-objc-interop -I /workspaces/SwiftClaude/.build/aarch64-unknown-linux-gnu/debug/Modules-tool -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /workspaces/SwiftClaude/.build/aarch64-unknown-linux-gnu/debug/ModuleCache -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D ENABLE_META_SCHEMA -load-plugin-executable /workspaces/SwiftClaude/.build/aarch64-unknown-linux-gnu/debug/Macros-tool#Macros -enable-upcoming-feature InternalImportsByDefault -empty-abi-descriptor -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /workspaces/SwiftClaude -Xcc -fPIC -Xcc -g -Xcc -fno-omit-frame-pointer -module-name SchemaCoding -package-name swiftclaude -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o "/workspaces/SwiftClaude/.build/aarch64-unknown-linux-gnu/debug/SchemaCoding-tool.build/Enum Schema (Internally Tagged).swift.o" -o "/workspaces/SwiftClaude/.build/aarch64-unknown-linux-gnu/debug/SchemaCoding-tool.build/Enum Schema (Object Properties).swift.o" -o "/workspaces/SwiftClaude/.build/aarch64-unknown-linux-gnu/debug/SchemaCoding-tool.build/Enum Schema Cases.swift.o" -index-store-path /workspaces/SwiftClaude/.build/aarch64-unknown-linux-gnu/debug/index/store -index-system-modules
1.      Swift version 6.1.2 (swift-6.1.2-RELEASE)
2.      Compiling with the current language version
3.      Running pass "verify" on module "/workspaces/SwiftClaude/.build/aarch64-unknown-linux-gnu/debug/SchemaCoding-tool.build/Enum Schema (Internally Tagged).swift.o"
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0  swift-frontend  0x0000aaaab9209ae0
1  swift-frontend  0x0000aaaab9207ae4
2  swift-frontend  0x0000aaaab920a1f4
3  linux-vdso.so.1 0x0000ffff82beb7a0 __kernel_rt_sigreturn + 0
4  libc.so.6       0x0000ffff80cc7608
5  libc.so.6       0x0000ffff80c7cb3c gsignal + 28
6  libc.so.6       0x0000ffff80c67e00 abort + 244
7  swift-frontend  0x0000aaaab3986254
8  swift-frontend  0x0000aaaab916c19c
9  swift-frontend  0x0000aaaab916c080
10 swift-frontend  0x0000aaaab90990d0
11 swift-frontend  0x0000aaaab906e138
12 swift-frontend  0x0000aaaab3a90f04
13 swift-frontend  0x0000aaaab3a92134
14 swift-frontend  0x0000aaaab371ac8c
15 swift-frontend  0x0000aaaab371755c
16 swift-frontend  0x0000aaaab3716500
17 swift-frontend  0x0000aaaab3718880
18 swift-frontend  0x0000aaaab3717e00
19 swift-frontend  0x0000aaaab35284a8
20 libc.so.6       0x0000ffff80c684c4
21 libc.so.6       0x0000ffff80c68598 __libc_start_main + 152
22 swift-frontend  0x0000aaaab3526ff0
error: compile command failed due to signal 6 (use -v to see invocation)
PHI node entries do not match predecessors!
  %69 = phi i64 [ 0, %65 ], [ %113, %71 ], !dbg !163
label %71
label %104
Instruction does not dominate all uses!
  %113 = add i64 %69, 1, !dbg !163
  %69 = phi i64 [ 0, %65 ], [ %113, %71 ], !dbg !163
Instruction does not dominate all uses!
  %82 = call ptr @llvm.stacksave.p0(), !dbg !163
  call void @llvm.stackrestore.p0(ptr %82), !dbg !176
Instruction does not dominate all uses!
  %33 = call ptr @llvm.stacksave.p0(), !dbg !161
  call void @llvm.stackrestore.p0(ptr %33), !dbg !176
<unknown>:0: error: fatal error encountered during compilation; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
<unknown>:0: note: Broken module found, compilation aborted!
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.      Program arguments: /usr/bin/swift-frontend -frontend -c "/workspaces/SwiftClaude/Sources/Schema Coding/Composite Schema/Array Schema.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Composite Schema/Case Iterable Schema.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Composite Schema/Constant Schema.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Composite Schema/Enum Schema/Enum Schema (Internally Tagged).swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Composite Schema/Enum Schema/Enum Schema (Object Properties).swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Composite Schema/Enum Schema/Enum Schema Cases.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Composite Schema/Object Properties.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Composite Schema/Object Schema.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Composite Schema/Optional Schema.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Composite Schema/Struct Schema.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Composite Schema/Tuple Schema.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Composite Schema/Wrapper Schema.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Macros.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Primitive Schema/Boolean Schema.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Primitive Schema/Integer Schema.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Primitive Schema/Null Schema.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Primitive Schema/Number Schema.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Primitive Schema/Primitive Schema.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Primitive Schema/String Schema.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Schema Support/Empty Coding Key.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Schema Support/Property Decoders.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Schema Support/Schema Builder.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Schema Support/Schema Component.swift" -primary-file "/workspaces/SwiftClaude/Sources/Schema Coding/Schema Support/Schema Tuple Archetype.swift" -primary-file "/workspaces/SwiftClaude/Sources/Schema Coding/Schema.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Support/Combine Descriptions.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Support/JSON Support.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Support/Sendable Metatype.swift" "/workspaces/SwiftClaude/Sources/Schema Coding/Support/Variadic Tuple Archetype.swift" -emit-dependencies-path "/workspaces/SwiftClaude/.build/aarch64-unknown-linux-gnu/debug/SchemaCoding.build/Schema Tuple Archetype.d" -emit-reference-dependencies-path "/workspaces/SwiftClaude/.build/aarch64-unknown-linux-gnu/debug/SchemaCoding.build/Schema Tuple Archetype.swiftdeps" -emit-dependencies-path /workspaces/SwiftClaude/.build/aarch64-unknown-linux-gnu/debug/SchemaCoding.build/Schema.d -emit-reference-dependencies-path /workspaces/SwiftClaude/.build/aarch64-unknown-linux-gnu/debug/SchemaCoding.build/Schema.swiftdeps -target aarch64-unknown-linux-gnu -Xllvm -aarch64-use-tbi -disable-objc-interop -I /workspaces/SwiftClaude/.build/aarch64-unknown-linux-gnu/debug/Modules -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /workspaces/SwiftClaude/.build/aarch64-unknown-linux-gnu/debug/ModuleCache -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D ENABLE_META_SCHEMA -load-plugin-executable /workspaces/SwiftClaude/.build/aarch64-unknown-linux-gnu/debug/Macros-tool#Macros -enable-upcoming-feature InternalImportsByDefault -empty-abi-descriptor -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /workspaces/SwiftClaude -Xcc -fPIC -Xcc -g -Xcc -fno-omit-frame-pointer -module-name SchemaCoding -package-name swiftclaude -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o "/workspaces/SwiftClaude/.build/aarch64-unknown-linux-gnu/debug/SchemaCoding.build/Schema Tuple Archetype.swift.o" -o /workspaces/SwiftClaude/.build/aarch64-unknown-linux-gnu/debug/SchemaCoding.build/Schema.swift.o -index-store-path /workspaces/SwiftClaude/.build/aarch64-unknown-linux-gnu/debug/index/store -index-system-modules
1.      Swift version 6.1.2 (swift-6.1.2-RELEASE)
2.      Compiling with the current language version
3.      Running pass "verify" on module "/workspaces/SwiftClaude/.build/aarch64-unknown-linux-gnu/debug/SchemaCoding.build/Schema Tuple Archetype.swift.o"
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0  swift-frontend  0x0000aaaade349ae0
1  swift-frontend  0x0000aaaade347ae4
2  swift-frontend  0x0000aaaade34a1f4
3  linux-vdso.so.1 0x0000ffffa3f9e7a0 __kernel_rt_sigreturn + 0
4  libc.so.6       0x0000ffffa20c7608
5  libc.so.6       0x0000ffffa207cb3c gsignal + 28
6  libc.so.6       0x0000ffffa2067e00 abort + 244
7  swift-frontend  0x0000aaaad8ac6254
8  swift-frontend  0x0000aaaade2ac19c
9  swift-frontend  0x0000aaaade2ac080
10 swift-frontend  0x0000aaaade1d90d0
11 swift-frontend  0x0000aaaade1ae138
12 swift-frontend  0x0000aaaad8bd0f04
13 swift-frontend  0x0000aaaad8bd2134
14 swift-frontend  0x0000aaaad885ac8c
15 swift-frontend  0x0000aaaad885755c
16 swift-frontend  0x0000aaaad8856500
17 swift-frontend  0x0000aaaad8858880
18 swift-frontend  0x0000aaaad8857e00
19 swift-frontend  0x0000aaaad86684a8
20 libc.so.6       0x0000ffffa20684c4
21 libc.so.6       0x0000ffffa2068598 __libc_start_main + 152
22 swift-frontend  0x0000aaaad8666ff0
[376/443] Wrapping AST for MacrosTests for debugging
error: fatalError

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA 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