Skip to content

[SourceKit] Add test case for crash triggered in swift::ModuleDecl::forAllVisibleModules(…) #702

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
Dec 21, 2015
Merged

[SourceKit] Add test case for crash triggered in swift::ModuleDecl::forAllVisibleModules(…) #702

merged 1 commit into from
Dec 21, 2015

Conversation

practicalswift
Copy link
Contributor

Stack trace:

found code completion token A at offset 150
6  swift-ide-test  0x0000000000b6a8cd swift::ModuleDecl::forAllVisibleModules(llvm::ArrayRef<std::pair<swift::Identifier, swift::SourceLoc> >, bool, llvm::function_ref<bool (std::pair<llvm::ArrayRef<std::pair<swift::Identifier, swift::SourceLoc> >, swift::ModuleDecl*>)>) + 477
7  swift-ide-test  0x0000000000b6aa41 swift::FileUnit::forAllVisibleModules(llvm::function_ref<bool (std::pair<llvm::ArrayRef<std::pair<swift::Identifier, swift::SourceLoc> >, swift::ModuleDecl*>)>) + 81
8  swift-ide-test  0x00000000008fdc00 swift::performTypeChecking(swift::SourceFile&, swift::TopLevelContext&, swift::OptionSet<swift::TypeCheckingFlags, unsigned int>, unsigned int) + 1376
9  swift-ide-test  0x000000000076b8b2 swift::CompilerInstance::performSema() + 2946
10 swift-ide-test  0x00000000007151b7 main + 33239
Stack dump:
0.  Program arguments: swift-ide-test -code-completion -code-completion-token=A -source-filename=<INPUT-FILE>

…orAllVisibleModules(llvm::ArrayRef<std::pair<swift::Identifier, swift::SourceLoc> >, bool, llvm::function_ref<bool (std::pair<llvm::ArrayRef<std::pair<swift::Identifier, swift::SourceLoc> >, swift::ModuleDecl*>)>)

Stack trace:

```
found code completion token A at offset 150
6  swift-ide-test  0x0000000000b6a8cd swift::ModuleDecl::forAllVisibleModules(llvm::ArrayRef<std::pair<swift::Identifier, swift::SourceLoc> >, bool, llvm::function_ref<bool (std::pair<llvm::ArrayRef<std::pair<swift::Identifier, swift::SourceLoc> >, swift::ModuleDecl*>)>) + 477
7  swift-ide-test  0x0000000000b6aa41 swift::FileUnit::forAllVisibleModules(llvm::function_ref<bool (std::pair<llvm::ArrayRef<std::pair<swift::Identifier, swift::SourceLoc> >, swift::ModuleDecl*>)>) + 81
8  swift-ide-test  0x00000000008fdc00 swift::performTypeChecking(swift::SourceFile&, swift::TopLevelContext&, swift::OptionSet<swift::TypeCheckingFlags, unsigned int>, unsigned int) + 1376
9  swift-ide-test  0x000000000076b8b2 swift::CompilerInstance::performSema() + 2946
10 swift-ide-test  0x00000000007151b7 main + 33239
Stack dump:
0.	Program arguments: swift-ide-test -code-completion -code-completion-token=A -source-filename=<INPUT-FILE>
```
gribozavr added a commit that referenced this pull request Dec 21, 2015
…edecl-forallvisiblemodules

[SourceKit] Add test case for crash triggered in swift::ModuleDecl::forAllVisibleModules(…)
@gribozavr gribozavr merged commit 25dd312 into swiftlang:master Dec 21, 2015
freak4pc pushed a commit to freak4pc/swift that referenced this pull request Sep 28, 2022
* remove xfail swiftlang#60627

* only xfail when building release config
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.

2 participants