[SR-9066] Abort trap 6 While deserializing SIL vtable #51567
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
crash
Bug: A crash, i.e., an abnormal termination of software
serialization
Area → compiler: Serialization & deserialization
Attachment: Download
Additional Detail from JIRA
md5: d88a574f0b74b6ab2fa22c04c4f990f0
relates to:
Issue Description:
When trying to build attached project with Debug configuration where SWIFT_COMPILATION_MODE is set to Incremental, the target fails to build with following log:
If we use Release configuration where SWIFT_COMPILATION_MODE is set to Whole Module, building succeeds.
With rerelease (JIRA User) we were able to create this project that consists of only 2 files:
View.swift:
and Button.swift
The file names and View or Button class name does not seem to matter.
But the file order in build phase matters, View.swift needs to be before Button.swift.
Next necessary part is UIControl.Event usage inside NSObjectProtocol protocol.
It also reproduces if instead of NSObjectProtocol we use just NSObject extension.
Or if we use any UIControl nested type, for example UIControl.State (In Objective-C, these are not nested types).
The text was updated successfully, but these errors were encountered: