{"action":"created","issue":{"url":"https://api.github.com/repos/apple/swift/issues/6270","repository_url":"https://api.github.com/repos/apple/swift","labels_url":"https://api.github.com/repos/apple/swift/issues/6270/labels{/name}","comments_url":"https://api.github.com/repos/apple/swift/issues/6270/comments","events_url":"https://api.github.com/repos/apple/swift/issues/6270/events","html_url":"https://github.com/apple/swift/pull/6270","id":195545459,"number":6270,"title":"[swiftc (104 vs. 5286)] Add crasher in swift::constraints::matchCallArguments","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},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-14T14:30:54Z","updated_at":"2016-12-15T09:57:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apple/swift/pulls/6270","html_url":"https://github.com/apple/swift/pull/6270","diff_url":"https://github.com/apple/swift/pull/6270.diff","patch_url":"https://github.com/apple/swift/pull/6270.patch"},"body":"Add test case for crash triggered in `swift::constraints::matchCallArguments`.\n\nCurrent number of unresolved compiler crashers: 104 (5286 resolved)\n\nStack trace:\n\n```\n0 0x00000000034d5498 llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/path/to/swift/bin/swift+0x34d5498)\n1 0x00000000034d5bd6 SignalHandler(int) (/path/to/swift/bin/swift+0x34d5bd6)\n2 0x00007fd897de93e0 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x113e0)\n3 0x00007fd896517428 gsignal /build/glibc-Qz8a69/glibc-2.23/signal/../sysdeps/unix/sysv/linux/raise.c:54:0\n4 0x00007fd89651902a abort /build/glibc-Qz8a69/glibc-2.23/stdlib/abort.c:91:0\n5 0x000000000347134d llvm::llvm_unreachable_internal(char const*, char const*, unsigned int) (/path/to/swift/bin/swift+0x347134d)\n6 0x0000000000cb88e1 diagnoseSingleCandidateFailures((anonymous namespace)::CalleeCandidateInfo&, swift::Expr*, swift::Expr*, llvm::ArrayRef<swift::Identifier>)::ArgumentDiagnostic::missingArgument(unsigned int) (/path/to/swift/bin/swift+0xcb88e1)\n7 0x0000000000cdb5e3 swift::constraints::matchCallArguments(llvm::ArrayRef<swift::CallArgParam>, llvm::ArrayRef<swift::CallArgParam>, bool, bool, swift::constraints::MatchCallArgumentListener&, llvm::SmallVectorImpl<llvm::SmallVector<unsigned int, 1u> >&) (/path/to/swift/bin/swift+0xcdb5e3)\n8 0x0000000000cb3df6 (anonymous namespace)::FailureDiagnosis::diagnoseParameterErrors((anonymous namespace)::CalleeCandidateInfo&, swift::Expr*, swift::Expr*, llvm::ArrayRef<swift::Identifier>) (/path/to/swift/bin/swift+0xcb3df6)\n9 0x0000000000cb9f9e (anonymous namespace)::FailureDiagnosis::visitApplyExpr(swift::ApplyExpr*) (/path/to/swift/bin/swift+0xcb9f9e)\n10 0x0000000000ca0973 swift::ASTVisitor<(anonymous namespace)::FailureDiagnosis, bool, void, void, void, void, void>::visit(swift::Expr*) (/path/to/swift/bin/swift+0xca0973)\n11 0x0000000000c98dda swift::constraints::ConstraintSystem::diagnoseFailureForExpr(swift::Expr*) (/path/to/swift/bin/swift+0xc98dda)\n12 0x0000000000c9ff2d swift::constraints::ConstraintSystem::salvage(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::Expr*) (/path/to/swift/bin/swift+0xc9ff2d)\n13 0x0000000000be2ce8 swift::TypeChecker::solveForExpression(swift::Expr*&, swift::DeclContext*, swift::Type, swift::FreeTypeVariableBinding, swift::ExprTypeCheckListener*, swift::constraints::ConstraintSystem&, llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::OptionSet<swift::TypeCheckExprFlags, unsigned int>) (/path/to/swift/bin/swift+0xbe2ce8)\n14 0x0000000000be62c0 swift::TypeChecker::typeCheckExpression(swift::Expr*&, swift::DeclContext*, swift::TypeLoc, swift::ContextualTypePurpose, swift::OptionSet<swift::TypeCheckExprFlags, unsigned int>, swift::ExprTypeCheckListener*, swift::constraints::ConstraintSystem*) (/path/to/swift/bin/swift+0xbe62c0)\n15 0x0000000000ca47df (anonymous namespace)::FailureDiagnosis::typeCheckChildIndependently(swift::Expr*, swift::Type, swift::ContextualTypePurpose, swift::OptionSet<TCCFlags, unsigned int>, swift::ExprTypeCheckListener*) (/path/to/swift/bin/swift+0xca47df)\n16 0x0000000000ca15ff swift::ASTVisitor<(anonymous namespace)::FailureDiagnosis, bool, void, void, void, void, void>::visit(swift::Expr*) (/path/to/swift/bin/swift+0xca15ff)\n17 0x0000000000c98dda swift::constraints::ConstraintSystem::diagnoseFailureForExpr(swift::Expr*) (/path/to/swift/bin/swift+0xc98dda)\n18 0x0000000000c9ff2d swift::constraints::ConstraintSystem::salvage(llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::Expr*) (/path/to/swift/bin/swift+0xc9ff2d)\n19 0x0000000000be2ce8 swift::TypeChecker::solveForExpression(swift::Expr*&, swift::DeclContext*, swift::Type, swift::FreeTypeVariableBinding, swift::ExprTypeCheckListener*, swift::constraints::ConstraintSystem&, llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::OptionSet<swift::TypeCheckExprFlags, unsigned int>) (/path/to/swift/bin/swift+0xbe2ce8)\n20 0x0000000000be62c0 swift::TypeChecker::typeCheckExpression(swift::Expr*&, swift::DeclContext*, swift::TypeLoc, swift::ContextualTypePurpose, swift::OptionSet<swift::TypeCheckExprFlags, unsigned int>, swift::ExprTypeCheckListener*, swift::constraints::ConstraintSystem*) (/path/to/swift/bin/swift+0xbe62c0)\n21 0x0000000000c5973e swift::ASTVisitor<(anonymous namespace)::StmtChecker, void, swift::Stmt*, void, void, void, void>::visit(swift::Stmt*) (/path/to/swift/bin/swift+0xc5973e)\n22 0x0000000000c58f76 swift::TypeChecker::typeCheckTopLevelCodeDecl(swift::TopLevelCodeDecl*) (/path/to/swift/bin/swift+0xc58f76)\n23 0x0000000000c6d7cd swift::performTypeChecking(swift::SourceFile&, swift::TopLevelContext&, swift::OptionSet<swift::TypeCheckingFlags, unsigned int>, unsigned int, unsigned int) (/path/to/swift/bin/swift+0xc6d7cd)\n24 0x000000000098c4e6 swift::CompilerInstance::performSema() (/path/to/swift/bin/swift+0x98c4e6)\n25 0x000000000047c496 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) (/path/to/swift/bin/swift+0x47c496)\n26 0x000000000043ad37 main (/path/to/swift/bin/swift+0x43ad37)\n27 0x00007fd896502830 __libc_start_main /build/glibc-Qz8a69/glibc-2.23/csu/../csu/libc-start.c:325:0\n28 0x0000000000438179 _start (/path/to/swift/bin/swift+0x438179)\n```"},"comment":{"url":"https://api.github.com/repos/apple/swift/issues/comments/267287347","html_url":"https://github.com/apple/swift/pull/6270#issuecomment-267287347","issue_url":"https://api.github.com/repos/apple/swift/issues/6270","id":267287347,"user":{"login":"slavapestov","id":66486,"avatar_url":"https://avatars.githubusercontent.com/u/66486?v=3","gravatar_id":"","url":"https://api.github.com/users/slavapestov","html_url":"https://github.com/slavapestov","followers_url":"https://api.github.com/users/slavapestov/followers","following_url":"https://api.github.com/users/slavapestov/following{/other_user}","gists_url":"https://api.github.com/users/slavapestov/gists{/gist_id}","starred_url":"https://api.github.com/users/slavapestov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slavapestov/subscriptions","organizations_url":"https://api.github.com/users/slavapestov/orgs","repos_url":"https://api.github.com/users/slavapestov/repos","events_url":"https://api.github.com/users/slavapestov/events{/privacy}","received_events_url":"https://api.github.com/users/slavapestov/received_events","type":"User","site_admin":false},"created_at":"2016-12-15T09:57:53Z","updated_at":"2016-12-15T09:57:53Z","body":"Fixed before you even merged it eh?"}}
{"actor":{"display_login":"slavapestov"}}