bug-dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-dejagnu] Leaked fd into spawned children [resent]


From: Jan Kratochvil
Subject: [Bug-dejagnu] Leaked fd into spawned children [resent]
Date: Thu, 29 Aug 2013 15:22:27 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Hi,

Steps to Reproduce:
echo 'remote_exec target "ls -l /proc/self/fd/"' >dejagnuleak.exp
runtest dejagnuleak.exp
cat testrun.log

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

Expected 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
lr-x------ 1 jkratoch jkratoch 64 Aug 26 21:15 3 -> /proc/25522/fd

The fd for /proc/25522/fd is apparently correct - the one of ls argument.

Version-Release number of selected component (if applicable):
commit 5481f29161477520c691d525653323b82fa47ad7 (2013-06-17)
expect-5.45-10.fc20.x86_64
tcl-8.5.14-1.fc20.x86_64


Thanks,
Jan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]