[Bug 1463] Running nohup sleep 70 & and then exiting shell, hangs ssh

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Sun Jun 15 05:19:27 EST 2008


https://bugzilla.mindrot.org/show_bug.cgi?id=1463


Darren Tucker <dtucker at zip.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dtucker at zip.com.au




--- Comment #5 from Darren Tucker <dtucker at zip.com.au>  2008-06-15 05:19:21 ---
I can reproduce this on Solaris 10/x86.  trussing sshd shows this:

20238:  close(10)                                       = 0
20238:  waitid(P_ALL, 0, 0x080478F0, WEXITED|WTRAPPED|WNOHANG) Err#10
ECHILD
20238:  lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF
[0x0000FFFF]
20238:  pollsys(0x080478D0, 3, 0x00000000, 0x00000000)  = 2
20238:  read(4, "\0", 1)                                = 1
20238:  read(4, 0x08047983, 1)                          Err#11 EAGAIN
20238:  lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF
[0x0000FFFF]
20238:  lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF
[0x0000FFFF]
20238:  write(5, " 6 wCAC0FD89 ,8DBE |96 %".., 48)      = 48
20234:  read(6, 0x080475A8, 4)          (sleeping...)
20238:  pollsys(0x080478D0, 3, 0x00000000, 0x00000000) (sleeping...)

Descriptor 5 is the socket connected to the client, 4 and 6 are pipes,
presumably connected to the shell.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list