mc freezes for 10 seconds, after which it opens with an empty PS1 (mc, tmux). #4568
Labels
area: core
Issues not related to a specific subsystem
prio: medium
Has the potential to affect progress
ver: 4.8.31
Reproducible in version 4.8.31
Milestone
Important
This issue was migrated from Trac:
krekhov
(@iikrllx)mc
,tmux
,subshell
,freeze
I discovered strange behavior of mc after exiting the tmux session. I checked this bug on Manjaro and Debian, package versions are listed below. The point is that mc freezes for 10 seconds when opened, then opens without PS1, only the '$' symbol is visible in the mc prompt and if return to tmux, in session 0 you can see the 'Bad file descriptor' errors (see 'b.png' screenshot).
--- Actions
-> install mc and tmux latest versions
mc opens well, PS1 is present.
-> exit from mc
-> exit from tmux
or
10 seconds wait, then PS1 will be empty. I expected that mc would open immediately and PS1 would be present there (see 'a.png' screenshot).
mc opens well, PS1 is present.
mc opens well, PS1 is empty (that's how it should be, because '--nosubshell')
-> exit from mc
-> ctrl + b + s
-> select session 0 from the list
-> there will be errors (see 'b.png' screenshot)
--- Versions
-- Manjaro
LSB Version: n/a
Distributor ID: Manjaro
Description: Manjaro Linux
Release: 24.0.6
Codename: Wynsdey
Version : 4.8.31-3
Description : A file manager that emulates Norton Commander
Architecture : x86_64
...
Name : tmux
Version : 3.4-10
Description : Terminal multiplexer
Architecture : x86_64
...
-- Debian
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
ii mc 3:4.8.31-1 amd64 Midnight Commander - a powerful file manager
ii mc-data 3:4.8.31-1 all Midnight Commander - a powerful file manager -- data files
ii tmux 3.4-7 amd64 terminal multiplexer
Note
Original attachments:
krekhov
(@iikrllx) onAug 9, 2024 at 15:41 UTC
krekhov
(@iikrllx) onAug 9, 2024 at 15:41 UTC
The text was updated successfully, but these errors were encountered: