-
Notifications
You must be signed in to change notification settings - Fork 10.6k
[swiftc (69 vs. 5458)] Add crasher in swift::SyntaxSugarType::getImplementationType(...) #8003
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
Merged
practicalswift
merged 1 commit into
swiftlang:master
from
practicalswift:swiftc-28716-unreachable-executed-at-swift-lib-ast-type-cpp-1215
Mar 13, 2017
Merged
[swiftc (69 vs. 5458)] Add crasher in swift::SyntaxSugarType::getImplementationType(...) #8003
practicalswift
merged 1 commit into
swiftlang:master
from
practicalswift:swiftc-28716-unreachable-executed-at-swift-lib-ast-type-cpp-1215
Mar 13, 2017
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
Author
|
@swift-ci please test and merge |
Contributor
Author
|
@swift-ci please test OS X platform |
Contributor
Author
|
@swift-ci please smoke test OS X platform |
Contributor
|
Build failed |
Contributor
Author
|
@swift-ci please test and merge |
Contributor
Author
|
@swift-ci please smoke test and merge |
…ementationType(...)
Add test case for crash triggered in `swift::SyntaxSugarType::getImplementationType(...)`.
Current number of unresolved compiler crashers: 69 (5458 resolved)
Stack trace:
```
0 0x000000000393f428 llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/path/to/swift/bin/swift+0x393f428)
1 0x000000000393fb66 SignalHandler(int) (/path/to/swift/bin/swift+0x393fb66)
2 0x00007f2419da63e0 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x113e0)
3 0x00007f24182cc428 gsignal /build/glibc-Qz8a69/glibc-2.23/signal/../sysdeps/unix/sysv/linux/raise.c:54:0
4 0x00007f24182ce02a abort /build/glibc-Qz8a69/glibc-2.23/stdlib/abort.c:91:0
5 0x00000000038dbb4d llvm::llvm_unreachable_internal(char const*, char const*, unsigned int) (/path/to/swift/bin/swift+0x38dbb4d)
6 0x00000000014cf860 swift::SyntaxSugarType::getImplementationType() (/path/to/swift/bin/swift+0x14cf860)
7 0x0000000001421220 bool llvm::function_ref<bool (swift::Type)>::callback_fn<(anonymous namespace)::Verifier::verifyChecked(swift::Type, llvm::SmallPtrSet<swift::ArchetypeType*, 4u>&)::{lambda(swift::Type)#1}>(long, swift::Type) (/path/to/swift/bin/swift+0x1421220)
8 0x00000000014d8cdb swift::Type::findIf(llvm::function_ref<bool (swift::Type)>) const::Walker::walkToTypePre(swift::Type) (/path/to/swift/bin/swift+0x14d8cdb)
9 0x00000000014e1265 swift::Type::walk(swift::TypeWalker&) const (/path/to/swift/bin/swift+0x14e1265)
10 0x00000000014ccb82 swift::Type::findIf(llvm::function_ref<bool (swift::Type)>) const (/path/to/swift/bin/swift+0x14ccb82)
11 0x0000000001421192 (anonymous namespace)::Verifier::verifyChecked(swift::Type, llvm::SmallPtrSet<swift::ArchetypeType*, 4u>&) (/path/to/swift/bin/swift+0x1421192)
12 0x0000000001415d64 (anonymous namespace)::Verifier::walkToExprPost(swift::Expr*) (/path/to/swift/bin/swift+0x1415d64)
13 0x000000000142e6d5 swift::ASTVisitor<(anonymous namespace)::Traversal, swift::Expr*, swift::Stmt*, bool, swift::Pattern*, bool, void>::visit(swift::Expr*) (/path/to/swift/bin/swift+0x142e6d5)
14 0x00000000014306dd (anonymous namespace)::Traversal::visitParameterList(swift::ParameterList*) (/path/to/swift/bin/swift+0x14306dd)
15 0x00000000014332bb (anonymous namespace)::Traversal::visitAbstractFunctionDecl(swift::AbstractFunctionDecl*) (/path/to/swift/bin/swift+0x14332bb)
16 0x000000000142d848 (anonymous namespace)::Traversal::doIt(swift::Decl*) (/path/to/swift/bin/swift+0x142d848)
17 0x000000000142d704 swift::Decl::walk(swift::ASTWalker&) (/path/to/swift/bin/swift+0x142d704)
18 0x00000000014a6f0e swift::SourceFile::walk(swift::ASTWalker&) (/path/to/swift/bin/swift+0x14a6f0e)
19 0x0000000001415415 swift::verify(swift::SourceFile&) (/path/to/swift/bin/swift+0x1415415)
20 0x00000000013084c6 swift::performTypeChecking(swift::SourceFile&, swift::TopLevelContext&, swift::OptionSet<swift::TypeCheckingFlags, unsigned int>, unsigned int, unsigned int) (/path/to/swift/bin/swift+0x13084c6)
21 0x0000000000f7cd46 swift::CompilerInstance::performSema() (/path/to/swift/bin/swift+0xf7cd46)
22 0x00000000004a70c6 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) (/path/to/swift/bin/swift+0x4a70c6)
23 0x0000000000465207 main (/path/to/swift/bin/swift+0x465207)
24 0x00007f24182b7830 __libc_start_main /build/glibc-Qz8a69/glibc-2.23/csu/../csu/libc-start.c:325:0
25 0x00000000004628a9 _start (/path/to/swift/bin/swift+0x4628a9)
```
Contributor
Author
|
@swift-ci please smoke test and merge |
Contributor
Author
|
@swift-ci please test and merge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add test case for crash triggered in
swift::SyntaxSugarType::getImplementationType(...).Current number of unresolved compiler crashers: 69 (5458 resolved)
Stack trace: