Ticket #3623 (new defect)

Opened 20 months ago

Last modified 44 hours ago

mc v.4.8.16 freezes when working via screen/tmux

Reported by: ctac Owned by:
Priority: major Milestone: 4.8.21
Component: mc-core Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

Oracle Linux Server release 7.2
GNU Midnight Commander 4.8.16
screen-4.1.0-0.23.20120314git3c2946.el7_2.x86_64
tmux-1.8-4.el7.x86_64

mc-4.8.16-8.1.x86_64 works just perfect in a single ssh session and freeze reaction on keyboard when runs under screen/tmux (sometimes it does not react on a single keypress, sometimes with delay up to 3-4 secs, sometimes - without problem)

GNU Midnight Commander 4.8.16
Built with GLib 2.36.3
Using the S-Lang library with terminfo database
With builtin Editor
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With internationalization support
With multiple codepages support
Virtual File Systems: cpiofs, tarfs, sfs, extfs, ftpfs, sftpfs, fish, smbfs
Data types: char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64;

mc-4.8.7-8.el7.x86_64 works under screen/tmux just fine
GNU Midnight Commander 4.8.7
Built with GLib 2.36.3
Using the S-Lang library with terminfo database
With builtin Editor
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With internationalization support
With multiple codepages support
Virtual File Systems: cpiofs, tarfs, sfs, extfs, ftpfs, sftpfs, fish, smbfs
Data types: char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64;

mc 3:4.8.16-2 under debian 8.3 does not affected too:
GNU Midnight Commander 4.8.16
Built with GLib 2.32.4
Using the S-Lang library with terminfo database
With builtin Editor
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With support for X11 events
With internationalization support
With multiple codepages support
Virtual File Systems: cpiofs, tarfs, sfs, extfs, ftpfs, sftpfs, fish
Data types: char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64;

Steps to reproduce:

  1. install OEL7 (sure that this problem will exist on CentOS/RHEL as well)
  2. create mc yum repository:

# cat >/tmp/yum.repos.d/midnight-commander.repo <<EOF
[mc7]
name=Midnight Commander - CentOS.7
baseurl=http://download.opensuse.org/repositories/home:/laurentwandrebeck:/mc/CentOS_7/
enabled=1
gpgcheck=0
EOF

  1. update mc:

# yum install mc screen tmux

  1. run mc and check that everything is fine (press arrows, go to menu):

$ rpm -q mc
mc-4.8.16-8.1.x86_64
$ mc

  1. exit mc, run it under screen:

$ screen
$ mc

  1. press arrows and browse the mc's menu to see that something wrong

Change History

comment:1 Changed 20 months ago by ctac

cat >/etc/yum.repos.d/midnight-commander.repo <<EOF

[mc7]
name=Midnight Commander - CentOS.7
baseurl=​http://download.opensuse.org/repositories/home:/laurentwandrebeck:/mc/CentOS_7/
enabled=1
gpgcheck=0
EOF

comment:2 Changed 20 months ago by andrew_b

Looks like the root of problem is same as in #3136.

comment:3 follow-up: ↓ 4 Changed 20 months ago by zaytsev-work

@ctac, if it's #3136, then it should also happen with 4.8.15. Could you please check that this is the case?

comment:4 in reply to: ↑ 3 Changed 20 months ago by ctac

Replying to zaytsev-work:

@ctac, if it's #3136, then it should also happen with 4.8.15. Could you please check that this is the case?

under Debian 8.3 there is no such effect in mc-4.8.15 and 4.8.16
and I don't know, where I can get 4.8.15 for centos/rhel/oel

comment:5 Changed 19 months ago by zaytsev

  • Milestone changed from 4.8.17 to 4.8.18

comment:6 Changed 14 months ago by zaytsev

  • Milestone changed from 4.8.18 to 4.8.19

comment:7 Changed 44 hours ago by zaytsev

  • Milestone changed from 4.8.20 to 4.8.21
Note: See TracTickets for help on using tickets.