'script' dies on SIGWINCH (window resize)

Bug #165251 reported by Alan Porter
2
Affects Status Importance Assigned to Milestone
util-linux (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: util-linux

The 'script' command (/usr/bin/script, part of bsdutils package) dies when it receives the SIGWINCH signal.

Open an xterm (I use 'konsole'). Start a 'script' session, which saves all screen output to a file. Then resize the terminal window. The 'script' session dies immediately and the output file is closed.

When I first Googled around, I saw this posting:
http://<email address hidden>/msg00768.html

This sounds like it might have been fixed upstream?

Alan Porter

Revision history for this message
Elliot Hughes (elliot-hughes) wrote :

Hi,
Thanks for your very complete bug report. :)
I should be able to confirm this bug if you can provide me with the version of Ubuntu you are running.
Elliot

Changed in util-linux:
assignee: nobody → elliot-hughes
status: New → Incomplete
Revision history for this message
Koen (koen-beek) wrote :

Hi,

  I can confirm that in a gnome terminal resizing of the terminal windows stop the script
  I am using the latest Gutsy 64 bit : Linux Dell_ubuntu 2.6.22-14-generic #1 SMP Sun Oct 14 21:45:15 GMT 2007 x86_64 GNU/Linux

  I can also confirm that the changes in http://<email address hidden>/msg00768.html solve this problem
  I recompiled script with these changes and then the script continues until the terminal session is terminated (as per manual)

  my uname -a : Linux Dell_ubuntu 2.6.22-14-generic #1 SMP Sun Oct 14 21:45:15 GMT 2007 x86_64 GNU/Linux

     Koen

Changed in util-linux:
assignee: elliot-hughes → nobody
status: Incomplete → New
status: New → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :

This was fixed upstream in util-linux 2.13.1, which is available in Hardy. The changelog says simply:

script:
   - dies on SIGWINCH [Karel Zak]

Changed in util-linux:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.