Ticket #3623 (closed defect: duplicate)

Opened 9 years ago

Last modified 3 years ago

mc v.4.8.16 freezes when working via screen/tmux

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

Description (last modified by andrew_b) (diff)

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
    
  3. update mc:
    # yum install mc screen tmux
    
  4. 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
    
  5. exit mc, run it under screen:
    $ screen
    $ mc
    
  6. press arrows and browse the mc's menu to see that something wrong

Change History

comment:1 Changed 9 years 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
Last edited 3 years ago by andrew_b (previous) (diff)

comment:2 Changed 9 years ago by andrew_b

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

comment:3 follow-up: ↓ 4 Changed 9 years 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 9 years 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 9 years ago by zaytsev

  • Milestone changed from 4.8.17 to 4.8.18

comment:6 Changed 8 years ago by zaytsev

  • Milestone changed from 4.8.18 to 4.8.19

comment:7 Changed 7 years ago by zaytsev

  • Milestone changed from 4.8.20 to 4.8.21

comment:8 Changed 6 years ago by zaytsev

  • Milestone changed from 4.8.21 to 4.8.22

comment:9 Changed 6 years ago by zaytsev

  • Milestone changed from 4.8.22 to 4.8.23

comment:10 Changed 5 years ago by zaytsev

  • Milestone changed from 4.8.23 to 4.8.24

comment:11 Changed 4 years ago by zaytsev

  • Milestone changed from 4.8.25 to 4.8.26

comment:12 Changed 4 years ago by zaytsev

  • Status changed from new to closed
  • Resolution set to duplicate

Closed as duplicate of #3136.

comment:13 Changed 3 years ago by andrew_b

  • Component changed from mc-core to mc-tty
  • Description modified (diff)
  • Milestone 4.8.26 deleted
Note: See TracTickets for help on using tickets.