-
-
Notifications
You must be signed in to change notification settings - Fork 769
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
Segmentation fault error when managing sessions #1041
Comments
Which version is this on? What are the exact sequences of keypresses to reproduce this issue? The trace you shared seems to be from the signal handler calls. Not much can be gathered from that. |
Can you please compile |
We did have changes in release 4.1 to support named persistent sessions. |
@johnwuelk in case you haven't noticed, we have made a release today. So if you are seeing this on the latest release, please act a bit faster and help us fix the issue so we can make a quick release before downstream packagers pick this up for packaging. |
Sorry for getting back late. The error still persists, here is what I did:
|
|
Same behavior also without sudo (only make). @jarun Here is the output of the nnndbg file: ln line: VERSION=4.1 |
I use no program options, just "nnn". I also removed all saved sessions, compiled and ran it again which led to the same error. |
I can repro it. Thanks! |
Please confirm the patch works. Please explore the other session options also to confirm everything works. We'll make another release soon with some other fixes. |
It works now! Thanks for this quick patch. This even fixed a rendering issue I had with the fzcd plugin. |
When saving or loading a session for example, nnn outputs "segmentation fault (core dumped)" and crashes/exits. This does not happen with older versions like f.i. nnn v3.7.
I tried to find the cause with strace, these are the last lines of strace before nnn exits:
48 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} ---
349 +++ killed by SIGSEGV (core dumped) +++
I'm trying to use nnn as my main file manager due to its convenience with plugins and shortcuts.
The text was updated successfully, but these errors were encountered: