Bug#615031: less should wait for its children (zombie child)

2012-10-29 Thread Vincent Lefevre
On 2012-10-19 16:39:10 -0700, Mark Nudelman wrote: Hi Aníbal, Thank you for bringing this bug to my attention. Unfortunately I have not been able to reproduce it on a Fedora system: Note: I've just noticed that the file to view must not be empty to reproduce the bug. Linux legolas-fedora

Bug#615031: less should wait for its children (zombie child)

2012-10-29 Thread Mark Nudelman
On 10/29/2012 5:08 AM, Vincent Lefevre wrote: Here's a script I've used to reproduce the bug here (there's also a strace call to get strace output). The problem is that the wait4 from process 2253 (less) is too late. Less creates the LESSOPEN process with popen and in all normal exit

Bug#615031: less should wait for its children (zombie child)

2012-10-29 Thread Vincent Lefevre
On 2012-10-29 09:29:40 -0700, Mark Nudelman wrote: Oh, wait, I just realized I may have misunderstood the issue. Are you saying that the zombie exists while less is running but it does get reaped correctly when less exits? Yes. Typically, I get things like: │ └─ 4754 xterm -xrm

Bug#615031: less should wait for its children (zombie child)

2012-10-19 Thread Mark Nudelman
Hi Aníbal, Thank you for bringing this bug to my attention. Unfortunately I have not been able to reproduce it on a Fedora system: Linux legolas-fedora 2.6.35.13-92.fc14.i686 #1 SMP Sat May 21 17:39:42 UTC 2011 i686 i686 i386 GNU/Linux I've tried a number of scenarios with different LESSOPEN

Bug#615031: less should wait for its children (zombie child)

2012-10-15 Thread Vincent Lefevre
It can also be reproduced with: #!/bin/sh cat $@ as the lessopen.sh file, and just the following environment variable: LESSOPEN=|/path/to/lessopen.sh %s Then type less some_file, or less (echo blah) under bash or zsh. -- Vincent Lefèvre vinc...@vinc17.net - Web: http://www.vinc17.net/ 100%

Bug#615031: less should wait for its children (zombie child)

2012-10-15 Thread Aníbal Monsalve Salazar
On 2011-02-25 03:37:09 +0100, Vincent Lefevre wrote: less doesn't seem to wait for the sh started for the lesspipe command: [...] On Mon, Oct 15, 2012 at

Bug#615031: less should wait for its children (zombie child)

2011-12-16 Thread Vincent Lefevre
found 615031 444-1 thanks On 2011-02-25 03:37:09 +0100, Vincent Lefevre wrote: Package: less Version: 436-1 Severity: minor less doesn't seem to wait for the sh started for the lesspipe command: [...] To reproduce the bug... xvii:~ cat foo éê xvii:~ less foo == append : to filename to

Bug#615031: less should wait for its children (zombie child)

2011-02-24 Thread Vincent Lefevre
Package: less Version: 436-1 Severity: minor less doesn't seem to wait for the sh started for the lesspipe command: After typing less debian.xml: UIDPID PPID C STIME TTY TIME CMD vinc17 13156 15321 0 03:31 pts/900:00:00 less debian.xml vinc17 13157 13156 0 03:31