Closed Justaus3r closed 1 year ago
Hi @Justaus3r. Thanks for reporting! I'll take a look at it.
Tested clifm 1.8 on both nushell
and powershell
.
Powershell
actually crashed (no IO error though), but what's crashing is powershell
itself. I see no error at all belonging to clifm. Indeed, here's the output of valgrind
(running clifm on powershell
):==30204== HEAP SUMMARY:
==30204== in use at exit: 278,227 bytes in 244 blocks
==30204== total heap usage: 19,570 allocs, 19,326 frees, 10,802,680 bytes allocated
==30204==
==30204== LEAK SUMMARY:
==30204== definitely lost: 0 bytes in 0 blocks
==30204== indirectly lost: 0 bytes in 0 blocks
==30204== possibly lost: 0 bytes in 0 blocks
==30204== still reachable: 278,227 bytes in 244 blocks
==30204== suppressed: 0 bytes in 0 blocks
==30204== Reachable blocks (those to which a pointer was found) are not shown.
==30204== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==30204==
==30204== For lists of detected and suppressed errors, rerun with: -s
==30204== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
[2]+ Stopped pwsh
Though I cannot reproduce the crash on nushell
, maybe the fault is on the side of nushell
itself. Again, I can detect no error caused by clifm (and maybe the fact that other shells behave as expected supports this point).
This is not intended to be conclusive, of course, but just the first diagnostic.
Correction:
In my tests, powershell
does not crash: it it just sent to the background as soon as clifm exits.
Now after updating nu from previous verison 0.66.1
to 0.72.0
, the bug seems to have been fixed by nu devs. the only problematic shell now is powershell, which sadly is my default one. ig i will report the issue on their bugtracker. maybe the issue is already fixed on latest release, which i am not on. thanks for your time..
Closing. Please let me know if you get any answer.
Describe the bug Clifm is breaking some shells like nushell and powershell. both shells elict some kind of IO error. other shells like sh,bash,zsh,xonsh work like expected. stacktrace: powershell:
nushell just gives an io error indefinitely:
To Reproduce Steps to reproduce the behavior:
Additional context Maybe some of resource like control to stdin is not given properly, other than that i don't know.