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

Started getting a stacktrace/core dump using diff-so-fancy in powershell #419

Open
theperm opened this issue Sep 14, 2021 · 3 comments
Open

Comments

@theperm
Copy link

theperm commented Sep 14, 2021

All of sudden i started getting a stack trace/dump from diff-so-fancy.
I'm using it from powershell on windows

This was run from bash (but diff-so-fancy is still working in bash)
This is what was in the clipboard from /report-bug.sh | git diff HEAD..HEAD^ diff.txt

CgoKCiAtLWNvbG9yCmdpdCBjb25maWcgcGFnZXIuZGlmZgpnaXQgY29uZmlnIHBhZ2VyLnNob3cK

and this is diff.txt

--color
git config pager.diff
git config pager.show

@scottchiefbaker
Copy link
Contributor

It really shouldn't be possible for d-s-f to crash/stack trace as it's just a Perl script. At worst it should throw a Perl exception and dye cleanly.

I suspect you have an underlying issue either with your Perl installation, or your Powershell installation. Do other shell things work OK?

@theperm
Copy link
Author

theperm commented Nov 22, 2021

yes, i think it has something to do with "less"

@scottchiefbaker
Copy link
Contributor

See above... Perl doesn't have the ability to stack trace unless your Perl installation itself gets corrupted. I suspect another tool in the chain, perhaps less is causing the issue. Does it go away if you remove less from the command?

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

No branches or pull requests

2 participants