search for: sigcld

Displaying 20 results from an estimated 41 matches for "sigcld".

Did you mean: sigchld
2000 Dec 12
1
reinstalling SIGCHLD handler before wait()
...er. Any thoughts on this issue or how to address it? serverloop.c from latest snapshots: void sigchld_handler2(int sig) { int save_errno = errno; debug("Received SIGCHLD."); child_terminated = 1; signal(SIGCHLD, sigchld_handler2); errno = save_errno; } from signal(5) on HP-UX 11 (SIGCLD is the same as SIGCHLD): If one of the signal interface routines is used to set the action for SIGCLD to be caught (that is, a function address is supplied) in a process that currently has terminated (zom...
2001 Feb 19
1
scp doesn't work with sshd 2.5.1p1 on Solaris 2.6
scp with sshd 2.5.1p1 (scp host:file .) doesn't work for me on Solaris 2.6. The client says: Received disconnect from x.x.x.x: Command terminated on signal 11. truss of sshd excerpt: 629: stat64("/usr/lib/security/pam_unix.so.1", 0xEFFFEB10) = 0 627: sigaction(SIGCLD, 0xEFFFF360, 0xEFFFF3E0) = 0 627: sigaction(SIGPIPE, 0xEFFFF360, 0xEFFFF3E0) = 0 627: fcntl(8, F_GETFL, 0x00000000) = 2 629: door_info(3, 0xEFFFDEA0) = 0 627: fstat64(8, 0xEFFFF2A8) = 0 629: door_call(3, 0xE...
2020 Mar 28
0
[klibc:update-dash] dash: jobs: Only clear gotsigchld when waiting for everything
...o - * rather than blocking. + * Do a wait system call. If block is zero, we return -1 rather than + * blocking. If block is DOWAIT_WAITCMD, we return 0 when a signal + * other than SIGCHLD interrupted the wait. * - * System V doesn't have a non-blocking wait system call. It does - * have a SIGCLD signal that is sent to a process when one of it's - * children dies. The obvious way to use SIGCLD would be to install - * a handler for SIGCLD which simply bumped a counter when a SIGCLD - * was received, and have waitproc bump another counter when it got - * the status of a process. Waitpro...
1999 Jan 11
0
unix password sync problem in samba-2.0.0beta5
samba-2.0.0beta5 built on Solaris 2.5 with gcc-2.7.2 running on Solaris 2.5.1 I'm trying to track down a problem I'm having using unix password sync in samba-2.0.0beta5. I've noticed some funkiness with the SIGCLD handling in smbd/chgpasswd.c. It seems that after an smbpasswd is run and unix password sync is being used, an smbd is left behind, rapidly spinning it wheels. A truss of the process shows it stuck doing the following: sigaction(SIGCLD, 0xEFFFE5F8, 0x00000000) = 0 setcontext(0xEFFFE7D8)...
2005 Jan 19
1
sshd hangs
using openssh-3.8.1p1 from sunfreeware.com on a SunOS XXX 5.8 Generic_117000-03 sun4u sparc SUNW,Sun-Fire-V240. sshd seems to ignore or miss SIGCLD. this is a rare behaviour we observe about once per week in a ssh intensive environment. the process hangs here: truss: 24453: poll(0xFFBEEF28, 2, -1) (sleeping...) gcore, mdb: libc.so.1`_poll+4(b, 0, 0, ffbeef38, 6fc40, ffbeef28) 0x20710(ffbef084, ffbef080, ffbef07c, ffbef078,...
2004 Jan 07
1
openssh 3.7.1p2 fault on solaris 9 for sparc when built as 64-bit
...= 0 8132: Incurred fault #5, FLTACCESS %pc = 0xFFFFFFFF7EC991C8 8132: siginfo: SIGBUS BUS_ADRALN addr=0xFFFFFFFF7FFFE334 8132: Received signal #10, SIGBUS [default] 8132: siginfo: SIGBUS BUS_ADRALN addr=0xFFFFFFFF7FFFE334 8128: Received signal #18, SIGCLD [caught] 8128: siginfo: SIGCLD CLD_KILLED pid=8132 status=0x000A 8128: fstat(-1, 0xFFFFFFFF7FFFD880) Err#9 EBADF 8128: fstat(-1, 0xFFFFFFFF7FFFCB60) Err#9 EBADF 8128: open("/dev/conslog", O_WRONLY) = 9 8128: fcntl(9, F_S...
2005 Jan 24
0
AW: sshd hangs
...2, -1) (sleeping...) no child processes are around: root at XXX:~# ps -ef | grep 26110 root 26110 24012 0 14:50:11 ? 0:00 /usr/local/sbin/sshd root 8136 7433 0 15:15:34 pts/5 0:00 truss -fp 26110 root 8217 7433 0 15:15:55 pts/5 0:00 grep 26110 sending it a SIGCLD to see if ECHILD would have been handled fine (would not :-/). root at XXX:~# kill -CLD 26110 26110: Received signal #18, SIGCLD, in poll() [caught] 26110: poll(0xFFBEF268, 2, -1) Err#4 EINTR 26110: sigaction(SIGCLD, 0x00000000, 0xFFBEEDD0) = 0 26110: write(6,...
1998 Nov 14
0
Sync passwd and smbpasswd
...FE370) = 0 ioctl(7, I_FDINSERT, 0xEFFFE45C) = 0 getmsg(7, 0xEFFFE600, 0x00000000, 0xEFFFE3C4) = 0 sigprocmask(SIG_SETMASK, 0xEFFFE4B0, 0x00000000) = 0 fork() = 8611 close(8) = 0 Received signal #18, SIGCLD, in poll() [caught] siginfo: SIGCLD CLD_EXITED pid=8611 status=0x0000 poll(0xEFFFC648, 1, -1) Err#4 EINTR sigprocmask(SIG_BLOCK, 0xEFFFC1D8, 0x00000000) = 0 write(3, " g o t S I G C L D\n", 11) = 11 getuid()...
2001 Nov 22
2
Add new user -> swat core dump
...K, 0xEFFFEA10, 0x00000000) = 0 27542: getpid() = 27542 [171] 27542: kill(27542, SIGABRT) = 0 27542: Received signal #6, SIGABRT [default] 27542: siginfo: SIGABRT pid=27542 uid=0 27542: *** process killed *** 171: Received signal #18, SIGCLD, in poll() [caught] 171: siginfo: SIGCLD CLD_DUMPED pid=27542 status=0x0006 ...[171 is the inetd PID]... Help would be appreciated, Pierre PS: It worked fine with 2.0.7 in the past.
2004 Dec 28
1
OpenSSH 3.9p1 X11 forwarding
...significantly, it is much slower. See below the truss output (server side which runs 3.7.1p2) an check for the timestamp (6 seconds delay). Do you have any idea what may causes this behaviour? Platform is Solaris 5.9 Generic_117171-05. Thanks in advance, Andy Kocher 19279: 9.5463 sigaction(SIGCLD, 0x00000000, 0xFFBFF1C0) = 0 19279: 9.5464 sigaction(SIGCLD, 0xFFBFF140, 0x00000000) = 0 19279: 9.5464 pipe() = 4 [5] 19279: 9.5465 fcntl(4, F_SETFD, 0x00000001) = 0 19279: 9.5465 fcntl(5, F_SETFD, 0x00000001)...
2003 Sep 16
2
openssh 3.7p1 bus error on sparcv9
...d fault #5, FLTACCESS %pc = 0xFFFFFFFF7E299934 1904: siginfo: SIGBUS BUS_ADRALN addr=0xFFFFFFFF7FFFEA9C 1904: Received signal #10, SIGBUS [default] 1904: siginfo: SIGBUS BUS_ADRALN addr=0xFFFFFFFF7FFFEA9C 1904: *** process killed *** 1900: Received signal #18, SIGCLD [caught] 1900: siginfo: SIGCLD CLD_KILLED pid=1904 status=0x000A 1900: sigaction(SIGCLD, 0x00000000, 0xFFFFFFFF7FFFE950) = 0 1900: write(4, "\0", 1) = 1 1900: setcontext(0xFFFFFFFF7FFFEBD0) 1900: close(8)...
2001 Jul 26
7
Updated Cray patch against openssh SNAP-20010725
...u_int16_t being 16bit in size. packet.c - Add new subroutine to return an explicit signed integer. scp.c - Modified to use alarm instead of setitimer. Unicos does not support setitier. serverloop.c - Modified sigchld_handler to only reset SIGCLD if HAVE_SIGACTION is not set. This is the only case its needs to be reset, the side effect is it fixes the problem with a infinite signal loop under unicos and unicosmk. Modified waitpid to keep trying if it gets an EINTR, this can happen due to jo...
2002 Jun 18
1
remote rsync process dies, local hangs
...t;01\0\0\0", 4) = 4 close(6) = 0 poll(0xFFBEE938, 2, 60000) = 1 fd=1 ev=POLLOUT rev=POLLOUT fd=8 ev=POLLRDNORM rev=0 write(1, "04\0\007FFFFFFFF", 8) = 8 kill(18231, SIGUSR2) = 0 waitid(P_PID, 18231, 0xFFBEFB08, WEXITED|WTRAPPED|WNOHANG) = 0 Received signal #18, SIGCLD, in poll() [caught] siginfo: SIGCLD CLD_EXITED pid=18231 status=0x0000 poll(0xFFBEFAE8, 0, 20) Err#4 EINTR waitid(P_ALL, 0, 0xFFBEF620, WEXITED|WTRAPPED|WNOHANG) = 0 waitid(P_ALL, 0, 0xFFBEF620, WEXITED|WTRAPPED|WNOHANG) Err#10 ECHILD setcontext(0xFFBEF7D0) poll(0xFFBEFAE8, 0, 16) = 0...
2007 Jan 05
0
troubles with telnet sessions under Solaris8 as AD member with winbind V3.0.23d
...) = 0 19083: sigaction(SIGALRM, 0xFFBEF618, 0xFFBEF698) = 0 19083: kill(19083, SIGALRM) = 0 19083: Received signal #14, SIGALRM [default] 19083: siginfo: SIGALRM pid=19083 uid=36237 19083: *** process killed *** 19080: Received signal #18, SIGCLD, in poll() [caught] 19080: siginfo: SIGCLD CLD_KILLED pid=19083 status=0x000E 19080: poll(0xFFBEF558, 1, -1) Err#4 EINTR 19080: sigaction(SIGCLD, 0xFFBEEEB0, 0xFFBEEF30) = 0 19080: open("/var/adm/utmpx", O_RDWR|O_CREAT, 0644) = 7 19080: open(&qu...
2001 Dec 12
1
2.5.0, Solaris 2.6, Daemon SIGSEGV
...6192: Incurred fault #6, FLTBOUNDS %pc = 0xEF5C6F08 6192: siginfo: SIGSEGV SEGV_ACCERR addr=0x0003D940 6192: Received signal #11, SIGSEGV [default] 6192: siginfo: SIGSEGV SEGV_ACCERR addr=0x0003D940 6192: *** process killed *** 6191: Received signal #18, SIGCLD [caught] 6191: siginfo: SIGCLD CLD_KILLED pid=6192 status=0x000B 6191: waitid(P_ALL, 0, 0xEFFFF810, WEXITED|WTRAPPED|WNOHANG) = 0 6191: waitid(P_ALL, 0, 0xEFFFF810, WEXITED|WTRAPPED|WNOHANG) Err#10 ECHILD 6191: setcontext(0xEFFFF9C0) 6191: _exit(0) Can anyone tell me what this i...
1999 Jan 24
1
HPUX 9.05 & Samba 2.0.0 & problems -> solved !
...0 ! */ + DEBUG(9,("sig_cld_leave_status: syscall %d restarted\n",scp->sc_syscall)); + } +#endif /* * Turns out it's *really* important not to * restore the signal handler here if we have real POSIX @@ -134,5 +147,5 @@ void CatchChildLeaveStatus(void) { - CatchSignal(SIGCLD, sig_cld_leave_status); + CatchSignal(SIGCLD, SIGNAL_CAST sig_cld_leave_status); } diff -u --recursive --new-file source/smbd/open.c source.new/smbd/open.c --- source/smbd/open.c Thu Dec 31 03:37:01 1998 +++ source.new/smbd/open.c Sun Jan 24 23:32:32 1999 @@ -225,8 +225,10 @@ */ pid_t w...
2000 Jan 26
2
[2.0.6] doesn't run under Solaris 7/sparc, Internal Error
Is the following a known problem: =============================================================== [2000/01/26 09:41:03, 0] lib/fault.c:fault_report(41) INTERNAL ERROR: Signal 11 in pid 22273 (2.0.6) Please read the file BUGS.txt in the distribution [2000/01/26 09:41:03, 0] lib/fault.c:fault_report(43) =============================================================== This is using the same
2003 Oct 15
1
rsync freezes on solaris
...E Received signal #13, SIGPIPE [ignored] write(2, " r s y n c : w r i t e".., 81) Err#32 EPIPE Received signal #13, SIGPIPE [ignored] sigaction(SIGUSR1, 0xFFBEDAF8, 0xFFBEDB78) = 0 sigaction(SIGUSR2, 0xFFBEDAF8, 0xFFBEDB78) = 0 getpid() = 7970 [7969] Received signal #18, SIGCLD [caught] siginfo: SIGCLD CLD_EXITED pid=7971 status=0x000C waitid(P_ALL, 0, 0xFFBED6D8, WEXITED|WTRAPPED|WNOHANG) = 0 waitid(P_ALL, 0, 0xFFBED6D8, WEXITED|WTRAPPED|WNOHANG) Err#10 ECHILD setcontext(0xFFBED890) kill(7971, SIGUSR1) Err#3 ESRCH write(2, " r s y n c e r r o r :"..,...
1998 Mar 31
4
Problem with smbpasswd
...4300 priming nmbd sending a packet of len 1 to (127.0.0.1) on port 137 of type DGRAM Serverzone is -7200 got smb length of 72 03/31/1998 16:04:55 Connection denied from 127.0.0.1 write_socket(6,5) write_socket(6,5) wrote 5 Closing connections 03/31/1998 16:04:55 Server exit (connection denied) got SIGCLD The relevant part of my smb.conf file is as follows: security = user password level = 0 encrypt passwords = yes -- _ _ _ _ _ _ RAINER HAUCK |\/| |\ | |\/| Institut fuer Informatik / Dept. of CS | | | \| | | Ludwig-Maximilians-Univ...
2002 Jun 11
0
[Bug 271] New: SSHD should unblock SIGCHLD - POSIX signal blocks survive exec()
...ritance of blocking of such signals should explicitly unblock those signals. Furthermore, login-type programs should really unblock all signals, IMO (I have yet to find a scenario where I'd want my login shell to inherit and keep any non-empty signal mask). If sshd is started with SIGCHLD (SIGCLD) blocked then sshd ends up failing to notice the death of child processes, and therefore SSHv2 sessions hang on exit. Diagnosis is trivial on any OS that provides tools for inspecting the signal disposition of a process: if an sshd has at least one defunct process, sleeps in poll()/select() and...