Bug#650462: gnome-pty-helper: Producing zombies and corrupts UTMP.

Mats Erik Andersson mats.andersson at gisladisker.se
Sun Dec 11 17:35:53 UTC 2011


söndag den 11 december 2011 klockan 17:12 skrev Michael Biebl detta:
> On 29.11.2011 23:54, Mats Erik Andersson wrote:
> > Package: libvte9
> > Version: 0.28.2-1
> > Severity: serious
> > 
> > When using lxterminal_0.1.11-1 and libvte9_0.28.2-1 together with either of
> > openbox, dwm, or wmii, each invokation of lxterminal produzes one zombie
> > process and one live process. In addition,  /var/run/utmp and /var/log/wtmp
> > are corrupted.
> > 
> > Downgrading to libvte9_0.24.3-3, but keeping lxterminal_0.1.11-1,
> > restores correct functionality: no zombie process, and valid UTMP
> > and WTMP entries.
> 
> Curious, apparently the path to gnome-pty-helper is currently not
> correctly set in libvte9 [1]. This would explain the incorrect utmp/wtmp
> entries. Not quite sure what you meant with "corrupted".

Probably "incomplete" would have been more apropriate in this title.
Looking into "libvte.so.9" I can also see the faulty path to "gnome-pty-helper".

The failure of "lxterminal" is best seen in this printout:

  $ ps ax | grep term
    407 pts/1    S+     0:00 grep --color=auto term
  28544 ?        Ss     0:00 xterm
  31865 ?        Ssl    0:01 lxterminal
  31873 ?        Z      0:00 [lxterminal] <defunct>

  $ who -u /var/run/utmp 
  mats     tty2         2011-12-11 13:03 00:16       10959
  mats     tty1         2011-12-11 12:48 00:15        3015
  mats     pts/0        2011-12-11 18:05 00:06       28544 (:0)

Observe that "pts/2" with PID 31865 is missing. This is
the incomplete UTMP.

  $ last -n3
  mats     pts/0        :0               Sun Dec 11 18:05   still logged in   
  ftp      ftp          localhost        Sun Dec 11 17:37 - 17:37  (00:00)    
  mats     tty2                          Sun Dec 11 13:03   still logged in

  wtmp begins Thu Dec  1 10:31:31 2011

Also here "pts/2" is missing, although existent and active,
being the most recent invokation of all; incomplete WTMP.

Best regards,
  Mats E Andersson





More information about the pkg-gnome-maintainers mailing list