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

typos-cli Crash Report #277

Closed
brianteeman opened this issue Jun 6, 2021 · 3 comments · Fixed by #279
Closed

typos-cli Crash Report #277

brianteeman opened this issue Jun 6, 2021 · 3 comments · Fixed by #279

Comments

@brianteeman
Copy link
Contributor

name = 'typos-cli'
operating_system = 'windows'
crate_version = '1.0.5'
explanation = '''
Panic occurred in file 'C:\Users\brian.cargo\registry\src\github.com-1ecc6299db9ec823\typos-cli-1.0.5\src\policy.rs' at line 90
'''
cause = 'walk() should be called first'
method = 'Panic'
backtrace = '''

0: 0x7ff7059f4f79 -
1: 0x7ff705a1a1e0 -
2: 0x7ff705a1a032 -
3: 0x7ff7058a68b3 -
4: 0x7ff7058b071e -
5: 0x7ff7058a5b64 -
6: 0x7ff7058ecd9d -
7: 0x7ff7058ede8f -
8: 0x7ff7058f56c4 -
9: 0x7ff7058f032f -
10: 0x7ff7058f55e9 -
11: 0x7ff7059f850a -
12: 0x7fffb9f37034 - BaseThreadInitThunk
13: 0x7fffba122651 - RtlUserThreadStart'''

@Sematre
Copy link

Sematre commented Jun 6, 2021

Same error here.
Tried running typos on Manjaro Linux using the v1.0.5 precompiled binary and this crash occurred.

@coderaiser
Copy link
Contributor

Same for mac os, when running typos binary after cargo install:

name = 'typos-cli'
operating_system = 'unix:OSX'
crate_version = '1.0.5'
explanation = '''
Panic occurred in file '/Users/coderaiser/.cargo/registry/src/github.com-1ecc6299db9ec823/typos-cli-1.0.5/src/policy.rs' at line 90
'''
cause = '`walk()` should be called first'
method = 'Panic'
backtrace = ''

epage added a commit to epage/typos that referenced this issue Jun 7, 2021
@epage
Copy link
Collaborator

epage commented Jun 7, 2021

Well, that's embarrassing. When I made one fix, I broke something else and didn't have the tests for it. I've got a PR up to fix this.

epage added a commit to epage/typos that referenced this issue Jun 7, 2021
@epage epage closed this as completed in #279 Jun 7, 2021
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 a pull request may close this issue.

4 participants