Package: bash
Version: 4.3-14
Severity: important

Run the following script in a resizeable terminal.

#!/bin/bash
trap 'echo WINCH $(date)' WINCH
while sleep 0.01; do true; done

With the script running, rapidly resize the terminal.  The script will
produce a pile of messages, followed by a segmentation fault.  dmesg
says:

[538561.984701] traps: winch[3272] general protection ip:4b8f77 sp:7ffee285eb70 
error:0 in bash[400000+f4000]

Perhaps bash has a race condition in its signal handling?

- Josh Triplett

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.1.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages bash depends on:
ii  base-files   9.4
ii  dash         0.5.7-4+b1
ii  debianutils  4.5.1
ii  libc6        2.19-20
ii  libncurses5  6.0+20150810-1
ii  libtinfo5    6.0+20150810-1

Versions of packages bash recommends:
ii  bash-completion  1:2.1-4.2

Versions of packages bash suggests:
pn  bash-doc  <none>

-- no debconf information

Reply via email to