Skip to content
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

Fix invalid argument error for large files since tree-sitter 0.21 #1546

Merged
merged 3 commits into from
Jun 3, 2024

Conversation

rien
Copy link
Member

@rien rien commented Jun 3, 2024

Since tree-sitter 0.21, Dolos fails with Error: Invalid argument when processing large files.

This is caused by an insufficient buffer size. Manually specifying a large enough buffer resolves this issue.

Closes #1544

@rien rien force-pushed the fix/large-file-invalid-argument branch 2 times, most recently from d7750be to 0f1ae76 Compare June 3, 2024 12:32
@rien rien force-pushed the fix/large-file-invalid-argument branch from 0f1ae76 to 58749e9 Compare June 3, 2024 12:36
@rien rien force-pushed the fix/large-file-invalid-argument branch from eb6cdc7 to 7162223 Compare June 3, 2024 12:58
@rien rien enabled auto-merge June 3, 2024 13:06
@rien rien added the bug Something isn't working label Jun 3, 2024
@rien rien disabled auto-merge June 3, 2024 13:24
@rien rien merged commit 67fbf1c into main Jun 3, 2024
26 checks passed
@rien rien deleted the fix/large-file-invalid-argument branch June 3, 2024 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invalid argument error when parsing large files
1 participant