php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40927 posix_getgrgid() Fatal error
Submitted: 2007-03-27 11:59 UTC Modified: 2007-04-04 01:00 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: igor_ua at list dot ru Assigned:
Status: No Feedback Package: Unknown/Other Function
PHP Version: 5.2.1 OS: MAC OS X Intel 10.4.9
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: igor_ua at list dot ru
New email:
PHP Version: OS:

 

 [2007-03-27 11:59 UTC] igor_ua at list dot ru
Description:
------------
posix_getgrgid();

Fatal error: Out of memory (allocated 262144) (tried to allocate -1 bytes)

PHP 5.2.1 Intel Mac

PHP from: http://www.apachefriends.org/en/xampp-macosx.html

P.S. PHP 4.4.5 works fine.

Thanks.

Reproduce code:
---------------
<?php
// 0 or any other number
posix_getgrgid(0);
?>

Expected result:
----------------
Return info about a group by group id

Actual result:
--------------
Fatal error: Out of memory (allocated 262144) (tried to allocate -1 bytes) in /Users/ipx/Sites/e-putivka.com.ua/admin/tours/index.php on line 4

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-03-27 12:06 UTC] tony2001@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip


 [2007-04-04 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu Aug 11 18:03:36 2022 UTC