Wind River Support Network

HomeDefectsLIN7-1234
Fixed

LIN7-1234 : In WRL-4.3 telnetd remains waiting on futex even after all the clients have exited.

Created: Oct 24, 2014    Updated: Sep 8, 2018
Resolved Date: Apr 29, 2015
Found In Version: 7.0
Fix Version: 7.0.0.6
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Userspace

Description

In WRL-4.3 telnetd remains even after all the Telnet clients have exited, it is stuck waiting for futex (as shown below). 

eCCM-root-root> sh /store/sample.sh
2298 root      3320 S    telnetd -h
11384 root      3320 S    telnetd -h
------
^C
eCCM-root-root> strace -p 11384
Process 11384 attached - interrupt to quit
futex(0xffbd4e0, FUTEX_WAIT_PRIVATE, 2, NULL^C <unfinished ...>


xCCM-root-root> sh /store/sample.sh
9087 root      3340 S    telnetd -h
14205 root      3340 S    telnetd -h
22698 root      3340 S    telnetd -h
31050 root      3340 S    telnetd -h

xCCM-root-root> strace -p 14205
Process 14205 attached - interrupt to quit
futex(0xffb2528, FUTEX_WAIT_PRIVATE, 2, NULL^C <unfinished ...>
Process 14205 detached

Workaround

None

Steps to Reproduce

The scripts used to reproduce the problem are attached. The setup.log and config.log files are attached. 

Other Downloads


Live chat
Online