Date: Wed, 3 Nov 1999 11:38:18 -0800 (PST) From: wpk@isc.org To: freebsd-gnats-submit@freebsd.org Subject: i386/14689: waitpid doesn't harvest child process when program run under cron Message-ID: <19991103193818.415A11502E@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 14689 >Category: i386 >Synopsis: waitpid doesn't harvest child process when program run under cron >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Nov 3 11:40:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: William King >Release: 3.3 >Organization: ISC >Environment: FreeBSD trantor.rc.vix.com 3.3-RELEASE FreeBSD 3.3-RELEASE #0: Thu Sep 16 23:40:35 GMT 1999 jkh@highwing.cdrom.com:/usr/src/sys/compile/GENERIC i386 >Description: waitpid(pid, &status, 0) doesn't harvest a child process when used in a program compiled with -D_REENTRANT, linked with libc_r.a and run from cron. The program forks. the parent waits for the child using waitpid(pid, &status, 0). the parent times out the waitpid with a sigalrm. the child sleeps and then exits. the waitpid call times out. The problem occurs only when the program is run from cron, compiled with -D_REENTRANT and linked with libc_r.a >How-To-Repeat: contact me for code to reproduce the problem >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991103193818.415A11502E>