[Pkg-xmpp-devel] Bug#963132: /show yes silently leaves process running indefinitely
Enrico Zini
enrico at debian.org
Fri Jun 19 13:40:35 BST 2020
Package: gajim
Version: 1.1.2-2
Severity: normal
Hello,
Thank you for maintaining gajim.
I just learnt of the /show command, which runs a shell command and posts
its output. It works exactly as intended. What could possibly go wrong?
I tried running "/show yes". Nothing happened, I could keep chatting
normally, and the 'yes' command has been left running indefinitely.
Interrupting it didn't flood the channel with millions of 'y' lines,
either.
I didn't investigate what gajim is doing behing the scenes. It didn't
seem to use CPU and RAM usage didn't seem to increase significantly, but
the process was left around. I suppose it was blocked while writing its
standard output to a pipe.
"/show yes > /tmp/foo", instead, happily filled the disk with no visible
outcome in gajim's interface. I havent tried /show <bash fork bomb>.
All of this in theory is working exactly as intended. What I find
surprising is the feedback, whereas it looks like the /show command did
nothing, and instead it spawned a daemon running forever.
Enrico
-- System Information:
Debian Release: 10.4
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.5.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), LANGUAGE=en_IE:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages gajim depends on:
ii gir1.2-gtk-3.0 3.24.5-1
ii python3 3.7.3-1
ii python3-cssutils 1.0.2-2
ii python3-gi 3.30.4-1
ii python3-gi-cairo 3.30.4-1
ii python3-idna 2.6-1
ii python3-keyring 17.1.1-1
ii python3-nbxmpp 0.6.10-1
ii python3-openssl 19.0.0-1
ii python3-precis-i18n 1.0.0-1
Versions of packages gajim recommends:
ii alsa-utils 1.1.8-2
ii aspell-en [aspell-dictionary] 2018.04.16-0-1
ii ca-certificates 20190110
ii dbus 1.12.16-1
ii fonts-noto-color-emoji 0~20180810-1
ii gajim-omemo 2.6.27-1
ii gajim-pgp 1.2.24-1
ii gir1.2-farstream-0.2 0.2.8-4.1
ii gir1.2-geoclue-2.0 2.5.2-1
ii gir1.2-gspell-1 1.6.1-2
ii gir1.2-gst-plugins-base-1.0 1.14.4-2
ii gir1.2-gstreamer-1.0 1.14.4-1
ii gir1.2-gupnpigd-1.0 0.2.5-3
ii gir1.2-secret-1 0.18.7-1
ii gstreamer1.0-plugins-ugly 1.14.4-1
ii lxqt-notificationd [notification-daemon] 0.14.1-1
ii notification-daemon 3.20.0-4
ii pulseaudio-utils 12.2-4+deb10u1
ii python3-crypto 2.6.1-9+b1
ii python3-dbus 1.2.8-3
ii python3-gnupg 0.4.4-1
ii python3-pil 5.4.1-2+deb10u1
ii xfce4-notifyd [notification-daemon] 0.4.3-1
Versions of packages gajim suggests:
ii avahi-daemon 0.7-4+b1
ii libxss1 1:1.2.3-1
pn nautilus-sendto <none>
ii python3-kerberos 1.1.14-2
ii python3-pycurl 7.43.0.2-0.1
-- no debconf information
More information about the Pkg-xmpp-devel
mailing list