Package: mc
Version: 3:4.8.33-1
Severity: important

The recent mc upgrade appears to have introduced a major regression in
behaviour of the command line subshell. I'm referring to the
single-line command line appearing near the bottom of the normal mc
screen below the list of files, not the full subshell accessed via
Ctrl-o. The use-context is running mc from bash shells in Gnome
terminals.

The command line becomes unresponsive after being used to launch an
app (e.g. launching emacs or libreoffice to edit a file).

Normally the command line can be used to navigate over the directories
and file list, with the arrow keys moving the cursor to select a given
file.  A command can be typed in and executed by pressing Enter.

The problem seems to be easily reproducible upon launching a command
in the background (e.g. typing `emacs &` in the command line to launch
emacs, with & running it in the background).  mc seems to retain
functionality temporarily if & is not used (i.e. running a command in
the foreground), and temporarily stable after Ctrl-z and bg is used to
send the command to background. But eventually the unresponsiveness
starts anyway.

When the command line becomes unresponsive, the cursor no longer moves
with the arrow key.  Instead, the arrow key cycles through previous
commands, like Ctrl-p.  The Enter key is ignored, so commands can no
longer be executed.  Ctrl-o and Ctrl-u still work normally.

The problem is exacerbated since the problem does not simply affect
one window (one Gnome terminal). All windows (all mc instances) become
equally unresponsive once the problem has started.  Worse, the problem
is persistent, continuing even after all terminals have been closed
and new ones started. Rebooting seems to be the only way to restore
normal behaviour, at least until the bug gets triggered again.

The bug is making mc effectively unusable.


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.13-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mc depends on:
ii  libc6            2.40-7
ii  libext2fs2t64    1.47.2-1
ii  libglib2.0-0t64  2.83.3-2
ii  libgpm2          1.20.7-11+b2
ii  libslang2        2.3.3-5+b2
ii  libssh2-1t64     1.11.1-1
ii  mc-data          3:4.8.33-1

Versions of packages mc recommends:
ii  mailcap         3.74
ii  perl            5.40.1-2
ii  sensible-utils  0.0.24
ii  unzip           6.0-28

Versions of packages mc suggests:
ii  7zip [p7zip-full]                24.09+dfsg-4
ii  antiword                         0.37-16
pn  arc | arcanist                   <none>
pn  arj                              <none>
ii  binutils                         2.44-1
ii  bzip2                            1.0.8-6
ii  cabextract                       1.11-2
pn  catdoc                           <none>
ii  cpio                             2.15+dfsg-2
pn  ctorrent                         <none>
pn  dbview                           <none>
ii  default-jdk-headless             2:1.21-76
pn  djview4                          <none>
ii  djvulibre-bin                    3.5.28-2+b2
pn  elinks                           <none>
pn  epub-utils | ncbi-entrez-direct  <none>
ii  evince [pdf-viewer]              46.3.1-1+b1
ii  exif                             0.6.22-4
ii  file                             1:5.45-3+b1
ii  genisoimage                      9:1.1.11-4
ii  gettext                          0.23.1-1
ii  ghostscript                      10.04.0~dfsg-2+b1
pn  glade                            <none>
pn  gputils                          <none>
ii  groff-base                       1.23.0-7
pn  gv                               <none>
ii  imagemagick                      8:7.1.1.43+dfsg1-1
ii  imagemagick-7.q16 [imagemagick]  8:7.1.1.43+dfsg1-1
ii  info                             7.1.1-1+b1
pn  jlha-utils | lhasa               <none>
pn  kchmviewer                       <none>
pn  libaspell-dev                    <none>
ii  libbatik-java                    1.18+dfsg-2
pn  libchm-bin                       <none>
pn  liblz4-tool                      <none>
ii  libxml2-utils                    2.12.7+dfsg+really2.9.14-0.2+b1
pn  links2                           <none>
ii  lynx                             2.9.2-1
pn  lyx                              <none>
ii  lzip                             1.25-1
ii  man-db                           2.13.0-1
pn  mikmod                           <none>
pn  mpg321                           <none>
pn  mplayer                          <none>
ii  odt2txt                          0.5-7
ii  okular [pdf-viewer]              4:24.12.2-1
ii  p7zip-full                       16.02+transitional.1
pn  par2                             <none>
pn  poedit | potool                  <none>
ii  poppler-utils                    25.01.0-4
pn  procyon-decompiler               <none>
ii  python3                          3.13.1-2
pn  python3-boto                     <none>
ii  python3-tz                       2025.1-3
pn  rar                              <none>
pn  rpm                              <none>
pn  sox                              <none>
ii  sqlite3                          3.46.1-1
ii  texlive-binaries                 2024.20240313.70630+ds-5+b1
pn  timidity                         <none>
pn  unace | unace-nonfree            <none>
pn  unalz                            <none>
pn  unar                             <none>
ii  unrar                            1:7.1.3-1
pn  vorbis-tools                     <none>
ii  w3m                              0.5.3+git20230121-2.1
pn  wimtools                         <none>
pn  wv                               <none>
ii  xpdf [pdf-viewer]                3.04+git20250103-1+b1
pn  xpmutils                         <none>
ii  xz-utils                         5.6.3-1+b1
ii  zip                              3.0-14
ii  zstd                             1.5.6+dfsg-2

-- no debconf information

Reply via email to