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-8062] error: fatal error encountered while reading from module 'CompuLEAD'; please file a bug report with your project and the crash log #50595

Closed
swift-ci opened this issue Jun 21, 2018 · 2 comments
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

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-8062
Radar None
Original Reporter narayanareddy.info@gmail.com (JIRA User)
Type Bug
Status Resolved
Resolution Duplicate
Environment

Xcode 10.0 Beta2

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

md5: a251dffa04635846fd04854cffc5812e

duplicates:

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

Issue Description:

      • DESERIALIZATION FAILURE (please include this section in any bug report) ***

result is ambiguous

0 swift 0x00000001074a2a9a PrintStackTraceSignalHandler(void*) + 42

1 swift 0x00000001074a1ea6 SignalHandler(int) + 966

2 libsystem_platform.dylib 0x00007fff7424df5a _sigtramp + 26

3 libsystem_platform.dylib 0x00007ffeec4f2828 _sigtramp + 2016037096

4 libsystem_c.dylib 0x00007fff73feb1ae abort + 127

5 swift 0x000000010495c80b swift::ModuleFile::fatal(llvm::Error) + 1915

6 swift 0x0000000104994352 swift::SILDeserializer::readGlobalVar(llvm::StringRef) + 1890

7 swift 0x0000000104a3c66a swift::SerializedSILLoader::getAllForModule(swift::Identifier, swift::FileUnit*) + 234

8 swift 0x000000010379386e performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*, swift::UnifiedStatsReporter*) + 34750

9 swift 0x0000000103787bbf swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 7839

10 swift 0x0000000103731768 main + 13144

11 libdyld.dylib 0x00007fff73f3f015 start + 1

Stack dump:

@belkadan
Copy link
Contributor

There should be useful information after the words "Stack dump". Does it mention UIEdgeInsetsZero, or something else?

@swift-ci
Copy link
Collaborator Author

Comment by Narayana Reddy Pathakota (JIRA)

This is duplicate issue of SR-7879. I have fixed it by changing the code like the following

#if swift(>=4.2)

import UIKit.UIGeometry

extension UIEdgeInsets {

public static let zero = UIEdgeInsets()

}

#endif

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@AnthonyLatsis AnthonyLatsis added the crash Bug: A crash, i.e., an abnormal termination of software label Dec 12, 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 crash Bug: A crash, i.e., an abnormal termination of software serialization Area → compiler: Serialization & deserialization
Projects
None yet
Development

No branches or pull requests

3 participants