Skip to content

[SIL] Add test case for crash triggered in swift::IterativeTypeChecker::satisfy(…) #3714

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
merged 1 commit into from
Jul 23, 2016
Merged

[SIL] Add test case for crash triggered in swift::IterativeTypeChecker::satisfy(…) #3714

merged 1 commit into from
Jul 23, 2016

Conversation

practicalswift
Copy link
Contributor

Stack trace:

<stdin>:3:12: error: expected '=' in typealias declaration
typealias E:<__>__
           ^
           =
<stdin>:3:13: error: only syntactic function types can be generic
typealias E:<__>__
            ^
sil-opt: /path/to/swift/lib/Sema/IterativeTypeChecker.cpp:103: void swift::IterativeTypeChecker::satisfy(swift::TypeCheckRequest): Assertion `isSatisfied(request)' failed.
9  sil-opt         0x0000000000bff669 swift::IterativeTypeChecker::satisfy(swift::TypeCheckRequest) + 889
12 sil-opt         0x0000000000aeac64 swift::TypeChecker::validateDecl(swift::ValueDecl*, bool) + 3396
15 sil-opt         0x0000000000aef886 swift::TypeChecker::typeCheckDecl(swift::Decl*, bool) + 150
16 sil-opt         0x0000000000b13f92 swift::performTypeChecking(swift::SourceFile&, swift::TopLevelContext&, swift::OptionSet<swift::TypeCheckingFlags, unsigned int>, unsigned int, unsigned int) + 1026
17 sil-opt         0x00000000007726e9 swift::CompilerInstance::performSema() + 3289
18 sil-opt         0x000000000075bb9d main + 1805
Stack dump:
0.  Program arguments: sil-opt -enable-sil-verify-all
1.  While type-checking 'E' at <stdin>:3:1
2.  While type-checking 'E' at <stdin>:3:1

…r::satisfy(swift::TypeCheckRequest)

Stack trace:

```
<stdin>:3:12: error: expected '=' in typealias declaration
typealias E:<__>__
           ^
           =
<stdin>:3:13: error: only syntactic function types can be generic
typealias E:<__>__
            ^
sil-opt: /path/to/swift/lib/Sema/IterativeTypeChecker.cpp:103: void swift::IterativeTypeChecker::satisfy(swift::TypeCheckRequest): Assertion `isSatisfied(request)' failed.
9  sil-opt         0x0000000000bff669 swift::IterativeTypeChecker::satisfy(swift::TypeCheckRequest) + 889
12 sil-opt         0x0000000000aeac64 swift::TypeChecker::validateDecl(swift::ValueDecl*, bool) + 3396
15 sil-opt         0x0000000000aef886 swift::TypeChecker::typeCheckDecl(swift::Decl*, bool) + 150
16 sil-opt         0x0000000000b13f92 swift::performTypeChecking(swift::SourceFile&, swift::TopLevelContext&, swift::OptionSet<swift::TypeCheckingFlags, unsigned int>, unsigned int, unsigned int) + 1026
17 sil-opt         0x00000000007726e9 swift::CompilerInstance::performSema() + 3289
18 sil-opt         0x000000000075bb9d main + 1805
Stack dump:
0.	Program arguments: sil-opt -enable-sil-verify-all
1.	While type-checking 'E' at <stdin>:3:1
2.	While type-checking 'E' at <stdin>:3:1
```
@gottesmm
Copy link
Contributor

@practicalswift For these sorts of things, can you just smoke test and merge?

@gottesmm
Copy link
Contributor

@swift-ci Please smoke test and merge

@swift-ci swift-ci merged commit db94636 into swiftlang:master Jul 23, 2016
@practicalswift
Copy link
Contributor Author

@gottesmm Would it be possible to extend the capability to send "please test and merge"/"please smoke test and merge" commands to @swift-ci also to non-Apple committer? That would be great!

@rintaro
Copy link
Member

rintaro commented Jul 25, 2016

@practicalswift I believe you can trigger "test and merge".

@gottesmm
Copy link
Contributor

@rintaro @practicalswift I believe rintaro is correct. Why not take it for a swim?

@practicalswift
Copy link
Contributor Author

@rintaro @gottesmm Oh, great! Seems to work - see #3739! 👍

@rintaro
Copy link
Member

rintaro commented Jul 25, 2016

@practicalswift I think you missed this mail.
https://lists.swift.org/pipermail/swift-dev/Week-of-Mon-20160502/001916.html
You should be able to trigger any known swift-ci commands.

kateinoigakukun pushed a commit that referenced this pull request Aug 31, 2022
[pull] swiftwasm from main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants