-
Notifications
You must be signed in to change notification settings - Fork 3
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
MC hungs for 1-2 second when open folder plus side-effects #4480
Comments
Is this some kind of remote filesystem, or it's just a "normal" folder on your filesystem? What shell are you using? It seems that because of some delays the directories get desynchronised between mc and subshell. |
Normal folder with 12 files. If i change its name its work fine. So, i think, only reason can be in this full path (because if i move it in another place its again works fine).
I use bash. |
|
This is weird. I did (on Ubuntu Linux)
and can walk without any problems. Can you make a reproducer? |
1) In your cmd you forgot leading "/" in path.
OK. Looks like a problem in profile file (now, for tests, bashrc is justs moved out). So i find point:
The only one idea i have - problem connected with time that processing of "/etc/profile" takes. And timeout is realy very very small (some ms, or even us). |
MC 4.8.29 hungs for more time (~2s) that 4.8.28 (~0.5s).
|
Problem with user profile / HISTCONTROL settings / prompt. |
Looks like not. I make deeper search and find that when MC hung, on shell leave string like: |
Replying to Bishop:
Could you please show this untruncated path as raw? |
Replying to andrew_b:
Both test path are in ticket description.
P.S. Looks like i found dirty solution. Tomorrow i complitly check it and post here. |
Source file: src/subshell/common.c |
Can`t say. For me key of problem is buffer size betwean MC and Bash. If write not so big chunks and get a bit time to Bash read data - all ok.
Whole patch i comment 11. If you need it in patch file - ok, i make it. |
ugly way to fix problem |
Important
This issue was migrated from Trac:
Bishop
(bishop-mc@….org)When i try enter one of folowing folders
MC hungs for 1-2 seconds. After it if i try quit MC via F10 i got "The shell is still active" warning. If i switch to shell (Ctrl+O) i see clean shell. But if i press Enter i see those command
I use Oracle Solaris if this is matter. Bug also exist in 4.8.28.
Note
Original attachments:
Bishop
(bishop-mc@….org) onJul 6, 2023 at 4:41 UTC
Bishop
(bishop-mc@….org) onNov 20, 2024 at 11:40 UTC
The text was updated successfully, but these errors were encountered: