You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
swift-ci opened this issue
Feb 28, 2016
· 4 comments
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfcrashBug: A crash, i.e., an abnormal termination of softwareIRGenLLVM IR generation
Arch Linux 4.2.5-1 - clang version 3.7.1 (tags/RELEASE_371/final) - Swift version 3.0-dev (LLVM 0d07a5d3d5, Clang 3d015ad63e, Swift 527c814)
macOS Sierra 10.12.6 (16G29) - Xcode Version 9.0 beta 4 (9M189t) - Apple Swift version 4.0 (swiftlang-900.0.54.11 clang-900.0.31)
Additional Detail from JIRA
Votes
0
Component/s
Compiler
Labels
Bug, CompilerCrash, IRGen
Assignee
None
Priority
Medium
md5: 241d7794eb6e8b63451730c46b8d9519
Issue Description:
When compiling the attached Swift package the compiler crashes after failing the following assertion: swift: /build/swiftc/src/swift/lib/IRGen/GenStruct.cpp:673: void (anonymous namespace)::ClangRecordLowering::addField(swift::VarDecl *, swift::irgen::Size, const swift::irgen::LoadableTypeInfo &): Assertion `offset >= NextOffset && "adding fields out of order"' failed.
The full log of the build on Arch Linux can be seen below. A similar build for OS X is attached.
NOTE: The Package.swift file attached points to FFmpeg headers configured for Arch Linux. If you are on OS X and use Homebrew to install FFmpeg you can change the module map for CFFmpeg to point to /usr/local/Cellar/ffmpeg/3.0/include/*/.h.
aschwaighofer@apple.com (JIRA User) it sure is. I'm not 100% sure its the same exact crash as before but it definitely still crashes. I just updated everything for Swift and SwiftPM 4 (and minimized some more of the code in the CFFmpeg library).
The swift build step produces the output in sr-846.log. I'll note that sometimes it does not give that whole log. Sometimes it just says: error: unable to execute command: Segmentation fault: 11 but it always crashes.
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfcrashBug: A crash, i.e., an abnormal termination of softwareIRGenLLVM IR generation
Attachment: Download
Environment
Arch Linux 4.2.5-1 - clang version 3.7.1 (tags/RELEASE_371/final) - Swift version 3.0-dev (LLVM 0d07a5d3d5, Clang 3d015ad63e, Swift 527c814)
macOS Sierra 10.12.6 (16G29) - Xcode Version 9.0 beta 4 (9M189t) - Apple Swift version 4.0 (swiftlang-900.0.54.11 clang-900.0.31)
Additional Detail from JIRA
md5: 241d7794eb6e8b63451730c46b8d9519
Issue Description:
When compiling the attached Swift package the compiler crashes after failing the following assertion:
swift: /build/swiftc/src/swift/lib/IRGen/GenStruct.cpp:673: void (anonymous namespace)::ClangRecordLowering::addField(swift::VarDecl *, swift::irgen::Size, const swift::irgen::LoadableTypeInfo &): Assertion `offset >= NextOffset && "adding fields out of order"' failed.
The full log of the build on Arch Linux can be seen below. A similar build for OS X is attached.
NOTE: The
Package.swift
file attached points to FFmpeg headers configured for Arch Linux. If you are on OS X and use Homebrew to install FFmpeg you can change the module map forCFFmpeg
to point to/usr/local/Cellar/ffmpeg/3.0/include/*/.h
.The text was updated successfully, but these errors were encountered: