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

2011-12-11 Thread Mats Erik Andersson
söndag den 11 december 2011 klockan 23:21 skrev Michael Biebl detta:
> On 11.12.2011 19:14, Mats Erik Andersson wrote:
> > söndag den 11 december 2011 klockan 18:57 skrev Michael Biebl detta:
> > 
> >> Would you mind testing 1:0.28.2-3 packages with a fixed libdir path?
> >> I can provide binaries, if you want. Just tell me your architecture.
> > 
> > I could use one linux-i386 and one kfreebsd-amd64.
> 
> There you go:
> http://address-deleted/

(Using linux-i386.)

Issue resolved! Well done in spotting the error within a hard-coded path.

  $ ps ax | grep term
  28544 ?Ss 0:01 xterm
  32289 ?Ssl0:00 lxterminal
  32680 pts/1S+ 0:00 grep --color=auto term

  $ who -u
  mats tty3 2011-12-11 19:20 05:09   28477
  mats tty2 2011-12-11 13:03 05:03   10959
  mats tty1 2011-12-11 12:48 06:253015
  mats pts/02011-12-11 18:05 00:04   28544 (:0)
  mats pts/12011-12-12 00:29   . 32289 (:0)



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



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

2011-12-11 Thread Mats Erik Andersson
söndag den 11 december 2011 klockan 18:57 skrev Michael Biebl detta:
> On 11.12.2011 18:35, Mats Erik Andersson wrote:
> > Also here "pts/2" is missing, although existent and active,
> > being the most recent invokation of all; incomplete WTMP.
> 
> The missing utmp entries are most certainly due to the incorrect
> gnome-pty-helper path. Not sure yet about the lxterminal zombie processes.

It ought to be the combined failure of fork/TIOSCTTY/setsid.
Lxterminal in itself must die to gain session leadership.

> Would you mind testing 1:0.28.2-3 packages with a fixed libdir path?
> I can provide binaries, if you want. Just tell me your architecture.

I could use one linux-i386 and one kfreebsd-amd64.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



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

2011-12-11 Thread Michael Biebl
On 11.12.2011 18:35, Mats Erik Andersson wrote:
> söndag den 11 december 2011 klockan 17:12 skrev Michael Biebl detta:
>> On 29.11.2011 23:54, Mats Erik Andersson wrote:
>>> 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".

[..]

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

The missing utmp entries are most certainly due to the incorrect
gnome-pty-helper path. Not sure yet about the lxterminal zombie processes.

Would you mind testing 1:0.28.2-3 packages with a fixed libdir path?
I can provide binaries, if you want. Just tell me your architecture.

Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


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

2011-12-11 Thread Mats Erik Andersson
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/1S+ 0:00 grep --color=auto term
  28544 ?Ss 0:00 xterm
  31865 ?Ssl0:01 lxterminal
  31873 ?Z  0:00 [lxterminal] 

  $ who -u /var/run/utmp 
  mats tty2 2011-12-11 13:03 00:16   10959
  mats tty1 2011-12-11 12:48 00:153015
  mats pts/02011-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  localhostSun 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



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



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

2011-12-11 Thread Michael Biebl
On 11.12.2011 17:12, Michael Biebl wrote:
>> 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".

The squeeze version apparently has the correct path:

# strings /usr/lib/libvte.so.9 | fgrep /gnome-pty-helper
/usr/lib/libvte9/gnome-pty-helper
# ls /usr/lib/libvte9/gnome-pty-helper -la
-rwxr-sr-x 1 root utmp 10064 30. Aug 05:00 /usr/lib/libvte9/gnome-pty-helper

In contrast to sid:
# strings /usr/lib/libvte.so.9 | fgrep /gnome-pty-helper
/usr/lib/vte/gnome-pty-helper
# ls -la /usr/lib/vte/gnome-pty-helper
ls: cannot access /usr/lib/vte/gnome-pty-helper: No such file or directory

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


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

2011-12-11 Thread Michael Biebl
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".


[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=645104
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


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

2011-12-11 Thread Michael Biebl
severity 650462 important
tags 650462 + moreinfo unreproducible
thanks

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.

As I couldn't reproduce the issue and no further info was provided, I'm
downgrading the severity and tag it accordingly.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


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

2011-11-29 Thread Michael Biebl
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.
> 

I tried with libvte from unstable and was not able to reproduce this issue.
Could you please upgrade and test 1:0.28.2-3.



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


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

2011-11-29 Thread Mats Erik Andersson
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.

Best regards,
  Mats Erik Andersson, DM



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org