ID: 43373 User updated by: trot at plotinka dot ru Reported By: trot at plotinka dot ru -Status: Feedback +Status: Open Bug Type: PCNTL related -Operating System: FreeBSD +Operating System: Unix PHP Version: 5.2.5 New Comment:
Fatal error on failure. But in manual: "On failure, a -1 will be returned in the parent's context" http://php.net/pcntl_fork thx Previous Comments: ------------------------------------------------------------------------ [2007-11-25 17:32:14] [EMAIL PROTECTED] Exactly what are you reporting here? What's the bug? ------------------------------------------------------------------------ [2007-11-23 08:07:17] trot at plotinka dot ru ext/pcntl/pcntl.c line 227 delete: if (id == -1) { php_error_docref(NULL TSRMLS_CC, E_ERROR, "Error %d", errno); } ------------------------------------------------------------------------ [2007-11-22 11:57:20] trot at plotinka dot ru Description: ------------ untraceable "Fatal error: pcntl_fork(): Error 35" P.S.: CLI mode. Reproduce code: --------------- $pid = pcntl_fork(); Expected result: ---------------- $pid == -1; // true Actual result: -------------- Fatal error: pcntl_fork(): Error 35 in ... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43373&edit=1
