swiftlang / swiftlang/swift-syntax

[SR-16102] SwiftSyntax tree visitation exhausts stack space in background thread

Open
#390 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
3.7k
Forks
553
Avg merge
5d 13h
Merged PRs (30d)
16

Description

| | |
|------------------|-----------------|
|Previous ID | SR-16102 |
|Radar | None |
|Original Reporter | weak (JIRA User) |
|Type | Bug |

Attachment: [Download](https://user-images.githubusercontent.com/2727770/164964509-5d5b6c16-e495-402b-90d5-d08dac8f9241.gz)

Environment

See attached .ips


Additional Detail from JIRA

| | |
|------------------|-----------------|
|Votes | 0 |
|Component/s | SwiftSyntax |
|Labels | Bug |
|Assignee | None |
|Priority | Medium |

md5: 2a9aabfc959b265ab4e2f662e74979ca

**Issue Description:**

See attached .ips or take a look at [realm/SwiftLint/issues/3935](https://github.com/realm/SwiftLint/issues/3935#issue-1193106529).

To reproduce, please rename 'SwiftSyntaxSample.zip.txt' to 'SwiftSyntaxSample.zip', open and run

swift run swiftlint --config ./.swiftlint.yml --path ./

For some reason it's not possible to attach any kind of archive...

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.