Bug#934438: zenity: editable textinfo causes - (stdin) to become temporarily unavailable

Agafnd agafnd at openmailbox.org
Sat Aug 10 23:50:03 BST 2019


Package: zenity
Version: 3.22.0-1+b1
Severity: normal

Dear Maintainer,

I was writing a script using `zenity`, involving a line like:

zenity --text-info --editable > "$file"

which as you are probably aware, opens a text dialog, takes user input, and puts it in $file.

After running this script, I had cause to run `cat` with no options, which simply takes input
from stdin. Imagine my surprise when I got the error message:

cat: -: Resource temporarily unavailable

After talking about it a bit in #debian on freenode, I determined that:

- `cat /dev/stdin` still works
- `cat` works again once a new `bash` instance has been started
- `zenity --text-info --editable >/dev/null` causes the problem
- `zenity --text-info --editable </dev/null` does not cause the problem (and is a workaround)

This bug does not seem to be present in `zenity --entry`

-- System Information:
Debian Release: 9.9
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-debug'), (500, 'oldstable')
Architecture: amd64 (x86_64)

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

Versions of packages zenity depends on:
ii  libc6                 2.24-11+deb9u4
ii  libgdk-pixbuf2.0-0    2.36.5-2+deb9u2
ii  libglib2.0-0          2.50.3-2
ii  libgtk-3-0            3.22.11-1
ii  libnotify4            0.7.7-2
ii  libpango-1.0-0        1.40.5-1
ii  libwebkit2gtk-4.0-37  2.18.6-1~deb9u1
ii  libx11-6              2:1.6.4-3+deb9u1
ii  zenity-common         3.22.0-1

zenity recommends no packages.

zenity suggests no packages.

-- no debconf information



More information about the pkg-gnome-maintainers mailing list