php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16766 pcntl_waitpid segfaults on absence of third parameter
Submitted: 2002-04-23 15:21 UTC Modified: 2002-04-23 17:26 UTC
From: sean at caedmon dot net Assigned:
Status: Closed Package: POSIX related
PHP Version: 4.0CVS-2002-04-23 OS: Linux 2.2.19pre17 i686 (Debian)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
31 - 5 = ?
Subscribe to this entry?

 
 [2002-04-23 15:21 UTC] sean at caedmon dot net
Calling pcntl_waitpid without a third parameter causes a secmentation fault. Supplying it with 0 does not. (at least in my trials).

Should be a simple fix. Sorry, I don't have --enable-debug, so I can't backtrace (no core).

S

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-23 17:25 UTC] mfischer@php.net
This bug has been fixed in CVS.


 [2002-04-23 17:26 UTC] mfischer@php.net
And the 4_2_0 branch too.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 08:01:28 2024 UTC