Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-7947] Xcode 10: Trap 6 in Merge swiftmodule #50482

Closed
swift-ci opened this issue Jun 9, 2018 · 1 comment
Closed

[SR-7947] Xcode 10: Trap 6 in Merge swiftmodule #50482

swift-ci opened this issue Jun 9, 2018 · 1 comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself

Comments

@swift-ci
Copy link
Collaborator

swift-ci commented Jun 9, 2018

Previous ID SR-7947
Radar None
Original Reporter fabb (JIRA User)
Type Bug
Status Closed
Resolution Duplicate
Environment

Xcode 10 beta 1

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug
Assignee None
Priority Medium

md5: 637c2b0770ead12f69fb4b5e8041ea03

duplicates:

  • SR-7879 UIEdgeInsets.zero use crashes Xcode 10/Swift 4.2 compiler

Issue Description:

Since Xcode 10 we cannot build our project anymore with SWIFT_COMPILATION_MODE = singlefile. For SWIFT_COMPILATION_MODE = wholemodule it compiles fine. For singlefile, we get the following build error:

<unknown>:0: error: fatal error encountered while reading from module 'Willhaben'; please file a bug report with your project and the crash log

*** DESERIALIZATION FAILURE (please include this section in any bug report) ***
result is ambiguous
0  swift                    0x00000001071dfc5a PrintStackTraceSignalHandler(void*) + 42
1  swift                    0x00000001071df066 SignalHandler(int) + 966
2  libsystem_platform.dylib 0x00007fff588eaf5a _sigtramp + 26
3  libsystem_platform.dylib 0x00007ffeec7ca328 _sigtramp + 2481845224
4  libsystem_c.dylib        0x00007fff586881ae abort + 127
5  swift                    0x000000010468599b swift::ModuleFile::fatal(llvm::Error) + 1915
6  swift                    0x00000001046bd4d2 swift::SILDeserializer::readGlobalVar(llvm::StringRef) + 1890
7  swift                    0x0000000104767f9a swift::SerializedSILLoader::getAllForModule(swift::Identifier, swift::FileUnit*) + 234
8  swift                    0x00000001034badbe performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*, swift::UnifiedStatsReporter*) + 34750
9  swift                    0x00000001034af10f swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 7839
10 swift                    0x0000000103458c48 main + 13144
11 libdyld.dylib            0x00007fff585dc015 start + 1
[..]
2.  While deserializing SIL global "UIEdgeInsetsZero"
error: Abort trap: 6
@swift-ci
Copy link
Collaborator Author

swift-ci commented Jun 9, 2018

Comment by Fabian Ehrentraud (JIRA)

I unfortunately cannot share the Xcode project, and didn't have time (and probably won't in the near future) to isolate the issue in a demo project. If I can provide additional output from the compiler or try out things that might help with finding the issue, I'm here to help.

Should I create a Radar as well?

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself
Projects
None yet
Development

No branches or pull requests

1 participant