pcntl_fork() causes a fatal error instead of returning -1
| Bug #43373 | pcntl_fork() causes a fatal error instead of returning -1 | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Submitted: | 2007-11-22 11:57 UTC | Modified: | 2007-11-27 17:14 UTC |
|
||||||||||
| From: | trot at plotinka dot ru | Assigned: | ||||||||||||
| Status: | Closed | Package: | PCNTL related | |||||||||||
| PHP Version: | 5.2.5 | OS: | Unix | |||||||||||
| Private report: | No | CVE-ID: | None | |||||||||||
[2007-11-22 11:57 UTC] 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 ...
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2007-11-23 08:07 UTC] 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-25 17:32 UTC] jani@php.net
[2007-11-26 12:46 UTC] trot at plotinka dot ru
[2007-11-26 23:15 UTC] development at domain51 dot com
[2007-11-27 17:14 UTC] iliaa@php.net