Package: needrestart-session
Version: 0.3-5
Severity: minor
Usertags: warnings

I noticed that when I have xnethack running, wmctrl interacting with
GNOME shell is not able to associate xnethack with a process ID and so
there is a Perl minor warning emitted about the process table entry
being uninitialised.

I'm not sure what the best way to deal with this is nor where issue
leading to the PID being zero is located, but I think the Perl warning is not 
ideal. Since the process table entry is only being used to update a progress 
bar, perhaps an uninitialised one can be ignored.

$ wmctrl -l -p | grep nethack
0x00a00054  0 0      chianamo nethack-x11
$ pgrep -a nethack
9175 /usr/lib/games/nethack/nethack-x11
$ which xnethack
/usr/games/xnethack
$ file /usr/games/xnethack
/usr/games/xnethack: symbolic link to ../lib/games/nethack/nethack-x11.sh
$ file /usr/lib/games/nethack/nethack-x11.sh
/usr/lib/games/nethack/nethack-x11.sh: POSIX shell script, ASCII text executable
$ grep ^HACK[A-Z]*= /usr/lib/games/nethack/nethack-x11.sh
HACKSTYLE=x11
HACKDIR=/usr/lib/games/nethack
HACK=$HACKDIR/nethack-$HACKSTYLE
$ ls -l /usr/lib/games/nethack/nethack-x11
-rwxr-sr-x 1 root games 2.4M Jun 26  2016 /usr/lib/games/nethack/nethack-x11*
$ needrestart-session 
Use of uninitialized value in subroutine entry at 
/usr/lib/needrestart-session/needrestart-x11 line 176, <HPIPE> line 3.

-- System Information:
Debian Release: buster/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 
'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 
'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

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

Versions of packages needrestart-session depends on:
ii  adduser                    3.117
ii  libnet-dbus-perl           1.1.0-4+b3
ii  libproc-processtable-perl  0.55-1
ii  libwx-perl                 1:0.9932-3
ii  needrestart                3.1-1
ii  perl                       5.26.1-6
ii  policykit-1                0.105-20
ii  wmctrl                     1.07-7+b1

needrestart-session recommends no packages.

needrestart-session suggests no packages.

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to