From:             igor_ua at list dot ru
Operating system: MAC OS X Intel 10.4.9
PHP version:      5.2.1
PHP Bug Type:     Unknown/Other Function
Bug description:  posix_getgrgid() Fatal error

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

-- 
Edit bug report at http://bugs.php.net/?id=40927&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=40927&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=40927&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=40927&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=40927&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=40927&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=40927&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=40927&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=40927&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=40927&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=40927&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=40927&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=40927&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=40927&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=40927&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=40927&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=40927&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=40927&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=40927&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=40927&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=40927&r=mysqlcfg

Reply via email to