[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-dejagnu] Leaked fd into spawned children
From: |
Ben Elliston |
Subject: |
Re: [Bug-dejagnu] Leaked fd into spawned children |
Date: |
Sat, 31 Aug 2013 15:45:52 +1000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hi Jan
> echo 'remote_exec target "ls -l /proc/self/fd/"' >dejagnuleak.exp
> runtest dejagnuleak.exp
> cat testrun.log
Thanks, reproduced.
> Actual results:
> lrwx------ 1 jkratoch jkratoch 64 Aug 26 21:15 0 -> /dev/pts/5
> lrwx------ 1 jkratoch jkratoch 64 Aug 26 21:15 1 -> /dev/pts/5
> lrwx------ 1 jkratoch jkratoch 64 Aug 26 21:15 2 -> /dev/pts/5
> lrwx------ 1 jkratoch jkratoch 64 Aug 26 21:15 3 -> /dev/pts/2
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> lr-x------ 1 jkratoch jkratoch 64 Aug 26 21:15 4 -> /proc/25522/fd
Do you know what fd 3 is, in this case? I've tried a few things with
Expect and a Dejagnu .exp script that doesn't use remote_exec and
can't reproduce it there.
Cheers,
Ben
signature.asc
Description: Digital signature