Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-80294

"capture-pane" does not work with "-p" option

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-10.0
    • tmux
    • Yes
    • Important
    • rhel-base-utils-core
    • ssg_core_services
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • All
    • None

      What were you trying to do that didn't work?

      Capturing a pane to stdout from a detached session fails and kills the tmux-server.

      What is the impact of this issue to you?

      Can not capture output of "ncurses" applications to a file.

      Please provide the package NVR for which the bug is seen:

      tmux-3.3a-13.20230918gitb202a2f.el10

      How reproducible is this bug?:

      Always on all supported architectures.

      Steps to reproduce

      # tmux new-session -d -s bububu -x 100 -y 100 'top'
      # tmux list-sessions
      bububu: 1 windows (created Thu Feb 20 04:22:42 2025)
      # tmux capture-pane -t bububu -p
      server exited unexpectedly
      # tmux list-sessions
      no server running on /tmp/tmux-0/default
      

      Expected results

      The capture-pane command prints content of the session/pane to stdout.

      Actual results

      The capture-pane command fails and kills the tmux-server.

      See the reproduction scenario above.

              jridky Josef Řídký
              jkurik@redhat.com Jan Kurik
              Josef Řídký Josef Řídký
              Jakub Haruda Jakub Haruda
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: