-
-
Notifications
You must be signed in to change notification settings - Fork 764
Segfault when setting plugin #766
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
Comments
Checked out Cannot replicate the error. Nor can I replicate the error with my personal branch. run |
I can't reproduce this on master either. Please provide the following details as well:
|
Looks like my home-manager config expanded the bash variable, so inspecting the value of $ echo $NNN_PLUG
'p:-_less -iR *;l:-_git log' Is a segfault still expected? |
No, I still can't get it to segfault. But do give as a stack trace as @0xACE suggested. |
In my system:
I think you are using double quotes around the alias and that's the problem. Do you really want the the I am closing this as a local environment problem. Please get back if fixing the above doesn't fix your problem. We will reopen the issue. |
Please ensure the |
I tried |
In that case, please provide all the details requested earlier. |
Also, what is your version of nnn? Is this happening on master? |
Side note; after segfault it seems to mess up how my terminal receives control characters as well.
My version of nnn is 3.4. I just tried it on master and got the same result (segfault).
No other config set. |
Mess-up is expected after ncurses faulty exit. Please provide the details @0xACE and I requested in the first 2 responses. |
My |
I just tried it on a macOS shell using fastmac and the files open as expected in It's Darwin and brew installed nnn v3.4:
Please confirm if your less is aliased to something? Try |
|
Can you share the details under |
Seems like they have
This could be helpful |
How do I do this? |
Looks like the segfault also occurs when running the other plugin (git log) with |
Please provide the full backtrace however you can. |
That seems to be the full backtrace. |
@siraben, we would need the variables in |
@siraben I think you may not have compiled nnn in debug mode: https://github.com/jarun/nnn/wiki/Developer-guides#debugging-nnn |
Also, run |
Ah, looks like the way to get the backtrace was I just rebuilt it with Nix, and confirm that the issue is resolved. |
Thanks for the confirmation! |
I was trying to set a plugin to page the current file using less, however it segfaults when I trigger it with
;p
Environment details (Put
x
in the checkbox along with the information)nnn
masterExact steps to reproduce the issue
The text was updated successfully, but these errors were encountered: