{"action":"opened","number":6208,"pull_request":{"url":"https://api.github.com/repos/apple/swift/pulls/6208","id":97456173,"html_url":"https://github.com/apple/swift/pull/6208","diff_url":"https://github.com/apple/swift/pull/6208.diff","patch_url":"https://github.com/apple/swift/pull/6208.patch","issue_url":"https://api.github.com/repos/apple/swift/issues/6208","number":6208,"state":"open","locked":false,"title":"[swiftc (107 vs. 5282)] Add crasher in swift::TypeBase::getCanonicalType(...)","user":{"login":"practicalswift","id":7826565,"avatar_url":"https://avatars.githubusercontent.com/u/7826565?v=3","gravatar_id":"","url":"https://api.github.com/users/practicalswift","html_url":"https://github.com/practicalswift","followers_url":"https://api.github.com/users/practicalswift/followers","following_url":"https://api.github.com/users/practicalswift/following{/other_user}","gists_url":"https://api.github.com/users/practicalswift/gists{/gist_id}","starred_url":"https://api.github.com/users/practicalswift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/practicalswift/subscriptions","organizations_url":"https://api.github.com/users/practicalswift/orgs","repos_url":"https://api.github.com/users/practicalswift/repos","events_url":"https://api.github.com/users/practicalswift/events{/privacy}","received_events_url":"https://api.github.com/users/practicalswift/received_events","type":"User","site_admin":false},"body":"Add test case for crash triggered in `swift::TypeBase::getCanonicalType(...)`.\n\nCurrent number of unresolved compiler crashers: 107 (5282 resolved)\n\nStack trace:\n\n```\n0 0x00000000034c8a48 llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/path/to/swift/bin/swift+0x34c8a48)\n1 0x00000000034c9186 SignalHandler(int) (/path/to/swift/bin/swift+0x34c9186)\n2 0x00007f50fc5343e0 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x113e0)\n3 0x00007f50fac62428 gsignal /build/glibc-Qz8a69/glibc-2.23/signal/../sysdeps/unix/sysv/linux/raise.c:54:0\n4 0x00007f50fac6402a abort /build/glibc-Qz8a69/glibc-2.23/stdlib/abort.c:91:0\n5 0x00000000034648fd llvm::llvm_unreachable_internal(char const*, char const*, unsigned int) (/path/to/swift/bin/swift+0x34648fd)\n6 0x0000000000e44476 swift::TypeBase::getCanonicalType() (/path/to/swift/bin/swift+0xe44476)\n7 0x0000000000d3c3a0 (anonymous namespace)::FindCapturedVars::checkType(swift::Type, swift::SourceLoc) (/path/to/swift/bin/swift+0xd3c3a0)\n8 0x0000000000d3c80a (anonymous namespace)::FindCapturedVars::walkToExprPre(swift::Expr*) (/path/to/swift/bin/swift+0xd3c80a)\n9 0x0000000000dcde25 swift::ASTVisitor<(anonymous namespace)::Traversal, swift::Expr*, swift::Stmt*, bool, swift::Pattern*, bool, void>::visit(swift::Expr*) (/path/to/swift/bin/swift+0xdcde25)\n10 0x0000000000dcfe65 swift::ASTVisitor<(anonymous namespace)::Traversal, swift::Expr*, swift::Stmt*, bool, swift::Pattern*, bool, void>::visit(swift::Stmt*) (/path/to/swift/bin/swift+0xdcfe65)\n11 0x0000000000dcfa40 swift::ASTVisitor<(anonymous namespace)::Traversal, swift::Expr*, swift::Stmt*, bool, swift::Pattern*, bool, void>::visit(swift::Stmt*) (/path/to/swift/bin/swift+0xdcfa40)\n12 0x0000000000dcffb5 swift::ASTVisitor<(anonymous namespace)::Traversal, swift::Expr*, swift::Stmt*, bool, swift::Pattern*, bool, void>::visit(swift::Stmt*) (/path/to/swift/bin/swift+0xdcffb5)\n13 0x0000000000dcfa40 swift::ASTVisitor<(anonymous namespace)::Traversal, swift::Expr*, swift::Stmt*, bool, swift::Pattern*, bool, void>::visit(swift::Stmt*) (/path/to/swift/bin/swift+0xdcfa40)\n14 0x0000000000dcc4be swift::Stmt::walk(swift::ASTWalker&) (/path/to/swift/bin/swift+0xdcc4be)\n15 0x0000000000d3b4c9 swift::TypeChecker::computeCaptures(swift::AnyFunctionRef) (/path/to/swift/bin/swift+0xd3b4c9)\n16 0x0000000000d3def7 (anonymous namespace)::FindCapturedVars::propagateCaptures(swift::AnyFunctionRef, swift::SourceLoc) (/path/to/swift/bin/swift+0xd3def7)\n17 0x0000000000d3cbfa (anonymous namespace)::FindCapturedVars::walkToExprPre(swift::Expr*) (/path/to/swift/bin/swift+0xd3cbfa)\n18 0x0000000000dcf949 swift::ASTVisitor<(anonymous namespace)::Traversal, swift::Expr*, swift::Stmt*, bool, swift::Pattern*, bool, void>::visit(swift::Stmt*) (/path/to/swift/bin/swift+0xdcf949)\n19 0x0000000000dcc4be swift::Stmt::walk(swift::ASTWalker&) (/path/to/swift/bin/swift+0xdcc4be)\n20 0x0000000000d3b4c9 swift::TypeChecker::computeCaptures(swift::AnyFunctionRef) (/path/to/swift/bin/swift+0xd3b4c9)\n21 0x0000000000c682fb typeCheckFunctionsAndExternalDecls(swift::TypeChecker&) (/path/to/swift/bin/swift+0xc682fb)\n22 0x0000000000c68a09 swift::performTypeChecking(swift::SourceFile&, swift::TopLevelContext&, swift::OptionSet<swift::TypeCheckingFlags, unsigned int>, unsigned int, unsigned int) (/path/to/swift/bin/swift+0xc68a09)\n23 0x0000000000987086 swift::CompilerInstance::performSema() (/path/to/swift/bin/swift+0x987086)\n24 0x000000000047c446 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) (/path/to/swift/bin/swift+0x47c446)\n25 0x000000000043ace7 main (/path/to/swift/bin/swift+0x43ace7)\n26 0x00007f50fac4d830 __libc_start_main /build/glibc-Qz8a69/glibc-2.23/csu/../csu/libc-start.c:325:0\n27 0x0000000000438129 _start (/path/to/swift/bin/swift+0x438129)\n```","created_at":"2016-12-11T11:32:50Z","updated_at":"2016-12-11T11:32:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/apple/swift/pulls/6208/commits","review_comments_url":"https://api.github.com/repos/apple/swift/pulls/6208/comments","review_comment_url":"https://api.github.com/repos/apple/swift/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apple/swift/issues/6208/comments","statuses_url":"https://api.github.com/repos/apple/swift/statuses/d73a039cbb271a80c0df9651060b4d2fc4c9bf88","head":{"label":"practicalswift:swiftc-28578-result-case-not-implemented","ref":"swiftc-28578-result-case-not-implemented","sha":"d73a039cbb271a80c0df9651060b4d2fc4c9bf88","user":{"login":"practicalswift","id":7826565,"avatar_url":"https://avatars.githubusercontent.com/u/7826565?v=3","gravatar_id":"","url":"https://api.github.com/users/practicalswift","html_url":"https://github.com/practicalswift","followers_url":"https://api.github.com/users/practicalswift/followers","following_url":"https://api.github.com/users/practicalswift/following{/other_user}","gists_url":"https://api.github.com/users/practicalswift/gists{/gist_id}","starred_url":"https://api.github.com/users/practicalswift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/practicalswift/subscriptions","organizations_url":"https://api.github.com/users/practicalswift/orgs","repos_url":"https://api.github.com/users/practicalswift/repos","events_url":"https://api.github.com/users/practicalswift/events{/privacy}","received_events_url":"https://api.github.com/users/practicalswift/received_events","type":"User","site_admin":false},"repo":{"id":47491399,"name":"swift","full_name":"practicalswift/swift","owner":{"login":"practicalswift","id":7826565,"avatar_url":"https://avatars.githubusercontent.com/u/7826565?v=3","gravatar_id":"","url":"https://api.github.com/users/practicalswift","html_url":"https://github.com/practicalswift","followers_url":"https://api.github.com/users/practicalswift/followers","following_url":"https://api.github.com/users/practicalswift/following{/other_user}","gists_url":"https://api.github.com/users/practicalswift/gists{/gist_id}","starred_url":"https://api.github.com/users/practicalswift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/practicalswift/subscriptions","organizations_url":"https://api.github.com/users/practicalswift/orgs","repos_url":"https://api.github.com/users/practicalswift/repos","events_url":"https://api.github.com/users/practicalswift/events{/privacy}","received_events_url":"https://api.github.com/users/practicalswift/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/practicalswift/swift","description":"The Swift Programming Language","fork":true,"url":"https://api.github.com/repos/practicalswift/swift","forks_url":"https://api.github.com/repos/practicalswift/swift/forks","keys_url":"https://api.github.com/repos/practicalswift/swift/keys{/key_id}","collaborators_url":"https://api.github.com/repos/practicalswift/swift/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/practicalswift/swift/teams","hooks_url":"https://api.github.com/repos/practicalswift/swift/hooks","issue_events_url":"https://api.github.com/repos/practicalswift/swift/issues/events{/number}","events_url":"https://api.github.com/repos/practicalswift/swift/events","assignees_url":"https://api.github.com/repos/practicalswift/swift/assignees{/user}","branches_url":"https://api.github.com/repos/practicalswift/swift/branches{/branch}","tags_url":"https://api.github.com/repos/practicalswift/swift/tags","blobs_url":"https://api.github.com/repos/practicalswift/swift/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/practicalswift/swift/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/practicalswift/swift/git/refs{/sha}","trees_url":"https://api.github.com/repos/practicalswift/swift/git/trees{/sha}","statuses_url":"https://api.github.com/repos/practicalswift/swift/statuses/{sha}","languages_url":"https://api.github.com/repos/practicalswift/swift/languages","stargazers_url":"https://api.github.com/repos/practicalswift/swift/stargazers","contributors_url":"https://api.github.com/repos/practicalswift/swift/contributors","subscribers_url":"https://api.github.com/repos/practicalswift/swift/subscribers","subscription_url":"https://api.github.com/repos/practicalswift/swift/subscription","commits_url":"https://api.github.com/repos/practicalswift/swift/commits{/sha}","git_commits_url":"https://api.github.com/repos/practicalswift/swift/git/commits{/sha}","comments_url":"https://api.github.com/repos/practicalswift/swift/comments{/number}","issue_comment_url":"https://api.github.com/repos/practicalswift/swift/issues/comments{/number}","contents_url":"https://api.github.com/repos/practicalswift/swift/contents/{+path}","compare_url":"https://api.github.com/repos/practicalswift/swift/compare/{base}...{head}","merges_url":"https://api.github.com/repos/practicalswift/swift/merges","archive_url":"https://api.github.com/repos/practicalswift/swift/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/practicalswift/swift/downloads","issues_url":"https://api.github.com/repos/practicalswift/swift/issues{/number}","pulls_url":"https://api.github.com/repos/practicalswift/swift/pulls{/number}","milestones_url":"https://api.github.com/repos/practicalswift/swift/milestones{/number}","notifications_url":"https://api.github.com/repos/practicalswift/swift/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/practicalswift/swift/labels{/name}","releases_url":"https://api.github.com/repos/practicalswift/swift/releases{/id}","deployments_url":"https://api.github.com/repos/practicalswift/swift/deployments","created_at":"2015-12-06T09:58:13Z","updated_at":"2016-11-03T10:31:23Z","pushed_at":"2016-12-11T11:32:19Z","git_url":"git://github.com/practicalswift/swift.git","ssh_url":"git@github.com:practicalswift/swift.git","clone_url":"https://github.com/practicalswift/swift.git","svn_url":"https://github.com/practicalswift/swift","homepage":"","size":137420,"stargazers_count":2,"watchers_count":2,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":2,"default_branch":"master"}},"base":{"label":"apple:master","ref":"master","sha":"88f790235f714c6d6d838f55e9320bf6f345b085","user":{"login":"apple","id":10639145,"avatar_url":"https://avatars.githubusercontent.com/u/10639145?v=3","gravatar_id":"","url":"https://api.github.com/users/apple","html_url":"https://github.com/apple","followers_url":"https://api.github.com/users/apple/followers","following_url":"https://api.github.com/users/apple/following{/other_user}","gists_url":"https://api.github.com/users/apple/gists{/gist_id}","starred_url":"https://api.github.com/users/apple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apple/subscriptions","organizations_url":"https://api.github.com/users/apple/orgs","repos_url":"https://api.github.com/users/apple/repos","events_url":"https://api.github.com/users/apple/events{/privacy}","received_events_url":"https://api.github.com/users/apple/received_events","type":"Organization","site_admin":false},"repo":{"id":44838949,"name":"swift","full_name":"apple/swift","owner":{"login":"apple","id":10639145,"avatar_url":"https://avatars.githubusercontent.com/u/10639145?v=3","gravatar_id":"","url":"https://api.github.com/users/apple","html_url":"https://github.com/apple","followers_url":"https://api.github.com/users/apple/followers","following_url":"https://api.github.com/users/apple/following{/other_user}","gists_url":"https://api.github.com/users/apple/gists{/gist_id}","starred_url":"https://api.github.com/users/apple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apple/subscriptions","organizations_url":"https://api.github.com/users/apple/orgs","repos_url":"https://api.github.com/users/apple/repos","events_url":"https://api.github.com/users/apple/events{/privacy}","received_events_url":"https://api.github.com/users/apple/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apple/swift","description":"The Swift Programming Language","fork":false,"url":"https://api.github.com/repos/apple/swift","forks_url":"https://api.github.com/repos/apple/swift/forks","keys_url":"https://api.github.com/repos/apple/swift/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apple/swift/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apple/swift/teams","hooks_url":"https://api.github.com/repos/apple/swift/hooks","issue_events_url":"https://api.github.com/repos/apple/swift/issues/events{/number}","events_url":"https://api.github.com/repos/apple/swift/events","assignees_url":"https://api.github.com/repos/apple/swift/assignees{/user}","branches_url":"https://api.github.com/repos/apple/swift/branches{/branch}","tags_url":"https://api.github.com/repos/apple/swift/tags","blobs_url":"https://api.github.com/repos/apple/swift/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apple/swift/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apple/swift/git/refs{/sha}","trees_url":"https://api.github.com/repos/apple/swift/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apple/swift/statuses/{sha}","languages_url":"https://api.github.com/repos/apple/swift/languages","stargazers_url":"https://api.github.com/repos/apple/swift/stargazers","contributors_url":"https://api.github.com/repos/apple/swift/contributors","subscribers_url":"https://api.github.com/repos/apple/swift/subscribers","subscription_url":"https://api.github.com/repos/apple/swift/subscription","commits_url":"https://api.github.com/repos/apple/swift/commits{/sha}","git_commits_url":"https://api.github.com/repos/apple/swift/git/commits{/sha}","comments_url":"https://api.github.com/repos/apple/swift/comments{/number}","issue_comment_url":"https://api.github.com/repos/apple/swift/issues/comments{/number}","contents_url":"https://api.github.com/repos/apple/swift/contents/{+path}","compare_url":"https://api.github.com/repos/apple/swift/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apple/swift/merges","archive_url":"https://api.github.com/repos/apple/swift/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apple/swift/downloads","issues_url":"https://api.github.com/repos/apple/swift/issues{/number}","pulls_url":"https://api.github.com/repos/apple/swift/pulls{/number}","milestones_url":"https://api.github.com/repos/apple/swift/milestones{/number}","notifications_url":"https://api.github.com/repos/apple/swift/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apple/swift/labels{/name}","releases_url":"https://api.github.com/repos/apple/swift/releases{/id}","deployments_url":"https://api.github.com/repos/apple/swift/deployments","created_at":"2015-10-23T21:15:07Z","updated_at":"2016-12-11T11:13:34Z","pushed_at":"2016-12-11T11:32:50Z","git_url":"git://github.com/apple/swift.git","ssh_url":"git@github.com:apple/swift.git","clone_url":"https://github.com/apple/swift.git","svn_url":"https://github.com/apple/swift","homepage":"https://swift.org/","size":211749,"stargazers_count":35539,"watchers_count":35539,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5160,"mirror_url":null,"open_issues_count":137,"forks":5160,"open_issues":137,"watchers":35539,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apple/swift/pulls/6208"},"html":{"href":"https://github.com/apple/swift/pull/6208"},"issue":{"href":"https://api.github.com/repos/apple/swift/issues/6208"},"comments":{"href":"https://api.github.com/repos/apple/swift/issues/6208/comments"},"review_comments":{"href":"https://api.github.com/repos/apple/swift/pulls/6208/comments"},"review_comment":{"href":"https://api.github.com/repos/apple/swift/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apple/swift/pulls/6208/commits"},"statuses":{"href":"https://api.github.com/repos/apple/swift/statuses/d73a039cbb271a80c0df9651060b4d2fc4c9bf88"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":2,"review_comments":0,"commits":1,"additions":10,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"practicalswift"}}