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-9601] Unable to build project dependent on multiple frameworks #4613

Closed
swift-ci opened this issue Jan 4, 2019 · 1 comment
Closed

Comments

@swift-ci
Copy link

swift-ci commented Jan 4, 2019

Previous ID SR-9601
Radar None
Original Reporter ayush (JIRA User)
Type Bug
Status Closed
Resolution Cannot Reproduce
Additional Detail from JIRA
Votes 0
Component/s LLDB for Swift
Labels Bug, CompilerCrash, Serialization
Assignee None
Priority Medium

md5: a271bc99196b3525b643ce3535a7fe47

Issue Description:

The stack trace I get

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


*** DESERIALIZATION FAILURE (please include this section in any bug report) ***
top-level value not found
Cross-reference to module '<redacted>'
... <redacted>


0  swift                    0x000000010e986fea PrintStackTraceSignalHandler(void*) + 42
1  swift                    0x000000010e9863a6 SignalHandler(int) + 966
2  libsystem_platform.dylib 0x00007fff6013cf5a _sigtramp + 26
3  libsystem_platform.dylib 0x0000000115d57558 _sigtramp + 3049367064
4  libsystem_c.dylib        0x00007fff5feda1ae abort + 127
5  swift                    0x000000010c0b5d5e swift::ModuleFile::fatal(llvm::Error) + 2062
6  swift                    0x000000010c0c80ca swift::ModuleFile::getTypeChecked(llvm::PointerEmbeddedInt<unsigned int, 31>) + 13290
7  swift                    0x000000010c0d6fc7 swift::SILDeserializer::readSILFunction(llvm::PointerEmbeddedInt<unsigned int, 31>, swift::SILFunction*, llvm::StringRef, bool, bool) + 455
8  swift                    0x000000010c0eb3cd swift::SILDeserializer::getAllSILFunctions() + 893
9  swift                    0x000000010c183c54 swift::SerializedSILLoader::getAllForModule(swift::Identifier, swift::FileUnit*) + 196
10 swift                    0x000000010afe548b performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*, swift::UnifiedStatsReporter*) + 30459
11 swift                    0x000000010afdc304 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 7908
12 swift                    0x000000010af90ce5 main + 18917
13 libdyld.dylib            0x00007fff5fe2e015 start + 1
14 libdyld.dylib            0x00000000000000f2 start + 2686263518

I am sorry I need to redact some data here. I can help with information from my end in case needed. We are using cocoapods to create and link frameworks.

This started occurring after we added an internal framework to the build. The framework has a test target which is able to test the framework without issues.

@swift-ci
Copy link
Author

swift-ci commented Jan 4, 2019

Comment by Ayush Goel (JIRA)

Updated to Xcode 10.1, Swift 4.2 and this problem doesn't happen anymore.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 7, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant